/* ═══════════════════════════════════════════════════════════
   css/admin.css  —  Asian Law College Admin Portal
   v9 · External stylesheet · Bootstrap 5 compatible
   ═══════════════════════════════════════════════════════════ */

/* Playfair Display */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

/* Plus Jakarta Sans */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
/* ══════════════════════════════════════════════════════════
   1. DESIGN TOKENS
══════════════════════════════════════════════════════════ */
:root {
    --primary-red:       #C62828;
    --primary-red-hover: #b32424;
    --primary-blue:      #0d366e;
    --secondary-blue:    #163A70;
    --white:             #FFFFFF;
    --bg-soft:           #F8FAFC;
    --accent-silver:     #D9E2EC;
    --text-dark:         #1a1a2e;
    --text-body:         #475569;
    --text-muted:        #64748b;
    --blue-soft:         #e8eef8;
    --red-soft:          #fdecea;
    --border:            #e2e8f0;
    --shadow-sm:         0 2px 12px rgba(13,54,110,.07);
    --shadow-md:         0 6px 28px rgba(13,54,110,.12);
    --shadow-lg:         0 20px 56px rgba(13,54,110,.18);
    --font-d:            'Playfair Display', Georgia, serif;
    --font-b:            'Plus Jakarta Sans', sans-serif;
    --ease:              0.28s cubic-bezier(.4,0,.2,1);
    --radius:            14px;
    --error:             #dc3545;
}

/* ══════════════════════════════════════════════════════════
   2. BASE RESET
══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
    font-family: var(--font-b);
    background: var(--bg-soft);
    color: var(--text-dark);
    overflow-x: hidden;
}
a   { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ══════════════════════════════════════════════════════════
   3. ANIMATIONS
══════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}
@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0   rgba(198,40,40,.35); }
    70%  { box-shadow: 0 0 0 10px rgba(198,40,40,0);   }
    100% { box-shadow: 0 0 0 0   rgba(198,40,40,0);    }
}

/* ══════════════════════════════════════════════════════════
   4. TOP BAR  (identical to Home page)
══════════════════════════════════════════════════════════ */
.top-bar {
    background: var(--primary-blue);
    color: rgba(255,255,255,.65);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .025em;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.tb-item { display: inline-flex; align-items: center; gap: 5px; }
.tb-ico  { color: var(--accent-silver); font-size: .65rem; }
.tb-sep  { width: 1px; height: 12px; background: rgba(255,255,255,.15); }
.tb-link {
    display: inline-flex; align-items: center; gap: 5px;
    color: #fff; font-weight: 600; font-size: .68rem;
    padding: 4px 12px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.07);
    transition: all var(--ease); white-space: nowrap;
}
.tb-link:hover { background: var(--primary-red); border-color: var(--primary-red); color: #fff; }

/* ══════════════════════════════════════════════════════════
   5. HEADER  (identical to Home page)
══════════════════════════════════════════════════════════ */
.site-header {
    background: var(--white);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--ease);
}

/* Logo ring */
.logo-ring {
    width: 64px; height: 64px; border-radius: 50%;
    border: 2.5px solid var(--primary-red);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-soft); flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(198,40,40,.1);
}
.logo-ring img { width: 100%; height: 100%; object-fit: contain; }
.logo-fb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--primary-blue);
}

/* Logo text */
.lt-name {
    display: block; font-family: var(--font-d);
    font-size: 1.15rem; font-weight: 700;
    color: var(--primary-blue); line-height: 1.1;
}
.lt-place {
    display: flex; align-items: center; gap: 4px;
    font-size: .62rem; color: var(--text-muted); font-weight: 500; margin-top: 2px;
}
.lt-place .fa-location-dot { color: var(--primary-red); font-size: .58rem; }
.lt-tag {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: .58rem; color: var(--primary-blue); font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    background: var(--blue-soft); padding: 2px 8px; border-radius: 20px; margin-top: 4px;
}

/* Center title block */
.hcb-eyebrow {
    font-size: .6rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; color: var(--primary-red); margin-bottom: 3px;
}
.hcb-main {
    font-family: var(--font-d); font-size: 1.4rem;
    font-weight: 700; color: var(--primary-blue); line-height: 1.1;
}
.hcb-sub { font-size: .67rem; color: var(--text-muted); margin-top: 3px; }

