/* =============================================================
   scan.css — Styles untuk halaman Scan Absensi
   Diekstrak dari inline <style> di scan.html agar bisa di-cache
   oleh browser setelah kunjungan pertama.
   ============================================================= */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ── */
:root {
    --cyan: #38bdf8;
    --blue: #818cf8;
    --pink: #f472b6;
    --green: #34d399;
    --amber: #fbbf24;
    --rose: #f87171;
}

/* ── Material Symbols ── */
.ms {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 24;
    line-height: 1;
}

/* ── Base ── */
body { font-family: 'Inter', sans-serif; background: #0f0c29; height: 100dvh; overflow: hidden; color: #fff; }
.jakarta { font-family: 'Plus Jakarta Sans', sans-serif; }

/* ── Animated background ── */
#bg {
    position: fixed; inset: 0; z-index: 0;
    background: linear-gradient(135deg,#0f0c29,#302b63,#24243e);
}
.orb {
    position: fixed; border-radius: 50%;
    filter: blur(80px); opacity: .35;
    z-index: 1; pointer-events: none;
}
.orb1 { width:350px;height:350px;background:radial-gradient(#38bdf8,#818cf8);top:-80px;left:-60px;animation:f1 8s ease-in-out infinite; }
.orb2 { width:280px;height:280px;background:radial-gradient(#f472b6,#c084fc);bottom:20%;right:-60px;animation:f2 10s ease-in-out infinite; }
.orb3 { width:180px;height:180px;background:radial-gradient(#34d399,#06b6d4);bottom:8%;left:8%;animation:f1 12s ease-in-out infinite reverse; }

@keyframes f1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(28px,22px)} }
@keyframes f2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-22px,28px)} }

/* ── Screens ── */
.screen {
    position: fixed; inset: 0; z-index: 10;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 2rem; text-align: center;
}
#scanner-screen {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 10;
    padding: 0;
    overflow: hidden;
}

/* ── Glass button ── */
.gbtn {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(12px);
    border-radius: 50%; cursor: pointer; color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .15s;
}
.gbtn:hover { background: rgba(255,255,255,.2); }
.gbtn:active { transform: scale(.92); }

/* ── CTA button ── */
#btn-allow {
    width: 100%; max-width: 320px; padding: 16px;
    border-radius: 16px; border: none; cursor: pointer;
    background: linear-gradient(135deg, var(--cyan), var(--blue), var(--pink));
    color: #fff; font-size: 15px; font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 8px 30px rgba(56,189,248,.4);
    transition: transform .2s, box-shadow .2s;
}
#btn-allow:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(56,189,248,.6); }
#btn-allow:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── Camera container ── */
#reader-wrap {
    position: absolute; inset: 0; z-index: 0;
    background: #000; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
#reader-wrap video {
    width: 100% !important; height: 100% !important;
    object-fit: cover; object-position: center !important; display: block;
}

/* ── Hide Library Default UI (Fix Double Box) ── */
#html5qr-reader__scan_region { border: none !important; }
#html5qr-reader__dashboard { display: none !important; }
#qr-shaded-region { border: none !important; background-color: transparent !important; }
#qr-shaded-region > div { border: none !important; }
#html5qr-reader { border: none !important; }

/* ── Vignette ── */
#vignette {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 28%, rgba(0,0,0,.65) 100%);
}

/* ── Scan frame ── */
#frame-wrap {
    position: absolute; inset: 0; z-index: 2;
    display: flex; justify-content: center; align-items: flex-start;
    padding-top: 14vh; pointer-events: none;
}
#frame { position: relative; width: 240px; height: 240px; }

