#index-section {
    background-image: url(/images/giftcode/giftcode.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
}
#menu-right-section, #nav-section {
    color: #000;
}
#rankingsTabContent {
    width: 100%;
}
.rankings-list {
    flex: 1;
    overflow-y: auto;
    padding: 5px;
}
.rankings-container  {
    border-bottom: 1px solid #ccc;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center
}
.rankings-container span {
    font-size: 12px;
}
.rankings-container-user {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    flex: 1;
}
.current-user {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    font-size: 12px;
}
.rankings-user {
    border-top: 1px solid #ccc;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center
}
.rankings-info {
    width: 100%;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 
      0 4px 15px rgba(0, 0, 0, 0.2),
      inset 0 0 10px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    outline: 1px solid rgba(255, 255, 255, 0.8);
    height: 100%;
}
.line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 15%, rgba(174, 144, 59, .8), rgba(0, 0, 0, 0) 85%) no-repeat;
    background-size: 100% 100%;
}
.noted {
    font-size: 80%;
    text-align: center;;;
}
.submit {
    width: 10em;
    display: inline-block;
    cursor: pointer;
}
.submit img {
    width: 100%;
}
form {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}
button {
    background: none;
    border: none;
}
.rankings-reward-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-top: 10px;
}
.journey-reward-box {
    width: auto;
    animation: glow 1s ease-in-out infinite;
}
.nav-tabs .nav-link.active {
    color: #fd7e14 !important;
    /* background-image: url(/images/rankings/11.gif) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important; */
}
#rankingsTabContent {
    display: flex !important;
    flex-direction: column;
    height: 100% !important;
}

.tab-pane {
    display: flex !important;
    flex-direction: column;
    height: 100% !important;
}

.tab-pane:not(.show) {
    display: none !important;
}

.empty-data {
    flex: 1;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0.8;
}
.empty-data i {
    font-size: 30px;
}
.empty-data span {
    font-size: 12px;
}
.guide-data {
    padding: 10px;
    font-size: 12px;
}
#header-section {
    flex: 1;
    overflow: hidden;
}
.nav-wrapper {
    position: static !important;
    bottom: auto !important;
    width: auto !important;
    flex: 0 !important;
}
.rankings-tab {
    flex-direction: column;
    align-items: flex-start !important;
    border-bottom: none !important;
    width: auto !important;
}
.rankings {
    display: flex;
    align-items: flex-start;
    margin: 10px;
    height: -webkit-fill-available;
    height: -moz-available;
    gap: 10px;
}
.nav-item {
    width: max-content;
}
.rankings-container-score {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.rankings-container-score img {
    width: 20px;
    height: 20px;
}
.rankings-container-user-rank {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.rankings-container-user-rank img {
    flex-shrink: 0;
}
.rankings-container-user-rank-number{
    display: flex;
    align-items: center;
}
.rank-number {
    width: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.rank-number-text {
    width: auto;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}
.coins-col {
    font-size: 14px;
    font-weight: 600;
}
.score-km {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    min-width: 40px;
}
.truncate-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}
.loading-placeholder {
    height: 100%;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0.8;
    font-size: 18px;
}

.loading-placeholder i {
    font-size: 30px;
    margin-bottom: 10px;
    color: #fff;
}

.loading-placeholder span {
    font-size: 14px;
    text-align: center;
}

#journey-list .rankings-container {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}
.fa-spin {
    animation: fa-spin 2s infinite linear;
}
@keyframes fadeIn {
    to { opacity: 1; }
}