
.leaderboard-segmented-control-container > ul {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    justify-content: space-between !important;
    gap: 8px;
}

.leaderboard-segmented-control-container > ul > li {
    flex: 1;

    color: var(--qp-color-blue-note);
    background-color: transparent;
    border: var(--qp-color-blue-note) 2px solid;
    border-radius: 40px;
    cursor: pointer;
}

.leaderboard-segmented-control-container li > p {
    font-size: 18px;
    font-weight: 400;
    height: 40px;
    line-height: 40px;
    margin: auto;
}

.leaderboard-segmented-control-container > ul > li:hover {
    background-color: #6b81b7;
    color: white;
    transition: all 0.4s ease-out;
}

.leaderboard-segmented-control-container > ul > li.active {
    color: white;
    background-color: var(--qp-color-blue-note);
    transition: all 0.1s ease-out;
}

.leaderboard-user-rank-card-container {
    position: relative;
    display: flex;

    width: 100%;
    min-height: 120px;

    border-radius: 8px;
    background-color: white;
}

.leaderboard-user-rank-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    padding: 0 0 16px 0;
    margin-bottom: 0;

    text-align: left;
    color: var(--qp-color-blue-note);
    /*white-space: nowrap;*/
}

.leaderboard-users-list {
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.leaderboard-users-list-item {
    display: flex;
    width: 100%;
    height: 80px;
    min-height: 80px;
    padding: 16px 0;
    align-items: center;
}

.leaderboard-users-list-item:not(:last-child) {
    margin-bottom: 8px;
}

.leaderboard-users-list-item-image-container {
    position: relative;
    overflow: visible;
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex: 0;

    margin: -16px 16px -16px 16px;
    background-color: var(--qp-color-image-bg-grey);

    border-radius: 50%;
}

.leaderboard-users-list-item-image-container > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.leaderboard-users-list-item-text-container {
    overflow: hidden;
    padding-right: 16px
}

.leaderboard-users-list-item-vehicle-image {
    height: 80px;
    width: 80px;
    border-radius: 8px;
}

.leaderboard-users-list-item-position-badge {
    position: absolute;
    bottom: -11px;
    left: calc(50% - 11px);

    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--qp-color-light-blue);

    text-align: center;
    font-size: 11px;
    font-weight: 400;
    line-height: 22px;
    color: white;
}
