.rank-bar-container {
    gap: 10px;
}

.rank-bar {
    display: flex;
    flex: 1;
    flex-direction: row;
    gap: 1.75rem;
    border-radius: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--bs-gray-100);
    font-size: 14px;
    margin: 0 10px;
    max-height: 45px;
    align-items: center;
}

.rank-bar .medal {
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.rank-bar-container .rank-bar:first-child .medal {
    background-image: url('/src/img/icon-medal-gold.svg');
}

.rank-bar-container .rank-bar:nth-child(2) .medal {
    background-image: url('/src/img/icon-medal-silver.svg');
}

.rank-bar-container .rank-bar:nth-child(3) .medal {
    background-image: url('/src/img/icon-medal-bronze.svg');
}

.rank-bar-container .rank-bar:nth-child(4) .medal {
    display: none;
}

.rank-bar.highlight {
    background-color: var(--bs-primary);
    color: var(--bs-success);
    margin: 0;
    max-height: 53px;
}

.rank-bar .rank {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rank-bar .user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-bar .time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--bs-gray-800);
}

.rank-bar.highlight .time {
    color: var(--bs-success);
}

.rank-bar .icon-score,
.rank-bar .icon-time {
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.rank-bar:not(.highlight) .icon-time {
    background-image: url('/src/img/icon-study-time.svg');
}

.rank-bar.highlight .icon-time {
    background-image: url('/src/img/icon-time-highlight.svg');
}

.rank-bar:not(.highlight) .icon-score {
    background-image: url('/src/img/icon-score.svg');
}

.rank-bar.highlight .icon-score {
    background-image: url('/src/img/icon-score-highlight.svg');
}

.list_item .progress .cell-group {
    display: flex;
}

.list_item .progress .cell-group div {
    width: 16px;
    height: 16px;
    border: 1px solid var(--bs-gray-300);
    background: var(--bs-white);
}

.heatmap {
    display: flex;
    flex: 1;
    justify-content: end;
}
.heatmap .list_item {
    align-items: end;
    max-width: 720px;
    min-width: 160px;
}

.heatmap .list_item .progress {
    flex-wrap: wrap;
    height: 100%;
    --bs-progress-bg: transparent;
    --bs-border-radius: 0;
}

.heatmap .progress .once {
    background: var(--bs-blue-300) !important;
}

.heatmap .progress .complete {
    background: var(--bs-primary) !important;
}

.heatmap .progress .empty {
    background: var(--bs-gray-200) !important;
    border: transparent !important;
}

.heatmap .category span {
    display: flex;
    flex-direction: row;
    justify-content: end;
    width: 160px;
    color: var(--bs-gray-800);
}

.heatmap-wrapper {
    display: flex;
    flex: 1;
    justify-content: center;
    border: 1px solid var(--bs-gray-200);
    border-radius: 0.5rem;
    padding: 1rem;
}

.heatmap-wrapper .heatmap-title {
    display: flex;
    align-items: center;
    width: 260px;
}

.report-list-wrapper {
    min-width: 460px;
}

.report-list-header {
    color: var(--bs-gray-800);
    background: var(--bs-gray-200);
    font-weight: bold;
}

.report-list-header .col {
    padding: 8px 8px 9px 8px;
    min-width: 214px;
}

.report-list-item {
    background-color: var(--bs-white);
    padding: 0.625rem 1rem;
    gap: 0.25rem;
}

.report-list-item .number {
    width: 16px;
}

.report-list-subtitle {
    color: var(--bs-gray-700);
}

.report-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.125rem;
    justify-content: end;
    min-width: 200px;
    min-height: 44px;
}

.progress-info {
    padding-right: 32px;
}

.report-list-info {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.report-list-info .bullet {
    font-size: 0.5rem;
    color: var(--bs-gray-700);
}

.report-list-info .timeout {
    color: var(--bs-blue-600);
}

.report-info .progress-bar {
    width: 100%;
    --bs-progress-bar-bg: transparent;
    height: 1rem;
}

.report-info .progress-wrapper {
    position: relative;
    max-width: 480px;
}

.tooltip .tooltip-arrow,
.tooltip .tooltip-inner {
    --bs-tooltip-bg: var(--bs-primary);
    font-size: 0.75rem;
    line-height: 1.2;
}

.tooltip {
    --bs-tooltip-zindex: 1;
    margin-bottom: 0.25rem !important;
}

/* Chrome, Safari */
progress::-webkit-progress-bar {
    background-color: transparent;
}

progress::-webkit-progress-value {
    background: linear-gradient(to right, #1d64fe, #0ab6e3);
    border-radius: 4rem;
    transition: width 1s ease-in-out;
}

/* Firefox */
progress::-moz-progress-bar {
    background-color: transparent;
    transition: width 1s ease-in-out;
}

.bg-gray {
    display: flex;
    background-color: var(--bs-gray-100);
    border-radius: 0.5rem;
}

.info-bar {
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
}

.notice-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
}
