/* =============================================
   TECRAT - Global Custom Styles
   Use: All pages
============================================= */

/* CSS Variables - Brand Colors */
:root {
    --brand-primary: #ffc451;
    --brand-secondary: #151515;
    --brand-accent: #ffc451;
    --bg-dark: #060606;
    --bg-card: #252525;
    --bg-input: #1a1a1a;
    --border-color: rgba(255,255,255,0.08);
    --text-primary: #ffffff;
    --text-muted: #aaaaaa;
    --nav-highlight: #ffc451;
    --contrast-color: #2a2727;
}

/* Background Blobs */
.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: floatBlob 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}
.blob-1 { width: 500px; height: 500px; background: var(--brand-primary); top: -150px; left: -150px; animation-delay: 0s; }
.blob-2 { width: 400px; height: 400px; background: var(--brand-secondary); bottom: -100px; right: -100px; animation-delay: 3s; }
.blob-3 { width: 300px; height: 300px; background: var(--brand-accent); top: 50%; left: 50%; animation-delay: 1.5s; }

@keyframes floatBlob {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 20px) scale(1.1); }
}

/* Grid Overlay */
.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Body Base */
body {
    min-height: 100vh;
    background: var(--bg-dark);
    font-family: 'Segoe UI', system-ui, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2rem 1rem;
    position: relative;
}

/* Brand Logo Block */
.brand-logo { text-align: center; margin-bottom: 1.75rem; }
.brand-logo .logo-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: 0 8px 24px rgba(255, 196, 81, 0.4);
}
.brand-logo .logo-icon i { font-size: 1.5rem; color: #fff; }
.brand-logo h1 { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.5px; }
.brand-logo p  { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

/* Info Box */
.info-box {
    background: rgba(255, 196, 81, 0.08);
    border: 1px solid rgba(255, 196, 81, 0.2);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: flex; gap: 0.6rem; align-items: flex-start;
}
.info-box i { color: var(--brand-primary); font-size: 1rem; margin-top: 1px; flex-shrink: 0; }

/* Form Label */
.form-label {
    display: block; font-size: 0.8rem; font-weight: 500;
    color: var(--text-muted); margin-bottom: 0.4rem;
    letter-spacing: 0.3px;
}

/* Form Select */
.form-select-custom {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary); font-size: 0.9rem;
    outline: none; transition: all 0.2s ease;
    cursor: pointer;
}
.form-select-custom:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(255, 196, 81, 0.2);
}
.form-select-custom option {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* Field Error */
.field-error {
    font-size: 0.75rem; color: #f87171; margin-top: 0.35rem;
    display: flex; align-items: center; gap: 0.3rem;
}

/* Button Next / Submit */
.btn-next {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border: none; border-radius: 12px;
    color: #fff; font-size: 0.95rem; font-weight: 600;
    cursor: not-allowed; white-space: nowrap;
    opacity: 0.4; transition: all 0.2s ease;
    position: relative; overflow: hidden;
}
.btn-next::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0; transition: opacity 0.2s;
}
.btn-next.enabled { opacity: 1; cursor: pointer; }
.btn-next.enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 196, 81, 0.5);
}
.btn-next.enabled:hover::before { opacity: 1; }
.btn-next.enabled:active { transform: translateY(0); }

/* Slide Up Animation */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Responsive */
@media (max-width: 480px) {
    .category-card { padding: 2rem 1.25rem; }
}