:root {
    --mintx-primary: #0b2a4a;
    --mintx-primary-dark: #071c32;
    --mintx-accent: #3d8bfd;
    --mintx-mint: #7bc143;
    --mintx-mint-dark: #5fa32e;
    --mintx-glow: rgba(11, 42, 74, 0.16);
    --mintx-secondary: #64748b;
    --mintx-light: #f1f5fb;
    --mintx-white: #ffffff;
    --sidebar-width: 272px;
    --shadow: 0 4px 24px rgba(11, 42, 74, 0.08);
    --shadow-lg: 0 20px 50px rgba(11, 42, 74, 0.14);
    --radius: 16px;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font);
    background: linear-gradient(160deg, #eef3fb 0%, #f7f9fc 45%, #e8eef8 100%);
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
}

.admin-body { overflow-x: hidden; }
.wrapper { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(185deg, #0b2a4a 0%, #071c32 55%, #051423 100%);
    color: white;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 8px 0 32px rgba(7, 28, 50, 0.35);
}

.sidebar-header {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.97);
}

.brand-logo-link { display: block; text-decoration: none; }
.sidebar-logo { max-width: 100%; height: auto; max-height: 48px; object-fit: contain; }
.sidebar-header .brand-tag { color: #0b2a4a; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }

.nav-logo { height: 36px; width: auto; background: white; border-radius: 8px; padding: 4px 8px; }
.mobile-logo { height: 32px; width: auto; background: white; border-radius: 8px; padding: 4px 8px; }
.login-brand-logo { max-width: 220px; width: 100%; height: auto; }
.hero-logo { max-width: 260px; height: auto; background: white; border-radius: 12px; padding: 12px 18px; }
.hero-logo-large { max-width: 360px; width: 80%; height: auto; background: rgba(255,255,255,0.92); border-radius: 20px; padding: 24px; }

.btn-primary {
    background: linear-gradient(135deg, var(--mintx-primary), #134a7c);
    border: none;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 8px 20px var(--mintx-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--mintx-primary-dark), var(--mintx-primary));
}

.premium-tabs .nav-link.active {
    background: var(--mintx-mint);
    color: white;
}

.sidebar-nav {
    list-style: none;
    padding: 0.75rem 0 1rem;
    margin: 0;
    flex: 1;
}

.sidebar-nav .nav-label {
    padding: 1rem 1.25rem 0.35rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.45);
    font-weight: 600;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    margin: 0 0.65rem;
    border-radius: 10px;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    transition: all 0.2s;
    border-left: none;
    font-weight: 500;
    font-size: 0.92rem;
}

.sidebar-nav li a:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.sidebar-nav li a.active {
    background: rgba(255,255,255,0.18);
    color: white;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

.sidebar-footer {
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.sidebar-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.sidebar-logout:hover { background: rgba(220, 53, 69, 0.85); color: white; }

.content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.top-navbar {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(10, 77, 207, 0.06);
}

.top-page-title { font-weight: 700; color: #0f172a; font-size: 1.05rem; }

.btn-icon {
    border: none;
    background: var(--mintx-light);
    color: var(--mintx-primary);
    width: 42px; height: 42px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
}

.user-chip {
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.75rem 0.35rem 0.35rem;
    background: var(--mintx-light);
    border-radius: 999px;
}

.user-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mintx-primary), var(--mintx-accent));
    color: white;
    display: flex; align-items: center; justify-content: center;
}

.user-name { font-size: 0.85rem; font-weight: 700; line-height: 1.2; }
.user-role { font-size: 0.7rem; color: var(--mintx-primary); font-weight: 600; }

.btn-logout {
    background: #fff;
    border: 1.5px solid #fecaca;
    color: #dc2626;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.45rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

.main-content { min-height: calc(100vh - 70px); }

.stat-card, .premium-card, .card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(10, 77, 207, 0.05);
}

.stat-card {
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.stat-card .stat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}

.stat-card .stat-value { font-size: 2rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; }
.stat-card .stat-label { color: var(--mintx-secondary); font-size: 0.875rem; font-weight: 500; }

