/* Standings Page Styles */

.standings-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 1rem;
}

.standings-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #E10600 0%, #101010 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.standings-info {
    color: #666;
    font-size: 1.1rem;
}

.standings-filters {
    margin-bottom: 40px;
    text-align: center;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
}

.standings-filters select {
    padding: 14px 24px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    min-width: 400px;
    transition: all 0.3s ease;
}

.standings-filters select:hover {
    border-color: #E10600;
}

.standings-filters select:focus {
    outline: none;
    border-color: #E10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
}

.loading {
    text-align: center;
    padding: 80px 30px;
    font-size: 1.2rem;
    color: #666;
}

.error {
    background: linear-gradient(135deg, rgba(225, 6, 0, 0.1) 0%, rgba(255, 69, 0, 0.1) 100%);
    color: #E10600;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
    font-weight: 500;
    border: 2px solid rgba(225, 6, 0, 0.3);
}

.standings-info-box {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(225, 6, 0, 0.1) 0%, rgba(16, 16, 16, 0.05) 100%);
    border-radius: 10px;
    border: 2px solid rgba(225, 6, 0, 0.2);
}

.standings-info-box h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #101010;
    font-weight: 700;
}

.standings-info-box p {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
}

.standings-table-container {
    overflow-x: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
}

.standings-table thead {
    background: linear-gradient(135deg, #E10600 0%, #101010 100%);
    color: white;
}

.standings-table th {
    padding: 20px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.standings-table th:first-child {
    border-radius: 10px 0 0 0;
}

.standings-table th:last-child {
    border-radius: 0 10px 0 0;
}

.standings-table th.points-column {
    text-align: right;
}

.standings-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.standings-table tbody tr:hover {
    background-color: #f8f9fa;
}

.standings-table tbody tr.leader {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    font-weight: 600;
}

.standings-table tbody tr.leader:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.22) 0%, rgba(255, 215, 0, 0.08) 100%);
}

.standings-table td {
    padding: 18px 20px;
    color: #333;
}

.standings-table .position {
    font-weight: 700;
    font-size: 1.1rem;
    color: #E10600;
    width: 80px;
}

.standings-table .leader .position {
    color: #FFD700;
    font-size: 1.3rem;
}

.standings-table .leader .position::after {
    content: " 👑";
    font-size: 0.9rem;
}

.standings-table .car-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1E90FF;
}

.standings-table .driver-name {
    font-weight: 600;
    font-size: 1rem;
}

.standings-table .points {
    font-weight: 700;
    font-size: 1.1rem;
    color: #E10600;
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .standings-header h2 {
        font-size: 2rem;
    }

    .standings-filters select {
        min-width: 100%;
    }

    .standings-info-box h3 {
        font-size: 1.5rem;
    }

    .standings-table th,
    .standings-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }

    .standings-table .position,
    .standings-table .car-number,
    .standings-table .points {
        font-size: 1rem;
    }
}
