body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background-color: #5e635e;
}

body::-webkit-scrollbar-thumb {
    background-color: #79AC78;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #198754;
}


body::-webkit-scrollbar-button {
    width: 10px;
    height: 10px;
}

body::-webkit-scrollbar-button:vertical:start:decrement {
    background-image: url('./scrollbar/down-arrow.svg') !important;
}

body::-webkit-scrollbar-button:vertical:end:increment {
    background-image: url('./scrollbar/up-arrow.svg') !important;
}

body {
    background: #618264 !important;
    overflow-x: hidden !important;
}

main {
    min-height: 100vh !important;
}

.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #79AC78;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    cursor: pointer;
}

.floating-btn:hover {
    background-color: #5f8c5e;
}

.floating-btn i {
    font-size: 24px;
}

.nav {
    background-color: #618264 !important;
    border: 4px solid #D0E7D2 !important;
}

.nav-link {
    transition: background-color 0.2s ease-in-out;
}

.nav-link:hover {
    -webkit-text-fill-color: #79AC78 !important;
}

.hover-1 {
    background: linear-gradient(#79AC78 0 0) var(--p, 0) / var(--p, 0) no-repeat;
    transition: 0.4s, background-position 0s;
}

.hover-1:hover {
    --p: 100%;
    color: #fff;
}

.img-hover {
    --b: 8px;
    /* border thickness */
    --c: #0000 25%, #79AC78 0;
    /* define the color here */
    padding: 10px;
    background:
        conic-gradient(from 90deg at top var(--b) left var(--b), var(--c)) 0 0,
        conic-gradient(from 180deg at top var(--b) right var(--b), var(--c)) 100% 0,
        conic-gradient(from 0deg at bottom var(--b) left var(--b), var(--c)) 0 100%,
        conic-gradient(from -90deg at bottom var(--b) right var(--b), var(--c)) 100% 100%;
    background-size: 50px 50px;
    /* adjust border length here */
    background-repeat: no-repeat;
    transition: .6s;
    cursor: pointer;
}

.img-hover:hover {
    background-size: 51% 51%;
}

.price-innerdetail h5 {
    font-weight: 400;
    letter-spacing: 2px;
    font-size: 15px;
}

.price-innerdetail p {
    font-size: 50px;
}

.detail-pricing {
    border-bottom: 1px solid;
    padding: 30px 0 30px 0;
}

.detail-pricing .float-left {
    padding: 0 0 0 40px;
}

.detail-pricing .float-left i {
    position: absolute;
    left: 0;
    font-size: 20px;
}

.detail-pricing span {
    display: inline-block;
    position: relative;
    font-weight: 400;
}

.wrap-price {
    background: rgba(32, 33, 36, .1);
    padding: 50px 20px 50px;
    border-radius: 10px;
}

.center-wrap {
    background: #070707;
    color: #fff;
}

.nav-link:hover {
    text-align: center;
    font-weight: bolder;
    font-size: large !important;
    background-color: #D0E7D2 !important;
    /* Add your desired background color */
    /* Add any other styles you want to apply on hover */
}

.tag {
    font-weight: bolder;
    text-align: center;
    font-size: x-small;
    border-radius: 10px;
    background-color: #618264;
}

.tag-light {
    font-weight: bolder;
    text-align: center;
    font-size: x-small;
    border-radius: 10px;
    background-color: #79AC78;
}

.rank-card {
    background-color: #79AC78;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.rank-card.rank {
    font-size: 24px;
    font-weight: bold;
}

.rank-card.username {
    font-size: 18px;
}

.rank-table {
    background-color: #79AC78;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: x-large;
}

.rank-table th {
    background-color: #198754;
}

.rank-table tr {
    background-color: #79AC78;
}

.rank-table td {
    background-color: #79AC78;
}

.nav-link.active {
    background-color: #198754 !important;
    border: none !important;
}

:root {
    --border: 10px;
    --color1: #8cff28;
    --color2: #00a547;
    --from: 17deg;
    --distance: 57%;
}

.img-wrap {
    position: relative;
    padding: 30px;
}

.img-wrap::after {
    content: '';
    border-radius: 999px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: conic-gradient(from var(--from),
            var(--color1),
            var(--color2) var(--distance),
            transparent var(--distance));
    -webkit-mask: radial-gradient(farthest-side,
            transparent calc(100% - var(--border)),
            #fff calc(100% - var(--border) + 1px));
    mask: radial-gradient(farthest-side,
            transparent calc(100% - var(--border)),
            #fff calc(100% - var(--border) + 1px));
}

.custom-scrollbar::-webkit-scrollbar {
    width: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background-color: #D0E7D2;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #618264;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #198754;
}

.custom-scrollbar::-webkit-scrollbar-button {
    width: 10px;
    height: 10px;
}

.custom-scrollbar::-webkit-scrollbar-button:vertical:start:decrement {
    background-image: url('./scrollbar/down-arrow.svg') !important;
}

.custom-scrollbar::-webkit-scrollbar-button:vertical:end:increment {
    background-image: url('./scrollbar/up-arrow.svg') !important;
}

.list-group-item-custom {
    background-color: #618264 !important;
    border: 1px solid #79AC78 !important;
}

/* Container for the Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

/* Main Floating Action Button */
.fab-main {
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.fab-main:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Additional Action Buttons */
.fab-options {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.fab-option {
    background-color: #79AC78;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.fab-option:hover {
    background-color: #619760;
    transform: scale(1.1);
}

/* Show the additional buttons on hover or focus */
.fab-container:hover .fab-options,
.fab-container:focus-within .fab-options {
    opacity: 1;
    visibility: visible;
}

.ql-toolbar {
    background-color: #198754 !important;
}

#loading-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background-color: #618264;
    /* Same background color as body */
    position: fixed;
    /* Cover the entire screen */
    top: 0;
    left: 0;
    z-index: 9999;
    /* Ensure it's above other content */
}

.hidden {
    display: none;
    /* Class to hide the loading screen */
}

.loading-container {
    text-align: center;
}

.loading-bar {
    width: 100%;
    /* Wider loading bar */
    min-width: 320px;
    max-width: 320px;
    height: 20px;
    background-color: #ddd;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin: 20px auto;
    /* Center the loading bar */
    box-shadow: 0 2px 4px rgba(47, 255, 0, 0.4);
    /* Add shadow to the box */
}

.loading-progress {
    height: 100%;
    background: linear-gradient(to right, #198754, #28a745);
    /* Add gradient */
    width: 0;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        width: 0;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 0;
    }
}

.emoji {
    display: inline-block;
    /* Ensure emojis are treated as block elements for animation */
    font-size: 2rem;
    animation: bounce 0.6s infinite alternate;
}

.emoji:nth-child(1) {
    animation-delay: 0s;
}

.emoji:nth-child(2) {
    animation-delay: 0.2s;
}

.emoji:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }

    /* Adjust the bounce height */
}

.ql-editor {
    -webkit-text-fill-color: #5e635e !important;
}

input {
    -webkit-text-fill-color: #5e635e !important;
}

textarea {
    -webkit-text-fill-color: #5e635e !important;
}

option {
    -webkit-text-fill-color: #5e635e !important;
}

/* For selected checkboxes */
input[type="checkbox"] {
    accent-color: #198754 !important;
    border-color: #619760 !important;
}

/* For selected radio buttons */
input[type="radio"] {
    accent-color: #198754 !important;
    border-color: #619760 !important;
}

option:checked {
    background-color: #198754 !important;
}
option:current {
    background-color: #198754 !important;
}
option:hover {
    background-color: #198754 !important;
}