.card-header {
    background: white;
    border-bottom: 1px solid #eef2f7;
    font-weight: 700;
    border-radius: var(--radius) var(--radius) 0 0 !important;
    padding: 1rem 1.25rem;
}

.table thead th {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.premium-tabs .nav-link {
    border-radius: 999px;
    font-weight: 600;
    color: var(--mintx-secondary);
    padding: 0.55rem 1.15rem;
}

.premium-tabs .nav-link.active {
    background: var(--mintx-primary);
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, var(--mintx-primary), var(--mintx-accent));
    border: none;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 8px 20px var(--mintx-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--mintx-primary-dark), var(--mintx-primary));
    box-shadow: 0 10px 24px rgba(10, 77, 207, 0.28);
}

/* ── Landing page ── */
.landing-page {
    margin: 0;
    background: #f4f7fb;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.landing-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 1.15rem 1.5rem;
}

.landing-nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.landing-nav-brand {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 0.45rem 0.85rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    animation: landingFadeUp 0.7s ease both;
}

.landing-nav-brand img {
    height: 34px;
    width: auto;
    display: block;
}

.landing-nav-cta {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: background 0.2s ease, border-color 0.2s ease;
    animation: landingFadeUp 0.7s ease 0.08s both;
}

.landing-nav-cta:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.landing-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 1.5rem 4rem;
    overflow: hidden;
    color: #fff;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 15% 15%, rgba(123, 193, 67, 0.28), transparent 55%),
        radial-gradient(ellipse 70% 60% at 85% 80%, rgba(7, 28, 50, 0.55), transparent 50%),
        linear-gradient(155deg, #0b2a4a 0%, #0e3a5c 48%, #123d52 100%);
    animation: landingBgShift 14s ease-in-out infinite alternate;
}

.landing-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
    pointer-events: none;
}

.landing-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-align: center;
}

.landing-hero-logo {
    height: clamp(56px, 8vw, 78px);
    width: auto;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    padding: 0.85rem 1.35rem;
    margin: 0 auto 1.75rem;
    display: block;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    animation: landingFadeUp 0.8s ease 0.12s both;
}

.landing-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin: 0 0 1rem;
    animation: landingFadeUp 0.8s ease 0.22s both;
}

.landing-hero-content > p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 auto 1.75rem;
    max-width: 34rem;
    animation: landingFadeUp 0.8s ease 0.32s both;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    animation: landingFadeUp 0.8s ease 0.42s both;
}

.landing-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #7bc143;
    color: #0b2a4a;
    font-weight: 700;
    text-decoration: none;
    padding: 0.9rem 1.4rem;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(123, 193, 67, 0.35);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.landing-btn-primary:hover {
    color: #0b2a4a;
    filter: brightness(1.05);
    transform: translateY(-2px);
}

.landing-btn-ghost {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.9rem 1.25rem;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.landing-btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.65);
}

.landing-section-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.landing-section-head {
    margin-bottom: 2.5rem;
    max-width: 36rem;
}

.landing-section-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0b2a4a;
    margin: 0 0 0.5rem;
}

.landing-section-head p {
    margin: 0;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.55;
}

.landing-how {
    padding: 5rem 0 4rem;
    background: #fff;
}

.landing-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.landing-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.5rem 0;
    border-top: 1px solid #e8eef5;
    opacity: 0;
    animation: landingFadeUp 0.7s ease both;
}

.landing-steps li:nth-child(1) { animation-delay: 0.05s; }
.landing-steps li:nth-child(2) { animation-delay: 0.15s; }
.landing-steps li:nth-child(3) { animation-delay: 0.25s; }
.landing-steps li:last-child { border-bottom: 1px solid #e8eef5; }

.landing-steps .step-num {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #7bc143;
    padding-top: 0.2rem;
}

.landing-steps h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b2a4a;
    margin: 0 0 0.35rem;
}

.landing-steps p {
    margin: 0;
    color: #64748b;
    line-height: 1.55;
    max-width: 36rem;
}