.corner { position: absolute; width: 44px; height: 44px; border-width: 3px; border-style: solid; }
.tl { top:-1px;left:-1px;border-color:var(--cyan) transparent transparent var(--cyan);border-radius:16px 0 0 0;box-shadow:-3px -3px 12px rgba(34,211,238,.6); }
.tr { top:-1px;right:-1px;border-color:var(--blue) var(--blue) transparent transparent;border-radius:0 16px 0 0;box-shadow:3px -3px 12px rgba(129,140,248,.6); }
.bl { bottom:-1px;left:-1px;border-color:transparent transparent #c084fc var(--blue);border-radius:0 0 0 16px;box-shadow:-3px 3px 12px rgba(192,132,252,.6); }
.br { bottom:-1px;right:-1px;border-color:transparent var(--pink) var(--pink) transparent;border-radius:0 0 16px 0;box-shadow:3px 3px 12px rgba(244,114,182,.6); }

#scanline {
    position: absolute; left: 5%; width: 90%; height: 2px; border-radius: 99px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), var(--pink), transparent);
    box-shadow: 0 0 16px rgba(56,189,248,.9);
    animation: scanAnim 2.5s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes scanAnim { 0%{top:5%;opacity:0} 10%{opacity:1} 90%{opacity:1} 100%{top:95%;opacity:0} }

#hint {
    position: absolute; bottom: -28px; width: 100%; text-align: center;
    font-size: 11px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: rgba(255,255,255,.5);
}

/* ── Header overlay ── */
#hdr {
    position: absolute; top: 0; left: 0; right: 0; z-index: 30;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(to bottom, rgba(0,0,0,.70), transparent);
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}
#hdr h2 {
    flex: 1; text-align: center;
    font-family: 'Plus Jakarta Sans',sans-serif;
    font-weight: 700; font-size: 16px;
}
.hdr-back-btn {
    width: 40px; height: 40px; flex-shrink: 0;
}
.hdr-actions {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
#cam-controls {
    display: none; align-items: center; gap: 6px; flex-shrink: 0;
}
#cam-mode-pill {
    display: flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    border-radius: 99px; padding: 4px 10px 4px 6px;
    font-size: 11px; font-weight: 700; color: rgba(255,255,255,.75);
    letter-spacing: .03em; transition: all .3s;
}
.hdr-flip-btn {
    width: 40px; height: 40px; flex-shrink: 0; position: relative;
}
/* Tombol flip kamera — animasi rotate via JS */
#btn-flip-cam:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ── Bottom sheet ── */
#sheet {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
    height: 54px; display: flex; flex-direction: column;
    background: rgba(10,8,30,.88); backdrop-filter: blur(28px);
    border-top: 1px solid rgba(255,255,255,.1); border-radius: 28px 28px 0 0;
    box-shadow: 0 -10px 50px rgba(0,0,0,0.4);
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
#sheet.expanded { height: 60vh; }
#sheet-handle { display: flex; justify-content: center; padding: 12px 0 8px; flex-shrink: 0; cursor: pointer; }
#sheet-handle span { width: 48px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.25); transition: background 0.3s; }
#sheet:hover #sheet-handle span { background: rgba(255,255,255,0.5); }
#sheet-hdr {
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 20px 12px; border-bottom: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0; cursor: pointer;
}

#live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

#scan-status {
    font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    padding: 4px 12px; border-radius: 99px;
    background: linear-gradient(135deg,var(--cyan),var(--blue)); transition: background .3s;
}

#scan-list {
    overflow-y: auto; flex: 1; padding: 12px 16px 32px;
    display: flex; flex-direction: column; gap: 10px;
    opacity: 0; transition: opacity 0.3s;
    /* MWG: scrollbar-color untuk scrollbar yang mengikuti tema */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.15) transparent;
}
#sheet.expanded #scan-list { opacity: 1; }
#scan-list::-webkit-scrollbar { width: 3px; }
#scan-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 99px; }

/* ── Scan card ── */
.card {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    border-radius: 16px; position: relative; overflow: hidden;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
    animation: cardIn .35s cubic-bezier(.34,1.56,.64,1) forwards;
    flex-shrink: 0;
}
@keyframes cardIn { from{opacity:0;transform:translateY(12px) scale(.97)} to{opacity:1;transform:none} }

