html,
body,
.ctn {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    font-feature-settings: "tnum";
    font-size: 0.9rem;
    overflow-x: hidden;
}

.floating-box {
    position: absolute;
    z-index: 1000;
}

.top-left {
    top: 10px;
    left: 10px;
}

.top-right {
    top: 10px;
    right: 6px;
}

.btn-black {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.btn-black:hover,
.btn-black:focus,
.btn-black:active {
    background-color: #222 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.btn-outline-light {
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
}

.btn-outline-light:hover {
    background-color: #f2f2f2;
    color: #000;
    border-color: #999;
}

@media (max-width: 576px) {
    .btn-label {
        display: none;
    }
}

#userCard {
    position: absolute;
    top: 47px;
    right: 10px;
    width: 150px;
    border-radius: 0.75rem;
    display: none;
    z-index: 2000;
}


#globalLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.6);
    /* translucent background */
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    display: none;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px dotted #000;
    border-style: solid solid dotted dotted;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 2s linear infinite;
}

.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 3px dotted #000;
    border-style: solid solid dotted;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    animation: rotationBack 1s linear infinite;
    transform-origin: center center;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.toast-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.toast-error {
    background-color: #f8d7da;
    color: #842029;
}

.toast-warning {
    background-color: #f8d7da;
    color: #8e7109;
}