/* ========== SCHEDULE-SPECIFIC STYLES ========== */
/* Resaved: 2026-02-13 force update */

/* Schedule Hero Customizations */
.schedule-hero {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 60%),
        var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.schedule-hero h1 {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

/* Metadata in Hero */
.schedule-meta {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-tertiary);
}

.schedule-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.schedule-meta-item i {
    color: var(--accent);
    font-size: 18px;
}

/* Stream Icons Container - Matches index.php style but flexible */
.ev-stream-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .ev-stream-icons {
        justify-content: flex-end;
    }
}

/* Enhanced Event Row for schedule pages */
/* Retain global grid, but ensure specific columns if needed */
/* Currently global.css handles the main grid well. */

/* No matches state */
.no-matches {
    padding: 80px 40px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.no-matches-icon {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    opacity: 0.5;
    background: var(--bg-primary);
    padding: 24px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.no-matches h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.no-matches p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto var(--space-lg);
    line-height: 1.6;
}

/* Schedule filter bar (Future proofing) */
.schedule-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
}

.schedule-filter-select {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    min-width: 200px;
    flex: 1;
    transition: border-color 0.2s;
}

.schedule-filter-select:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.schedule-filter-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Loading Spinner */
.schedule-loading {
    text-align: center;
    padding: 60px 20px;
}

.schedule-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Today's date indicator */
.today-marker {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid var(--accent);
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 14px;
    color: var(--accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Print Styles */
@media print {

    .topbar,
    .search-container,
    .sidebar,
    .footer-legal,
    .hamburger,
    .tz-sel,
    .ev-watch-btn {
        display: none !important;
    }

    .layout {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .league-group,
    .schedule-hero,
    .event-row {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        break-inside: avoid;
        background: white !important;
        color: black !important;
    }

    .hour,
    .ev-team {
        color: black !important;
    }
}