.card-strip { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 0; }
.card-avatar { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; margin-left: 4px; }
.card-info { flex: 1; min-width: 0; }
.card-info .name { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-info .sub { font-size: 11px; color: rgba(255,255,255,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.card-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 8px; max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.card-time { font-size: 11px; color: rgba(255,255,255,.4); display: flex; align-items: center; gap: 2px; }

/* ── Error / info state ── */
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 24px; color: rgba(255,255,255,.35); font-size: 13px; }
.empty-state .ms { font-size: 40px; }
#err-box {
    display: none; margin-top: 16px;
    background: rgba(244,114,182,.12); border: 1px solid rgba(244,114,182,.3);
    border-radius: 12px; padding: 12px 16px; font-size: 13px;
    color: #fca5a5; max-width: 320px;
}

/* ===== TOAST NOTIFICATION SYSTEM ===== */
#toast-container {
    position: fixed; top: 1.25rem; right: 1.25rem; z-index: 99999;
    display: flex; flex-direction: column; gap: 0.625rem; pointer-events: none;
}
.toast-item {
    pointer-events: all; display: flex; align-items: flex-start; gap: 0.875rem;
    background: #ffffff; border-radius: 16px; padding: 1rem 1.125rem;
    min-width: 280px; max-width: 340px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1);
    position: relative; overflow: hidden;
    animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    color: #0f172a;
}
.toast-item.toast-out { animation: toastOut 0.3s ease-in forwards; }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(110%) scale(0.9); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0) scale(1); max-height: 120px; margin-bottom: 0; }
    to   { opacity: 0; transform: translateX(110%) scale(0.9); max-height: 0; margin-bottom: -10px; }
}

.toast-icon-wrap { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast-icon-wrap .ms { font-size: 20px; color: white !important; }
.toast-success .toast-icon-wrap { background: #16a34a; }
.toast-error   .toast-icon-wrap { background: #dc2626; }
.toast-warning .toast-icon-wrap { background: #ca8a04; }
.toast-success { border-left: 4px solid #16a34a; }
.toast-error   { border-left: 4px solid #dc2626; }
.toast-warning { border-left: 4px solid #ca8a04; }
.toast-body    { flex: 1; min-width: 0; text-align: left; }
.toast-title   { font-size: 13px; font-weight: 700; color: #0f172a; margin-bottom: 2px; }
.toast-message { font-size: 12px; color: #64748b; line-height: 1.4; }
.toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; animation: toastProgress linear forwards; }
.toast-success .toast-progress { background: #16a34a; }
.toast-error   .toast-progress { background: #dc2626; }
@keyframes toastProgress { from { width: 100%; } to { width: 0%; } }

/* =============================================================
   MWG: prefers-reduced-motion
   Matikan semua animasi untuk pengguna yang meminta gerak minimal.
   Referensi: prefers-reduced-motion media query (MWG)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
    .orb1, .orb2, .orb3 { animation: none; }
    #scanline { animation: none; top: 50%; }
    #live-dot { animation: none; opacity: 1; }
    .card { animation: none; opacity: 1; transform: none; }
    .toast-item { animation: none; opacity: 1; transform: none; }
    .toast-item.toast-out { animation: none; opacity: 0; }
    #sheet { transition: none; }
    #scan-list { transition: none; }
    .gbtn, #btn-allow, #scan-status { transition: none; }
    #sheet-handle span { transition: none; }
}

/* =============================================================
   Scan Mode Tabs (QR Code ⟷ Scan Wajah)
   ============================================================= */
.scan-mode-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 99px;
    padding: 4px;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    z-index: 10;
    max-width: fit-content;
    margin: 0 auto;
}

.mode-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    user-select: none;
}

.mode-tab:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
}

.mode-tab.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4);
}

.mode-tab.active .ms {
    color: #ffffff;
}

/* =============================================================
   Face Frame & Biometric HUD Overlay
   ============================================================= */
.face-frame-wrap {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.scan-face-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.face-hud-status {
    position: absolute;
    bottom: 84px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    animation: fadeInStatus 0.3s ease;
    z-index: 5;
}

/* =============================================================
   Face HUD Canvas & Status
   ============================================================= */
.scan-face-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

/* =============================================================
   Mobile & Smartphone Responsive Styles (< 640px)
   ============================================================= */
@media (max-width: 640px) {
    #hdr {
        padding: 10px 12px;
        gap: 6px;
    }

    .hdr-back-btn, .hdr-flip-btn {
        width: 36px;
        height: 36px;
    }

    .hdr-actions {
        gap: 6px;
    }

    .scan-mode-tabs {
        padding: 3px;
        gap: 2px;
    }

    .mode-tab {
        padding: 5px 9px;
        font-size: 11px;
        gap: 4px;
    }

    .mode-tab .ms {
        font-size: 14px;
    }

    /* Hemat ruang: sembunyikan label teks status online pada smartphone */
    #scan-net-indicator {
        padding: 4px 7px;
        gap: 3px;
    }
    #scan-net-indicator .sni-text {
        display: none;
    }

    /* Sembunyikan label text pill Belakang/Depan di mobile agar tombol flip tetap pas dan elegan */
    #cam-mode-pill {
        display: none !important;
    }

    #idle-timer {
        font-size: 10px;
        padding: 3px 6px;
    }
}

@media (max-width: 380px) {
    #hdr {
        padding: 8px 8px;
        gap: 4px;
    }

    .hdr-back-btn, .hdr-flip-btn {
        width: 34px;
        height: 34px;
    }

    .mode-tab {
        padding: 4px 7px;
        font-size: 10px;
    }

    .mode-tab .ms {
        font-size: 13px;
    }
}

