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


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

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

.conference-standings-page__heading {
    margin-bottom: 24px;
}


/* --------------------------------------------------
   STANDINGS PANELS
-------------------------------------------------- */

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

.conference-standings-panel:last-child {
    margin-bottom: 0;
}

.conference-standings-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 WRAPPER
-------------------------------------------------- */

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


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

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

.conference-tier-table {
    min-width: 980px;
}

.conference-standings-table th,
.conference-standings-table td {
    padding: 12px 14px;
    border-right: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
    text-align: center;
    white-space: nowrap;
}

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

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

.conference-standings-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-standings-table tbody td {
    background: var(--surface-secondary);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 700;
}

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

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

.conference-standings-table th:first-child,
.conference-standings-table td:first-child {
    width: 190px;
    text-align: left;
}

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

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


/* --------------------------------------------------
   COLUMN WIDTHS - MAIN STANDINGS
-------------------------------------------------- */

.conference-standings-table th:nth-child(2),
.conference-standings-table td:nth-child(2),
.conference-standings-table th:nth-child(3),
.conference-standings-table td:nth-child(3) {
    width: 72px;
}

.conference-standings-table th:nth-child(4),
.conference-standings-table td:nth-child(4),
.conference-standings-table th:nth-child(6),
.conference-standings-table td:nth-child(6),
.conference-standings-table th:nth-child(9),
.conference-standings-table td:nth-child(9),
.conference-standings-table th:nth-child(10),
.conference-standings-table td:nth-child(10),
.conference-standings-table th:nth-child(11),
.conference-standings-table td:nth-child(11) {
    width: 106px;
}

.conference-standings-table th:nth-child(5),
.conference-standings-table td:nth-child(5),
.conference-standings-table th:nth-child(7),
.conference-standings-table td:nth-child(7),
.conference-standings-table th:nth-child(8),
.conference-standings-table td:nth-child(8) {
    width: 96px;
}


/* --------------------------------------------------
   TIER TABLE WIDTHS
-------------------------------------------------- */

.conference-tier-table th:nth-child(n+2),
.conference-tier-table td:nth-child(n+2) {
    width: 88px;
}


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

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


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

@media (max-width: 900px) {

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

    .conference-standings-panel {
        margin-bottom: 24px;
    }

}


@media (max-width: 700px) {

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

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

}
