/* =============================================================
   contact.newandu.et — Premium Dark UI
   Design: dark glassmorphism, matches newandu.et aesthetic
   ============================================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root,
[data-theme="dark"] {
    --bg-base:        #0b0f1a;
    --bg-surface:     #111827;
    --bg-card:        rgba(17, 24, 39, 0.85);
    --bg-card-hover:  rgba(30, 41, 59, 0.90);
    --bg-header:      rgba(11, 15, 26, 0.85);
    --bg-footer:      rgba(11, 15, 26, 0.70);
    --bg-input:       rgba(15, 23, 42, 0.80);
    --border:         rgba(51, 65, 85, 0.7);
    --border-hover:   rgba(59, 130, 246, 0.4);
    --accent:         #3b82f6;
    --accent-hover:   #2563eb;
    --accent-light:   rgba(59, 130, 246, 0.1);
    --emerald:        #10b981;
    --emerald-light:  rgba(16, 185, 129, 0.1);
    --danger:         #ef4444;
    --danger-light:   rgba(239, 68, 68, 0.1);
    --text-primary:   #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted:     #64748b;
    --radius-sm:      8px;
    --radius-md:      14px;
    --radius-lg:      20px;
    --shadow-card:    0 4px 32px rgba(0, 0, 0, 0.4);
    --transition:     0.2s ease;
    --font:           'Inter', system-ui, -apple-system, sans-serif;
    --body-grad-1:    rgba(59, 130, 246, 0.08);
    --body-grad-2:    rgba(16, 185, 129, 0.06);
    color-scheme: dark;
}

[data-theme="light"],
html[data-theme="light"],
body[data-theme="light"] {
    --bg-base:        #f8fafc;
    --bg-surface:     #ffffff;
    --bg-card:        rgba(255, 255, 255, 0.94);
    --bg-card-hover:  rgba(241, 245, 249, 0.95);
    --bg-header:      rgba(255, 255, 255, 0.88);
    --bg-footer:      rgba(248, 250, 252, 0.90);
    --bg-input:       #ffffff;
    --border:         rgba(203, 213, 225, 0.9);
    --border-hover:   rgba(59, 130, 246, 0.5);
    --accent:         #2563eb;
    --accent-hover:   #1d4ed8;
    --accent-light:   rgba(37, 99, 235, 0.08);
    --emerald:        #059669;
    --emerald-light:  rgba(5, 150, 105, 0.1);
    --danger:         #dc2626;
    --danger-light:   rgba(220, 38, 38, 0.1);
    --text-primary:   #0f172a;
    --text-secondary: #475569;
    --text-muted:     #94a3b8;
    --shadow-card:    0 4px 24px rgba(15, 23, 42, 0.08);
    --body-grad-1:    rgba(37, 99, 235, 0.05);
    --body-grad-2:    rgba(16, 185, 129, 0.04);
    color-scheme: light;
}

@media (prefers-color-scheme: light) {
    [data-theme="system"],
    html[data-theme="system"],
    body[data-theme="system"] {
        --bg-base:        #f8fafc;
        --bg-surface:     #ffffff;
        --bg-card:        rgba(255, 255, 255, 0.94);
        --bg-card-hover:  rgba(241, 245, 249, 0.95);
        --bg-header:      rgba(255, 255, 255, 0.88);
        --bg-footer:      rgba(248, 250, 252, 0.90);
        --bg-input:       #ffffff;
        --border:         rgba(203, 213, 225, 0.9);
        --border-hover:   rgba(59, 130, 246, 0.5);
        --accent:         #2563eb;
        --accent-hover:   #1d4ed8;
        --accent-light:   rgba(37, 99, 235, 0.08);
        --emerald:        #059669;
        --emerald-light:  rgba(5, 150, 105, 0.1);
        --danger:         #dc2626;
        --danger-light:   rgba(220, 38, 38, 0.1);
        --text-primary:   #0f172a;
        --text-secondary: #475569;
        --text-muted:     #94a3b8;
        --shadow-card:    0 4px 24px rgba(15, 23, 42, 0.08);
        --body-grad-1:    rgba(37, 99, 235, 0.05);
        --body-grad-2:    rgba(16, 185, 129, 0.04);
        color-scheme: light;
    }
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color var(--transition), color var(--transition);
}

/* Animated gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, var(--body-grad-1) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, var(--body-grad-2) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* ---------- Layout wrapper ---------- */
.site-header,
.main-content,
.site-footer {
    position: relative;
    z-index: 1;
}

