/* ================================================================
   RETIREMENT CELEBRATION KIOSK SKIN
   Applied when #view-kiosk has .theme-retirement class.
   Overrides the standard tech-navy kiosk with a warm, dignified
   aesthetic befitting a career celebration.
   ================================================================ */

/* ── Panorama Container ─────────────────────────────────────────── */

/* Hidden by default — only visible with retirement theme */
.retirement-panorama-container {
    display: none;
}

#view-kiosk.theme-retirement .retirement-panorama-container {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.retirement-panorama-strip {
    display: flex;
    height: 100%;
    will-change: transform;
    animation: panorama-scroll 240s linear infinite;
}

.retirement-panorama-img {
    height: 100%;
    width: auto;
    flex-shrink: 0;
    pointer-events: none;
    user-select: none;
}

/* Pause animation during active scan result */
#view-kiosk.theme-retirement.scan-active .retirement-panorama-strip {
    animation-play-state: paused;
}

@keyframes panorama-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* ── Background & Atmosphere ────────────────────────────────────── */

#view-kiosk.theme-retirement {
    background-color: #15120e !important;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(180, 140, 60, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(160, 120, 50, 0.06) 0%, transparent 60%) !important;
    background-size: 100% 100% !important;
}


/* ── Branding Header ────────────────────────────────────────────── */

#view-kiosk.theme-retirement .kiosk-branding-header {
    z-index: 5;
    position: relative;
}


/* ── Scanning Window — Frosted Glass ────────────────────────────── */

#view-kiosk.theme-retirement .scanner-window-container {
    border-radius: 28px;
    border: 1px solid rgba(212, 175, 95, 0.25);
    box-shadow:
        0 0 60px rgba(180, 140, 60, 0.12),
        0 30px 80px -20px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: 5;
    position: relative;
}

/* Frosted glass surround — rendered as a pseudo-element behind the scanner */
#view-kiosk.theme-retirement .kiosk-main-stage {
    position: relative;
    z-index: 5;
}

#view-kiosk.theme-retirement .kiosk-main-stage::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(700px + 80px);
    height: calc(700px + 80px);
    border-radius: 48px;
    background: rgba(30, 25, 18, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(212, 175, 95, 0.12);
    z-index: -1;
    pointer-events: none;
}


/* ── Scanner Corners — Gold ─────────────────────────────────────── */

#view-kiosk.theme-retirement .scanner-corner {
    border-color: #d4af5f;
}

#view-kiosk.theme-retirement .scanner-corner.flash-success {
    border-color: #f5d78e;
}


/* ── Search Bar ─────────────────────────────────────────────────── */

#view-kiosk.theme-retirement .kiosk-search-integrated-row {
    z-index: 5;
    position: relative;
}

#view-kiosk.theme-retirement .scanner-search-wrap {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 95, 0.2);
}

#view-kiosk.theme-retirement .scanner-search-wrap:focus-within {
    background: rgba(255, 255, 255, 0.1);
    border-color: #d4af5f;
    box-shadow: 0 0 20px rgba(212, 175, 95, 0.15);
}

#view-kiosk.theme-retirement .scanner-search-wrap .material-icons {
    color: #d4af5f;
}


/* ── Scanner Hint ───────────────────────────────────────────────── */

#view-kiosk.theme-retirement .scanner-hint {
    color: rgba(212, 175, 95, 0.5);
    font-weight: 500;
    letter-spacing: 2px;
}


/* ── Terminal Controls ──────────────────────────────────────────── */

#view-kiosk.theme-retirement .terminal-btn {
    background: rgba(40, 35, 25, 0.5);
    border-color: rgba(212, 175, 95, 0.15);
    backdrop-filter: blur(12px);
    z-index: 5;
}

#view-kiosk.theme-retirement .terminal-btn:hover {
    background: rgba(212, 175, 95, 0.15);
    border-color: #d4af5f;
    color: #f5d78e;
}


/* ── Status Pill ────────────────────────────────────────────────── */

#view-kiosk.theme-retirement .kiosk-status-pill {
    background: rgba(40, 35, 25, 0.7);
    border-color: rgba(212, 175, 95, 0.3);
    color: #d4af5f;
}


/* ── Result Card — Warm Variant ─────────────────────────────────── */

#view-kiosk.theme-retirement .kiosk-result-card {
    background: #fdfbf7;
    border: 1px solid rgba(212, 175, 95, 0.2);
    box-shadow:
        0 25px 80px -12px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(180, 140, 60, 0.08);
}

#view-kiosk.theme-retirement .kiosk-result-card #res-name {
    color: #2c1810;
}

#view-kiosk.theme-retirement .kiosk-result-card #res-school {
    color: #6b5c4a;
}

#view-kiosk.theme-retirement .kiosk-result-card #res-icon-box {
    border: 3px solid #d4af5f;
}

#view-kiosk.theme-retirement .kiosk-result-card .btn-primary {
    background: #204164;
}

#view-kiosk.theme-retirement .kiosk-result-card .kiosk-next-timer {
    color: #8b7355;
}

#view-kiosk.theme-retirement .kiosk-result-card #kiosk-countdown {
    color: #d4af5f;
}


/* ── Typography — Slightly Larger for Accessibility ─────────────── */

#view-kiosk.theme-retirement .kiosk-result-card #res-name {
    font-size: 2.2rem;
}

#view-kiosk.theme-retirement .kiosk-result-card #res-school {
    font-size: 1.2rem;
}
