/* ================= EVENT SCHEDULE ================= */

.glass-dark {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(12px);
}

/* --- Day card --- */
.schedule-day.is-hidden {
    display: none;
}

/* --- Timeline rail --- */
.schedule-timeline {
    position: relative;
}

.schedule-timeline::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    left: 0.375rem; /* aligns with the center of .schedule-dot */
    width: 2px;
    background: linear-gradient(
        to bottom,
        rgba(239, 68, 68, 0) 0%,
        rgba(239, 68, 68, 0.45) 10%,
        rgba(148, 163, 184, 0.22) 90%,
        rgba(148, 163, 184, 0) 100%
    );
}

@media (min-width: 768px) {
    .schedule-timeline::before {
        left: 8.875rem; /* time column (7rem) + gap (1.5rem) + half dot */
    }
}

/* --- Timeline row --- */
.schedule-item.is-hidden {
    display: none;
}

.schedule-dot {
    box-shadow: 0 0 0 4px rgb(2 6 23);
}

.schedule-card {
    transition:
        border-color 0.25s ease,
        transform 0.25s ease;
}

.schedule-item:hover .schedule-card {
    border-color: rgba(239, 68, 68, 0.35);
    transform: translateX(2px);
}

/* --- Sticky day header (sits just below the fixed navbar) --- */
.schedule-day-header {
    position: sticky;
    top: 6rem;
    z-index: 20;
}

/* --- Empty state --- */
.schedule-empty {
    display: none;
}

.schedule-empty.is-visible {
    display: block;
}

/* --- Quick jump chips --- */
.schedule-jump {
    scrollbar-width: none;
}

.schedule-jump::-webkit-scrollbar {
    display: none;
}

/* --- Print / save as PDF --- */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }

    #navbar,
    footer,
    .schedule-noprint {
        display: none !important;
    }

    .schedule-day-header {
        position: static;
    }

    .schedule-day,
    .schedule-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
