/* PHL Schedule page — filters use the shared .flt-* kit; tables take the
   global ink-header treatment from phl-styles.css (Design System §05/§10).
   Only page-specific styling lives here. */

/* Playoff weeks stand out in the weeks checkbox grid */
.flt-checkgrid label.playoff-week {
    background: var(--phl-gold-soft);
}

/* Results summary strip */
.schedule-summary {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--phl-line);
}

.results-info {
    font-size: 0.95rem;
    color: var(--phl-muted);
}

/* Table container */
.schedule-table-container {
    background: var(--phl-card);
    border: 1px solid var(--phl-line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-card, 0 1px 3px rgba(23, 34, 46, 0.08));
}

.schedule-table {
    margin-bottom: 0;
    font-size: var(--fs-data, 0.8125rem);
}

/* Sortable headers are links inside the ink thead */
.schedule-table thead th.sortable a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.schedule-table thead th.sortable a:hover {
    color: var(--phl-orange-bright);
}

.schedule-table thead th.sortable i {
    margin-left: 0.25rem;
    font-size: 0.7rem;
    color: var(--phl-orange-bright);
}

.schedule-table tbody td {
    padding: 0.6rem 0.5rem;
    vertical-align: middle;
    font-variant-numeric: tabular-nums;
}

.schedule-table tbody tr:hover {
    background-color: var(--phl-line-soft);
}

/* Row highlights */
.matchup-row.current-week {
    background-color: var(--phl-row-wildcard);
}

.matchup-row.playoff-game {
    background-color: var(--phl-gold-soft);
}

/* Links carry data in steel per the system */
.schedule-table a {
    color: var(--phl-steel);
    text-decoration: none;
}

.schedule-table a:hover {
    color: var(--phl-steel-deep);
    text-decoration: underline;
}

.schedule-table .fw-bold {
    color: var(--phl-text);
}

/* Outcome coloring (semantic, not accent) */
.schedule-table .text-success {
    color: var(--phl-win) !important;
    font-weight: 600;
}

.schedule-table .text-danger {
    color: var(--phl-loss) !important;
    font-weight: 600;
}

/* Pagination */
.schedule-pagination .pagination {
    margin-bottom: 0;
}

.schedule-pagination .page-link {
    color: var(--phl-steel);
    border-color: var(--phl-line);
    padding: 0.5rem 0.75rem;
}

.schedule-pagination .page-item.active .page-link {
    background-color: var(--phl-ink);
    border-color: var(--phl-ink);
    color: #fff;
}

.schedule-pagination .page-item.disabled .page-link {
    color: var(--phl-faint);
}

/* Responsive: hide Type/Round columns on small screens */
@media (max-width: 768px) {
    .schedule-table {
        font-size: 0.75rem;
    }

    .schedule-table thead th,
    .schedule-table tbody td {
        padding: 0.5rem 0.25rem;
    }
}

@media (max-width: 576px) {
    .schedule-table tbody td:nth-child(3),
    .schedule-table tbody td:nth-child(4),
    .schedule-table thead th:nth-child(3),
    .schedule-table thead th:nth-child(4) {
        display: none;
    }
}
