
        /* Override and extend WT2000 styles for race results */
        .sidebar {
            background: white;
            padding: 0;

        }

        .filter-section {
            background: white;
            padding: 20px;
            border-radius: 0;
            box-shadow: none;
            margin-bottom: 0;
        }

        .filter-label {
            font-size: 1rem;
            font-weight: 600;
            color: #087bbf;
            margin-bottom: 10px;
            display: block;
        }

        .event-dropdown {
            width: 100%;
            padding: 12px 15px;
            font-size: 1rem;
            border: 2px solid #087bbf;
            border-radius: 8px;
            background: white;
            color: #333;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .event-dropdown:hover {
            border-color: #e1060f;
            box-shadow: 0 5px 15px rgba(8, 123, 191, 0.3);
        }

        .event-dropdown:focus {
            outline: none;
            border-color: #e1060f;
            box-shadow: 0 0 0 3px rgba(8, 123, 191, 0.2);
        }

        .content-area {
            padding: 0;
            padding-top: 60px;
        }

        .results-container {
            flex: 1;
            padding-left: 20px;
        }

        .race-section {
            background: white;
            border-radius: 12px;
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            animation: fadeIn 0.4s ease;
        }

        .race-section h2 {
            color: #087bbf;
            font-size: 2rem;
            margin-bottom: 20px;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .race-header {
            border-bottom: 3px solid #e1060f;
            padding-bottom: 15px;
            margin-bottom: 25px;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 20px;
        }

        .race-info {
            flex: 1;
        }

        .podium-summary {
            display: flex;
            gap: 15px;
            align-items: center;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .podium-position {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 10px 15px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            min-width: 120px;
        }

        .podium-position.first {
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.25));
            border: 2px solid #FFD700;
        }

        .podium-position.second {
            background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.25));
            border: 2px solid #C0C0C0;
        }

        .podium-position.third {
            background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(205, 127, 50, 0.25));
            border: 2px solid #CD7F32;
        }

        .podium-rank {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .podium-rank.first {
            color: #FFD700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        }

        .podium-rank.second {
            color: #C0C0C0;
            text-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
        }

        .podium-rank.third {
            color: #CD7F32;
            text-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
        }

        .podium-driver {
            font-size: 0.9rem;
            font-weight: 600;
            color: #2c3e50;
            text-align: center;
            margin-bottom: 3px;
        }

        .podium-points {
            font-size: 0.85rem;
            color: #27ae60;
            font-weight: 600;
        }

        .race-date {
            color: #e1060f;
            font-size: 1.1rem;
            margin-bottom: 5px;
            font-weight: 500;
        }

        .race-title {
            font-size: 2rem;
            color: #087bbf;
            font-weight: 700;
            letter-spacing: -1px;
            margin: 0;
        }

        .session-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .tab-button {
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            background: #e0e0e0;
            color: #333;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .tab-button:hover {
            background: linear-gradient(135deg, #087bbf10, #e1060f10);
            border-left: 4px solid #087bbf;
        }

        .tab-button.active {
            background: linear-gradient(135deg, #087bbf, #065a8c);
            color: white;
        }

        .results-table-wrapper {
            overflow-x: auto;
        }

        .results-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        .results-table thead {
            background: linear-gradient(135deg, #087bbf, #065a8c);
            color: white;
        }

        .results-table th {
            padding: 15px 10px;
            text-align: left;
            font-weight: 600;
            font-size: 0.95rem;
            letter-spacing: 0.5px;
        }

        .results-table th.center {
            text-align: center;
        }

        .results-table td {
            padding: 12px 10px;
            border-bottom: 1px solid #e0e0e0;
            color: #333;
        }

        .results-table td.center {
            text-align: center;
        }

        .results-table tbody tr:hover {
            background: linear-gradient(90deg, #087bbf10, #e1060f10);
        }

        .position {
            font-weight: 700;
            font-size: 1.1rem;
            color: #2c3e50;
        }

        .position-1 {
            color: #FFD700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        }

        .position-2 {
            color: #C0C0C0;
            text-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
        }

        .position-3 {
            color: #CD7F32;
            text-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
        }

        .driver-name {
            font-weight: 600;
            color: #2c3e50;
        }

        .team-logo {
            width: 60px;
            height: 60px;
            object-fit: contain;
            display: inline-block;
        }

        .podium-row {
            background: linear-gradient(90deg, #087bbf10, #e1060f10);
            font-weight: 600;
        }

        .podium-row:hover {
            background: linear-gradient(90deg, #087bbf20, #e1060f20);
        }

        .car-name {
            color: #7f8c8d;
            font-size: 0.9rem;
        }

        .lap-time {
            font-family: 'Courier New', monospace;
            color: #087bbf;
            font-weight: 600;
        }

        .best-time {
            color: #e1060f !important;
            font-weight: 700;
            background: linear-gradient(135deg, rgba(8, 123, 191, 0.15), rgba(225, 6, 15, 0.15));
            padding: 6px 10px;
            border-radius: 8px;
            font-size: 1.05rem;
            text-shadow: 0 0 10px rgba(225, 6, 15, 0.3);
            border: 2px solid rgba(225, 6, 15, 0.4);
        }

        .points {
            font-weight: 700;
            color: #27ae60;
            font-size: 1.05rem;
        }

        .no-data {
            text-align: center;
            padding: 60px 20px;
            color: #7f8c8d;
            font-size: 1.2rem;
        }

        .loading {
            text-align: center;
            padding: 60px 20px;
            color: #087bbf;
            font-size: 1.2rem;
        }

        .error {
            background: rgba(231, 76, 60, 0.1);
            color: #e74c3c;
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
            border-left: 4px solid #e74c3c;
        }

        .session-content {
            display: none;
        }

        .session-content.active {
            display: block;
        }

        .dnf {
            color: #e74c3c;
            font-weight: 600;
        }

        /* View mode toggle */
        .view-mode-toggle {
            display: flex;
            justify-content: center;
            gap: 0;
            margin: 0 auto 0;
            max-width: 500px;
        }

        .view-mode-btn {
            flex: 1;
            padding: 14px 28px;
            border: 2px solid #087bbf;
            background: white;
            color: #087bbf;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 0.5px;
        }

        .view-mode-btn:first-child {
            border-radius: 8px 0 0 8px;
            border-right: 1px solid #087bbf;
        }

        .view-mode-btn:last-child {
            border-radius: 0 8px 8px 0;
            border-left: 1px solid #087bbf;
        }

        .view-mode-btn.active {
            background: linear-gradient(135deg, #087bbf, #065a8c);
            color: white;
            border-color: #065a8c;
        }

        .view-mode-btn:hover:not(.active) {
            background: rgba(8, 123, 191, 0.1);
        }

        /* Championship section */
        #championshipView {
            display: none;
        }

        #raceResultsView {
            display: block;
        }

        .cup-selector {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            padding: 20px 0;
            justify-content: center;
        }

        .cup-card {
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            padding: 20px 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            min-width: 180px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }

        .cup-card:hover {
            border-color: #087bbf;
            box-shadow: 0 6px 20px rgba(8, 123, 191, 0.2);
            transform: translateY(-2px);
        }

        .cup-card.active {
            border-color: #e1060f;
            background: linear-gradient(135deg, rgba(8, 123, 191, 0.05), rgba(225, 6, 15, 0.05));
            box-shadow: 0 6px 20px rgba(225, 6, 15, 0.2);
        }

        .cup-card-icon {
            font-size: 2rem;
            margin-bottom: 8px;
        }

        .cup-card-name {
            font-weight: 700;
            color: #2c3e50;
            font-size: 1.05rem;
            margin-bottom: 4px;
        }

        .cup-card-info {
            font-size: 0.85rem;
            color: #7f8c8d;
        }

        .championship-standings-container {
            margin-top: 20px;
        }

        .standings-toggle {
            display: flex;
            justify-content: center;
            gap: 0;
            margin: 20px auto 0;
            max-width: 360px;
        }

        .standings-toggle-btn {
            flex: 1;
            padding: 12px 24px;
            border: 2px solid #087bbf;
            background: white;
            color: #087bbf;
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 0.5px;
        }

        .standings-toggle-btn:first-child {
            border-radius: 8px 0 0 8px;
            border-right: 1px solid #087bbf;
        }

        .standings-toggle-btn:last-child {
            border-radius: 0 8px 8px 0;
            border-left: 1px solid #087bbf;
        }

        .standings-toggle-btn.active {
            background: linear-gradient(135deg, #087bbf, #065a8c);
            color: white;
            border-color: #065a8c;
        }

        .standings-toggle-btn:hover:not(.active) {
            background: rgba(8, 123, 191, 0.1);
        }

        @media (max-width: 968px) {
            .container {
                margin-top: 20px;
                flex-direction: column;
            }

            .view-mode-toggle {
                max-width: 100%;
                margin: 0 15px;
            }

            .view-mode-btn {
                padding: 12px 16px;
                font-size: 0.9rem;
            }

            .cup-card {
                min-width: 140px;
                padding: 15px 20px;
            }

            .standings-toggle {
                max-width: 100%;
                margin: 15px 10px 0;
            }

            .standings-toggle-btn {
                padding: 10px 14px;
                font-size: 0.85rem;
            }

            .sidebar {
                width: 100%;
                height: auto;
                position: relative;
            }

            .results-table {
                font-size: 0.85rem;
            }

            .results-table th,
            .results-table td {
                padding: 8px 5px;
            }

            .race-title {
                font-size: 1.5rem;
            }

            .tab-button {
                padding: 10px 16px;
                font-size: 0.9rem;
            }

            .race-header {
                flex-direction: column;
            }

            .podium-summary {
                justify-content: center;
            }

            .podium-position {
                min-width: 100px;
                padding: 8px 12px;
            }
        }
    