* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Titillium Web', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #15151e;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(225, 6, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 71, 87, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, transparent 0%, rgba(225, 6, 0, 0.02) 50%, transparent 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(225, 6, 0, 0.01) 52px,
            rgba(225, 6, 0, 0.01) 54px
        );
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #000;
    border-bottom: 3px solid #e10600;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: #e10600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo i {
    color: #fff;
    font-size: 1.8rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Content */
.main {
    padding: 2rem 0;
}

.section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #e10600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e10600 0%, #ff4757 100%);
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Cards */
.card {
    background: linear-gradient(145deg, #1e1e2e 0%, #252538 100%);
    border: 1px solid #2a2a3e;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e10600 0%, #ff4757 100%);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(225, 6, 0, 0.15);
}

.card h2 {
    color: #e10600;
    margin-bottom: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Authentication Forms */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
}

.form-hint {
    color: #888;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.auth-switch {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2a2a3e;
    text-align: center;
}

.auth-switch p {
    color: #999;
    font-size: 0.9rem;
}

.auth-switch a {
    color: #e10600;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: #ff4757;
    text-decoration: underline;
}

/* OAuth Authentication */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    text-align: center;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #2a2a3e;
}

.auth-divider span {
    padding: 0 1rem;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.oauth-section {
    margin: 1.5rem 0;
}

.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: 2px solid #4285f4;
    border-radius: 6px;
    background: #fff;
    color: #4285f4;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-oauth:hover {
    background: #4285f4;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-oauth:active {
    transform: translateY(0);
}

.btn-oauth i {
    font-size: 1.2rem;
}

.btn-google {
    border-color: #4285f4;
    color: #4285f4;
}

.btn-google:hover {
    background: #4285f4;
    color: #fff;
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 3rem;
    border-bottom: 2px solid #2a2a3e;
    background: #1a1a2e;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.nav-tab {
    background: transparent;
    border: none;
    color: #999;
    padding: 1.25rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    border-right: 1px solid #2a2a3e;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 140px;
}

.nav-tab:last-child {
    border-right: none;
}

.nav-tab:hover {
    color: #fff;
    background: #252538;
}

.nav-tab.active {
    color: #fff;
    background: linear-gradient(145deg, #e10600 0%, #ff4757 100%);
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #fff;
}

/* Form Elements */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ccc;
}

