/* ==========================================================================
   Kiosk Terminal Styles - RFID & QR Code Scanner
   ========================================================================== */

.kiosk-body {
    background: radial-gradient(circle at 50% 10%, #1e1b4b 0%, #0f172a 50%, #030712 100%);
    color: #f8fafc;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Kiosk Top Navigation Bar */
.kiosk-header {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}

.kiosk-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.kiosk-logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), #818cf8);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.5);
}

.kiosk-title h1 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.kiosk-title p {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Clock & Live Status */
.kiosk-clock-container {
    text-align: right;
}

.kiosk-digital-clock {
    font-family: 'Outfit', monospace;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.05em;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.kiosk-date-badge {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #38bdf8;
    margin-top: 0.25rem;
}

.live-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--success); }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Mode Switcher Segmented Control */
.kiosk-mode-bar {
    display: flex;
    justify-content: center;
    padding: 1rem 1rem 0;
}

.mode-selector {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 0.3rem;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mode-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mode-btn.active {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.mode-btn:hover:not(.active) {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.05);
}

/* Kiosk Main Content Grid */
.kiosk-main-layout {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 1024px) {
    .kiosk-main-layout {
        grid-template-columns: 1fr;
    }
}

/* Scanner Central Station */
.kiosk-scanner-station {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.scanner-viewport-card {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 680px;
    padding: 1.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* Camera Scanner Container */
.qr-scanner-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 400px;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(79, 70, 229, 0.4);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

#reader {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

#reader video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

#reader video.mirrored {
    transform: scaleX(-1);
}

/* Live scanner status pill */
.qr-status {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    max-width: 92%;
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-full);
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.qr-status.ok {
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.5);
}

/* Laser Scan Animation Line */
.scanner-laser {
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, transparent);
    box-shadow: 0 0 15px #38bdf8, 0 0 25px #818cf8;
    z-index: 10;
    animation: laserScan 2.5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes laserScan {
    0% { top: 8%; opacity: 0.9; }
    50% { opacity: 1; }
    100% { top: 92%; opacity: 0.9; }
}

/* Target Viewfinder Brackets */
.scanner-target-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    pointer-events: none;
    z-index: 5;
}

.scanner-target-box::before,
.scanner-target-box::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border-color: #38bdf8;
    border-style: solid;
}

.scanner-target-box::before {
    top: 0;
    left: 0;
    border-width: 4px 0 0 4px;
    border-top-left-radius: 8px;
}

.scanner-target-box::after {
    top: 0;
    right: 0;
    border-width: 4px 4px 0 0;
    border-top-right-radius: 8px;
}

.scanner-target-bottom::before,
.scanner-target-bottom::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border-color: #38bdf8;
    border-style: solid;
}

.scanner-target-bottom::before {
    bottom: 0;
    left: 0;
    border-width: 0 0 4px 4px;
    border-bottom-left-radius: 8px;
}

.scanner-target-bottom::after {
    bottom: 0;
    right: 0;
    border-width: 0 4px 4px 0;
    border-bottom-right-radius: 8px;
}

/* ==========================================================================
   Biometric Facial Recognition Viewfinder & Guide Overlay
   ========================================================================== */

.face-guide-overlay {
    position: absolute;
    inset: 0;
    z-index: 15;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

/* Biometric Viewfinder Frame */
.face-guide-frame {
    position: relative;
    width: 220px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-height: 480px) {
    .face-guide-frame {
        width: 190px;
        height: 240px;
    }
}

/* 4 Futuristic Corner L-Brackets */
.face-guide-frame .face-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #38bdf8;
    border-style: solid;
    transition: border-color 0.3s ease, transform 0.3s ease;
    z-index: 4;
}

.face-guide-frame .face-corner.tl {
    top: -8px;
    left: -8px;
    border-width: 3px 0 0 3px;
    border-top-left-radius: 8px;
}

.face-guide-frame .face-corner.tr {
    top: -8px;
    right: -8px;
    border-width: 3px 3px 0 0;
    border-top-right-radius: 8px;
}

.face-guide-frame .face-corner.bl {
    bottom: -8px;
    left: -8px;
    border-width: 0 0 3px 3px;
    border-bottom-left-radius: 8px;
}