/* Right accreditation badges */
.hrb-item {
    padding: 7px 12px; border-radius: 10px;
    border: 1.5px solid var(--border); background: var(--bg-soft);
    transition: all var(--ease);
}
.hrb-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.hrb-ico {
    width: 30px; height: 30px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: .82rem; color: #fff; flex-shrink: 0;
}
.hrb-blue { background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)); }
.hrb-red  { background: linear-gradient(135deg, var(--primary-red), var(--primary-red-hover)); }
.hrb-text span { display: block; }
.hrb-text span:first-child { font-size: .55rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; }
.hrb-text span:last-child  { font-size: .72rem; font-weight: 700; color: var(--primary-blue); }

/* Hamburger */
.hamburger-btn {
    background: none; border: 1.5px solid var(--border);
    border-radius: 8px; padding: 6px 10px;
    color: var(--primary-blue); font-size: 1.1rem;
    cursor: pointer; transition: all var(--ease);
}
.hamburger-btn:hover { background: var(--blue-soft); }

/* Gradient accent line */
.header-gradient-line {
    height: 3px;
    background: linear-gradient(90deg,
        var(--primary-blue) 0%,
        var(--primary-red)  50%,
        var(--secondary-blue) 100%);
}

/* Desktop navigation */
.nav-strip { background: var(--secondary-blue); }
.nav-item {
    display: inline-flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,.65); font-size: .74rem; font-weight: 600;
    padding: 12px 16px; letter-spacing: .025em;
    transition: all var(--ease);
    border-bottom: 2.5px solid transparent; white-space: nowrap;
}
.nav-item:hover {
    color: #fff; background: rgba(255,255,255,.07);
    border-bottom-color: rgba(255,255,255,.4);
}
.nav-item.active {
    color: #fff; border-bottom-color: var(--primary-red);
    background: rgba(198,40,40,.12);
}
.nav-admin {
    background: var(--primary-red); color: #fff !important;
    border-radius: 5px 5px 0 0;
    border-bottom-color: transparent !important;
    padding: 10px 20px; font-weight: 700;
}
.nav-admin:hover { background: var(--primary-red-hover); }

/* Mobile navigation */
.mobile-nav {
    background: var(--primary-blue);
    border-top: 1px solid rgba(255,255,255,.08); padding: 8px 0;
}
.mobile-nav-item {
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,.75); font-size: .82rem; font-weight: 600;
    padding: 12px 24px; border-left: 3px solid transparent;
    transition: all var(--ease);
}
.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: #fff; background: rgba(255,255,255,.07);
    border-left-color: var(--primary-red);
}
.mobile-nav-admin {
    background: var(--primary-red); color: #fff !important;
    margin: 8px 16px; border-radius: 8px;
    border-left-color: transparent !important; justify-content: center;
}
.mobile-nav-admin:hover { background: var(--primary-red-hover); }

/* ══════════════════════════════════════════════════════════
   6. ADMIN HERO BANNER
══════════════════════════════════════════════════════════ */
.admin-hero {
    background: linear-gradient(115deg, rgba(13,54,110,.58) 0%, rgba(10,42,90,.72) 42%, rgba(8,32,74,.78) 58%, rgba(22,58,112,.56) 78%, rgba(255,255,255,.08) 100% ), url('../images/mini-hero-bg.png') center center / cover no-repeat;
    /*background-attachment: fixed;*/
    padding: 44px 0 56px;
    position: relative;
    overflow: hidden;
    isolation: isolate
}
.admin-hero::before {
    content: '';
    position: absolute; top: -80px; right: -80px;
    width: 320px; height: 320px; border-radius: 50%;
    /*background: radial-gradient(circle, rgba(198,40,40,.15) 0%, transparent 70%);*/
    pointer-events: none;
}
.admin-hero::after {
    content: '';
    position: absolute; bottom: -60px; left: -60px;
    width: 260px; height: 260px; border-radius: 50%;
    /*background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);*/
    pointer-events: none;
}
.hero-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 22px 22px; pointer-events: none;
}
.admin-hero-inner { position: relative; z-index: 1; text-align: center; }
.admin-secure-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(198,40,40,.22);
    border: 1px solid rgba(198,40,40,.45);
    color: #ffb3b3; font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .14em;
    padding: 6px 18px; border-radius: 50px; margin-bottom: 16px;
}
.admin-hero h1 {
    font-family: var(--font-d);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 800; color: #fff; margin-bottom: 10px; letter-spacing: -.01em;
}
.admin-hero p {
    font-size: .95rem; color: rgba(255,255,255,.68);
    margin: 0 auto; max-width: 420px;
}
.hero-chips {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 10px; margin-top: 20px;
}
.hero-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.7);
    font-size: .68rem; font-weight: 600;
    padding: 5px 14px; border-radius: 30px;
}
.hero-chip i { color: rgba(255,255,255,.5); }
.admin-hero-wave {
    position: absolute; bottom: -1px; left: 0; right: 0; pointer-events: none;
}
.admin-hero-wave svg { width: 100%; height: 48px; display: block; }

