/* Nowe style dla tabeli wyników */
#results-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}

#results-table th, #results-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#results-table th {
    background-color: #f2f2f2;
}

#results-table th[data-control-id], #results-table th:last-child {
    cursor: pointer;
}

#results-table th.asc::after {
    content: ' ▲';
}

#results-table th.desc::after {
    content: ' ▼';
}

#results-table tr.recent-update {
    background-color: #ffffe0 !important;
    transition: background-color 2s;
}

.split-rank {
    font-size: 0.8em;
    color: #888;
}

.best-time {
    font-weight: bold;
    color: #006400; /* DarkGreen */
}

.good-time {
    color: green;
}

.bad-time {
    color: red;
}