﻿
.standings-section {
    max-width: 900px;
    margin: 2rem auto 4rem;
    padding: 0 1rem;
}

.standings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.standings-header h2 {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.year-select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.year-select select {
    background: #000;
    color: #fff;
    border: 1px solid #272727;
    padding: 0.25rem 0.5rem;
}

.standings-card {
    background: #000;
    border: 1px solid #272727;
    border-radius: 14px;
    overflow-x: auto;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 420px;
}

.standings-table th {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    padding: 0.75rem;
    border-bottom: 1px solid #272727;
}

.standings-table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid #1f1f1f;
    font-size: 0.85rem;
}

.driver-cell {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.driver-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 0;
    border: 1px solid #333;
}

.num,
.pts {
    text-align: center;
    font-weight: 600;
}

.pts {
    color: #e10600;
}

.standings-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 600px) {
    .standings-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .driver-img {
        width: 32px;
        height: 32px;
    }
}
