/* =========================================================
   Login Header  —  premium floating top bar
   Used by login.php / index.php (UIDAI + Aadhaar logos)
   ========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 4px 24px -12px rgba(2, 13, 81, .25);
    transition: background .25s ease, box-shadow .25s ease;
}

.header__logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 32px;
    min-height: 72px;
    direction: ltr;
    gap: 24px;
}

.header__logo-container--left,
.header__logo-container--right {
    display: flex;
    align-items: center;
}

.header__logo-container--left {
    max-width: 360px;
    flex: 0 1 auto;
}

.header__logo-container--right {
    max-width: 200px;
    flex: 0 1 auto;
}

.header__logo-container--left img,
.header__logo-container--right img {
    width: 100%;
    height: auto;
    max-height: 56px;
    object-fit: contain;
    transition: transform .25s ease, filter .25s ease;
}

.header__logo-container--left img:hover,
.header__logo-container--right img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 10px rgba(2, 13, 81, .25));
}

/* Optional: thin accent gradient line under header */
.header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(25, 176, 220, .55) 30%, rgba(11, 28, 77, .55) 70%, transparent 100%);
    opacity: .85;
}

/* Legacy classes (kept for compatibility) */
.ltr .header {
    z-index: 300;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, .92);
}

.ltr .header__bar {
    height: 42px;
    background: linear-gradient(119.54deg, #000046 0%, #1cb5e0 100%);
    position: relative;
    width: 100%;
}

.ltr .header__bar-content-wrapper {
    max-width: 1170px;
    display: flex;
    height: 100%;
    align-items: center;
    margin: 0 auto;
    padding: 0 16px;
}

.ltr .header__dashboard-logo {
    background: transparent;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.ltr .header__dashboard-logo img {
    background: transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .header__logos {
        padding: 10px 18px;
        min-height: 64px;
    }
    .header__logo-container--left { max-width: 60%; }
    .header__logo-container--right { max-width: 30%; }
    .header__logo-container--left img,
    .header__logo-container--right img { max-height: 44px; }
}

@media (max-width: 420px) {
    .header__logos { gap: 12px; }
    .header__logo-container--left img,
    .header__logo-container--right img { max-height: 38px; }
}
