:root {
            --primary-color: #6366f1;
            --primary-light: #a5b4fc;
            --secondary-color: #ec4899;
            --success-color: #10b981;
            --success-light: #6ee7b7;
            --warning-color: #f59e0b;
            --warning-light: #fde047;
            --danger-color: #ef4444;
            --info-color: #3b82f6;
            --white: #ffffff;
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1f2937;
            --gray-900: #111827;
            --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
            --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
            --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
            --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
            --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
            --radius-2xl: 1.5rem;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--gradient-primary);
            min-height: 100vh;
            color: var(--gray-900);
            overflow-x: hidden;
        }

        /* Animated Background */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="9" cy="9" r="1"/><circle cx="49" cy="49" r="1"/><circle cx="29" cy="29" r="1"/><circle cx="9" cy="49" r="1"/><circle cx="49" cy="9" r="1"/></g></svg>') repeat;
            animation: float 20s infinite linear;
            z-index: -1;
        }

        @keyframes float {
            0% { transform: translateY(0); }
            100% { transform: translateY(-60px); }
        }

        /* Enhanced Header */
        .public-header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            padding: 2rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow-xl);
        }

        .header-content {
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo-section h1 {
            color: var(--primary-color);
            font-size: 2rem;
            font-weight: 800;
            margin: 0;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .logo-icon {
            font-size: 2.5rem;
            background: var(--gradient-warning);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: pulse 3s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .week-info {
            text-align: center;
            flex-grow: 1;
        }

        .week-info h2 {
            font-size: 1.5rem;
            color: var(--gray-900);
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .week-dates {
            color: var(--gray-600);
            font-size: 1rem;
            font-weight: 500;
        }

        .live-indicator {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--success-color);
            font-weight: 700;
            font-size: 1rem;
            background: rgba(16, 185, 129, 0.1);
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius-2xl);
            border: 2px solid rgba(16, 185, 129, 0.2);
        }

        .live-dot {
            width: 12px;
            height: 12px;
            background: var(--success-color);
            border-radius: 50%;
            animation: livePulse 2s infinite;
        }

        @keyframes livePulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.7; transform: scale(1.2); }
        }

        /* Main Container */
        .main-container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        /* Enhanced Statistics */
        .schedule-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .stat-item {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1.5rem;
            border-radius: var(--radius-2xl);
            text-align: center;
            box-shadow: var(--shadow-xl);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .stat-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
        }

        .stat-item.primary::before { background: var(--gradient-primary); }
        .stat-item.success::before { background: var(--gradient-success); }
        .stat-item.warning::before { background: var(--gradient-warning); }
        .stat-item.info::before { background: var(--gradient-purple); }

        .stat-item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-2xl);
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            color: var(--gray-600);
            font-weight: 600;
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Enhanced Schedule Grid - NO GAPS */
        .schedule-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 0; /* Removed gaps */
            background: rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-2xl);
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .day-column {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            display: flex;
            flex-direction: column;
            border-right: 1px solid rgba(255, 255, 255, 0.3);
            transition: var(--transition);
            min-height: auto; /* Remove fixed height */
        }

        .day-column:last-child {
            border-right: none;
        }

        .day-column:hover {
            background: var(--white);
            transform: translateY(-2px);
            z-index: 10;
            box-shadow: var(--shadow-xl);
        }

        .day-header {
            background: var(--gradient-primary);
            color: var(--white);
            padding: 1rem;
            text-align: center;
            font-weight: 700;
            position: relative;
            overflow: hidden;
            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        }

        .day-header.today {
            background: var(--gradient-warning);
            animation: todayGlow 3s infinite;
        }
.expandable-hosts {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.expandable-hosts:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    transform: translateX(2px);
}

.additional-hosts {
    animation: slideDown 0.3s ease;
    margin-top: 0.25rem;
}

.additional-hosts .slot-host {
    margin-left: 1rem;
    font-size: 0.9em;
    opacity: 0.95;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 0.5rem;
}