/* ══════════════════════════════════════════════════════════
   7. LOGIN SECTION  —  full-page background image + overlay
══════════════════════════════════════════════════════════ */
.login-section {
    position: relative;
    padding: 64px 0 80px;
    overflow: hidden;

    /* Background image — update path as needed */
    /*background-image: url('../Images/login-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;*/   /* parallax feel on desktop */
}

/* Gradient overlay that sits between the image and the card */
.login-section::before {
    content: '';
    position: absolute; inset: 0; z-index: 0;
/*    background: linear-gradient(
        135deg,
        rgba(13, 54, 110, 0.88)  0%,
        rgba(22, 58, 112, 0.80) 45%,
        rgba(198, 40,  40, 0.45) 100%*/
    );
}

/* Dot-pattern texture on top of overlay for depth */
.login-section::after {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

/* All direct children sit above overlays */
.login-section > * { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════
   8. LOGIN CARD  —  premium glass-morphism split layout
══════════════════════════════════════════════════════════ */
.login-outer-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(255,255,255,.6) inset;
    overflow: hidden;
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    animation: fadeInUp .65s ease both;
    border: 1px solid rgba(255,255,255,.55);
}

/* ── LEFT image panel ── */
.card-image-panel {
    flex: 0 0 42%;
    position: relative; overflow: hidden; min-height: 560px;
    background: linear-gradient(145deg, var(--primary-blue), var(--secondary-blue));
}
.card-image-panel img.panel-photo {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center; display: block;
}
.panel-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(13,54,110,.18) 0%,
        rgba(10,27,70,.82)  100%);
}

/* Decorative rings inside panel */
.panel-deco {
    position: absolute; inset: 0; pointer-events: none; z-index: 1;
}
.panel-deco::before {
    content: '';
    position: absolute; top: 24px; right: 24px;
    width: 90px; height: 90px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.12);
}
.panel-deco::after {
    content: '';
    position: absolute; top: 44px; right: 44px;
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(198,40,40,.18);
}

/* Panel brand logo (top-left) */
.panel-brand { position: absolute; top: 28px; left: 28px; z-index: 3; }
.panel-brand-ring {
    width: 52px; height: 52px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.panel-brand-ring img { width: 100%; height: 100%; object-fit: contain; }

/* Panel feature chips (centre) */
.panel-features {
    position: absolute; top: 50%; left: 50%; z-index: 3;
    transform: translate(-50%, -50%);
    display: flex; flex-direction: column; align-items: center;
    gap: 12px; width: 80%;
}
.panel-feat {
    background: rgba(255,255,255,.08); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.16); border-radius: 10px;
    padding: 12px 18px; display: flex; align-items: center; gap: 12px; width: 100%;
}
.panel-feat-ico {
    width: 34px; height: 34px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; flex-shrink: 0;
}
.pfi-red  { background: rgba(198,40,40,.3);     color: #ff8a80; }
.pfi-blue { background: rgba(255,255,255,.12);   color: rgba(255,255,255,.8); }
.panel-feat-text strong {
    display: block; font-size: .8rem; font-weight: 700; color: #fff; line-height: 1;
}
.panel-feat-text span {
    display: block; font-size: .68rem; color: rgba(255,255,255,.55); margin-top: 2px;
}

/* Panel bottom badge */
.panel-badge {
    position: absolute; bottom: 24px; left: 50%;
    transform: translateX(-50%); z-index: 3;
    background: rgba(10,27,70,.82); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15); color: #fff;
    font-size: .78rem; font-weight: 600;
    padding: 11px 20px; border-radius: 10px;
    display: flex; align-items: center; gap: 9px; white-space: nowrap;
}
.panel-badge i { color: #ff8a80; font-size: 1rem; }

/* Fallback (no image) */
.card-image-fallback {
    flex: 0 0 42%;
    background: linear-gradient(145deg, var(--primary-blue), var(--secondary-blue));
    min-height: 560px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: rgba(255,255,255,.6); font-size: .9rem;
    text-align: center; padding: 40px; gap: 16px;
}
.card-image-fallback i { font-size: 4rem; color: rgba(255,255,255,.25); }

/* ── RIGHT form panel ── */
.card-form-panel {
    flex: 1; padding: 50px 46px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; background: #fff;
}
/* Subtle corner accent */
.card-form-panel::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 150px; height: 150px;
    background: radial-gradient(circle at top right, rgba(198,40,40,.06) 0%, transparent 70%);
    border-radius: 0 22px 0 0; pointer-events: none;
}

