﻿.leaderboard-container {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.leaderboard-header {
    background: linear-gradient(135deg, #ea8766 0%, #764ba2 100%);
    padding: 1rem 1.5rem;
    color: white;
}

.rank-badge {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.75rem;
    color: white;
    background-color: #1775FF;
}

.leaderboard-row {
    transition: all 0.3s ease;
    border-bottom: 1px solid #E5E7EB;
}

    .leaderboard-row:hover {
        background-color: #F9FAFB;
        transform: translateX(4px);
    }

.score-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.player-name {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.4rem;
    /* font-weight: 600; */
    /* color: #374151; */
}

.event-name {
    font-size: 1.4rem;
    font-weight: 500;
    color: #4b5563;
    text-align: left;
}

/* Mobile responsive */
.mobile-card-view {
    display: none;
}

.hidden-mobile {
    display: block;
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }

    .mobile-card-view {
        display: flex;
        flex-direction: column;
    }

    .leaderboard-card {
        background: white;
        border-radius: 0.75rem;
        padding: 1rem;
        margin-bottom: 1rem;
        box-shadow: 0 1px 3px 0 rgb(0 0 0 / 50%);
    }

        .leaderboard-card:hover {
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

    .rank-badge {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }

    .score-display {
        color: white;
        background: #f98169;
        padding: 0.5rem 0.75rem;
        border-radius: 2rem;
        font-size: 1.4rem;
    }

    .inline-score {
        font-size: 1.6rem;
        font-weight: 700;
        color: #374151;
        min-width: 2rem;
        text-align: center;
    }
}