@keyframes slideDown {
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
        max-height: 0;
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
        max-height: 200px;
    }
}

        @keyframes todayGlow {
            0%, 100% { box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3); }
            50% { box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.5); }
        }

        .day-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }

        .day-name {
            font-size: 1rem;
            margin-bottom: 0.25rem;
            position: relative;
            z-index: 1;
        }

        .day-date {
            font-size: 0.8rem;
            opacity: 0.9;
            position: relative;
            z-index: 1;
        }

        .today-badge {
            background: rgba(255, 255, 255, 0.3);
            padding: 0.15rem 0.5rem;
            border-radius: 1rem;
            font-size: 0.65rem;
            margin-top: 0.25rem;
            display: inline-block;
            position: relative;
            z-index: 1;
        }

        /* NO SCROLL - Full height time slots */
        .time-slots {
            padding: 0.5rem;
            flex-grow: 1;
            /* Removed: overflow-y: auto and max-height */
        }

        .time-slot {
            margin-bottom: 0.5rem;
            padding: 0.75rem;
            border-radius: var(--radius-2xl);
            font-size: 0.8rem;
            transition: var(--transition);
            border: 2px solid transparent;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .time-slot::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            transition: left 0.6s;
        }

        .time-slot:hover::before {
            left: 100%;
        }

        .time-slot.single-host {
            background: var(--gradient-success);
            border-color: var(--success-color);
            color: var(--white);
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
        }

        .time-slot.multiple-hosts {
            background: var(--gradient-purple);
            border-color: var(--primary-color);
            color: var(--white);
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
        }

        .time-slot.available {
            background: var(--gray-100);
            border-color: var(--gray-300);
            color: var(--gray-600);
            font-style: italic;
        }

        .time-slot.current-time {
            background: var(--gradient-warning);
            border-color: var(--warning-color);
            color: var(--white);
            animation: currentSlotPulse 2s infinite;
            box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
        }

        @keyframes currentSlotPulse {
            0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(245, 158, 11, 0.5); }
            50% { transform: scale(1.02); box-shadow: 0 0 35px rgba(245, 158, 11, 0.8); }
        }

        .slot-time {
            font-weight: 700;
            font-size: 0.85rem;
            margin-bottom: 0.4rem;
            display: block;
        }

        .slot-hosts {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .slot-host {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.75rem;
            background: rgba(255, 255, 255, 0.2);
            padding: 0.3rem 0.5rem;
            border-radius: 0.5rem;
            backdrop-filter: blur(10px);
            transition: var(--transition);
        }

        .slot-host:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateX(2px);
        }

        .current-indicator {
            background: rgba(255, 255, 255, 0.9);
            color: var(--warning-color);
            padding: 0.2rem 0.5rem;
            border-radius: 0.75rem;
            font-size: 0.6rem;
            font-weight: 700;
            position: absolute;
            top: 0.4rem;
            right: 0.4rem;
            animation: blink 2s infinite;
            backdrop-filter: blur(10px);
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        /* Legend */
        .legend {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-bottom: 2rem;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1.5rem;
            border-radius: var(--radius-2xl);
            box-shadow: var(--shadow-xl);
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
            color: var(--gray-900);
            font-size: 0.875rem;
        }

        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 0.5rem;
            border: 2px solid rgba(255, 255, 255, 0.5);
        }

        .legend-single { background: var(--gradient-success); }
        .legend-multiple { background: var(--gradient-purple); }
        .legend-available { background: var(--gray-200); }
        .legend-current { background: var(--gradient-warning); }

        /* Footer */
        .footer {
            text-align: center;
            padding: 2rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            margin-top: 2rem;
        }

        .footer-content {
            color: var(--white);
            font-size: 1rem;
            margin-bottom: 1rem;
        }

        .footer-details {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.875rem;
        }

        .refresh-timer {
            background: rgba(255, 255, 255, 0.1);
            padding: 0.5rem 1rem;
            border-radius: 1rem;
            display: inline-block;
            margin-top: 1rem;
            backdrop-filter: blur(10px);
        }

        /* Mobile Responsive */
        @media (max-width: 1200px) {
            .schedule-grid {
                grid-template-columns: repeat(4, 1fr);
            }
            
            .day-column:nth-child(n+5) {
                border-top: 1px solid rgba(255, 255, 255, 0.3);
            }
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                text-align: center;
            }

            .schedule-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .schedule-stats {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .legend {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
            }
            
            .day-column {
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.3);
            }
            
            .day-column:nth-child(odd) {
                border-right: 1px solid rgba(255, 255, 255, 0.3);
            }
        }

        @media (max-width: 480px) {
            .schedule-grid {
                grid-template-columns: 1fr;
            }
            
            .schedule-stats {
                grid-template-columns: 1fr;
            }
            
            .day-column {
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.3);
            }
            
            .day-column:last-child {
                border-bottom: none;
            }
        }

        /* Loading Animation */
        .fade-in {
            animation: fadeIn 0.8s ease forwards;
            opacity: 0;
            transform: translateY(20px);
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
		/* Header buttons and live indicator enhancements */
.current-ist-time { font-size: 1.05rem; margin-top: 0.5rem; color: #6366f1; font-weight: 700; }
.tz-note { color: #f59e0b; font-weight: 600; }

.right-side {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.header-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #6366f1;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(99,102,241,0.25);
    transition: transform .05s ease, box-shadow .2s ease, background .2s ease;
}
.header-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(99,102,241,0.3);
    background: #5457e5;
}
.header-btn.alt {
    background: #10b981;
    box-shadow: 0 2px 6px rgba(16,185,129,0.25);
}
.header-btn.alt:hover {
    background: #0ea472;
    box-shadow: 0 4px 10px rgba(16,185,129,0.3);
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(239,68,68,0.08);
    color: #ef4444;
    font-weight: 700;
    white-space: nowrap;
}
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239,68,68,0.6);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.6); }
    70% { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
    100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

@media (max-width: 768px) {
    .header-content { gap: 12px; }
    .right-side { width: 100%; justify-content: flex-start; }
    .header-buttons { width: 100%; }
}

/* Live slot styling (container) */
.time-slot.current-time {
    outline: 2px solid #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
    position: relative;
}

/* "LIVE" chip inside the slot (injected by JS) */
.current-indicator {
    position: absolute;
    top: 6px;
    right: 8px;
    background: rgba(34,197,94,0.95);
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: .02em;
}

/* Current host highlight */
.slot-host.current-host {
    background: linear-gradient(90deg, rgba(99,102,241,0.12), rgba(99,102,241,0.05));
    border-left: 3px solid #6366f1;
    border-radius: 8px;
    padding-left: 10px;
    box-shadow: inset 0 0 0 1px rgba(99,102,241,0.12);
}

/* Minor header styles for clock and buttons (if not already in file) */
.current-ist-time { font-size: 1.05rem; margin-top: 0.5rem; color: #6366f1; font-weight: 700; }
.tz-note { color: #f59e0b; font-weight: 600; }

.right-side {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.header-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #6366f1;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(99,102,241,0.25);
    transition: transform .05s ease, box-shadow .2s ease, background .2s ease;
}
.header-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(99,102,241,0.3);
    background: #5457e5;
}
.header-btn.alt {
    background: #10b981;
    box-shadow: 0 2px 6px rgba(16,185,129,0.25);
}
.header-btn.alt:hover {
    background: #0ea472;
    box-shadow: 0 4px 10px rgba(16,185,129,0.3);
}

/* Live indicator baseline, in case not present */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(239,68,68,0.08);
    color: #ef4444;
    font-weight: 700;
    white-space: nowrap;
}
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239,68,68,0.6);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.6); }
    70% { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
    100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

@media (max-width: 768px) {
    .header-content { gap: 12px; }
    .right-side { width: 100%; justify-content: flex-start; }
    .header-buttons { width: 100%; }
}