.icon-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 110;
}

.icon-float-img {
    margin-top: 10px;
    width: 40px;
    height: auto;
}

#modalCoins .modal-header,
#modalCoins .modal-footer {
    border: none;
    justify-content: center;
}

#background-loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 9999;
    opacity: 0.3;
}

#loader {
    animation: animate 1.5s linear infinite;
    clip: rect(0, 80px, 80px, 40px);
    height: 80px;
    width: 80px;
    position: absolute;
    left: calc(50% - 40px);
    top: calc(50% - 40px);
}

#navbar {
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

#navbar.bg-scroll {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#logo,
#welcome-section,
#custom-select {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#custom-select {
    width: 305px;
    margin-left: 100px;
}

#dropdown-menu {
    width: 50px !important;
    height: 50px;
}

.dropdown {
    width: 50px !important;
    height: 50px !important;
    margin: 3px;
    top: 3px;
    bottom: 4px;
}

#logo {
    width: 180px;
}

#welcome-section {
    display: flex;
    align-items: center;
}

#welcome-text {
    font-size: 16px;
    font-weight: 200;
    line-height: 20px;
}

#welcome-text p {
    margin: 1px;
    color: #05ABDF;
}

#welcome-text strong {
    color: #fff;
    font-weight: 700;
    display: block;
}

#custom-select {
    width: auto;
    margin: 0;
}

#custom-select .custom-select {
    width: 250px;
}

#right-section {
    gap: 15px;
}

#right-section #custom-select {
    flex-shrink: 0;
}

#dropdown-menu {
    width: auto;
    height: 50px;
    flex-shrink: 0;
}

#navbar .dropdown ul.dropdown-menu {
    transform: translate(-165px, 50px) !important;
    padding: 10px;
    box-shadow: 4px 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    min-width: 200px;
}

#navbar .dropdown:hover ul.dropdown-menu,
#navbar .dropdown ul.dropdown-menu:hover,
#navbar .dropdown.show ul.dropdown-menu {
    position: absolute;
    inset: 0px auto auto 0px;
    margin: 0px;
    transform: translate(-170px, 50px);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#navbar .dropdown:hover,
#navbar .dropdown ul.dropdown-menu:hover,
#navbar .dropdown.show {
    z-index: 1060;
}

#navbar .dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -170px;
    width: 250px;
    height: 15px;
    background: transparent;
    z-index: 1055;
    display: none;
}

#navbar .dropdown:hover::before {
    display: block;
}

#navbar .dropdown ul.dropdown-menu li a.dropdown-item {
    padding: 8px 16px;
    transition: background-color 0.2s ease;
}

#navbar .dropdown ul.dropdown-menu li a.dropdown-item:hover {
    background-color: var(--brand-primary);
    color: white;
}

.dropdown {
    width: 50px !important;
    height: 50px !important;
    margin: 3px;
    top: 3px;
    bottom: 4px;
}

a#my-multicoins {
    width: 117px;
    height: 48px;
}

a#my-multicoins img {
    width: 32px;
    height: 32px;
    top: 8px;
    margin-left: 0px;
}

@media(max-width: 1398px) {
    #logo {
        width: 130px;
    }

    #custom-select .custom-select {
        width: 220px;
    }

    #welcome-text {
        font-size: 14px;
    }

    #right-section {
        gap: 10px;
    }
}

@media(max-width: 990px) {
    #logo {
        width: 100px;
    }

    #custom-select .custom-select {
        width: 180px;
    }

    #welcome-text {
        font-size: 12px;
    }

    #right-section {
        gap: 8px;
    }

    a#my-multicoins {
        width: 90px;
        height: 46px;
    }

    a#my-multicoins strong {
        font-size: 10px;
    }

    a#my-multicoins small {
        font-size: 8px;
    }

    a#my-multicoins img {
        width: 16px;
        height: 16px;
        margin: 3px;
        margin-left: 0px;
    }
}

.mobile-only {
    display: none;
}

.mobile-navbar-container {
    display: none;
    width: 100%;
}

.desktop-only {
    display: block;
}

