body {
    background: #0f0f10;
    color: #ffffff;
    font-family: 'Formula1', 'Inter', sans-serif;
}

.card {
    background: #1a1a1d;
    border: 1px solid #2e2e33;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
}

.card:hover {
    border-color: #E10600;
    transition: 0.2s;
}

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

.timing-table th, .timing-table td {
    padding: 12px;
    border-bottom: 1px solid #2e2e33;
}

.timing-table tr:hover {
    background: #2a2a2d;
}

.search-input {
    width: 100%;
    padding: 14px;
    background: #1a1a1d;
    border: 1px solid #2e2e33;
    border-radius: 6px;
    color: white;
}
.search-input:focus {
    border-color: #E10600;
    outline: none;
}

.title-accent {
    color: #E10600;
}

.statbar-container {
    width: 100%;
    background: #1a1a1d;
    border: 1px solid #2e2e33;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 6px 8px;
}

.statbar-label {
    font-size: 14px;
    margin-bottom: 4px;
    color: #ffffffcc;
}

.statbar {
    width: 100%;
    height: 10px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
}

.statbar-fill {
    height: 100%;
    background: linear-gradient(to right, #E10600, #9b0400);
    border-radius: 4px;
    transition: width 1s ease;
}

.track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.track-grid .card {
    padding: 16px;
    background: #18181c;
    border-radius: 8px;
    border: 1px solid #26262c;
    color: #fff;
}

.filter-btn {
    background: #222;
    padding: 6px 14px;
    border-radius: 6px;
    color: #ccc;
    transition: 0.15s;
}

.filter-btn:hover {
    background: #333;
    color: white;
}

.filter-btn.active {
    background: #e53e3e;
    color: white;
}

.layout {
    display: flex;
    min-height: 100vh;
    gap: 20px;
}

/* LEFT SIDEBAR */
.sidebar {
    width: 280px;          /* adjust size if needed */
    background: #111;
    padding: 20px;
    border-right: 2px solid #222;
    overflow-y: auto;
}

.sidebar h2 {
    margin-bottom: 15px;
    color: #fff;
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    padding: 20px;
    background: #0c0c0c;
}

.main-content h1 {
    margin-bottom: 20px;
    color: #fff;
}

.server-list .server {
    background: #1a1a1a;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.server-list .server:hover {
    background: #222;
}

.racer-list .racer {
    background: #151515;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    color: #fff;
}
