.leaderboard-section {
    background-color: #f8f9fa;
}

.leaderboard-title {
    text-align: center;
    margin-bottom: 30px;
}

.leaderboard-title h1 {
    font-weight: bold;
    margin-bottom: 15px;
}

.leaderboard-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.leaderboard-panel {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    padding-bottom: 38px;
}

.leaderboard-panel h2 {
    padding: 15px 20px;
    margin: 0;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #f5f5f5;
}

.leaderboard-item:last-of-type {
    border-bottom: none;
}

.leaderboard-rank {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
    font-weight: 600;
}

.top-rank {
    background: url('/front_assets/images/gold-badge.png') no-repeat center center / cover;
    font-size: 0;
}

.second-rank {
    background: url('/front_assets/images/silver-badge.png') no-repeat center center / cover;
    font-size: 0;
}

.third-rank {
    background: url('/front_assets/images/bronze-badge.png') no-repeat center center / cover;
    font-size: 0;
}

.leaderboard-profile {
    display: flex;
    align-items: center;
    color: inherit;
}

.leaderboard-profile:hover{
    color: inherit;
    text-decoration: none;
}

.leaderboard-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
}

.leaderboard-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leaderboard-name {
    font-weight: 500;
    margin-right: 5px;
}

.leaderboard-flag {
    margin-right: 5px;
    font-size: 16px;
}

.leaderboard-value {
    margin-left: auto;
    font-weight: bold;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leaderboard-value i {
    margin-right: 7px;
    color: #c0c5cb;
    font-size: 12px;
}

.referrals-icon{
    background-image: url('/front_assets/images/referrals-icon-gray.svg');
}

.show-more-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%);
}

.show-more-btn {
    color: #d70602;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
    background: none;
    cursor: pointer
}

.sort-dropdown  {
    display: flex;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
}

.sort-dropdown label {
    margin-right: 10px;
    margin-bottom: 0;
    font-weight: 500;
}

.sort-dropdown .input-group-prepend {
    min-width: 200px;
    background: #DBDFE3;
    border-radius: 50px;
    padding: 5px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sort-dropdown .btn{
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-weight: 600;
}

.hidden-item {
    display: none;
}

/* Media Queries */
@media (max-width: 767px) {
    .leaderboard-item {
        padding: 10px 15px;
    }
    
    .leaderboard-name {
        font-size: 14px;
    }
    
    .leaderboard-value {
        font-size: 14px;
    }
}