/*
 * Site header: dark navy band with white text and a gold rule. Loaded after the page's own styles on every
 * page (candidate pages, sign-in page, admin area), so the header looks the same everywhere.
 * The IIT Delhi logo is white on a transparent background, so it needs this dark background to show.
 */
.top-rule { display: none; }

.site-header {
    background: linear-gradient(115deg, #3a0b12 0%, #4e1019 45%, #651a24 100%);
    border-bottom: 3px solid #c9a24a;
    box-shadow: 0 4px 18px rgba(58, 11, 18, .28);
    position: relative;
    z-index: 10;
}

.site-header .brand-title { color: #ffffff; letter-spacing: .005em; }
.site-header .brand-sub { color: rgba(255, 255, 255, .72); }
.site-header .brand-divider { background: rgba(201, 162, 74, .55); }

.site-header .intake-badge {
    background: rgba(201, 162, 74, .12);
    border-color: #c9a24a;
    color: #ffffff;
}
.site-header .intake-badge span { color: #e3c47c; }

.site-header .hdr-logout {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .35);
    background: transparent;
}
.site-header .hdr-logout:hover,
.site-header .hdr-logout:focus-visible {
    color: #4e1019;
    background: #c9a24a;
    border-color: #c9a24a;
}

.site-header .hdr-avatar { box-shadow: 0 0 0 3px #4e1019, 0 4px 12px rgba(0, 0, 0, .35); }
.site-header .hdr-profile:hover .hdr-avatar,
.site-header .hdr-profile:focus-visible .hdr-avatar { box-shadow: 0 0 0 3px #4e1019, 0 0 0 5px rgba(201, 162, 74, .6), 0 6px 16px rgba(0, 0, 0, .4); }
.site-header .hdr-tooltip { background: #ffffff; color: #4e1019; }
.site-header .hdr-tooltip-name { color: #4e1019; }
.site-header .hdr-tooltip-meta { color: #1f7a4d; }
.site-header .hdr-tooltip-label { color: #7a5a12; }

.site-header a:focus-visible { outline: 2px solid #c9a24a; outline-offset: 4px; }

/* Admin area: the navigation bar sits right under the header. */
.admin-nav { background: #651a24; border-bottom: 1px solid rgba(0, 0, 0, .2); }