.landing-capabilities {
    padding: 4.5rem 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(123, 193, 67, 0.08), transparent 40%),
        #f4f7fb;
}

.landing-cap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
}

.landing-cap-list li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.landing-cap-list i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(11, 42, 74, 0.08);
    color: #0b2a4a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.landing-cap-list strong {
    display: block;
    color: #0b2a4a;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.landing-cap-list span {
    display: block;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.45;
}

.landing-cta-band {
    padding: 4.5rem 0;
    background: linear-gradient(145deg, #0b2a4a 0%, #123d52 100%);
    color: #fff;
    text-align: center;
}

.landing-cta-inner h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
}

.landing-cta-inner p {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.72);
}

.landing-footer {
    padding: 2.5rem 0;
    background: #071c32;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.landing-footer-logo {
    height: 36px;
    width: auto;
    background: #fff;
    border-radius: 10px;
    padding: 0.4rem 0.75rem;
    margin-bottom: 0.85rem;
}

.landing-footer p {
    margin: 0;
    font-size: 0.85rem;
}

@keyframes landingFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes landingBgShift {
    from { filter: hue-rotate(0deg) saturate(1); }
    to { filter: hue-rotate(-6deg) saturate(1.05); }
}

@media (max-width: 767.98px) {
    .landing-cap-list { grid-template-columns: 1fr; }
    .landing-hero { padding: 6.5rem 1.25rem 3.5rem; }
}

.hero-section {
    background: linear-gradient(135deg, #0b2a4a 0%, #0e3a5c 50%, #123d52 100%);
    color: white;
    padding: 5rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(123,193,67,0.25), transparent);
}

.hero-section .container { position: relative; z-index: 1; }
.hero-section h1 { font-weight: 800; font-size: 3rem; letter-spacing: -0.03em; }

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: transform 0.3s;
    border: 1px solid rgba(11, 42, 74, 0.05);
}

.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.feature-card .icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(11,42,74,0.1), rgba(123,193,67,0.12));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: var(--mintx-primary);
}

.attendance-step {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #e2e8f0;
    box-shadow: var(--shadow);
    transition: border-color 0.3s;
}