/* =============================================================
   Geofence Guard Screen (Proteksi Lokasi Scan QR)
   ============================================================= */
#geofence-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.96) 0%, rgba(10, 8, 30, 0.98) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.geo-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 2rem 1.75rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: geoPopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes geoPopIn {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.geo-radar-pulse {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.geo-radar-pulse.checking {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.2));
    border: 2px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.35);
}

.geo-radar-pulse.checking .ms {
    font-size: 40px;
    color: #38bdf8;
    animation: geoSpinPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes geoSpinPulse {
    0%   { transform: scale(0.95); opacity: 0.8; }
    50%  { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.geo-radar-pulse.blocked {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.2), rgba(251, 191, 36, 0.2));
    border: 2px solid rgba(248, 113, 113, 0.65);
    box-shadow: 0 0 35px rgba(248, 113, 113, 0.4);
}

.geo-radar-pulse.blocked .ms {
    font-size: 40px;
    color: #f87171;
}

.geo-radar-pulse.denied {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    border: 2px solid rgba(251, 191, 36, 0.65);
    box-shadow: 0 0 35px rgba(251, 191, 36, 0.4);
}

.geo-radar-pulse.denied .ms {
    font-size: 40px;
    color: #fbbf24;
}

.geo-radar-pulse.spoofed {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(220, 38, 38, 0.35));
    border: 2px solid rgba(239, 68, 68, 0.8);
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.5);
    animation: geoPulseRed 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes geoPulseRed {
    0%   { transform: scale(0.98); box-shadow: 0 0 25px rgba(239, 68, 68, 0.4); }
    50%  { transform: scale(1.06); box-shadow: 0 0 45px rgba(239, 68, 68, 0.75); }
    100% { transform: scale(0.98); box-shadow: 0 0 25px rgba(239, 68, 68, 0.4); }
}

.geo-radar-pulse.spoofed .ms {
    font-size: 42px;
    color: #ef4444;
}

.geo-radar-pulse.verified {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.2), rgba(6, 182, 212, 0.2));
    border: 2px solid rgba(52, 211, 153, 0.65);
    box-shadow: 0 0 35px rgba(52, 211, 153, 0.4);
}

.geo-radar-pulse.verified .ms {
    font-size: 40px;
    color: #34d399;
}

.geo-info-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 14px 16px;
    margin: 1.25rem 0 1.5rem;
    text-align: left;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.geo-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.75);
}

.geo-info-row b {
    color: #fff;
    font-weight: 600;
}

.geo-btn-primary {
    width: 100%;
    padding: 13px 20px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.geo-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.5);
}

.geo-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.geo-btn-secondary:hover {
    color: #fff;
}

/* Badge status lokasi terverifikasi di header / perm-screen */
#geo-verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #a7f3d0;
    margin-bottom: 12px;
    animation: fadeInStatus 0.3s ease;
}
