/* ==================================================
   3NG - CONFERENCE SCHEDULE PAGE
   ================================================== */


/* --------------------------------------------------
   PAGE
-------------------------------------------------- */

.conference-schedule-page {
    width: 100%;
    padding: 46px 0 56px;
    border-bottom: 1px solid var(--border-secondary);
}

.conference-schedule-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 24px;
}

.conference-schedule-page__heading {
    margin-bottom: 0;
}


/* --------------------------------------------------
   WEEK CONTROL
-------------------------------------------------- */

.conference-schedule-week-control {
    min-width: 190px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.conference-schedule-week-control label {
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.conference-schedule-week-control select {
    min-height: 48px;
    padding: 0 38px 0 14px;
    background: var(--surface-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}


/* --------------------------------------------------
   SCHEDULE PANEL
-------------------------------------------------- */

.conference-schedule-panel {
    width: 100%;
    overflow: hidden;
    background: var(--surface-primary);
    border: 1px solid var(--border-primary);
    border-top: 3px solid var(--3ng-crimson);
}

.conference-schedule-panel__title {
    padding: 15px 18px;
    background: var(--surface-elevated);
    border-bottom: 1px solid var(--border-primary);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}


/* --------------------------------------------------
   TABLE
-------------------------------------------------- */

.conference-schedule-table-scroll {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.conference-schedule-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
    table-layout: fixed;
    font-variant-numeric: tabular-nums;
}

.conference-schedule-table th,
.conference-schedule-table td {
    padding: 13px 14px;
    border-right: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
    text-align: left;
    vertical-align: middle;
}

.conference-schedule-table th:last-child,
.conference-schedule-table td:last-child {
    border-right: 0;
}

.conference-schedule-table tbody tr:last-child td {
    border-bottom: 0;
}

.conference-schedule-table thead th {
    background: var(--surface-elevated);
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.conference-schedule-table tbody td {
    background: var(--surface-secondary);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 700;
}

.conference-schedule-table tbody tr:nth-child(even) td {
    background: var(--surface-primary);
}

.conference-schedule-table tbody tr:hover td {
    background: var(--surface-elevated);
}

.conference-schedule-table th:nth-child(1),
.conference-schedule-table td:nth-child(1) {
    width: 118px;
}

.conference-schedule-table th:nth-child(2),
.conference-schedule-table td:nth-child(2) {
    width: 110px;
}

.conference-schedule-table th:nth-child(3),
.conference-schedule-table td:nth-child(3),
.conference-schedule-table th:nth-child(5),
.conference-schedule-table td:nth-child(5) {
    width: 180px;
}

.conference-schedule-table th:nth-child(4),
.conference-schedule-table td:nth-child(4) {
    width: 78px;
    text-align: center;
}

.conference-schedule-table th:nth-child(6),
.conference-schedule-table td:nth-child(6) {
    width: 250px;
}

.conference-schedule-table th:nth-child(7),
.conference-schedule-table td:nth-child(7) {
    width: 170px;
}

.conference-schedule-table th:nth-child(8),
.conference-schedule-table td:nth-child(8) {
    width: 135px;
}

.conference-schedule-table__team a {
    color: var(--text-primary);
    font-size: 0.84rem;
    font-weight: 800;
}

.conference-schedule-table__team a:hover {
    color: var(--accent-color);
}

.conference-schedule-table__separator {
    color: var(--text-primary) !important;
    font-weight: 900 !important;
}

.conference-schedule-table__venue {
    color: var(--text-primary) !important;
    font-weight: 700 !important;
}


/* --------------------------------------------------
   EMPTY STATE
-------------------------------------------------- */

.conference-schedule-panel .conference-empty-state {
    margin: 20px;
}


/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 900px) {

    .conference-schedule-page {
        padding-top: 36px;
    }

    .conference-schedule-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
    }

    .conference-schedule-week-control {
        width: min(100%, 260px);
    }

}


@media (max-width: 700px) {

    .conference-schedule-page {
        padding: 30px 0 42px;
    }

    .conference-schedule-table th,
    .conference-schedule-table td {
        padding: 11px 12px;
    }

}


/* --------------------------------------------------
   RESULTS
-------------------------------------------------- */

.conference-schedule-table__result {
    color: var(--text-primary);
    font-weight: 800;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