/* Form logo with pulse ring */
.form-logo-wrap {
    width: 76px; height: 76px; border-radius: 50%;
    border: 2.5px solid var(--primary-red);
    padding: 4px; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    box-shadow: 0 0 0 6px rgba(198,40,40,.08), var(--shadow-sm);
    animation: pulse-ring 3s ease infinite;
}
.form-logo-wrap img {
    width: 56px; height: 56px; object-fit: contain; border-radius: 50%;
}

/* Form title */
.form-title {
    font-family: var(--font-d);
    font-size: 1.75rem; font-weight: 700;
    color: var(--primary-blue); margin-bottom: 4px; text-align: center;
}
.form-subtitle {
    font-size: .82rem; color: var(--text-muted);
    text-align: center; margin-bottom: 28px; line-height: 1.5;
}

/* Divider */
.form-divider {
    display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.form-divider::before,
.form-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}
.form-divider span {
    font-size: .65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--text-muted);
    background: #fff; padding: 0 10px; white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════
   9. FORM CONTROLS  (original IDs/classes preserved)
══════════════════════════════════════════════════════════ */

/* Field labels — original class .field-label */
.field-label {
    font-family: var(--font-b);
    font-size: .7rem; font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase;
    color: var(--text-dark); margin-bottom: 7px;
    display: flex; align-items: center; gap: 6px;
}
.field-label i { font-size: .62rem; color: var(--primary-blue); }

/* Input wrapper — original class .input-wrap */
.input-wrap { position: relative; margin-bottom: 20px; }
.input-icon {
    position: absolute; left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted); font-size: 13px;
    pointer-events: none; z-index: 2; transition: color var(--ease);
}
.input-wrap:focus-within .input-icon { color: var(--primary-blue); }

/* Input fields — target original IDs #username and #upassword */
#username,
#upassword {
    width: 100% !important;
    height: 50px !important;
    padding: 0 46px 0 42px !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 10px !important;
    font-family: var(--font-b) !important;
    font-size: .9rem !important;
    color: var(--text-dark) !important;
    background: var(--bg-soft) !important;
    outline: none !important;
    transition: border-color var(--ease), box-shadow var(--ease), background var(--ease) !important;
    display: block !important;
    box-sizing: border-box !important;
}
#username:focus,
#upassword:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 3.5px rgba(13,54,110,.10) !important;
    background: #fff !important;
}
#username::placeholder,
#upassword::placeholder { color: #aab4c4; font-size: .84rem; }

/* Password toggle — original IDs #pwToggleBtn, #pwToggleIcon */
.pw-toggle {
    position: absolute; right: 13px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: var(--text-muted); font-size: 13px;
    cursor: pointer; padding: 0; z-index: 3; transition: color var(--ease);
}
.pw-toggle:hover { color: var(--primary-blue); }

