/* =============================================
   SCHEDULE PREMIUM - NEON GAMING UI
   Theme: Silver Hand Bot / Cyberpunk
============================================= */

.schedule-container {
    padding: 10px;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.schedule-title {
    font-weight: 900;
    font-size: 16px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    letter-spacing: 2px;
}

.schedule-subtitle {
    font-size: 8px;
    opacity: 0.5;
    letter-spacing: 1px;
    margin-top: 2px;
    color: #fff;
}

.schedule-status-tag {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid #00ffff;
    color: #00ffff;
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: rgba(0, 255, 255, 0.08);
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateX(5px);
}

.schedule-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #00ffff;
    font-size: 16px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.schedule-info {
    flex-grow: 1;
}

.schedule-name {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
}

.schedule-time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 3px;
}

.schedule-time .highlight {
    color: #00ffff;
    font-weight: bold;
}

.highlight-danger {
    color: #ff3e3e !important;
    text-shadow: 0 0 8px rgba(255, 62, 62, 0.6);
    font-weight: bold;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.cyber-toast {
    background: rgba(5, 15, 20, 0.95);
    border-left: 3px solid #00ffff;
    color: #fff;
    padding: 12px 20px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(0, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    backdrop-filter: blur(8px);
    animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    border-radius: 4px;
    pointer-events: auto;
    border: 1px solid rgba(0, 255, 255, 0.1);
    text-transform: uppercase;
}

.cyber-toast i {
    color: #00ffff;
    font-size: 14px;
    filter: drop-shadow(0 0 5px #00ffff);
}

.cyber-toast.error {
    border-left-color: #ff3366;
}

.cyber-toast.error i {
    color: #ff3366;
    filter: drop-shadow(0 0 5px #ff3366);
}

@keyframes toastIn {
    from { transform: translateX(100%) skewX(-5deg); opacity: 0; }
    to { transform: translateX(0) skewX(0); opacity: 1; }
}

@keyframes toastOut {
    to { transform: translateX(120%) scale(0.8); opacity: 0; }
}

/* --- GAME STYLE SWITCH --- */
.game-switch {
    position: relative;
    width: 50px;
    height: 22px;
    flex-shrink: 0;
}

.game-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #111;
    border: 1px solid #333;
    transition: .3s;
    border-radius: 4px;
}

.switch-slider:before {
    position: absolute;
    content: "OFF";
    height: 16px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: #222;
    color: #555;
    font-size: 7px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    border-radius: 2px;
}

input:checked + .switch-slider {
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
}

input:checked + .switch-slider:before {
    content: "ON";
    transform: translateX(22px);
    background-color: #00ffff;
    color: #000;
    box-shadow: 0 0 15px #00ffff;
}

.schedule-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-note {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ffff;
    animation: footer-pulse 1.5s infinite;
}

/* --- ACCORDION SYSTEM --- */
.schedule-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.schedule-group.expanded {
    background: rgba(0, 255, 255, 0.03);
    border-color: rgba(0, 255, 255, 0.2);
}

.schedule-item.main-item {
    background: transparent;
    border: none;
    cursor: pointer;
}

.expand-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    opacity: 0.4;
    transition: transform 0.3s ease;
}

.expanded .expand-arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: #00ffff;
}

.schedule-details {
    max-height: 0;
    padding: 0 15px;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0, 1, 0, 1);
    opacity: 0;
    pointer-events: none;
}

.expanded .schedule-details {
    max-height: 500px;
    padding: 10px 15px 15px 55px;
    opacity: 1;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(1, 0, 1, 0);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

/* --- MINI SWITCH --- */
.game-switch.mini {
    width: 40px;
    height: 18px;
}

.game-switch.mini .switch-slider:before {
    height: 12px;
    width: 16px;
    font-size: 5px;
}

.game-switch.mini input:checked + .switch-slider:before {
    transform: translateX(18px);
}

/* --- STANDALONE PAGE STYLES --- */
body.schedule-page {
    margin: 0;
    padding: 0;
    background: #000;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

.schedule-page .bg-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 15, 25, 0.9) 0%, #000 100%);
    z-index: -2;
}

/* Cyber Squares Background */
.cyber-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.cyber-square {
    position: absolute;
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
    animation: float-up linear infinite;
    pointer-events: none;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-20vh) rotate(360deg);
        opacity: 0;
    }
}


.schedule-page .scanlines {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.02) 2px,
        rgba(0, 255, 255, 0.02) 4px
    );
    pointer-events: none;
    z-index: 10;
}

.schedule-page .container-wrapper {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    position: relative;
    z-index: 5;
    animation: content-slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.schedule-page .schedule-container {
    background: rgba(0, 15, 20, 0.9);
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.1),
        inset 0 0 20px rgba(0, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

@keyframes content-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes footer-pulse {
    0% { opacity: 0.4; box-shadow: 0 0 2px #00ffff; }
    50% { opacity: 1; box-shadow: 0 0 10px #00ffff; }
    100% { opacity: 0.4; box-shadow: 0 0 2px #00ffff; }
}

/* Back Button for Standalone */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(0, 255, 255, 0.6);
    text-decoration: none;
    font-size: 10px;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.back-link:hover {
    color: #00ffff;
    transform: translateX(-5px);
}

/* Help FAB */
.help-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid #00ffff;
    color: #00ffff;
    font-size: 20px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.help-fab:hover {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 25px #00ffff;
    transform: scale(1.1) rotate(15deg);
}

.help-fab i {
    filter: drop-shadow(0 0 5px currentColor);
}

/* Tutorial Lock */
body.tutorial-lock {
    overflow: hidden;
}