.face-guide-frame .face-corner.br {
    bottom: -8px;
    right: -8px;
    border-width: 0 3px 3px 0;
    border-bottom-right-radius: 8px;
}

/* Anatomical Oval Head & Face Silhouette */
.face-guide-oval {
    width: 100%;
    height: 100%;
    border-radius: 50% 50% 46% 46% / 54% 54% 46% 46%;
    border: 2px dashed rgba(56, 189, 248, 0.7);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2), inset 0 0 25px rgba(56, 189, 248, 0.08);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(0.5px);
    transition: all 0.35s ease;
}

/* Subtle Breathing Pulse Animation for Oval */
@keyframes faceOvalPulse {
    0% {
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.2), inset 0 0 20px rgba(56, 189, 248, 0.08);
        border-color: rgba(56, 189, 248, 0.6);
    }
    50% {
        box-shadow: 0 0 28px rgba(56, 189, 248, 0.4), inset 0 0 35px rgba(56, 189, 248, 0.18);
        border-color: rgba(56, 189, 248, 0.95);
    }
    100% {
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.2), inset 0 0 20px rgba(56, 189, 248, 0.08);
        border-color: rgba(56, 189, 248, 0.6);
    }
}

.face-guide-overlay:not(.detected):not(.matched) .face-guide-oval {
    animation: faceOvalPulse 3s infinite ease-in-out;
}

/* Eye Level Horizontal Alignment Horizon */
.face-guide-eyeline {
    position: absolute;
    top: 38%;
    left: 8%;
    right: 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.face-guide-eyeline::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
    z-index: 1;
}

