/* ============================================
   STANDINGS PAGE — Football Américain France
   ============================================ */

/* Hero */
.standings-hero {
    padding: 32px 28px;
    display: flex;
    align-items: center;
    min-height: 120px;
}

.standings-hero-content {
    width: 100%;
}

.standings-hero-title {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--nfl-dark);
    margin: 0 0 6px;
    line-height: 1;
}

.standings-hero-subtitle {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.55;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    color: var(--nfl-gray);
}

/* ============================================
   Filters
   ============================================ */
.standings-filters {
    display: flex;
    gap: 20px;
    margin: 0 10px 10px;
    padding: 14px 20px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--nfl-gray);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.standings-select {
    padding: 8px 34px 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    background: white;
    min-width: 180px;
    color: var(--nfl-dark);
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-color: white;
}

.standings-select:hover,
.standings-select:focus {
    border-color: var(--nfl-blue);
    outline: none;
}

/* ============================================
   Section principale
   ============================================ */
.standings-section {
    margin: 0 10px;
    padding-bottom: 40px;
}

/* ============================================
   Onglets divisions (D1 / D2 / D3)
   ============================================ */
.standings-division-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
}

.standings-div-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--nfl-gray, #666);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s, border-color 0.2s;
}

.standings-div-tab:hover {
    color: var(--nfl-dark, #1a1a1a);
}

.standings-div-tab.active {
    color: var(--nfl-blue, #013369);
    border-bottom-color: var(--nfl-blue, #013369);
}

/* ============================================
   Panneau de division
   ============================================ */
.standings-div-panel {
    display: none;
}

.standings-div-panel.active {
    display: block;
}

/* ============================================
   Bloc de conférence
   ============================================ */
.standings-conference-block {
    margin-bottom: 40px;
}

.standings-conference-title {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nfl-blue, #013369);
    padding: 10px 0 10px;
    margin: 0 0 12px;
    border-bottom: 2px solid var(--nfl-blue, #013369);
}

.standings-pool-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--nfl-gray);
    margin: 20px 0 8px;
}

/* ============================================
   Table de classement
   ============================================ */
.standings-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: white;
}

.standings-table thead tr {
    background: var(--nfl-dark, #1a1a1a);
}

.standings-table thead th {
    color: white;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    text-align: left;
    white-space: nowrap;
}

.standings-th-rank {
    width: 40px;
    text-align: center !important;
}

.standings-th-team {
    min-width: 200px;
}

.standings-th-city {
    color: rgba(255,255,255,0.7) !important;
}

/* Rows */
.standings-row {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.standings-row:last-child {
    border-bottom: none;
}

.standings-row:hover {
    background: var(--nfl-light, #f5f5f5);
}

.standings-row--first {
    background: none;
}

.standings-row--first:hover {
    background: var(--nfl-light, #f5f5f5);
}

/* Cells */
.standings-td-rank {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--nfl-gray, #888);
    padding: 12px 14px;
    width: 40px;
}

.standings-row--first .standings-td-rank {
    color: var(--nfl-blue, #013369);
}

.standings-td-team {
    padding: 10px 14px;
}

.standings-td-city {
    padding: 12px 14px;
    font-size: 12px;
    color: var(--nfl-gray, #888);
    white-space: nowrap;
}

/* Team link */
.standings-team-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.standings-team-link:hover .standings-team-name {
    color: var(--nfl-blue, #013369);
    text-decoration: underline;
}

.standings-team-logo-wrap {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.standings-team-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.standings-team-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--nfl-dark, #1a1a1a);
    transition: color 0.2s;
}

/* Empty state */
.standings-empty {
    text-align: center;
    color: var(--nfl-gray, #888);
    padding: 48px 16px;
    font-size: 15px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .standings-hero {
        padding: 32px 16px;
    }

    .standings-division-tabs {
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .standings-div-tab {
        padding: 10px 16px;
        font-size: 12px;
        white-space: nowrap;
    }

    .standings-team-logo,
    .standings-team-logo-wrap {
        width: 26px;
        height: 26px;
    }

    .standings-team-name {
        font-size: 12px;
    }

    .standings-th-city,
    .standings-td-city {
        display: none;
    }
}

@media (max-width: 480px) {
    .standings-conference-title {
        font-size: 13px;
    }

    .standings-table thead th,
    .standings-table td {
        padding: 8px 10px;
    }

    .standings-team-logo,
    .standings-team-logo-wrap {
        width: 22px;
        height: 22px;
    }
}