/* ---------- HEADER ---------- */
.site-header {
    border-bottom: 1px solid var(--border);
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    min-height: 64px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity var(--transition);
}
.brand:hover { opacity: 0.85; }

.brand-logo {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
}

.brand-text {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}
.brand-accent { color: var(--accent); }

.brand-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 1px;
    padding: 2px 6px;
    border: 1px solid var(--border);
    border-radius: 4px;
}

/* Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.global-theme-btn,
.global-lang-btn,
.header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 32px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    user-select: none;
    text-decoration: none;
}

.global-theme-btn:hover,
.global-lang-btn:hover,
.header-icon-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.global-theme-btn .icon,
.global-lang-btn .icon {
    font-size: 0.95rem;
    line-height: 1;
}

.badge-online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--emerald);
    background: var(--emerald-light);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 4px 10px;
    border-radius: 100px;
}
.badge-online .dot {
    width: 6px; height: 6px;
    background: var(--emerald);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}
.nav-btn-ghost {
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border);
}
.nav-btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--accent-light);
}
.nav-btn-primary {
    color: #fff;
    background: var(--accent);
    border: 1px solid transparent;
}
.nav-btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}
.nav-btn-danger {
    color: var(--danger);
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.nav-btn-danger:hover {
    background: var(--danger-light);
    border-color: var(--danger);
}

/* ---------- MAIN ---------- */
.main-content {
    flex: 1;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ---------- HERO ---------- */
.hero {
    text-align: center;
    padding: 1rem 0 0.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}
.hero-badge-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- CARDS ---------- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color var(--transition);
}
.card:hover {
    border-color: var(--border-hover);
}

/* AUTH CARD */
.auth-card {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.auth-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.3));
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.auth-title strong { color: var(--accent); }

