/* Sign-in, sign-up, password and verification pages (layouts/auth): logo, form, compact legal links. */
body.mm-auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.mm-auth-skip {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    padding: 8px 12px;
    border-radius: 6px;
    background: #fff;
    color: #111;
}

.mm-auth-top {
    display: flex;
    justify-content: center;
    padding: 28px 16px 8px;
}

.mm-auth-logo {
    display: inline-flex;
    border-radius: 6px;
}

.mm-auth-logo img {
    max-height: 52px;
    max-width: 200px;
    width: auto;
}

.mm-auth-main {
    flex: 1 0 auto;
    outline: none;
}

/* The page body used to sit under a header and a breadcrumb banner; keep only a little space now. */
.mm-auth-page .login-section {
    padding: 8px 0 32px;
}

.mm-auth-page .login-left--section {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.mm-auth-page .login-box .content {
    margin-bottom: 1.5rem !important;
}

.mm-auth-links {
    flex-shrink: 0;
    padding: 16px 16px 28px;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.85;
}

.mm-auth-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
}

.mm-auth-links a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mm-auth-links p {
    margin: 0;
}

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

@media (max-width: 575.98px) {
    .mm-auth-top {
        padding-top: 18px;
    }

    .mm-auth-page .login-box {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* 16px or more stops iOS zooming into a field when the keyboard opens. */
    .mm-auth-page input,
    .mm-auth-page select,
    .mm-auth-page textarea {
        font-size: 16px;
    }
}

/* template_two wraps its forms in .account.py-60 */
.mm-auth-page .account.py-60 {
    padding-top: 8px !important;
    padding-bottom: 32px !important;
}

/* Title for the pages whose form has no heading of its own (password reset, email and SMS codes). */
.mm-auth-title {
    margin: 8px 16px 0;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.3;
}

/* The box no longer needs to fill a tall hero area. */
.mm-auth-page .login-box {
    height: auto;
}

@media (min-width: 576px) {
    .mm-auth-page .login-box {
        padding: 40px 48px 32px;
    }
}

/* One-field 6-digit code (2FA, email and SMS codes, password reset). */
.mm-code__label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.mm-auth-page .mm-code__input,
.mm-code__input {
    width: 100%;
    max-width: 320px;
    height: 56px;
    margin: 0 auto;
    display: block;
    text-align: center;
    font-size: 1.75rem !important;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.45em;
    padding: 0 0 0 0.45em;
}

.mm-code__help {
    margin: 8px 0 0;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.8;
}

.mm-auth-page .verification-code-wrapper {
    width: 100%;
    max-width: 480px;
    padding: 32px 20px;
}

.mm-auth-page .mm-code__input:focus {
    border: 1px solid currentColor;
}