@media(max-width: 768px) {
    #navbar {
        padding: 10px 0;
        background-color: rgba(0, 39, 92, 1);
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .mobile-navbar-container {
        display: block !important;
    }

    #mobile-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 15px;
    }

    #mobile-top-row #logo {
        width: 140px;
    }

    #mobile-top-row #logo img {
        height: auto;
        max-height: 40px;
    }

    #mobile-right-section {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    #mobile-bottom-row {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        background: transparent;
        border-radius: 0;
        padding: 10px 0;
        position: relative;
    }

    #mobile-bottom-row #custom-select {
        width: 100%;
        margin: 0;
    }

    #mobile-bottom-row #custom-select .custom-select {
        width: 100%;
    }

    #mobile-right-section a#my-multicoins {
        width: 90px;
        height: 45px;
        margin: 0;
        background: transparent;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 8px;
        text-decoration: none;
        border: 2px solid var(--accent-primary);
    }

    #mobile-right-section a#my-multicoins:hover {
        background: rgba(248, 206, 41, 0.1);
    }

    #mobile-right-section a#my-multicoins .multicoins {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    #mobile-right-section a#my-multicoins strong {
        font-size: 12px;
        color: var(--accent-primary);
        line-height: 1;
        margin: 0;
    }

    #mobile-right-section a#my-multicoins small {
        font-size: 9px;
        color: var(--accent-primary);
        line-height: 1;
        margin: 0;
    }

    #mobile-right-section a#my-multicoins img {
        width: 24px;
        height: 24px;
    }

    #mobile-right-section .dropdown #dropdownProfile {
        width: 45px !important;
        height: 45px;
        font-size: 16px;
        font-weight: 700;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #mobile-right-section .dropdown ul.dropdown-menu {
        transform: translate(-140px, 55px) !important;
        min-width: 180px;
    }

    #mobile-right-section .dropdown:hover ul.dropdown-menu,
    #mobile-right-section .dropdown ul.dropdown-menu:hover,
    #mobile-right-section .dropdown.show ul.dropdown-menu {
        transform: translate(-140px, 55px) !important;
    }
}

@media(max-width: 570px) {
    #mobile-top-row #logo {
        width: 120px;
    }

    #mobile-right-section a#my-multicoins {
        width: 80px;
        height: 40px;
        padding: 4px 6px;
    }

    #mobile-right-section a#my-multicoins strong {
        font-size: 11px;
    }

    #mobile-right-section a#my-multicoins small {
        font-size: 8px;
    }

    #mobile-right-section a#my-multicoins img {
        width: 20px;
        height: 20px;
    }

    #mobile-right-section .dropdown #dropdownProfile {
        width: 40px !important;
        height: 40px;
        font-size: 14px;
    }

    #mobile-bottom-row {
        padding: 8px 0;
    }
}

@media (max-width: 380px) {
    #mobile-top-row #logo {
        width: 100px;
    }

    #mobile-right-section a#my-multicoins {
        width: 75px;
        height: 38px;
    }

    #mobile-right-section a#my-multicoins strong {
        font-size: 10px;
    }

    #mobile-right-section a#my-multicoins small {
        font-size: 8px;
    }

    #mobile-right-section a#my-multicoins img {
        width: 18px;
        height: 18px;
    }

    #mobile-right-section .dropdown #dropdownProfile {
        width: 38px !important;
        height: 38px;
        font-size: 12px;
    }

    #mobile-bottom-row {
        padding: 6px 0;
    }
}

@keyframes animate {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(220deg)
    }
}

#loader:after {
    animation: animate2 1.5s ease-in-out infinite;
    clip: rect(0, 80px, 80px, 40px);
    content: '';
    border-radius: 50%;
    height: 80px;
    width: 80px;
    position: absolute;
}

@keyframes animate2 {
    0% {
        box-shadow: inset #fff 0 0 0 17px;
        transform: rotate(-140deg);
    }

    50% {
        box-shadow: inset #fff 0 0 0 2px;
    }

    100% {
        box-shadow: inset #fff 0 0 0 17px;
        transform: rotate(140deg);
    }
}

@media (min-width: 576px) {
    #modalCoins .modal-sm {
        max-width: 350px;
    }
}

#modalContemplation .modal-header,
#modalContemplation .modal-footer {
    border: none;
    justify-content: center;
}

.tos-links {
    margin: 0 auto !important;
    display: table;
}

a.tos {
    margin: 0 10px;
}

a.tos:hover {
    color: white
}