.eye-target {
    width: 30px;
    height: 20px;
    border: 1.5px solid rgba(56, 189, 248, 0.6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.5);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.eye-reticle {
    width: 5px;
    height: 5px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 6px #38bdf8;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.eye-level-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(56, 189, 248, 0.9);
    background: rgba(15, 23, 42, 0.75);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Chin Marker */
.face-guide-chin {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(56, 189, 248, 0.8);
    background: rgba(15, 23, 42, 0.65);
    padding: 1px 7px;
    border-radius: 6px;
    border-bottom: 2px solid rgba(56, 189, 248, 0.7);
    transition: all 0.3s ease;
}

/* Biometric Scan Beam */
.face-guide-beam {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    box-shadow: 0 0 15px #38bdf8, 0 0 25px rgba(56, 189, 248, 0.8);
    animation: faceScanBeam 2.5s ease-in-out infinite alternate;
    pointer-events: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

@keyframes faceScanBeam {
    0% { top: 12%; opacity: 0.3; }
    50% { opacity: 1; }
    100% { top: 88%; opacity: 0.3; }
}

/* Real-time Guidance Prompt Banner */
.face-guide-prompt {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    max-width: 90%;
}

.face-prompt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
    animation: faceDotPulse 1.6s infinite;
    flex-shrink: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

@keyframes faceDotPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #38bdf8; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

/* --- STATE: Face Detected & Aligned (Emerald Green Glow) --- */
.face-guide-overlay.detected .face-guide-oval {
    border: 2.5px solid #10b981;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.45), inset 0 0 25px rgba(16, 185, 129, 0.18);
    transform: scale(1.02);
}

.face-guide-overlay.detected .face-guide-frame .face-corner {
    border-color: #10b981;
}

.face-guide-overlay.detected .eye-target {
    border-color: rgba(16, 185, 129, 0.8);
}

.face-guide-overlay.detected .eye-reticle {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.face-guide-overlay.detected .eye-level-label {
    color: #a7f3d0;
    border-color: rgba(16, 185, 129, 0.4);
}

.face-guide-overlay.detected .face-guide-chin {
    color: #a7f3d0;
    border-color: #10b981;
}

.face-guide-overlay.detected .face-guide-beam {
    background: linear-gradient(90deg, transparent, #10b981, transparent);
    box-shadow: 0 0 15px #10b981;
}

.face-guide-overlay.detected .face-guide-prompt {
    border-color: rgba(16, 185, 129, 0.6);
    background: rgba(6, 78, 59, 0.9);
    color: #d1fae5;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.face-guide-overlay.detected .face-prompt-dot {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

/* --- STATE: Match Success (Bright Neon Green Flash) --- */
.face-guide-overlay.matched .face-guide-oval {
    border: 3px solid #10b981;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.7), inset 0 0 35px rgba(16, 185, 129, 0.3);
}

.face-guide-overlay.matched .face-guide-prompt {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff;
    border-color: #34d399;
    font-weight: 700;
}

/* --- STATE: Unregistered Face (Amber Warning) --- */
.face-guide-overlay.unregistered .face-guide-oval {
    border: 2.5px solid #f59e0b;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.45), inset 0 0 25px rgba(245, 158, 11, 0.18);
}

.face-guide-overlay.unregistered .face-guide-frame .face-corner {
    border-color: #f59e0b;
}

.face-guide-overlay.unregistered .face-guide-prompt {
    border-color: rgba(245, 158, 11, 0.6);
    background: rgba(120, 53, 15, 0.9);
    color: #fef3c7;
}

.face-guide-overlay.unregistered .face-prompt-dot {
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

/* RFID Mode View */
.rfid-scanner-box {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
}

.rfid-icon-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rfid-card-icon {
    width: 90px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.rfid-waves {
    position: absolute;
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    animation: wavePulse 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.rfid-waves:nth-child(2) {
    animation-delay: 0.6s;
}

.rfid-waves:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes wavePulse {
    0% { width: 60px; height: 60px; opacity: 1; }
    100% { width: 180px; height: 180px; opacity: 0; }
}

/* Live Student Tap Result Popup Modal */
.student-tap-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(14px);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.student-tap-card {
    background: #111827;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 520px;
    padding: 2.25rem;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    animation: cardPopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardPopIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.student-avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 1.25rem;
}

.student-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 0 25px var(--primary-glow);
}

.student-avatar.status-on-time {
    border-color: var(--success);
    box-shadow: 0 0 30px var(--success-glow);
}

.student-avatar.status-late {
    border-color: var(--warning);
    box-shadow: 0 0 30px var(--warning-glow);
}

.student-avatar.status-undertime {
    border-color: #f97316;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
}

.student-card-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.student-card-id {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1.25rem;
    font-family: 'Outfit', monospace;
}

.student-status-badge-container {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.status-badge-lg {
    padding: 0.6rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge-lg.on-time {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid #10b981;
}

.status-badge-lg.late {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid #f59e0b;
}

.status-badge-lg.undertime {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
    border: 1px solid #f97316;
}

.action-badge-lg {
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    background: rgba(79, 70, 229, 0.25);
    color: #818cf8;
    border: 1px solid var(--primary);
    border-radius: var(--radius-full);
}

.student-card-details {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.detail-item-label {
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.detail-item-value {
    color: #f1f5f9;
    font-weight: 600;
}

/* Auto-dismiss Countdown progress bar */
.card-dismiss-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.card-dismiss-fill {
    height: 100%;
    background: var(--primary);
    width: 100%;
    transition: width linear 3.5s;
}

/* Sidebar: Live Feed of Today's Scans */
.kiosk-feed-sidebar {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: calc(100vh - 120px);
}

.feed-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feed-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feed-count-badge {
    background: rgba(79, 70, 229, 0.3);
    color: #a5b4fc;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.feed-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feed-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.feed-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.feed-info {
    flex: 1;
    min-width: 0;
}

.feed-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-meta {
    font-size: 0.725rem;
    color: #94a3b8;
}

.feed-status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

/* Toast Notifications Container */
.kiosk-toast-container {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    pointer-events: none;
}

.kiosk-toast {
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 0.85rem 1.35rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: toastSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    max-width: 90vw;
}

.kiosk-toast.error {
    border-color: rgba(248, 113, 113, 0.5);
    background: rgba(30, 15, 20, 0.95);
    color: #fca5a5;
}

.kiosk-toast.warning {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(35, 26, 12, 0.95);
    color: #fde68a;
}

.kiosk-toast.info {
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(12, 28, 48, 0.95);
    color: #bae6fd;
}

@keyframes toastSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


