/* ==========================================================================
   NAC PORTAL - MODULE HEADER CSS
   ========================================================================== */

:root { 
    --nac-brand-blue: #0a73c9; 
    --nac-dark-blue: #1b3f91; 
    --nac-light-bg: #eef6ff;
    --nac-saffron: #FF9933; 
}

/* Multi-tier Identity Strip (Top Dark Blue) */
.identity-strip { 
    background: var(--nac-dark-blue); 
    color: #FFF; 
    font-size: 0.75rem; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
}
.identity-inner { 
    max-width: 1400px; 
    margin: auto; 
    padding: 6px 20px; 
    display: flex; 
    gap: 40px; 
}
.gov-org-links div { 
    line-height: 1.2; 
}
.gov-hi { 
    font-weight: 600; 
    font-size: 0.8rem; 
}
.gov-en { 
    font-size: 0.7rem; 
    opacity: 0.9; 
}

/* Main Branding Header (Bright Blue Area) */
.branding-header { 
    background: var(--nac-brand-blue); 
    padding: 18px 0; 
    border-bottom: 1px solid #084f8a; 
    color: #FFF; 
}
.branding-inner { 
    max-width: 1400px; 
    margin: auto; 
    padding: 0 20px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
}
.logo-box { 
    height: 72px; 
    width: auto; 
    object-fit: contain; 
}
.branding-text { 
    text-align: center; 
    flex: 1; 
}
.branding-text h1 { 
    font-size: 26px; 
    font-weight: 700; 
    margin: 0; 
}
.branding-text h5 { 
    font-size: 16px; 
    font-weight: 500; 
    margin: 4px 0; 
    color: #e6f1ff; 
}
.branding-text p { 
    font-size: 13px; 
    margin: 0; 
    color: #dbe9ff; 
}

/* Action Bar (Light Blue Area) */
.action-bar { 
    background: var(--nac-light-bg); 
    border-bottom: 1px solid #c9def5; 
    padding: 8px 0; 
}
.action-inner { 
    max-width: 1400px; 
    margin: auto; 
    padding: 0 20px; 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

/* News Badge */
.news-flash { 
    background: var(--nac-brand-blue); 
    color: #FFF; 
    padding: 3px 15px; 
    border-radius: 20px; 
    font-size: 12px; 
    font-weight: 600; 
    white-space: nowrap; 
    text-decoration: none; 
}
.ticker { 
    flex: 1; 
    font-size: 14px; 
    color: #0a3c6e; 
    overflow: hidden; 
}

/* Search Shell (White Pill) */
.search-shell { 
    width: 450px; 
}
.search-form-group { 
    background: #FFF; 
    border-radius: 50px; 
    border: 1px solid #bcd3ee; 
    display: flex; 
    align-items: center; 
    padding: 2px 15px; 
}
.search-input { 
    border: none; 
    font-size: 14px; 
    padding: 6px 10px; 
    flex: 1; 
    outline: none; 
    background: transparent;
}
.search-btn { 
    background: transparent; 
    border: none; 
    color: var(--nac-brand-blue); 
    cursor: pointer; 
}

/* Auth Pill (Red/Blue Buttons) */
.auth-pill { 
    padding: 6px 20px; 
    border-radius: 20px; 
    font-weight: 600; 
    font-size: 14px; 
    text-decoration: none; 
    transition: 0.2s; 
    display: inline-block;
}
.btn-logout { 
    background: #e3342f; 
    color: #FFF; 
}
.btn-logout:hover { 
    background: #cc1f1a; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
    color: #FFF;
}
.btn-login { 
    background: var(--nac-brand-blue); 
    color: #FFF; 
}
.btn-login:hover { 
    background: var(--nac-dark-blue); 
    color: #FFF;
}

@media (max-width: 992px) {
    .branding-inner { 
        flex-direction: column; 
        gap: 15px; 
    }
    .action-inner { 
        flex-direction: column; 
        text-align: center; 
    }
    .search-shell { 
        width: 100%; 
    }
}