.table th {
    border-top: none;
}

.leaderboardtable {
    height: 55vh;
    overflow-y: auto;
    border-radius: 17px;
    border-bottom: 1px solid rgba(196, 196, 196, 0.3);
    border-right: 1px solid rgba(196, 196, 196, 0.3);
    border-left: 1px solid rgba(196, 196, 196, 0.3);
    box-shadow: 0px 6px 3px 0px rgba(51, 51, 51, 0.25);
}

.leaderboardtable .tableRow {
    background-color: white;
}

.leaderboardtable .tableRow.header {
    position: sticky;
    top: 0;
    background-color: #0d4962;
}

.leaderboardtable .tableRow.header select {
    font-family: "Metropolis Semi Bold";
    font-size: 18px;
    line-height: 16px;
    letter-spacing: 0.18px;
    background-color: #0d4962;
    color: white;
    border: none;
    height: 50px;
}

.leaderboardtable .tableRow.header select:focus-visible {
    outline: none;
}

.leaderboardtable .tableRow.header th {
    font-family: "Metropolis Semi Bold";
    font-size: 18px;
    line-height: 16px;
    letter-spacing: 0.18px;
    color: white;
    height: 50px;
    align-content: center;
}

.leaderboardtable .tableRow.highlight {
    background-color: #eff7fb;
}

.leaderboardtable .tableRow td {
    font-family: "Metropolis Regular";
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.18px;
    color: #333;
    align-content: center;
}

.leaderboardtable .tableRow td.semiBold {
    font-family: "Metropolis Semi Bold";
}

.leaderboardtable .tableRow.highlight td,
.leaderboardtable .tableRow.highlight .name {
    font-family: "Metropolis Semi Bold";
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.18px;
    color: #0d4962;
    align-content: center;
}

.leaderboardtable .tableRow .name {
    margin-left: 24px;
    color: #0d4962;
}

/* DARK MODE */
.dark .table td {
    border-top: 1px solid rgba(196, 196, 196, 0.3);
}

.dark .leaderboardtable .tableRow td,
.dark .leaderboardtable .tableRow .name {
    color: rgba(255, 255, 255, 0.87);
}

.dark .leaderboardtable .tableRow.highlight td,
.dark .leaderboardtable .tableRow.highlight .name {
    color: #0d4962;
}

.dark .leaderboardtable .tableRow.highlight {
    background-color: #cae4ef;
}

.dark .leaderboardtable .tableRow.header {
    background-color: #0d4962;
}

.dark .leaderboardtable .tableRow {
    background-color: #042533;
}
