@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
    }
}
body.auth-page.auth-login .right-panel {
    align-items: center;
}

body.auth-page.auth-login .form-container {
    width: min(100%, 500px);
}

body.auth-page.auth-login .auth-title {
    max-width: 14ch;
}

body.auth-page.auth-login .login-form {
    margin-top: 20px;
    gap: 16px;
}

body.auth-page.auth-login .auth-form-note {
    margin-top: 16px;
}

body.auth-page.auth-login .login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border-radius: 14px;
    background: linear-gradient(135deg, #2f4158 0%, #3e5878 100%);
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 14px 26px rgba(30, 49, 71, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.auth-page.auth-login .login-submit svg {
    width: 16px;
    height: 16px;
}

body.auth-page.auth-login .login-submit:hover,
body.auth-page.auth-login .login-submit:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 16px 30px rgba(30, 49, 71, 0.25);
}

body.auth-page.auth-login .auth-foot-link {
    margin-top: 12px;
}

@media (max-width: 768px) {
    body.auth-page.auth-login .form-container {
        width: min(100%, 500px);
        margin-inline: auto;
        padding: 24px 20px;
        border-radius: 26px !important;
    }

    body.auth-page.auth-login .auth-form-note {
        margin-top: 14px !important;
        margin-bottom: 8px;
        padding: 10px 12px !important;
        border-radius: 14px !important;
    }

    body.auth-page.auth-login .auth-form {
        gap: 10px !important;
    }

    body.auth-page.auth-login .login-form {
        gap: 10px;
    }

    body.auth-page.auth-login .auth-form-note {
        margin-top: 12px;
        padding: 10px 12px;
    }

    body.auth-page.auth-login .auth-foot-link {
        margin-top: 10px;
    }
}