.attendance-step.active { border-left-color: var(--mintx-primary); }
.attendance-step.completed { border-left-color: #198754; }
.attendance-step.failed { border-left-color: #dc3545; }

#videoElement { width: 100%; max-width: 480px; border-radius: 12px; }

.verification-overlay { position: relative; display: inline-block; }

.face-guide {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; height: 250px;
    border: 3px dashed rgba(255,255,255,0.6);
    border-radius: 50% 50% 45% 45%;
    pointer-events: none;
}

.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }

.calendar-day {
    aspect-ratio: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: white;
    border-radius: 10px;
    font-size: 0.875rem;
    padding: 0.25rem;
}

.calendar-day.header { background: transparent; font-weight: 600; color: #64748b; }
.calendar-day.present { background: #d1e7dd; color: #0f5132; }
.calendar-day.late { background: #fff3cd; color: #664d03; }
.calendar-day.absent { background: #f8d7da; color: #842029; }
.calendar-day.holiday { background: #e2d9f3; color: #432874; }
.calendar-day.leave { background: #cff4fc; color: #055160; }

.qr-preview-box {
    background: #fff;
    border-radius: 18px;
    padding: 0.85rem;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(11, 42, 74, 0.12);
    border: 1px solid #e8eef5;
    position: relative;
    z-index: 1;
}
.qr-preview-img { display: block; border-radius: 10px; width: 220px; height: 220px; object-fit: contain; }
.qr-card .qr-timer-badge { margin-top: 0.5rem; }
.qr-flash { animation: qrPulse 0.45s ease; }
@keyframes qrPulse { 0% { transform: scale(1); } 50% { transform: scale(1.035); } 100% { transform: scale(1); } }

/* Modern QR page */
.qr-hero {
    background: linear-gradient(135deg, #0b2a4a 0%, #134a7c 55%, #1a5f9e 100%);
    border-radius: 24px;
    padding: 1.75rem 1.75rem;
    color: #fff;
    box-shadow: 0 20px 50px rgba(11, 42, 74, 0.22);
    position: relative;
    overflow: hidden;
}
.qr-hero::before {
    content: '';
    position: absolute;
    width: 280px; height: 280px;
    right: -60px; top: -80px;
    background: radial-gradient(circle, rgba(123,193,67,0.35), transparent 70%);
    pointer-events: none;
}
.qr-hero::after {
    content: '';
    position: absolute;
    width: 180px; height: 180px;
    left: 35%; bottom: -90px;
    background: radial-gradient(circle, rgba(61,139,253,0.25), transparent 70%);
    pointer-events: none;
}
.qr-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.qr-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.qr-hero h1 {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}
.qr-hero p {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
}
.qr-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}
.qr-hero-meta i { color: #7bc143; margin-right: 0.25rem; }
.btn-qr-create {
    background: #7bc143;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 0.85rem 1.35rem;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(123, 193, 67, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-qr-create:hover { background: #6aad38; color: #fff; }

.qr-stat {
    background: #fff;
    border-radius: 18px;
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(11, 42, 74, 0.06);
    border: 1px solid rgba(11, 42, 74, 0.05);
    height: 100%;
}
.qr-stat-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
}
.qr-stat-icon.mint { background: rgba(123,193,67,0.14); color: #5fa32e; }
.qr-stat-icon.navy { background: rgba(11,42,74,0.1); color: #0b2a4a; }
.qr-stat-icon.blue { background: rgba(61,139,253,0.12); color: #2b7de9; }
.qr-stat-label { font-size: 0.78rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.qr-stat-value { font-size: 1.55rem; font-weight: 800; color: #0b2a4a; line-height: 1.1; }

.qr-empty {
    background: #fff;
    border-radius: 24px;
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(11, 42, 74, 0.06);
    border: 1px dashed #cbd5e1;
}
.qr-empty-icon {
    width: 72px; height: 72px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(11,42,74,0.08), rgba(123,193,67,0.12));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.85rem;
    color: #0b2a4a;
}
.qr-empty h3 { font-weight: 800; color: #0b2a4a; }
.qr-empty p { color: #64748b; max-width: 360px; margin: 0.5rem auto 1.25rem; }

.qr-modern-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(11, 42, 74, 0.06);
    box-shadow: 0 14px 40px rgba(11, 42, 74, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.qr-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(11, 42, 74, 0.14);
}
.qr-modern-card.is-paused { opacity: 0.88; }
.qr-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.15rem 0;
    gap: 0.75rem;
}
.qr-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
}
.qr-status-pill.live { background: rgba(123,193,67,0.15); color: #4f8f24; }
.qr-status-pill.paused { background: #f1f5f9; color: #64748b; }
.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: currentColor;
}
.qr-status-pill.live .pulse-dot {
    box-shadow: 0 0 0 0 rgba(123,193,67,0.55);
    animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(123,193,67,0.5); }
    70% { box-shadow: 0 0 0 8px rgba(123,193,67,0); }
    100% { box-shadow: 0 0 0 0 rgba(123,193,67,0); }
}
.qr-branch-chip {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
}
.qr-branch-chip i { color: #3d8bfd; }

.qr-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem 1rem;
}
.qr-stage-ring {
    position: absolute;
    width: 268px; height: 268px;
    border-radius: 50%;
    background: conic-gradient(#7bc143 var(--progress, 100%), #e2e8f0 0);
    opacity: 0.9;
    mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
}
.qr-modern-card.is-paused .qr-stage-ring { background: conic-gradient(#cbd5e1 100%, #e2e8f0 0); }

.qr-card-body { padding: 0 1.25rem 1.35rem; margin-top: auto; }
.qr-card-body h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0b2a4a;
    text-align: center;
    margin-bottom: 0.85rem;
}
.qr-timer-row { margin-bottom: 1rem; }
.qr-timer-track {
    height: 6px;
    background: #eef2f7;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.qr-timer-fill {
    height: 100%;
    background: linear-gradient(90deg, #7bc143, #3d8bfd);
    border-radius: 999px;
    transition: width 0.9s linear;
}
.qr-timer-badge {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    background: transparent;
    padding: 0;
}
.qr-actions { display: flex; gap: 0.65rem; }
.btn-qr-toggle {
    border: 1.5px solid #0b2a4a;
    color: #0b2a4a;
    background: #fff;
    border-radius: 12px;
    font-weight: 700;
    padding: 0.65rem 1rem;
}
.btn-qr-toggle:hover { background: #0b2a4a; color: #fff; }
.btn-qr-delete {
    width: 46px; height: 46px;
    border-radius: 12px;
    border: 1.5px solid #fecaca;
    color: #dc2626;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-qr-delete:hover { background: #dc2626; color: #fff; border-color: #dc2626; }

.qr-modal {
    border: none;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(11, 42, 74, 0.25);
}
.qr-modal .modal-title { font-weight: 800; color: #0b2a4a; }
.qr-modal-hint {
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 1rem;
}
.qr-modal-hint i { color: #3d8bfd; }

@media (max-width: 767.98px) {
    .qr-hero { padding: 1.35rem; border-radius: 20px; }
    .qr-hero h1 { font-size: 1.45rem; }
    .qr-stage-ring { width: 240px; height: 240px; }
    .qr-preview-img { width: 190px; height: 190px; }
}

/* Modern Dashboard */
.dash-hero {
    background: linear-gradient(135deg, #0b2a4a 0%, #134a7c 55%, #1a5f9e 100%);
    border-radius: 24px;
    padding: 1.75rem;
    color: #fff;
    box-shadow: 0 20px 50px rgba(11, 42, 74, 0.22);
    position: relative;
    overflow: hidden;
}
.dash-hero::before {
    content: '';
    position: absolute;
    width: 260px; height: 260px;
    right: -50px; top: -70px;
    background: radial-gradient(circle, rgba(123,193,67,0.35), transparent 70%);
    pointer-events: none;
}
.dash-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.dash-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.dash-hero h1 {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.45rem;
}
.dash-hero p {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
}
.dash-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.2rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
}
.dash-hero-meta i { color: #7bc143; margin-right: 0.3rem; }
.dash-hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.btn-dash-primary {
    background: #7bc143;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 0.8rem 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 12px 28px rgba(123, 193, 67, 0.35);
}
.btn-dash-primary:hover { background: #6aad38; color: #fff; }
.btn-dash-ghost {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    padding: 0.8rem 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.btn-dash-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }

.dash-stat-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.25rem;
    height: 100%;
    border: 1px solid rgba(11, 42, 74, 0.05);
    box-shadow: 0 10px 28px rgba(11, 42, 74, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dash-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(11, 42, 74, 0.1);
}
.dash-stat-icon {
    width: 44px; height: 44px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
}
.dash-stat-icon.navy { background: rgba(11,42,74,0.1); color: #0b2a4a; }
.dash-stat-icon.mint { background: rgba(123,193,67,0.15); color: #5fa32e; }
.dash-stat-icon.rose { background: rgba(220,53,69,0.12); color: #dc3545; }
.dash-stat-icon.amber { background: rgba(253,126,20,0.14); color: #fd7e14; }
.dash-stat-icon.blue { background: rgba(61,139,253,0.14); color: #3d8bfd; }
.dash-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.dash-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #0b2a4a;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0.2rem 0;
}
.dash-stat-foot { font-size: 0.8rem; color: #94a3b8; font-weight: 600; }

.dash-metric {
    background: #fff;
    border-radius: 18px;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(11, 42, 74, 0.05);
    box-shadow: 0 8px 24px rgba(11, 42, 74, 0.05);
    height: 100%;
}
.dash-metric-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 700;
}
.dash-metric-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0b2a4a;
    margin: 0.4rem 0 0.75rem;
}
.dash-metric-bar {
    height: 7px;
    background: #eef2f7;
    border-radius: 999px;
    overflow: hidden;
}
.dash-metric-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #0b2a4a, #134a7c);
    border-radius: 999px;
}
.dash-metric-bar.blue span { background: linear-gradient(90deg, #3d8bfd, #60a5fa); }
.dash-metric-bar.mint span { background: linear-gradient(90deg, #7bc143, #a3e06b); }

.dash-panel {
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(11, 42, 74, 0.05);
    box-shadow: 0 12px 36px rgba(11, 42, 74, 0.06);
    overflow: hidden;
}
.dash-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid #eef2f7;
}
.dash-panel-header h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0b2a4a;
    margin: 0 0 0.15rem;
}
.dash-panel-header p {
    margin: 0;
    font-size: 0.82rem;
    color: #94a3b8;
}
.dash-panel-body { padding: 1.25rem 1.35rem; }

.dash-actions { display: flex; flex-direction: column; gap: 0.55rem; }
.dash-action {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    background: #f8fafc;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.dash-action:hover {
    background: #fff;
    border-color: rgba(11, 42, 74, 0.1);
    box-shadow: 0 8px 20px rgba(11, 42, 74, 0.06);
    color: inherit;
}
.dash-action-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(123,193,67,0.14);
    color: #5fa32e;
    flex-shrink: 0;
}
.dash-action-icon.mint { background: rgba(123,193,67,0.14); color: #5fa32e; }
.dash-action-icon.blue { background: rgba(61,139,253,0.14); color: #3d8bfd; }
.dash-action-icon.navy { background: rgba(11,42,74,0.1); color: #0b2a4a; }
.dash-action-icon.amber { background: rgba(253,126,20,0.14); color: #fd7e14; }
.dash-action-icon.rose { background: rgba(220,53,69,0.12); color: #dc3545; }
.dash-action strong { display: block; font-size: 0.9rem; color: #0b2a4a; }
.dash-action small { color: #94a3b8; font-size: 0.75rem; }
.dash-action > .bi-chevron-right { margin-left: auto; color: #cbd5e1; }

.dash-table thead th {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 700;
    padding: 0.9rem 1.1rem;
}
.dash-table tbody td {
    padding: 0.95rem 1.1rem;
    vertical-align: middle;
    border-color: #f1f5f9;
}
.dash-emp { display: flex; align-items: center; gap: 0.75rem; }
.dash-avatar {
    width: 38px; height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0b2a4a, #134a7c);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}
.dash-emp strong { display: block; font-size: 0.9rem; color: #0b2a4a; }
.dash-emp small { color: #94a3b8; }
.dash-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: capitalize;
}
.dash-badge.in { background: rgba(123,193,67,0.15); color: #4f8f24; }
.dash-badge.out { background: rgba(61,139,253,0.14); color: #2b7de9; }
.dash-badge.status-present { background: rgba(123,193,67,0.15); color: #4f8f24; }
.dash-badge.status-late { background: rgba(253,126,20,0.15); color: #d97706; }
.dash-badge.status-absent { background: rgba(220,53,69,0.12); color: #dc3545; }
.dash-verify { display: flex; gap: 0.45rem; font-size: 1rem; }
.dash-verify span { color: #0b2a4a; opacity: 0.85; }

@media (max-width: 767.98px) {
    .dash-hero { padding: 1.35rem; border-radius: 20px; }
    .dash-hero h1 { font-size: 1.4rem; }
    .dash-stat-value { font-size: 1.55rem; }
}

/* Today's Roster */
.dash-who-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.dash-who-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b2a4a;
    margin: 0 0 0.15rem;
}
.dash-who-header p { margin: 0; color: #94a3b8; font-size: 0.85rem; }
.dash-who-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(11, 42, 74, 0.06);
    box-shadow: 0 10px 28px rgba(11, 42, 74, 0.06);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.dash-who-card.present { border-top: 4px solid #7bc143; }
.dash-who-card.late { border-top: 4px solid #fd7e14; }
.dash-who-card.absent { border-top: 4px solid #dc3545; }
.dash-who-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #eef2f7;
    font-weight: 800;
    color: #0b2a4a;
    font-size: 0.95rem;
}
.dash-who-count {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    background: #f1f5f9;
    color: #0b2a4a;
}
.dash-who-card.present .dash-who-count { background: rgba(123,193,67,0.18); color: #4f8f24; }
.dash-who-card.late .dash-who-count { background: rgba(253,126,20,0.18); color: #d97706; }
.dash-who-card.absent .dash-who-count { background: rgba(220,53,69,0.14); color: #dc3545; }
.dash-who-list {
    padding: 0.5rem;
    max-height: 340px;
    overflow-y: auto;
    flex: 1;
}
.dash-who-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.75rem;
    border-radius: 14px;
}
.dash-who-item:hover { background: #f8fafc; }
.dash-who-info { flex: 1; min-width: 0; }
.dash-who-info strong {
    display: block;
    font-size: 0.88rem;
    color: #0b2a4a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-who-info small { color: #94a3b8; font-size: 0.72rem; }
.dash-who-meta { text-align: right; flex-shrink: 0; }
.dash-who-meta small { display: block; margin-top: 0.25rem; color: #94a3b8; font-size: 0.72rem; }
.dash-who-empty {
    text-align: center;
    color: #94a3b8;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}
.dash-avatar.amber { background: linear-gradient(135deg, #fd7e14, #f59e0b); }
.dash-avatar.rose { background: linear-gradient(135deg, #dc3545, #f87171); }

/* ── Professional login ── */
.login-page {
    margin: 0;
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: #eef3f8;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(300px, 1.1fr) minmax(340px, 0.9fr);
}

.login-panel {
    position: relative;
    background: linear-gradient(165deg, #0b2a4a 0%, #0e3558 45%, #124058 100%);
    color: #fff;
    padding: 2.75rem 3.25rem;
    overflow: hidden;
}

.login-panel-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.login-panel-orb--a {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -80px;
    background: radial-gradient(circle, rgba(123, 193, 67, 0.28), transparent 68%);
    animation: loginOrb 12s ease-in-out infinite alternate;
}

.login-panel-orb--b {
    width: 360px;
    height: 360px;
    right: -100px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    animation: loginOrb 14s ease-in-out infinite alternate-reverse;
}

.login-panel-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 75% 70% at 40% 40%, #000 15%, transparent 75%);
    pointer-events: none;
}

.login-panel-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: calc(100vh - 5.5rem);
    display: flex;
    flex-direction: column;
    max-width: 460px;
}

.login-panel-logo {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 14px;
    padding: 0.7rem 1.1rem;
    width: fit-content;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease;
    animation: loginRise 0.7s ease both;
}

.login-panel-logo:hover { transform: translateY(-2px); }

.login-panel-logo img {
    height: 44px;
    width: auto;
    display: block;
}

.login-panel-copy {
    margin-top: 3.5rem;
    animation: loginRise 0.75s ease 0.08s both;
}

.login-panel-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7bc143;
    margin-bottom: 0.9rem;
}

.login-panel-copy h1 {
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin: 0 0 1rem;
}

.login-panel-copy p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    max-width: 26rem;
}

.login-trust {
    list-style: none;
    padding: 0;
    margin: 2.25rem 0 0;
    display: grid;
    gap: 1rem;
    animation: loginRise 0.75s ease 0.16s both;
}

.login-trust li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.login-trust i {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(123, 193, 67, 0.16);
    border: 1px solid rgba(123, 193, 67, 0.28);
    color: #9fd45f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}

.login-trust strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.login-trust span {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.4;
}

.login-panel-footer {
    margin-top: auto;
    padding-top: 2.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    animation: loginRise 0.75s ease 0.24s both;
}

.login-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.75rem;
    background:
        radial-gradient(circle at 85% 12%, rgba(123, 193, 67, 0.1), transparent 42%),
        radial-gradient(circle at 10% 90%, rgba(11, 42, 74, 0.05), transparent 40%),
        linear-gradient(180deg, #f5f8fc 0%, #eaf0f6 100%);
}

.login-form-stage {
    width: 100%;
    max-width: 420px;
    animation: loginRise 0.7s ease 0.1s both;
}

.login-mobile-brand {
    display: none;
    margin-bottom: 1.5rem;
    text-align: center;
}

.login-mobile-brand img {
    height: 46px;
    width: auto;
    background: #fff;
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(11, 42, 74, 0.1);
}

.login-card {
    background: #fff;
    border: 1px solid rgba(11, 42, 74, 0.06);
    border-radius: 20px;
    padding: 2.15rem 2rem 1.75rem;
    box-shadow:
        0 1px 2px rgba(11, 42, 74, 0.04),
        0 18px 48px rgba(11, 42, 74, 0.1);
}

.login-form-header {
    margin-bottom: 1.6rem;
}

.login-form-header h2 {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0b2a4a;
    margin: 0 0 0.35rem;
}

.login-form-header p {
    margin: 0;
    color: #64748b;
    font-size: 0.93rem;
    line-height: 1.45;
}

.login-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.login-alert i { margin-top: 0.1rem; flex-shrink: 0; }

.login-field {
    margin-bottom: 1.15rem;
}

.login-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.45rem;
}

.login-input {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input > i {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    font-size: 1.05rem;
    pointer-events: none;
    transition: color 0.15s ease;
}

.login-input:focus-within > i { color: #0b2a4a; }

.login-input input {
    width: 100%;
    border: 1.5px solid #dbe3ee;
    background: #fafbfd;
    border-radius: 12px;
    padding: 0.88rem 2.85rem 0.88rem 2.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    outline: none;
}

.login-input input:focus {
    background: #fff;
    border-color: #7bc143;
    box-shadow: 0 0 0 4px rgba(123, 193, 67, 0.16);
}

.login-input input::placeholder { color: #94a3b8; }

.login-toggle-pass {
    position: absolute;
    right: 0.55rem;
    border: none;
    background: transparent;
    color: #94a3b8;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.login-toggle-pass:hover {
    color: #0b2a4a;
    background: #eef2f7;
}

.login-submit {
    width: 100%;
    margin-top: 0.55rem;
    border: none;
    border-radius: 12px;
    padding: 0.98rem 1.25rem;
    background: linear-gradient(135deg, #0b2a4a 0%, #134466 100%);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(11, 42, 74, 0.26);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.login-submit:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(11, 42, 74, 0.32);
}

.login-submit:active { transform: translateY(0); }

.login-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.15rem;
    border-top: 1px solid #eef2f7;
}

.login-secure {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

.login-secure i { color: #7bc143; font-size: 0.75rem; }

.login-back {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.15s ease;
}

.login-back:hover { color: #0b2a4a; }

.login-brand-logo { max-width: 220px; width: 100%; height: auto; }

.input-group-premium .input-group-text {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: var(--mintx-primary);
}
.input-group-premium .form-control {
    border-color: #e2e8f0;
    padding: 0.7rem 0.9rem;
}
.btn-premium { border-radius: 14px; padding: 0.85rem; }

@keyframes loginRise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes loginOrb {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(18px, 12px) scale(1.06); }
}

@media (max-width: 991.98px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-panel { display: none; }
    .login-main { min-height: 100vh; padding: 2rem 1.15rem 2.5rem; }
    .login-mobile-brand { display: block; }
    .login-card { padding: 1.75rem 1.35rem 1.45rem; }
    .login-card-foot { flex-direction: column; align-items: flex-start; }
}

.navbar-premium {
    background: linear-gradient(90deg, #0a4dcf, #0839a0) !important;
    box-shadow: 0 8px 24px rgba(8, 57, 160, 0.25);
}

@media (max-width: 991.98px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.show { transform: translateX(0); }
    .content { margin-left: 0; width: 100%; }
    .hero-section h1 { font-size: 2rem; }
}

.page-header { margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.25rem; letter-spacing: -0.02em; }
.page-header p { color: var(--mintx-secondary); margin: 0; }

.filter-bar {
    background: white;
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.spinner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
}
