/* League Standings page styles */

.league-standings-page main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.standings-header {
    text-align: center;
    margin-bottom: 24px;
}

.standings-card {
    background: #f6f9ff;
    border: 1px solid rgba(11, 61, 145, 0.16);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 22px 50px rgba(11, 41, 91, 0.12);
}

.standings-topbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 18px 24px 10px;
    margin-bottom: 22px;
}

.standings-tab-wrap {
    display: flex;
    gap: 16px;
    padding: 12px 18px;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 18px 40px rgba(11, 41, 91, 0.08);
    z-index: 1;
}

.standings-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    border-radius: 999px;
    background: #ffffff;
    color: #0b3d91;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(11, 41, 91, 0.08);
}

.standings-badge {
    padding: 0px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 48px rgba(11, 41, 91, 0.08);
}

.standings-badge img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 24px;
    border: 3px solid #0b3d91;
    background: #ffffff;
}

.standings-label,
.standings-week {
    display: none;
}

.standings-card p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 22px;
}

.standings-card .log-note {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.7;
    margin-top: 16px;
}

.standings-table {
    width: 50%;
     margin: 0 auto;
    border-collapse: collapse;
    margin-top: 0px;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(11, 41, 91, 0.06);
}

.standings-table th,
.standings-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(11, 61, 145, 0.09);
    text-align: left;
}

.standings-table th {
    background: rgba(11, 61, 145, 0.12);
    color: #0b3d91;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.standings-table tbody tr {
    background: #ffffff;
    transition: background 0.2s ease;
}

.standings-table tbody tr:nth-child(even) {
    background: rgba(11, 61, 145, 0.02);
}

.standings-table tbody tr:hover {
    background: rgba(11, 61, 145, 0.06);
}

.standings-table tbody tr.highlight {
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.14), rgba(11, 61, 145, 0.08));
    border-left: 5px solid #0b3d91;
    font-weight: 700;
}

.standings-table tbody tr.highlight td {
    color: #0b3d91;
    padding-left: 18px;
}

.standings-header .standings-subtitle {
    font-family: var(--font-base);
    font-size: 1.1rem;
    font-weight: 600;
    color: #0b3d91;
    margin: 0.75rem auto 0;
    max-width: 720px;
}

.table-responsive {
    width: 100%;
    margin-top: 1.25rem;
}

.standings-footer {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #0b3d91;
    color: #fff;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.08em;
}

@media (max-width: 768px) {
    .standings-table {
        width: 100%;
    }

    .standings-table th,
    .standings-table td {
        padding: 10px 12px;
        font-size: 0.88rem;
        word-break: break-word;
        white-space: normal;
    }

    .standings-table th:nth-child(2),
    .standings-table td:nth-child(2) {
        min-width: 120px;
        word-wrap: break-word;
        hyphens: auto;
    }

    .standings-card {
        padding: 20px;
    }

    .standings-header .standings-subtitle {
        font-size: 0.98rem;
        margin-top: 0.65rem;
    }

    .standings-card .log-note {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .standings-table th,
    .standings-table td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .standings-card {
        padding: 18px;
    }

    .standings-card .log-note {
        font-size: 0.85rem;
    }
}
