/* ========================================
   PAGE HISTORIQUE
   Le style du tableau vient de styles.css (.data-table).
======================================== */
/* 13 colonnes : tableau plus dense que celui de la page Paris. */
.historic-table {
    font-size: 13px;
}

.historic-table th,
.historic-table td {
    padding: 10px 10px;
}

.historic-table th:first-child,
.historic-table td:first-child {
    padding-left: 16px;
}

.historic-table th:last-child,
.historic-table td:last-child {
    padding-right: 16px;
}

/* Sous 1100px, la date du pari s'efface : la date du match suffit. */
@media (max-width: 1100px) {
    .hide-on-tablet {
        display: none;
    }
}

/* Comptage + pagination sur une même ligne */
.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.table-count {
    font-size: 13px;
    color: var(--muted);
}

.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    font-size: 14px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--text-2);
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

a.page-btn:hover {
    background: var(--bg-subtle);
    border-color: var(--border-strong);
}

.page-btn.is-current {
    background: var(--brand);
    border-color: var(--brand);
    color: #FFFFFF;
}

.page-btn.is-disabled {
    color: var(--border-strong);
}

.page-gap {
    padding: 0 4px;
    color: var(--subtle);
}

@media (max-width: 800px) {
    .hide-on-mobile {
        display: none;
    }

    .data-table th,
    .data-table td {
        padding-left: 12px;
        padding-right: 12px;
    }

    .table-footer {
        flex-direction: column-reverse;
    }
}

/* Introduction sur toute la largeur du conteneur, comme la page Paris */
.page-head .page-lead {
    max-width: none;
}
