html {
    width: 100%;
}

body {
    overflow-x: hidden !important;
}

    body.show-spinner > main {
        overflow: hidden !important;
    }

    /* Hide everything under body tag */
    body.show-spinner > * {
        opacity: 0;
    }

    /* Spinner */
    body.show-spinner::after {
        content: " ";
        display: inline-block;
        width: 30px;
        height: 30px;
        border: 2px solid rgba(0, 0, 0, 0.2);
        border-radius: 50%;
        border-top-color: rgba(0, 0, 0, 0.3);
        animation: spin 1s ease-in-out infinite;
        -webkit-animation: spin 1s ease-in-out infinite;
        left: calc(50% - 15px);
        top: calc(50% - 15px);
        position: fixed;
        z-index: 1;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

/* Theme-aware backgrounds */
body.light-theme .auth-card .image-side {
    background: url("../logos/gradientbackgroundnewlight.webp") no-repeat center center fixed;
    background-size: 100% 100%;
}

body.dark-theme .auth-card .image-side {
    background: url("../logos/gradientbackgroundnewdark.webp") no-repeat center center fixed;
    background-size: 100% 100%;
}

body.light-theme .fixed-background {
    background: url("../logos/gradientbackgroundnewlight.webp") no-repeat center center fixed;
    background-size: cover !important;
}

body.dark-theme .fixed-background {
    background: url("../logos/gradientbackgroundnewdark.webp") no-repeat center center fixed;
    background-size: cover !important;
}

/* Logos */
.logo-single {
    background: url("../logos/crecix_dark.png") no-repeat !important;
    width: 50px !important;
    height: 50px !important;
}

.logo-mobile {
    background: url("../logos/crecix_dark.png") no-repeat !important;
    width: 50px !important;
    height: 50px !important;
}

.logo {
    width: 110px !important;
    height: 35px !important;
    background: url("../logos/crecix_dark.png") no-repeat !important;
}

@media (max-width: 767px) {
    .logo {
        width: 100px;
    }
}

.inside {
    background: url("../logos/crecix_light.png") no-repeat !important;
    background-size: 100% 100% !important;
}
