/*
 * Simple centred auth pages: login, register, forgot password, reset password.
 * The templates mark the page with .wo_auth_simple; nothing else is affected.
 * No banner, no picture, no watermark: one white card in the middle.
 */

html body:has(.wo_auth_simple) {
    background: #f3f4f6 !important;
}

.wrapper:has(> .wo_auth_simple) {
    min-height: 100vh;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    box-sizing: border-box;
}

.login.wo_auth_simple {
    background: transparent;
    min-height: 0;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    flex-direction: column;
    overflow: visible;
}

.login.wo_auth_simple .col-md-6.wo_auth_col {
    width: 100% !important;
    max-width: 100%;
    float: none;
    padding: 0;
    background: transparent;
    isolation: auto;
}

/* No watermark behind the form. */
.login.wo_auth_simple .col-md-6.wo_auth_col::before,
.login.wo_auth_simple .col-md-6.wo_auth_col::after {
    content: none !important;
    display: none !important;
}

.login.wo_auth_simple .login_innre {
    display: block;
    min-height: 0;
    padding: 32px 28px 28px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.06);
}

.login.wo_auth_simple .login_innre::before,
.login.wo_auth_simple .login_innre::after {
    content: none;
    display: none;
}

.login.wo_auth_simple .wo_auth_logo {
    display: block;
    text-align: center;
    margin: 0 0 20px;
}

.login.wo_auth_simple .wo_auth_logo img {
    max-height: 44px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
}

.login.wo_auth_simple form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
}

.login.wo_auth_simple .title {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin: 0 0 6px;
}

.login.wo_auth_simple .desc {
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
    opacity: 1;
    letter-spacing: 0;
    text-align: center;
    margin: 0 0 20px;
}

.login.wo_auth_simple .wow_form_fields {
    margin: 0 0 16px;
}

.login.wo_auth_simple .wow_form_fields > label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    opacity: 1;
    margin-bottom: 6px;
}

.login.wo_auth_simple .wow_form_fields input,
.login.wo_auth_simple .wow_form_fields select {
    height: 46px;
    font-size: 15px;
    border-radius: 10px;
}

.login.wo_auth_simple .forgot_password {
    margin: 0 0 20px;
    gap: 8px;
}

.login.wo_auth_simple .forgot_password > a,
.login.wo_auth_simple .terms label {
    font-size: 14px;
}

.login.wo_auth_simple .login_signup_combo {
    margin: 8px 0 0;
}

.login.wo_auth_simple .login_signup_combo .login__ .btn {
    line-height: 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
}

.login.wo_auth_simple .login_signup_combo .signup__ {
    margin: 16px 0 0;
    font-size: 14px;
}

.login.wo_auth_simple .social_btns {
    margin: 20px 0 8px;
}

.login.wo_auth_simple .errors,
.login.wo_auth_simple .success {
    font-size: 14px;
    border-radius: 10px;
}

/* Keep the form short: no member avatars or app-store badges on the card. */
.login.wo_auth_simple .random_users,
.login.wo_auth_simple .wo_side_apps {
    display: none !important;
}

.login.wo_auth_simple .footer {
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
    background: transparent;
    position: static;
}

.login.wo_auth_simple .footer a {
    color: #4b5563;
}

.login.wo_auth_simple a:focus-visible,
.login.wo_auth_simple button:focus-visible,
.login.wo_auth_simple input:focus-visible,
.login.wo_auth_simple select:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .wrapper:has(> .wo_auth_simple) {
        padding: 16px 12px;
        align-items: flex-start;
    }

    .login.wo_auth_simple .login_innre {
        padding: 24px 18px 20px;
    }

    .login.wo_auth_simple .title {
        font-size: 22px;
    }
}