.input, .select {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(145deg, #2a2a3e 0%, #3a3a4e 100%);
    border: 2px solid #4a4a5e;
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.input:focus, .select:focus {
    outline: none;
    border-color: #e10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.2);
    background: linear-gradient(145deg, #3a3a4e 0%, #4a4a5e 100%);
}

.input::placeholder {
    color: #999;
    font-weight: 400;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #e10600 0%, #ff4757 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c70500 0%, #e73c46 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(225, 6, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #e10600;
}

.btn-secondary:hover {
    background: #e10600;
    color: #fff;
    transform: translateY(-2px);
}

/* Countdown styles */
.countdown-container {
    margin-bottom: 2rem;
}

.countdown-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #2a2a3e 100%);
    border: 3px solid #e10600;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.countdown-card h3 {
    color: #e10600;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-item span:first-child {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 10px rgba(225, 6, 0, 0.5);
}

.countdown-label {
    color: #999;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.countdown-date {
    color: #ccc;
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .countdown-timer {
        gap: 1rem;
    }
    
    .countdown-item span:first-child {
        font-size: 2rem;
    }
    
    .countdown-card {
        padding: 1.5rem;
    }
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section h4 {
    color: #e10600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Top 10 Grid */
.top-10-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.position-input {
    display: flex;
    flex-direction: column;
}

.position-input label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e10600;
    margin-bottom: 0.5rem;
}

.driver-select {
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-size: 0.8rem;
}

/* Special Predictions */
.special-predictions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Races List */
.races-list {
    display: grid;
    gap: 1rem;
}

.race-item {
    background: linear-gradient(145deg, #1e1e2e 0%, #252538 100%);
    border: 1px solid #2a2a3e;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.race-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #e10600 0%, #ff4757 100%);
}

.race-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 6, 0, 0.15);
}

.race-info h3 {
    color: #fff;
    margin-bottom: 0.25rem;
}

.race-info p {
    color: #ccc;
    font-size: 0.9rem;
}

.race-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.race-status.upcoming {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.race-status.completed {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

/* Leaderboard */
.leaderboard {
    display: grid;
    gap: 1rem;
    background: linear-gradient(145deg, #1e1e2e 0%, #252538 100%);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #2a2a3e;
}

.leaderboard-item {
    background: linear-gradient(145deg, #2a2a3e 0%, #3a3a4e 100%);
    border: 1px solid #4a4a5e;
    border-radius: 6px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leaderboard-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(225, 6, 0, 0.15);
}

.leaderboard-item.rank-1 {
    border-left: 4px solid #ffd700;
    background: linear-gradient(145deg, #3a3520 0%, #4a4530 100%);
}

.leaderboard-item.rank-2 {
    border-left: 4px solid #c0c0c0;
    background: linear-gradient(145deg, #353535 0%, #454545 100%);
}

.leaderboard-item.rank-3 {
    border-left: 4px solid #cd7f32;
    background: linear-gradient(145deg, #3a2520 0%, #4a3530 100%);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.player-rank {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e10600;
    min-width: 2rem;
}

.player-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.player-stats {
    text-align: right;
}

.player-points {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e10600;
}

.player-details {
    font-size: 0.8rem;
    color: #ccc;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: rgba(225, 6, 0, 0.9);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background: rgba(46, 204, 113, 0.9);
}

.toast.error {
    background: rgba(231, 76, 60, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-tab {
        white-space: nowrap;
        min-width: 120px;
        flex-direction: row;
        flex-shrink: 0;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .top-10-grid {
        grid-template-columns: 1fr;
    }
    
    .special-predictions {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .race-item {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .leaderboard-item {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .player-info {
        justify-content: center;
    }
    
    .player-stats {
        text-align: center;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #e10600;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in {
    animation: slideIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sprint Race Styling */
.sprint-race {
    border-left: 4px solid #ff6b00;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 107, 0, 0.05) 100%);
}

.grand-prix-race {
    border-left: 4px solid #e10600;
    background: linear-gradient(135deg, rgba(225, 6, 0, 0.1) 0%, rgba(225, 6, 0, 0.05) 100%);
}

.race-type {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.sprint-race .race-type {
    color: #ff6b00;
}

.grand-prix-race .race-type {
    color: #e10600;
}

/* Scoring System */
.scoring-system {
    margin-bottom: 2rem;
}

.scoring-system h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #e10600;
}

.scoring-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.scoring-section {
    background: linear-gradient(145deg, #2a2a3e 0%, #3a3a4e 100%);
    border: 1px solid #4a4a5e;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.scoring-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e10600 0%, #ff4757 100%);
}

.race-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.race-type-header.grand-prix {
    color: #e10600;
}

.race-type-header.sprint {
    color: #ff6b00;
}

.max-points {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(225, 6, 0, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(225, 6, 0, 0.3);
}

.scoring-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.scoring-category h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #4a4a5e;
    padding-bottom: 0.5rem;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.special-points {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.point-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ccc;
    transition: all 0.3s ease;
}

.point-item:hover {
    background: rgba(225, 6, 0, 0.1);
    border-color: rgba(225, 6, 0, 0.3);
    color: #fff;
}

.point-item span {
    color: #e10600;
    font-weight: 700;
    font-size: 0.9rem;
}

.point-item.no-points {
    justify-content: center;
    color: #999;
    font-style: italic;
    background: rgba(0, 0, 0, 0.2);
}

.scoring-note {
    background: linear-gradient(145deg, #3a3a1e 0%, #4a4a2e 100%);
    border: 1px solid #5a5a3e;
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #ffd700;
}

.scoring-note i {
    color: #ffd700;
    font-size: 1.1rem;
}

.scoring-note strong {
    color: #fff;
}

/* Points Chart */
.chart-container {
    margin-bottom: 2rem;
}

.chart-container h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #e10600;
}

.chart-wrapper {
    position: relative;
    height: 400px;
    margin-bottom: 1.5rem;
    background: linear-gradient(145deg, #2a2a3e 0%, #3a3a4e 100%);
    border-radius: 8px;
    padding: 1rem;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.legend-item:hover {
    background: rgba(225, 6, 0, 0.15);
    border-color: rgba(225, 6, 0, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(225, 6, 0, 0.2);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid #000;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Scoring System */
@media (max-width: 768px) {
    .scoring-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .points-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .race-type-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .chart-wrapper {
        height: 300px;
    }
    
    .legend-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Results Editing Mode */
.editing-mode {
    border: 2px solid #ff6b00 !important;
    background: linear-gradient(145deg, #2e2e1e 0%, #3e3e2e 100%) !important;
}

.editing-mode::before {
    background: linear-gradient(90deg, #ff6b00 0%, #ffa726 100%) !important;
}

.editing-mode h3 {
    color: #ff6b00 !important;
}

.editing-mode h3::after {
    content: " 📝";
    font-size: 0.8em;
}

.editing-mode .btn-primary {
    background: linear-gradient(135deg, #ff6b00 0%, #ffa726 100%) !important;
    border-color: #ff6b00 !important;
}

.editing-mode .btn-primary:hover {
    background: linear-gradient(135deg, #e55a00 0%, #ff9500 100%) !important;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4) !important;
}

/* Race Status Management */
.race-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-select {
    background: linear-gradient(145deg, #2a2a3e 0%, #3a3a4e 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.status-select:hover {
    border-color: rgba(225, 6, 0, 0.5);
    background: linear-gradient(145deg, #3a3a4e 0%, #4a4a5e 100%);
}

.status-select:focus {
    outline: none;
    border-color: #e10600;
    box-shadow: 0 0 10px rgba(225, 6, 0, 0.3);
}

.status-select option {
    background: #2a2a3e;
    color: #fff;
    padding: 0.5rem;
}

/* Responsive adjustments for race items */
@media (max-width: 768px) {
    .race-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .race-controls {
        margin-top: 1rem;
        justify-content: space-between;
    }
    
    .status-select {
        min-width: 120px;
        font-size: 0.8rem;
    }
}

/* Prediction deadline and locked form styling */
.form-locked {
    opacity: 0.6;
    pointer-events: none;
}

.deadline-warning {
    background: linear-gradient(145deg, #2a1a1a 0%, #3a2a2a 100%);
    border: 2px solid #e10600;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
}

.deadline-info {
    font-size: 0.9rem;
    color: #e10600;
    font-weight: 600;
    margin-top: 0.5rem;
}

.deadline-time {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.3rem;
}

.locked-race-option {
    color: #999 !important;
    font-style: italic;
}

.locked-message {
    margin-top: 1rem;
}

.admin-indicator {
    color: #e10600;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Modal Styles for Results Entry */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(145deg, #1e1e2e 0%, #2a2a3e 100%);
    border: 3px solid #e10600;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(225, 6, 0, 0.3);
}

.modal-header {
    background: linear-gradient(90deg, #e10600 0%, #ff1e1e 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 9px 9px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-close {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.modal-body h4 {
    color: #e10600;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

/* Modal specific form styling */
#modalResultsForm .form-section {
    background: linear-gradient(145deg, #2a2a3e 0%, #3a3a4e 100%);
    border: 2px solid rgba(225, 6, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

#modalResultsForm .form-section h4 {
    color: #e10600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#modalResultsForm .top-10-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

#modalResultsForm .position-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#modalResultsForm .position-input label {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

#modalResultsForm .special-predictions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

#modalResultsForm .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#modalResultsForm .form-group label {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

#modalResultsForm .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced status dropdown styling */
.status-select {
    min-width: 160px;
}

.status-select option[disabled] {
    color: #666;
    font-style: italic;
    background: #333;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    #modalResultsForm .top-10-grid {
        grid-template-columns: 1fr;
    }
    
    #modalResultsForm .special-predictions {
        grid-template-columns: 1fr;
    }
    
    #modalResultsForm .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Password Reset Styles */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.alert p {
    margin: 0;
}

.token-display {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.token-display .input {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    background: #1a1a2e;
    border: 2px solid #2a2a3e;
    color: #fff;
}

.token-display .btn-secondary {
    padding: 0.75rem 1rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.token-display .btn-secondary i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .token-display {
        flex-direction: column;
    }
    
    .token-display .btn-secondary {
        justify-content: center;
    }
}

/* Admin User List Styles */
.admin-user-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: linear-gradient(145deg, #2a2a3e 0%, #3a3a4e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    gap: 1rem;
}

.admin-user-item:hover {
    border-color: rgba(225, 6, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.admin-user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-user-name {
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.admin-user-display-name {
    opacity: 0.5;
    font-weight: 400;
    margin-left: 0.75rem;
    font-style: italic;
}

.admin-user-details {
    font-size: 0.85rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-user-role {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-user-role.admin {
    background: rgba(225, 6, 0, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(225, 6, 0, 0.3);
}

.admin-user-role.user {
    background: rgba(108, 117, 125, 0.2);
    color: #adb5bd;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.admin-user-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #ccc;
    font-size: 0.85rem;
}

.admin-user-points {
    font-weight: 600;
    color: #e10600;
}

.admin-user-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.action-btn.reset-btn {
    background: rgba(52, 152, 219, 0.2);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.action-btn.reset-btn:hover {
    background: rgba(52, 152, 219, 0.3);
    border-color: rgba(52, 152, 219, 0.5);
    color: #3498db;
}

.action-btn.role-btn {
    background: rgba(155, 89, 182, 0.2);
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.action-btn.role-btn:hover {
    background: rgba(155, 89, 182, 0.3);
    border-color: rgba(155, 89, 182, 0.5);
    color: #9b59b6;
}

.action-btn.delete-btn {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.action-btn.delete-btn:hover {
    background: rgba(231, 76, 60, 0.3);
    border-color: rgba(231, 76, 60, 0.5);
    color: #e74c3c;
}

.action-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.action-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.loading-message {
    text-align: center;
    color: #ccc;
    padding: 2rem;
    font-size: 0.9rem;
}

.loading-message i {
    margin-right: 0.5rem;
    color: #e10600;
}

.empty-state {
    text-align: center;
    color: #ccc;
    padding: 2rem;
    font-size: 0.9rem;
}

.empty-state i {
    font-size: 2rem;
    color: #666;
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 768px) {
    .admin-user-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .admin-user-details {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .admin-user-stats {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .admin-user-actions {
        align-self: stretch;
        justify-content: center;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0.5rem;
    }
    
    .action-btn {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
}

/* Import Race Results Styles */
.import-progress {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    animation: progress-animation 2s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes progress-animation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.progress-text {
    margin: 0;
    color: #007bff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-text::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #007bff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.admin-indicator {
    font-size: 0.8rem;
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-actions .btn-secondary {
    background: rgba(108, 117, 125, 0.1);
    border: 1px solid rgba(108, 117, 125, 0.3);
    color: #6c757d;
}

.form-actions .btn-secondary:hover {
    background: rgba(108, 117, 125, 0.2);
    border-color: rgba(108, 117, 125, 0.5);
}

/* Loading state for import button */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Import Predictions Styles */
.import-preview {
    background: linear-gradient(145deg, #2a2a3e 0%, #3a3a4e 100%);
    border: 2px solid rgba(225, 6, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
}

.import-preview h4 {
    color: #e10600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    background: rgba(225, 6, 0, 0.1);
    border: 1px solid rgba(225, 6, 0, 0.3);
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e10600;
    display: block;
}

.stat-label {
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: rgba(16, 16, 30, 0.8);
    border-radius: 6px;
    overflow: hidden;
}

.preview-table th,
.preview-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-table th {
    background: rgba(225, 6, 0, 0.2);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-table td {
    color: #ccc;
    font-size: 0.9rem;
}

.preview-table tr:hover {
    background: rgba(225, 6, 0, 0.05);
}

.validation-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.validation-status.valid {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.validation-status.invalid {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.validation-status.skip {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.error-messages {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.error-messages h5 {
    color: #dc3545;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.error-messages ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #dc3545;
}

.error-messages li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .preview-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .preview-table {
        font-size: 0.8rem;
    }
    
    .preview-table th,
    .preview-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .validation-status {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Recalculate Points Styles */
.recalculate-progress {
    background: rgba(225, 6, 0, 0.05);
    border: 1px solid rgba(225, 6, 0, 0.2);
    border-radius: 6px;
    padding: 1rem;
}

.recalculate-results {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 6px;
    padding: 1rem;
}

.recalculate-results.error {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
}

.recalculate-results h4 {
    color: #28a745;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recalculate-results.error h4 {
    color: #dc3545;
}

.recalculate-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.summary-item {
    text-align: center;
    padding: 0.75rem;
    background: rgba(40, 167, 69, 0.15);
    border-radius: 6px;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.summary-value {
    font-size: 1.25rem;
    font-weight: bold;
    color: #28a745;
    display: block;
}

.summary-label {
    color: #ccc;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .recalculate-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Copy from Previous Race Styles */
.copy-section {
    background: linear-gradient(145deg, rgba(225, 6, 0, 0.05) 0%, rgba(225, 6, 0, 0.02) 100%);
    border: 1px solid rgba(225, 6, 0, 0.15);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.copy-section h4 {
    color: #e10600;
    margin-bottom: 1rem;
}

.copy-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.copy-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(225, 6, 0, 0.4);
    color: #e10600;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: rgba(225, 6, 0, 0.1);
    border-color: #e10600;
    transform: translateY(-1px);
}

.btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-outline:disabled:hover {
    background: transparent;
    border-color: rgba(225, 6, 0, 0.4);
    transform: none;
}

.copy-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(16, 16, 30, 0.6);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.copy-preview h5 {
    color: #e10600;
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-section {
    margin-bottom: 1rem;
}

.preview-section:last-child {
    margin-bottom: 0;
}

.preview-section h6 {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.preview-item {
    background: rgba(225, 6, 0, 0.1);
    border: 1px solid rgba(225, 6, 0, 0.2);
    border-radius: 4px;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.85rem;
}

.preview-position {
    color: #e10600;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.preview-driver {
    color: #ccc;
}

.preview-special {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}

.preview-special-item {
    background: rgba(225, 6, 0, 0.05);
    border: 1px solid rgba(225, 6, 0, 0.15);
    border-radius: 4px;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.85rem;
}

.preview-special-label {
    color: #e10600;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.preview-special-value {
    color: #ccc;
}

.copy-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 0.75rem;
    color: #ffc107;
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.copy-warning i {
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.copy-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 0.75rem;
    color: #28a745;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .copy-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-outline {
        justify-content: center;
    }
    
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .preview-special {
        grid-template-columns: 1fr;
    }
}

/* Stats Tab Styles */
.stats-overview .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.stat-card {
    background: linear-gradient(145deg, rgba(225, 6, 0, 0.1) 0%, rgba(225, 6, 0, 0.05) 100%);
    border: 1px solid rgba(225, 6, 0, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(225, 6, 0, 0.4);
    box-shadow: 0 4px 20px rgba(225, 6, 0, 0.1);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #e10600;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #ccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-sublabel {
    color: #999;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Accuracy Section */
.stats-accuracy .accuracy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.accuracy-section h4 {
    color: #e10600;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    border-bottom: 2px solid rgba(225, 6, 0, 0.3);
    padding-bottom: 0.5rem;
}

.accuracy-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accuracy-item {
    background: rgba(16, 16, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1rem;
}

.accuracy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.accuracy-type {
    font-weight: 600;
    color: #fff;
}

.accuracy-percentage {
    font-weight: bold;
    color: #e10600;
    font-size: 1.1rem;
}

.accuracy-details {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.accuracy-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.accuracy-fill {
    height: 100%;
    background: linear-gradient(90deg, #e10600 0%, #ff4757 100%);
    border-radius: 3px;
    transition: width 0.8s ease;
}

/* Race Type Performance */
.stats-race-types .race-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.race-type-card {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.grand-prix-card {
    background: linear-gradient(145deg, rgba(225, 6, 0, 0.15) 0%, rgba(225, 6, 0, 0.05) 100%);
    border: 1px solid rgba(225, 6, 0, 0.3);
}

.sprint-card {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.race-type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.race-type-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.grand-prix-card .race-type-header {
    color: #e10600;
}

.sprint-card .race-type-header {
    color: #ffc107;
}

.race-type-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.race-type-stat {
    text-align: center;
}

.race-type-stat .stat-value {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.race-type-stat .stat-label {
    font-size: 0.8rem;
}

/* Driver Analysis */
.driver-analysis-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.analysis-tab {
    background: transparent;
    border: none;
    color: #999;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.analysis-tab:hover {
    color: #ccc;
}

.analysis-tab.active {
    color: #e10600;
    border-bottom-color: #e10600;
}

.driver-analysis-content {
    min-height: 200px;
}

.driver-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.driver-card {
    background: rgba(16, 16, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.driver-card:hover {
    border-color: rgba(225, 6, 0, 0.3);
    transform: translateY(-1px);
}

.driver-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.driver-name {
    font-weight: bold;
    color: #fff;
    font-size: 1rem;
}

.driver-rank {
    background: #e10600;
    color: #fff;
    border-radius: 12px;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    font-weight: bold;
}

.driver-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.75rem;
}

.driver-stat {
    text-align: center;
}

.driver-stat-value {
    font-weight: bold;
    color: #e10600;
    display: block;
    font-size: 1rem;
}

.driver-stat-label {
    color: #999;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* Recent Performance */
.recent-performance-chart {
    margin-top: 1rem;
}

.performance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(16, 16, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.performance-item:hover {
    border-color: rgba(225, 6, 0, 0.3);
    transform: translateX(2px);
}

.performance-race {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.performance-race-name {
    font-weight: 600;
    color: #fff;
}

.performance-race-details {
    color: #999;
    font-size: 0.85rem;
}

.performance-points {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.performance-score {
    font-weight: bold;
    color: #e10600;
    font-size: 1.1rem;
}

.performance-bar {
    width: 100px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.performance-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e10600 0%, #ff4757 100%);
    border-radius: 3px;
}

/* Empty states */
.driver-analysis-empty {
    text-align: center;
    padding: 2rem;
    color: #999;
}

.driver-analysis-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #666;
}

/* Profile Styles */
.profile-indicator {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-info {
    display: grid;
    gap: 1.5rem;
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-field label {
    color: #e10600;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-value {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem;
    background: rgba(16, 16, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.profile-preview {
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(16, 16, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.preview-entry {
    max-width: 400px;
    margin: 0 auto;
}

.leaderboard-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(16, 16, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.leaderboard-entry .position {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e10600;
    min-width: 40px;
}

.leaderboard-entry .user-info {
    flex: 1;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.leaderboard-entry .username {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.leaderboard-entry .user-role {
    color: #999;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leaderboard-entry .points {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.leaderboard-entry .points span:first-child {
    color: #e10600;
    font-weight: bold;
    font-size: 1.1rem;
}

.leaderboard-entry .points-label {
    color: #999;
    font-size: 0.75rem;
}

/* Profile Form Styling */
#profileForm .form-group {
    margin-bottom: 1.5rem;
}

.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.form-divider::before {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.form-divider span {
    padding: 0 1rem;
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#profileForm .form-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

/* Character Counter */
.character-counter {
    color: #999;
    font-size: 0.8rem;
    text-align: right;
    margin-top: 0.25rem;
}

.character-counter.warning {
    color: #ffc107;
}

.character-counter.danger {
    color: #e10600;
}

/* Profile Animation */
.profile-field {
    animation: slideInUp 0.3s ease-out;
}

.profile-field:nth-child(1) { animation-delay: 0.1s; }
.profile-field:nth-child(2) { animation-delay: 0.2s; }
.profile-field:nth-child(3) { animation-delay: 0.3s; }
.profile-field:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-overview .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .accuracy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .race-type-grid {
        grid-template-columns: 1fr;
    }
    
    .driver-analysis-tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .analysis-tab {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        justify-content: center;
    }
    
    .driver-list {
        grid-template-columns: 1fr;
    }
    
    .performance-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .performance-points {
        justify-content: space-between;
    }
    
    .performance-bar {
        width: 150px;
    }
    
    /* Profile Mobile */
    .profile-info {
        gap: 1rem;
    }
    
    .field-value {
        font-size: 1rem;
        padding: 0.6rem;
    }
    
    #profileForm .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .leaderboard-entry {
        padding: 0.75rem;
    }
    
    .leaderboard-entry .user-info {
        margin-left: 0.75rem;
    }
}

/* User Comparison Styles */
.compare-indicator {
    background: linear-gradient(135deg, #e10600 0%, #ff4757 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(225, 6, 0, 0.3);
}

.user-search-results {
    background: #1e1e2e;
    border: 1px solid #2a2a3e;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.user-search-item {
    padding: 1rem;
    border-bottom: 1px solid #2a2a3e;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-search-item:hover {
    background: #252538;
    border-left: 4px solid #e10600;
}

.user-search-item:last-child {
    border-bottom: none;
}

.user-search-info {
    flex: 1;
}

.user-search-name {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.user-search-details {
    font-size: 0.85rem;
    color: #888;
}

.user-search-points {
    color: #e10600;
    font-weight: 600;
    text-align: right;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1e1e2e 0%, #252538 100%);
    border-radius: 12px;
    border: 1px solid #2a2a3e;
}

.comparison-user-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #2a2a3e;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.comparison-user-card:hover {
    background: #323251;
    transform: translateY(-2px);
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e10600 0%, #ff4757 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3);
}

.user-details h3 {
    margin: 0 0 0.5rem 0;
    color: #fff;
    font-size: 1.1rem;
}

.user-details p {
    margin: 0;
    color: #888;
    font-size: 0.9rem;
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vs-badge {
    background: linear-gradient(135deg, #e10600 0%, #ff4757 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.comparison-summary {
    background: linear-gradient(135deg, #1e1e2e 0%, #252538 100%);
}

.head-to-head-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.h2h-stat {
    text-align: center;
    padding: 1rem;
    background: #2a2a3e;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.h2h-stat:hover {
    background: #323251;
    transform: translateY(-2px);
}

.h2h-value {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.h2h-value.h2h-wins {
    color: #28a745;
}

.h2h-value.h2h-losses {
    color: #dc3545;
}

.h2h-value.h2h-ties {
    color: #ffc107;
}

.h2h-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.h2h-percentage {
    margin-top: 1rem;
}

.win-percentage {
    text-align: center;
}

.percentage-bar {
    width: 100%;
    height: 8px;
    background: #2a2a3e;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.percentage-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #34ce57 100%);
    transition: width 0.8s ease;
}

.percentage-label {
    font-size: 0.9rem;
    color: #888;
}

.percentage-label span {
    color: #28a745;
    font-weight: 600;
}

.comparison-categories {
    background: linear-gradient(135deg, #1e1e2e 0%, #252538 100%);
}

.category-comparison {
    display: grid;
    gap: 1.5rem;
}

.category-item {
    padding: 1.5rem;
    background: #2a2a3e;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: #323251;
    transform: translateY(-2px);
}

.category-header h4 {
    margin: 0 0 0.5rem 0;
    color: #fff;
    font-size: 1.1rem;
}

.category-header p {
    margin: 0;
    color: #888;
    font-size: 0.9rem;
}

.category-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.category-user {
    text-align: center;
}

.category-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: #e10600;
    margin-bottom: 0.25rem;
}

.category-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-vs {
    font-size: 0.9rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
}

.special-predictions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.special-prediction {
    text-align: center;
    padding: 1rem;
    background: #323251;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.special-prediction:hover {
    background: #3a3a5a;
    transform: translateY(-2px);
}

.special-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.special-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.special-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e10600;
}

.special-vs {
    font-size: 0.8rem;
    color: #888;
}

.comparison-races {
    background: linear-gradient(135deg, #1e1e2e 0%, #252538 100%);
}

.race-comparison-controls {
    margin-bottom: 1rem;
}

.race-comparisons-list {
    max-height: 600px;
    overflow-y: auto;
}

.race-comparison-item {
    padding: 1.5rem;
    background: #2a2a3e;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.race-comparison-item:hover {
    background: #323251;
    transform: translateY(-2px);
}

.race-comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.race-comparison-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.race-comparison-date {
    font-size: 0.9rem;
    color: #888;
}

.race-comparison-scores {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.race-score {
    text-align: center;
    padding: 0.5rem 1rem;
    background: #323251;
    border-radius: 6px;
    flex: 1;
}

.race-score.winner {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.race-score.loser {
    background: linear-gradient(135deg, #dc3545 0%, #e55a5a 100%);
}

.race-score.tie {
    background: linear-gradient(135deg, #ffc107 0%, #ffcd3c 100%);
}

.race-score-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.race-score-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.race-predictions-toggle {
    text-align: center;
    margin-top: 1rem;
}

.toggle-predictions-btn {
    background: none;
    border: 1px solid #2a2a3e;
    color: #888;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.toggle-predictions-btn:hover {
    border-color: #e10600;
    color: #e10600;
}

.race-predictions-details {
    margin-top: 1rem;
    padding: 1rem;
    background: #1e1e2e;
    border-radius: 6px;
    border: 1px solid #2a2a3e;
}

.predictions-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.user-prediction {
    padding: 1rem;
    background: #252538;
    border-radius: 6px;
}

.user-prediction h5 {
    margin: 0 0 0.5rem 0;
    color: #fff;
    font-size: 0.9rem;
}

.prediction-positions {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.prediction-position {
    font-size: 0.7rem;
    color: #888;
    padding: 0.25rem;
    background: #2a2a3e;
    border-radius: 3px;
    text-align: center;
}

.prediction-specials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    font-size: 0.7rem;
    color: #888;
}

.prediction-special {
    padding: 0.25rem;
    background: #2a2a3e;
    border-radius: 3px;
    text-align: center;
}

.comparison-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #2a2a3e;
}

/* Responsive Design for Comparison */
@media (max-width: 768px) {
    .comparison-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comparison-user-card {
        flex-direction: column;
        text-align: center;
    }
    
    .user-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .vs-badge {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .head-to-head-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .special-predictions-grid {
        grid-template-columns: 1fr;
    }
    
    .predictions-comparison {
        grid-template-columns: 1fr;
    }
    
    .prediction-positions {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .comparison-actions {
        flex-direction: column;
    }
    
    .race-comparison-scores {
        flex-direction: column;
    }
    
    .race-score-value {
        font-size: 1.2rem;
    }
}

/* Profile Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background: #1e1e1e;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #333;
}

.modal-header h2 {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
}

.modal-close {
    background: none;
    border: none;
    color: #ccc;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.modal-body {
    padding: 24px;
}

.profile-section {
    margin-bottom: 2rem;
}

.profile-section:last-child {
    margin-bottom: 0;
}

.profile-section h3 {
    color: #e10600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.profile-section p {
    color: #ccc;
    margin-bottom: 1rem;
}

/* Mobile responsive for modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-header, .modal-body {
        padding: 16px;
    }
}

/* Export Section Styles */
.export-section {
    margin-top: 2rem;
    background: rgba(16, 16, 30, 0.6);
    transition: all 0.3s ease;
}

.export-section:hover {
    background: rgba(16, 16, 30, 0.8);
}

.export-section h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.export-section h3 i {
    color: #e10600;
    margin-right: 0.5rem;
}

.export-description {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 6px;
    padding: 1rem;
    color: #4CAF50;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.export-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.export-actions {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .export-section {
        margin-top: 1.5rem;
    }
    
    .export-features {
        margin-bottom: 1rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
}

/* Season Selector Styles */
.season-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.season-selector label {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 500;
}

.season-select {
    min-width: 80px;
    padding: 0.3rem 0.6rem;
    background: rgba(16, 16, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.season-select:hover {
    border-color: #e10600;
    background: rgba(16, 16, 30, 1);
}

.season-select:focus {
    outline: none;
    border-color: #e10600;
    box-shadow: 0 0 0 2px rgba(225, 6, 0, 0.2);
}

.season-select option {
    background: rgba(16, 16, 30, 0.95);
    color: #fff;
    padding: 0.5rem;
}