/* Leaderboard Page Specific Styles */

.leaderboard-content {
    padding: 2rem;
}

.leaderboard-content h2 {
    color: #005EB8;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.timer-section {
    background-color: #e8f4f8;
    border-left: 4px solid #005EB8;
    padding: 1rem 2rem;
    margin: 2rem 0;
    border-radius: 6px;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.leaderboard-table thead {
    background-color: #005EB8;
    color: white;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 1rem;
    text-align: left;
}

.leaderboard-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.leaderboard-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s;
}

.leaderboard-table tbody tr:hover {
    background-color: #f0f7fc;
}

.leaderboard-table tbody tr:last-child {
    border-bottom: none;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: 600;
    color: white;
}

.rank-1 { 
    background: linear-gradient(135deg, #FFD700, #FFA500); 
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.rank-2 { 
    background: linear-gradient(135deg, #C0C0C0, #808080); 
    box-shadow: 0 2px 4px rgba(192, 192, 192, 0.3);
}

.rank-3 { 
    background: linear-gradient(135deg, #CD7F32, #8B4513); 
    box-shadow: 0 2px 4px rgba(205, 127, 50, 0.3);
}

.rank-default { 
    background-color: #6c757d; 
}

.score {
    font-weight: 600;
    color: #28a745;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .leaderboard-content {
        padding: 1rem;
    }

    .leaderboard-table {
        font-size: 0.875rem;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 0.75rem 0.5rem;
    }

    .rank-badge {
        width: 30px;
        height: 30px;
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .leaderboard-content {
        padding: 0.75rem;
    }

    .leaderboard-table {
        font-size: 0.8rem;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 0.6rem 0.4rem;
    }

    .rank-badge {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .leaderboard-content {
        padding: 0.5rem;
    }

    .leaderboard-table {
        font-size: 0.75rem;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 0.5rem 0.3rem;
    }

    .rank-badge {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }
}
