
/* Extracted from Schedule.cshtml */
:root {
            --primary-color: #008B9B;
            --primary-light: rgba(0, 139, 155, 0.1);
            --live: #dc3545;
            --success: #10b981;
        }

        .schedule-hero {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            color: white;
            padding: 3rem 0 2rem;
            margin-bottom: 0;
        }
        .schedule-hero h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.25rem; }
        .schedule-hero .event-name { font-size: 1rem; opacity: 0.8; }
        .hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
        .hero-chip {
            display: inline-flex; align-items: center; gap: 0.4rem;
            background: rgba(255,255,255,0.1); border-radius: 8px;
            padding: 0.35rem 0.7rem; font-size: 0.8rem;
        }
        .hero-chip i { font-size: 0.75rem; opacity: 0.7; }
        .hero-status { font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.7rem; padding: 0.3rem 0.7rem; border-radius: 20px; }
        .hero-status.live { background: var(--live); }
        .hero-status.upcoming { background: var(--primary-color); }
        .hero-status.completed { background: rgba(255,255,255,0.2); }
        .hero-status.onhold-hero { background: #d97706; }

        /* Progress bar */
        .progress-strip {
            max-width: 900px; margin: 0 auto; padding: 1rem 1rem 0;
        }
        .progress-card {
            background: white; border-radius: 10px; padding: 0.75rem 1rem;
            border: 1px solid #f0f0f0; display: flex; align-items: center; gap: 1rem;
            margin-bottom: 1rem;
        }
        .progress-stats { display: flex; gap: 1.25rem; font-size: 0.78rem; color: #6b7280; flex-shrink: 0; }
        .progress-stats strong { color: #1a1a2e; }
        .progress-bar-wrap { flex: 1; min-width: 0; }
        .progress-bar-label { font-size: 0.7rem; color: #6b7280; margin-bottom: 0.25rem; font-weight: 600; }
        .progress-bar-track { height: 6px; background: #e5e7eb; border-radius: 3px; overflow: hidden; }
        .progress-bar-fill { height: 100%; border-radius: 3px; transition: width 0.3s; }
        .progress-bar-fill.green { background: linear-gradient(90deg, var(--success), #34d399); }
        .progress-bar-fill.red { background: linear-gradient(90deg, var(--live), #ef4444); }
        .progress-bar-fill.teal { background: linear-gradient(90deg, var(--primary-color), #00b4cc); }

        .schedule-container { max-width: 900px; margin: 0 auto; padding: 0 1rem 3rem; }

        .schedule-filters {
            display: flex; gap: 0.5rem; flex-wrap: wrap;
            margin-bottom: 1.5rem;
        }
        .filter-chip {
            padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
            border: 1.5px solid #e5e7eb; background: white; color: #374151;
            cursor: pointer; transition: all 0.2s; text-decoration: none;
            display: inline-flex; align-items: center; gap: 0.4rem;
        }
        .filter-chip:hover { border-color: var(--primary-color); color: var(--primary-color); }
        .filter-chip.active {
            background: var(--primary-color); color: white; border-color: var(--primary-color);
        }
        .filter-chip .chip-count { font-size: 0.65rem; opacity: 0.7; }
        .filter-chip.active .chip-count { opacity: 0.9; }

        .day-group { margin-bottom: 2rem; }
        .day-header {
            font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
            color: #6b7280; margin-bottom: 0.75rem; padding-bottom: 0.5rem;
            border-bottom: 2px solid #e5e7eb;
            display: flex; align-items: center; gap: 0.5rem;
        }
        .day-header .day-badge {
            background: var(--primary-color); color: #fff; font-size: 0.6rem; font-weight: 700;
            padding: 0.15rem 0.45rem; border-radius: 4px; letter-spacing: 0.5px;
        }

        .schedule-item {
            display: grid; grid-template-columns: 80px 1fr auto;
            align-items: center; gap: 1rem;
            padding: 0.75rem 1rem; border-radius: 10px;
            margin-bottom: 0.5rem; background: white;
            border: 1px solid #f0f0f0; transition: all 0.2s;
            text-decoration: none; color: inherit;
            border-left: 3px solid transparent;
        }
        .schedule-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); text-decoration: none; color: inherit; }
        .schedule-item.is-live { border-left-color: var(--live); background: #fff5f5; }
        .schedule-item.is-hold { border-left-color: #f59e0b; background: #fffbeb; }
        .schedule-item.is-done { border-left-color: var(--success); opacity: 0.75; }
        .schedule-item.is-done:hover { opacity: 1; }

        .schedule-time {
            font-size: 0.85rem; font-weight: 700; color: #1a1a2e;
            line-height: 1.2;
        }
        .schedule-time small { font-weight: 400; color: #9ca3af; font-size: 0.7rem; display: block; }

        .schedule-details { min-width: 0; }
        .schedule-details .heat-label {
            font-weight: 600; font-size: 0.9rem; color: #1a1a2e;
        }
        .schedule-details .division-label {
            font-size: 0.75rem; font-weight: 600; padding: 0.15rem 0.5rem;
            border-radius: 4px; display: inline-block; margin-top: 0.2rem;
        }
        .schedule-details .round-label {
            font-size: 0.75rem; color: #6b7280;
        }
        .schedule-details .heat-athletes {
            font-size: 0.7rem; color: #9ca3af; margin-top: 0.15rem;
        }
        .schedule-details .heat-athletes i { font-size: 0.65rem; }
        .schedule-details .heat-winner {
            font-size: 0.7rem; color: var(--success); font-weight: 600; margin-top: 0.15rem;
        }
        .schedule-details .heat-winner i { font-size: 0.6rem; }

        .schedule-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.2rem; }
        .schedule-status {
            font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
            padding: 0.25rem 0.6rem; border-radius: 6px; white-space: nowrap;
        }
        .status-scheduled { background: #dbeafe; color: #1d4ed8; }
        .status-live { background: var(--live); color: #fff; animation: pulse-bg 2s infinite; }
        .status-completed { background: #f3f4f6; color: #6b7280; }
        .status-onhold { background: #fef3c7; color: #d97706; }
        .status-delayed { background: #fee2e2; color: #dc2626; }
        .status-cancelled { background: #fef2f2; color: #dc2626; text-decoration: line-through; }
        .live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; display: inline-block; animation: pulse-bg 1.5s infinite; margin-right: 0.3rem; }

        @keyframes pulse-bg {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        .no-schedule {
            text-align: center; padding: 4rem 1rem; color: #9ca3af;
        }
        .no-schedule i { font-size: 3rem; margin-bottom: 1rem; display: block; }

        /* Collapsible completed heats */
        .done-toggle {
            display: flex; align-items: center; gap: 0.4rem;
            background: #f9fafb; border: 1px dashed #e5e7eb; border-radius: 8px;
            padding: 0.45rem 0.85rem; margin-bottom: 0.5rem; cursor: pointer;
            font-size: 0.75rem; font-weight: 600; color: #9ca3af;
            transition: all 0.15s; width: 100%;
        }
        .done-toggle:hover { color: var(--primary-color); border-color: var(--primary-color); background: var(--primary-light); }
        .done-toggle i { font-size: 0.7rem; transition: transform 0.2s; }
        .done-toggle.expanded i { transform: rotate(90deg); }
        .done-wrap { display: none; }
        .done-wrap.expanded { display: block; }

        /* Division color coding */
        .div-color-0 { background: #dbeafe; color: #1d4ed8; }
        .div-color-1 { background: #dcfce7; color: #16a34a; }
        .div-color-2 { background: #fef3c7; color: #d97706; }
        .div-color-3 { background: #fce7f3; color: #db2777; }
        .div-color-4 { background: #ede9fe; color: #7c3aed; }
        .div-color-5 { background: #ffedd5; color: #ea580c; }

        @media (max-width: 576px) {
            .schedule-item {
                grid-template-columns: 1fr;
                gap: 0.25rem; padding: 0.65rem 0.75rem;
            }
            .schedule-time small { display: inline; margin-left: 0.5rem; }
            .schedule-hero { padding: 2rem 0 1.5rem; }
            .schedule-hero h1 { font-size: 1.35rem; }
            .progress-card { flex-direction: column; align-items: stretch; gap: 0.5rem; }
            .progress-stats { justify-content: center; }
            .schedule-right { flex-direction: row; align-items: center; gap: 0.5rem; }
        }

