html, body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.login-block {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login-title {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    font-size: clamp(2.25rem, 2.4vw + 1.75rem, 3.75rem);
    line-height: 1.15;
}

.login-title-accent {
    color: #ffffff;
    opacity: 0.9;
}

.login-subtitle {
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    font-size: clamp(1rem, 0.6vw + 0.9rem, 1.35rem);
    opacity: 0.92;
}

.login-block .container {
    max-width: 1200px;
}

.background-radial-gradient {
    background-color: hsl(218, 41%, 15%);
    background-image: radial-gradient(650px circle at 0% 0%,
            hsl(218, 41%, 35%) 15%,
            hsl(218, 41%, 30%) 35%,
            hsl(218, 41%, 20%) 75%,
            hsl(218, 41%, 19%) 80%,
            transparent 100%),
        radial-gradient(1250px circle at 100% 100%,
            hsl(218, 41%, 45%) 15%,
            hsl(218, 41%, 30%) 35%,
            hsl(218, 41%, 20%) 75%,
            hsl(218, 41%, 19%) 80%,
            transparent 100%);
}

#radius-shape-1 {
    height: 220px;
    width: 220px;
    top: -60px;
    left: -130px;
    background: radial-gradient(#44006b, #ad1fff);
    overflow: hidden;
}

#radius-shape-2 {
    border-radius: 38% 62% 63% 37% / 70% 33% 67% 30%;
    bottom: -60px;
    right: -110px;
    width: 300px;
    height: 300px;
    background: radial-gradient(#44006b, #ad1fff);
    overflow: hidden;
}

.bg-glass {
    background-color: hsla(0, 0%, 100%, 0.9) !important;
    backdrop-filter: saturate(200%) blur(25px);
}

.login-logo {
    height: 110px;
    width: auto;
}

@media (max-width: 575.98px) {
    .login-logo {
        height: 80px;
    }
}

/* Micro-animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-14px) scale(1.04);
    }
}

.anim-fade-up {
    opacity: 0;
    animation: fadeUp 0.7s ease-out forwards;
}

.anim-delay-1 {
    animation-delay: 0.05s;
}

.anim-delay-2 {
    animation-delay: 0.2s;
}

.anim-delay-3 {
    animation-delay: 0.35s;
}

.anim-float {
    animation: floatShape 6s ease-in-out infinite;
}

.login-logo {
    transition: transform 0.25s ease;
}

.login-logo:hover {
    transform: scale(1.08) rotate(-2deg);
}

.auth-box {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.auth-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.25) !important;
}

.login-input {
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.login-input:focus {
    transform: translateY(-1px);
    box-shadow: 0 0.35rem 1rem rgba(68, 0, 107, 0.18);
}

.login-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.6rem 1.2rem rgba(68, 0, 107, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.login-link {
    position: relative;
}

.login-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.25s ease;
}

.login-link:hover::after {
    width: 100%;
}

.checkbox-fade .cr {
    transition: transform 0.2s ease;
}

.checkbox-fade input:checked ~ .cr {
    transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {

    .anim-fade-up,
    .anim-float,
    .login-logo,
    .auth-box,
    .login-input,
    .login-btn,
    .login-link::after {
        animation: none !important;
        transition: none !important;
    }

    .anim-fade-up {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 991.98px) {
    #radius-shape-1 {
        width: 140px;
        height: 140px;
        left: -60px;
    }

    #radius-shape-2 {
        width: 200px;
        height: 200px;
        right: -60px;
    }
}

@media (max-width: 575.98px) {
    #radius-shape-1 {
        width: 100px;
        height: 100px;
        top: -30px;
        left: -30px;
    }

    #radius-shape-2 {
        width: 150px;
        height: 150px;
        bottom: -30px;
        right: -30px;
    }
}
