/* ============================================================
   KRUMORA POS CHECK-IN PREMIUM (Migrated)
   ============================================================ */
:root {
    --esk-green: #00ff44;
    --esk-red: #ff1744;
    --esk-yellow: #ffd600;
    --esk-bg: #0d1117;
    --esk-card: #111820;
    --esk-glow: rgba(0, 255, 68, 0.25);
}

.portaria-v2-container {
    background: var(--esk-bg);
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Auth Overlay */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: var(--esk-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.auth-card {
    background: var(--esk-card);
    border: 1px solid rgba(0, 255, 68, 0.2);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 255, 68, 0.1);
    max-width: 400px;
    width: 90%;
}

.k-logo-lg {
    width: 80px;
    height: 80px;
    background: #000;
    border: 2px solid var(--esk-green);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 900;
    color: var(--esk-green);
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(0, 255, 68, 0.2);
}

.auth-title { font-size: 24px; font-weight: 900; letter-spacing: 4px; margin-bottom: 5px; }
.neon-k { color: var(--esk-green); text-shadow: 0 0 10px var(--esk-green); }

/* Main UI */
.portaria-premium-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.result-area-premium {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.result-card-premium {
    background: var(--esk-card);
    border: 1px solid rgba(0, 255, 68, 0.1);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    min-width: 450px;
    box-shadow: 0 0 40px rgba(0, 255, 68, 0.05);
    transition: all 0.3s ease;
}

.result-card-premium.approved { border-color: var(--esk-green); box-shadow: 0 0 40px rgba(0, 255, 68, 0.2); }
.result-card-premium.denied { border-color: var(--esk-red); box-shadow: 0 0 40px rgba(255, 23, 68, 0.2); }
.result-card-premium.used { border-color: var(--esk-yellow); box-shadow: 0 0 40px rgba(255, 214, 0, 0.2); }

.res-icon-premium { font-size: 100px; margin-bottom: 20px; }

/* Scanner Line Animation */
.qr-box-premium {
    width: 150px; height: 150px;
    border: 2px solid var(--esk-green);
    border-radius: 15px;
    margin: 30px auto 0;
    position: relative;
    overflow: hidden;
    opacity: 0.6;
}

.scanner-line-premium {
    position: absolute;
    width: 140px; height: 2px;
    background: var(--esk-green);
    box-shadow: 0 0 15px var(--esk-green);
    top: 10px; left: 5px;
    animation: scanV2 2s ease-in-out infinite;
}

@keyframes scanV2 {
    0%, 100% { top: 10px; opacity: 0.4; }
    50% { top: 130px; opacity: 1; }
}

/* Stats */
.stats-premium {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.stat-box-premium {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 15px;
    text-align: center;
    min-width: 120px;
}

.stat-value-premium { display: block; font-size: 28px; font-weight: 800; color: #fff; }
.stat-label-premium { font-size: 11px; color: #666; text-transform: uppercase; letter-spacing: 1px; }

/* Recent */
.recent-premium {
    margin-top: 30px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.recent-title-premium { font-size: 12px; color: var(--esk-green); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }

.flash-premium {
    position: fixed; inset: 0; z-index: 100; pointer-events: none;
    animation: flashV2 0.6s ease-out forwards;
}
.flash-approved-premium { background: rgba(0, 255, 68, 0.15); }
.flash-denied-premium { background: rgba(255, 23, 68, 0.15); }

@keyframes flashV2 { 0% { opacity: 1; } 100% { opacity: 0; } }
