.stat-item {
    text-align: center;
}

.stat-item .label {
    display: block;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
}

.stat-item .value {
    font-weight: bold;
    font-size: 1.1rem;
}



/* La liste des records avec Scroll */
.records-container {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.records-list {
    max-height: 250px;
    /* Taille fixe pour activer le scroll */
    overflow-y: auto;
    /* Scroll vertical uniquement */
    padding-right: 10px;
}

/* Style de la barre de scroll */
.records-list::-webkit-scrollbar {
    width: 6px;
}

.records-list::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}

/* Lignes du tableau */
.record-row {
    display: flex;
    align-items: center;
    padding: 12px 8px;
    border-bottom: 1px solid #222;
    font-size: 0.9rem;
}

.record-row .rank {
    width: 30px;
    font-weight: bold;
    color: #ff4500;
}

.record-row .driver {
    flex: 2;
    font-weight: 500;
}

.record-row .car {
    flex: 2;
    color: #888;
    font-style: italic;
}

.record-row .time {
    flex: 1;
    text-align: right;
    font-family: monospace;
    font-weight: bold;
}