/* Login button — original classes .login-form-btn .btn */
.login-form-btn.btn,
button.login-form-btn {
    width: 100% !important;
    height: 50px !important;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: var(--font-b) !important;
    font-size: .95rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all var(--ease) !important;
    box-shadow: 0 6px 22px rgba(13,54,110,.32) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px;
    letter-spacing: .01em;
    position: relative; overflow: hidden;
}
.login-form-btn.btn::after,
button.login-form-btn::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.08) 50%, transparent 100%);
    background-size: 400px 100%;
    animation: shimmer 2.4s infinite;
}
.login-form-btn.btn:hover,
button.login-form-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 32px rgba(13,54,110,.42) !important;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue)) !important;
}
.login-form-btn.btn:active { transform: translateY(0) !important; }

/* Hidden backend fields — do not touch */
#hash, #uname, #salt { display: none; }

/* Original form wrapper classes */
.pad-15  { padding: 0 !important; }
.login-form {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Help section — original classes */
.help-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.help-label {
    font-family: var(--font-b);
    font-size: .65rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--text-muted);
    text-align: center; margin-bottom: 12px;
}
.help-contacts {
    display: flex; align-items: center;
    justify-content: center; gap: 18px; flex-wrap: wrap;
}
.help-item { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--text-body); }
.help-item i { color: var(--primary-red); font-size: .8rem; }
.help-item a { color: var(--text-body); transition: color var(--ease); font-weight: 500; }
.help-item a:hover { color: var(--primary-blue); }

/* ══════════════════════════════════════════════════════════
   10. AUTH NOTE BAR
══════════════════════════════════════════════════════════ */
.auth-note-bar {
    background: var(--blue-soft);
    border-top: 1px solid rgba(13,54,110,.1);
    border-bottom: 1px solid rgba(13,54,110,.1);
    padding: 13px 0; font-size: .8rem;
    color: var(--text-body); text-align: center;
}
.auth-note-bar i { color: var(--primary-blue); }
.auth-note-bar a { color: var(--primary-blue); font-weight: 600; }
.auth-note-bar a:hover { text-decoration: underline !important; }

/* ══════════════════════════════════════════════════════════
   11. FOOTER
══════════════════════════════════════════════════════════ */
.site-footer-bar {
    background: var(--primary-blue);
    color: rgba(255,255,255,.75);
    text-align: center; padding: 18px 24px;
    font-size: .82rem; border-top: 3px solid var(--primary-red);
}
.site-footer-bar strong { color: #fff; }
.copy-bar {
    background: var(--text-dark);
    color: rgba(255,255,255,.4);
    text-align: center; padding: 10px; font-size: .72rem;
}
.copy-bar a { color: rgba(255,255,255,.5); }
.copy-bar a:hover { color: rgba(255,255,255,.85); }

/* ══════════════════════════════════════════════════════════
   12. MODAL  (kept for JS compatibility)
══════════════════════════════════════════════════════════ */
.modal-content { border-radius: 14px; }

/* ══════════════════════════════════════════════════════════
   13. SCROLLBAR
══════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--accent-silver); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-blue); }

/* ══════════════════════════════════════════════════════════
   14. RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1199.98px) {
    .card-form-panel { padding: 44px 36px; }
}

@media (max-width: 991.98px) {
    .logo-ring { width: 52px; height: 52px; }
    .lt-name { font-size: 1rem; }
    .login-section { background-attachment: scroll; } /* disable fixed bg on tablet */
}

@media (max-width: 767.98px) {
    /* Card stacks vertically on mobile */
    .login-outer-card { flex-direction: column; border-radius: 16px; max-width: 480px; }
    .card-image-panel { flex: none; min-height: 200px; width: 100%; }
    .card-image-fallback { flex: none; min-height: 160px; width: 100%; }
    .panel-features { display: none; }  /* too cramped on mobile */
    .card-form-panel { padding: 32px 28px; }
    .form-title { font-size: 1.45rem; }
    .help-contacts { flex-direction: column; gap: 10px; }
    .admin-hero { padding: 32px 0 48px; }
    .login-section { padding: 40px 0 56px; }
}

@media (max-width: 575.98px) {
    .card-form-panel { padding: 26px 20px; }
    .form-logo-wrap { width: 62px; height: 62px; }
    .admin-hero h1 { font-size: 1.6rem; }
    .hero-chips { display: none; }
    .login-section { padding: 32px 0 48px; }
}