.auth-body {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.auth-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.auth-note {
    font-size: 0.77rem;
    color: var(--text-muted);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.65rem 1.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.35);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: rgba(59, 130, 246, 0.4);
}
.btn-outline:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* FEATURES GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.feature-card {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition);
}
.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.feature-card p {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- SEARCH CARD ---------- */
.search-card {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

.search-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.search-icon-wrap {
    font-size: 2rem;
    width: 52px; height: 52px;
    background: var(--accent-light);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
}
.search-subtitle {
    font-size: 0.83rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.search-input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.search-prefix {
    padding: 0 14px;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
    user-select: none;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    padding: 0.8rem 0.5rem;
    min-width: 0;
}
.search-input::placeholder { color: var(--text-muted); }

.search-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.8rem 1.4rem;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.search-btn:hover:not(:disabled) {
    background: var(--accent-hover);
}
.search-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Search result */
.search-result {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    line-height: 1.5;
    min-height: 1rem;
    transition: all var(--transition);
}
.result-success {
    background: var(--emerald-light);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--emerald);
}
.result-error {
    background: var(--danger-light);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

/* Hidden utility */
.hidden { display: none !important; }

/* ---------- RECENT SEARCHES ---------- */
.recent-section {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

.recent-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.recent-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.recent-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--transition);
}
.recent-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

/* ---------- LINK ---------- */
.link {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}
.link:hover { color: #93c5fd; text-decoration: underline; }

/* ---------- FOOTER ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    background: var(--bg-footer);
}
.footer-sub {
    margin-top: 4px;
    font-size: 0.72rem;
    opacity: 0.6;
}

/* ---------- ANIMATIONS ---------- */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero         { animation: fadeInUp 0.5s ease both; }
.card         { animation: fadeInUp 0.5s ease 0.1s both; }
.features-grid { animation: fadeInUp 0.5s ease 0.2s both; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
    .main-content { padding: 2rem 1rem 3rem; }
    .hero-title   { font-size: 1.8rem; }
    .auth-actions { flex-direction: column; align-items: stretch; }
    .auth-actions .btn { justify-content: center; }
    .search-btn   { padding: 0.8rem 1rem; }
    .header-inner { height: 56px; }
    .brand-sub    { display: none; }
    .search-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ---------- FORMS & SELECT CONTROLS ---------- */
.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-select,
select {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: all var(--transition);
    box-sizing: border-box;
}

.form-group select,
.form-select,
select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

select option,
.form-select option,
.form-group select option {
    background-color: var(--bg-surface) !important;
    color: var(--text-primary) !important;
    padding: 0.6rem 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-select:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.checkbox-group input {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

/* Medium Screen Sizes (Tablets & Small Laptops: 641px - 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
    .header-inner {
        max-width: 100%;
        min-height: 60px;
        height: auto;
        padding: 0.6rem 1.25rem;
        gap: 0.75rem;
    }

    .brand {
        gap: 8px;
    }

    .brand-text {
        font-size: 1rem;
    }

    .brand-sub {
        font-size: 0.6rem;
        padding: 1px 5px;
    }

    .header-nav {
        gap: 0.4rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .nav-btn {
        padding: 5px 10px;
        font-size: 0.78rem;
    }

    .global-theme-btn,
    .global-lang-btn,
    .header-icon-btn {
        height: 30px;
        padding: 0 8px;
        font-size: 0.76rem;
    }
}

/* Retractable Top Navigation Hamburger Toggle Button */
.top-nav-toggle-btn {
    display: none;
    position: relative;
    z-index: 1001;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-left: auto;
    transition: background var(--transition), border-color var(--transition);
}

.top-nav-toggle-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.top-nav-toggle-btn .hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-close-btn {
    display: none;
    align-self: flex-end;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
}

.nav-close-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

@media (max-width: 768px) {
    .header-nav.is-open .nav-close-btn {
        display: inline-flex;
    }
}

.top-nav-toggle-btn[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.top-nav-toggle-btn[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.top-nav-toggle-btn[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 768px) {
    .header-inner {
        position: relative;
        min-height: 56px;
        height: auto;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }

    .brand-sub {
        display: none;
    }

    .top-nav-toggle-btn {
        display: inline-flex;
    }

    #topHeaderNav:not(.is-open),
    .header-nav:not(.is-open) {
        display: none !important;
    }

    #topHeaderNav,
    .header-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--bg-header);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem;
        gap: 0.65rem;
        z-index: 1000;
        animation: topNavSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    #topHeaderNav.is-open,
    .header-nav.is-open {
        display: flex !important;
    }

    .header-nav .nav-btn,
    .header-nav .global-theme-btn,
    .header-nav .global-lang-btn,
    .header-nav .logout-btn {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        font-size: 0.92rem;
        padding: 0.65rem 1rem;
        text-align: center;
    }

    .header-nav .idp-notif-wrap,
    .header-nav .notif-bell-wrap {
        width: 100%;
        justify-content: center;
    }

    .header-nav .idp-notif-btn {
        width: 100%;
        min-height: 44px;
        justify-content: center;
    }
}

@keyframes topNavSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 0.35rem 0.5rem;
        gap: 0.25rem;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .brand-logo {
        width: 26px;
        height: 26px;
    }

    .header-nav {
        gap: 0.25rem;
    }

    .nav-btn {
        padding: 4px 6px;
        font-size: 0.72rem;
    }
}

