/* ════════════════════════════════════════════════════════════
   SCHEDULE PAGE — TABLE STYLES
   Scoped with #schedule so it only affects this page.
   ════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────
   CONTAINER
   ──────────────────────────────────────────── */
#schedule .container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}



.table-wrapper {
    font-family: 'poppins', sans-serif;
    display: flex;
}

#schedule .table-wrapper::-webkit-scrollbar {
    height: 8px;
}

#schedule .table-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

#schedule .table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

#schedule .table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

/* ────────────────────────────────────────────
   TABLE CARD
   ──────────────────────────────────────────── */
#schedule .table-card {
    background: #FFFFFF99;
    border-radius: 16px;
    padding: 28px;
    width: 100%;
    max-width: 1300px;
    min-width: max-content;
    box-shadow: 4px 5px 24px 0px #6565653D;
    box-sizing: border-box;
}

/* ────────────────────────────────────────────
   TABLE
   ──────────────────────────────────────────── */
#schedule .event-table {
    display: table;
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0 8px;
    font-family: 'poppins', sans-serif;
}

/* Header cells */
#schedule .event-table th {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
    text-align: left;
    padding: 4px 20px 12px;
    white-space: nowrap;
}

/* Body cells */
#schedule .event-table td {
    padding: 16px 28px;
    font-size: 16px;
    color: #2d2d2d;
    background: #EDF3FFC4;
    max-width: 200px;
    vertical-align: middle;
}

/* First column — rounded left edge */
#schedule .td-first {
    border-radius: 10px 0 0 10px;
    font-weight: 600;
}

/* Last column — rounded right edge */
#schedule .td-last {
    border-radius: 0 10px 10px 0;
}

/* Row */
#schedule .event-table tbody tr {
    overflow: hidden;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
    #schedule .table-card {
        padding: 22px;
        border-radius: 14px;
    }

    #schedule .event-table th {
        font-size: 15px;
        padding: 8px 10px;
    }

    #schedule .event-table td {
        font-size: 15px;
        padding: 14px 20px;
    }
}

/* ── Small tablet (≤768px) ── */
@media (max-width: 768px) {
    #schedule .container {
        padding: 0 16px;
        position: relative;

    }

    #schedule .table-wrapper {
        font-family: 'poppins', sans-serif;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #schedule .table-card {
        padding: 18px 0;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    #schedule .event-table th {
        font-size: 14px;
        padding: 8px 10px;
    }

    #schedule .event-table td {
        font-size: 14px;
        padding: 12px 16px;
        background: #EDF3FF;
    }

    /* Break wrapper out of .container padding → end-to-end scroll */
    #schedule .table-wrapper {
        width: 100vw;
        margin-right: calc(50% - 50vw);
        box-sizing: border-box;
    }

    #schedule .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        
    }

    #schedule .table-wrapper::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .table-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 50px;
        height: 100%;
        background: #fff;
        z-index: 1;
    }


    #schedule .event-table th:first-child,
    #schedule .event-table td:first-child {
        position: sticky;
        left: 10px;
        z-index: 2;
    }


    #schedule .event-table td:first-child {
        background: #EDF3FF;
        border-radius: 10px 0 0 10px;
        font-weight: 600;
    }

    #schedule .event-table th:first-child {
        z-index: 4;
        background: #fff;
        border-radius: 10px 0px 0px 10px;
    }

}

/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {
    #schedule .container {
        padding: 0 12px;

    }

    #schedule .table-card {
        padding: 14px 10px;
        border-radius: 10px;
    }

    #schedule .event-table {
        min-width: 620px;
        border-spacing: 0 6px;
    }

    #schedule .event-table th {
        font-size: 12px;
        padding:  10px 8px;
    }

    #schedule .event-table td {
        font-size: 12px;
        padding: 10px 12px;
    }

    #schedule .td-first {
        font-size: 13px;
        font-weight: 600;
    }

    /* Optional status badge (if you add one later) */
    #schedule .td-last .status {
        background-color: #C7DDEF;
        padding: 4px 12px;
        font-size: 10px;
        border-radius: 999px;
        display: inline-block;
    }
}



