/* MailPac sign-in pages: log in and its code step, sign up and its second step, forgot and
   reset password (layout: app/Views/admin/main/mailpac_auth_layout.php).
   Loaded after site.css, which holds the tokens, buttons, bands, cards and form fields.

   The forms are driven by the app's RequireJS modules (admin/login, admin/register,
   admin/password) and jquery-validate 1.11.1, which marks a failing field with the class
   input-error and adds its message as <label class="input-error"> after the field's wrapper. */

.mp-auth {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ------------------------------------------------------------------ band: top bar + intro */
.mp-auth__band { padding-bottom: 156px; }
.mp-auth__top { position: relative; z-index: 5; padding: 18px 0; }
.mp-auth__toprow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.mp-auth__topnote {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}
.mp-auth__topnote .mp-btn { min-height: 40px; padding: 8px 20px; font-size: 14px; }

.mp-auth__intro {
    position: relative;
    padding-top: 36px;
    text-align: center;
}
.mp-auth__intro h1 {
    font-size: clamp(30px, 4.2vw, 46px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.mp-auth__intro h1 span {
    text-decoration: underline;
    text-decoration-color: var(--mp-pink);
    text-decoration-thickness: 5px;
    text-underline-offset: 10px;
    text-decoration-skip-ink: none;
}
.mp-auth__lead {
    max-width: 640px;
    margin: 18px auto 0;
    font-size: clamp(16px, 1.8vw, 19px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    text-wrap: balance;
}

/* ------------------------------------------------------------------ main: the card overlaps the band */
.mp-auth__main {
    position: relative;
    z-index: 3;
    flex: 1;
    margin-top: -112px;
    padding-bottom: 80px;
}

.mp-auth-card {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    max-width: 980px;
    margin: 0 auto;
    border-radius: var(--mp-radius-lg);
    background: var(--mp-white);
    box-shadow: var(--mp-shadow-lg);
    overflow: hidden;
}
.mp-auth-card--wide { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); max-width: 1040px; }
.mp-auth-card--narrow { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.mp-auth-card--medium { max-width: 600px; }

.mp-auth-card__main { padding: 46px 52px 44px; }
.mp-auth-card__title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--mp-blue);
}
.mp-auth-card__sub { margin-top: 8px; font-size: 15px; color: var(--mp-muted); }
.mp-auth-card__sub strong { color: var(--mp-ink); font-weight: 600; overflow-wrap: anywhere; }
.mp-auth-form { margin-top: 28px; }
.mp-auth-card__alt {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--mp-line);
    font-size: 15px;
    color: var(--mp-muted);
    text-align: center;
}

/* ------------------------------------------------------------------ fields */
.mp-auth .mp-input,
.mp-auth .mp-select {
    min-height: 50px;
    font-size: 16px;            /* 16px stops phones zooming into the field */
}
.mp-auth .mp-input:focus,
.mp-auth .mp-select:focus { box-shadow: 0 0 0 4px rgba(12, 62, 157, 0.18); }
.mp-auth .mp-input[readonly] { background: var(--mp-sky-2); color: var(--mp-muted); }
.mp-auth .mp-input::placeholder { color: #98A2BC; }
.mp-auth .mp-help { margin-top: -2px; }

.mp-auth .mp-select {
    -webkit-appearance: none;
            appearance: none;
    padding-right: 44px;
    background: var(--mp-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C3E9D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
    cursor: pointer;
}

/* The wrapper jquery-validate treats as the field's parent; icon and show-password button sit
   inside it at the input's height, so a message added after the input still flows below. */
.mp-auth-control { position: relative; }
.mp-auth-control__icon {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 48px;
    height: 50px;
    color: #7A87A8;
    pointer-events: none;
    transition: color .15s ease;
}
.mp-auth-control__icon svg { width: 20px; height: 20px; }
.mp-auth-control:focus-within .mp-auth-control__icon { color: var(--mp-blue); }
.mp-auth-control--icon > .mp-input { padding-left: 46px; }
.mp-auth-control--reveal > .mp-input { padding-right: 54px; }

.mp-auth-reveal {
    position: absolute;
    top: 3px;
    right: 3px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #6B7899;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.mp-auth-reveal:hover { background: var(--mp-sky); color: var(--mp-blue); }
.mp-auth-reveal::before {
    content: "";
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mp-auth-reveal[aria-pressed="true"] { color: var(--mp-blue); }
.mp-auth-reveal[aria-pressed="true"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.9 4.24A9.1 9.1 0 0 1 12 4c6.5 0 10 7 10 7a13.3 13.3 0 0 1-1.67 2.43M6.6 6.6C3.6 8.2 2 11 2 11s3.5 7 10 7a9.3 9.3 0 0 0 4.4-1.1M14.1 14.1a3 3 0 0 1-4.2-4.2'/%3E%3Cpath d='M2 2l20 20'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.9 4.24A9.1 9.1 0 0 1 12 4c6.5 0 10 7 10 7a13.3 13.3 0 0 1-1.67 2.43M6.6 6.6C3.6 8.2 2 11 2 11s3.5 7 10 7a9.3 9.3 0 0 0 4.4-1.1M14.1 14.1a3 3 0 0 1-4.2-4.2'/%3E%3Cpath d='M2 2l20 20'/%3E%3C/svg%3E");
}

.mp-auth-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.mp-auth-optional { font-weight: 400; color: var(--mp-muted); }
.mp-auth-help-after { margin-top: -10px; }
.mp-auth-forgot {
    justify-self: end;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mp-blue);
    text-decoration: none;
}
.mp-auth-forgot:hover { text-decoration: underline; text-decoration-color: var(--mp-pink); text-underline-offset: 3px; }

.mp-auth-checks { display: grid; gap: 12px; }
.mp-auth .mp-check a { color: var(--mp-blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(246, 8, 173, 0.55); text-underline-offset: 3px; }

/* ------------------------------------------------------------------ messages */
/* jquery-validate's message: <label for="field" class="input-error">. The same class lands on
   the failing field itself, so the two are told apart by element. */
.mp-auth label.input-error {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: #C62828;
}
.mp-auth label.input-error::before {
    content: "";
    flex: none;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mp-auth-control > label.input-error { margin-top: 8px; }     /* placed right after its field */
.mp-auth .mp-input.input-error,
.mp-auth .mp-select.input-error { border-color: #C62828; }
.mp-auth .mp-input.input-error:focus,
.mp-auth .mp-select.input-error:focus { box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.16); }
.mp-auth .mp-check input.input-error { outline: 2px solid #C62828; outline-offset: 2px; }

/* The answer boxes the modules fill (and empty, and show/hide). Empty means hidden, even after
   the module's .show(): !important beats the inline display it sets. */
.mp-auth-alert { margin: 0; overflow-wrap: anywhere; }
.mp-auth-alert:empty { display: none !important; }
.mp-auth-alert a { color: inherit; font-weight: 600; }
.mp-auth-note { font-size: 14px; }
.mp-auth-note code {
    padding: 1px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.75);
    font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ------------------------------------------------------------------ buttons */
.mp-auth-submit { width: 100%; margin-top: 4px; }
.mp-auth .mp-btn[disabled] {
    opacity: 0.72;
    cursor: progress;
    transform: none;
    box-shadow: none;
}
/* A label the module writes in capitals ("REGISTER ACCOUNT") still reads in sentence case. */
.mp-auth-submit--sentence { display: block; text-align: center; text-transform: lowercase; }
.mp-auth-submit--sentence::first-letter { text-transform: uppercase; }

.mp-auth-btn-outline {
    border-color: var(--mp-line);
    background: var(--mp-white);
    color: var(--mp-blue);
}
.mp-auth-btn-outline:hover { border-color: var(--mp-blue); background: var(--mp-sky-2); }

.mp-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: -8px 0 18px -6px;
    padding: 6px 10px 6px 4px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mp-blue);
    text-decoration: none;
}
.mp-auth-back:hover { background: var(--mp-sky); }
.mp-auth-back svg { width: 18px; height: 18px; transform: rotate(180deg); }

/* ------------------------------------------------------------------ side panel */
.mp-auth-card__aside {
    position: relative;
    padding: 46px 44px;
    background: var(--mp-sky);
    overflow: hidden;
    isolation: isolate;
}
.mp-auth-card__aside::before {
    /* soft pink disc, as on the landing page's step art */
    content: "";
    position: absolute;
    z-index: -1;
    width: 300px;
    height: 300px;
    right: -110px;
    bottom: -130px;
    border-radius: 50%;
    background: rgba(246, 8, 173, 0.10);
}
.mp-auth-card__aside::after {
    /* the band's dot texture, faded into the corner */
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 220px;
    height: 180px;
    background-image: radial-gradient(rgba(12, 62, 157, 0.16) 1.3px, transparent 1.5px);
    background-size: 14px 14px;
    -webkit-mask-image: radial-gradient(100% 100% at 100% 0%, #000 0%, transparent 75%);
            mask-image: radial-gradient(100% 100% at 100% 0%, #000 0%, transparent 75%);
}
.mp-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #C2058A;             /* the deep end of the pink band: 5.1:1 on the sky panel */
}
.mp-auth-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mp-pink);
    box-shadow: 0 0 0 4px rgba(246, 8, 173, 0.18);
}
.mp-auth-aside__title {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--mp-blue);
}
.mp-auth-media {
    aspect-ratio: 16 / 10;
    margin-bottom: 24px;
    border-radius: 16px;
    background: var(--mp-sky-2) center / cover no-repeat;
    box-shadow: 0 10px 24px rgba(12, 62, 157, 0.12);
}

.mp-auth-perks {
    display: grid;
    gap: 18px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.mp-auth-perks li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    font-size: 14px;
    line-height: 1.5;
    color: var(--mp-muted);
}
.mp-auth-perks strong,
.mp-auth-steps strong {
    display: block;
    margin-bottom: 2px;
    font-size: 15px;
    font-weight: 600;
    color: var(--mp-blue);
}
.mp-auth-perks__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--mp-white);
    color: var(--mp-blue);
    box-shadow: 0 6px 16px rgba(12, 62, 157, 0.10);
}
.mp-auth-perks__icon svg { width: 22px; height: 22px; }
.mp-auth-aside__cta { margin-top: 28px; }

/* A tall panel (sign up) ends with the landing page's address-card art. */
.mp-auth-card__aside--art { display: flex; flex-direction: column; }
.mp-auth-art {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: auto auto -14px;
    padding-top: 26px;
    filter: drop-shadow(0 14px 24px rgba(12, 62, 157, 0.14));
}

.mp-auth-steps {
    display: grid;
    gap: 20px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.mp-auth-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    font-size: 14px;
    line-height: 1.5;
    color: var(--mp-muted);
}
.mp-auth-steps li + li::before {
    /* the line joining one step to the next */
    content: "";
    position: absolute;
    left: 18px;
    top: -20px;
    width: 2px;
    height: 20px;
    background: #C9D6F5;
}
.mp-auth-steps__num {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #C9D6F5;
    background: var(--mp-white);
    font-weight: 700;
    font-size: 15px;
    color: var(--mp-blue);
}
.mp-auth-steps__num svg { width: 18px; height: 18px; }
.mp-auth-steps li[aria-current="step"] .mp-auth-steps__num {
    border-color: var(--mp-pink);
    background: var(--mp-pink);
    color: var(--mp-white);
    box-shadow: 0 0 0 5px rgba(246, 8, 173, 0.16);
}
.mp-auth-steps li.is-done .mp-auth-steps__num {
    border-color: var(--mp-blue);
    background: var(--mp-blue);
    color: var(--mp-white);
}

/* ------------------------------------------------------------------ the sign-in code (OTP) */
.mp-auth-badge {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: var(--mp-sky);
    color: var(--mp-blue);
    position: relative;
}
.mp-auth-badge::after {
    content: "";
    position: absolute;
    right: -3px;
    top: -3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--mp-white);
    background: var(--mp-pink);
}
.mp-auth-badge svg { width: 28px; height: 28px; }
.mp-otp { text-align: center; }
.mp-otp__boxes {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    max-width: 372px;
    margin: 28px auto 22px;
}
.mp-otp__box {
    width: 100%;
    min-width: 0;
    height: 62px;
    padding: 0;
    border: 1.5px solid #C9D3EA;
    border-radius: 14px;
    background: var(--mp-white);
    font: 600 26px/1 "Poppins", sans-serif;
    color: var(--mp-blue);
    text-align: center;
    caret-color: var(--mp-pink);
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.mp-otp__box:focus { outline: none; border-color: var(--mp-blue); box-shadow: 0 0 0 4px rgba(12, 62, 157, 0.18); }
.mp-otp__box.is-filled { border-color: var(--mp-blue); background: var(--mp-sky-2); }
.mp-otp.is-error .mp-otp__box { border-color: #C62828; }
.mp-otp .mp-auth-alert,
.mp-otp .mp-auth-note { margin-bottom: 18px; text-align: left; }
.mp-otp .mp-auth-submit { margin: 0 0 18px; }

/* ------------------------------------------------------------------ "Log in as" dialog (Bootstrap 4 modal JS) */
.mp-auth .modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}
.mp-auth .fade { transition: opacity .15s linear; }
.mp-auth .fade:not(.show) { opacity: 0; }
.mp-auth .modal-dialog {
    position: relative;
    display: flex;
    align-items: center;            /* centred, like Bootstrap's .modal-dialog-centered */
    width: auto;
    max-width: 480px;
    min-height: calc(100% - 64px);
    margin: 32px auto;
    padding: 0 var(--mp-gutter);
    pointer-events: none;
    transition: transform .2s ease-out;
}
.mp-auth .modal.fade .modal-dialog { transform: translateY(-24px); }
.mp-auth .modal.show .modal-dialog { transform: none; }
.mp-auth .modal.modal-static .modal-dialog { transform: scale(1.02); }
.mp-auth .modal-content {
    position: relative;
    width: 100%;
    padding: 34px 32px 28px;
    border-radius: var(--mp-radius-lg);
    background: var(--mp-white);
    box-shadow: var(--mp-shadow-lg);
    pointer-events: auto;
    outline: 0;
}
.mp-auth .modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(6, 31, 82, 0.62);
}
.mp-auth .modal-backdrop.fade { opacity: 0; }
.mp-auth .modal-backdrop.show { opacity: 1; }
body.mp-auth.modal-open { overflow: hidden; }

.mp-auth-modal__title { font-size: 22px; font-weight: 600; color: var(--mp-blue); }
.mp-auth-modal__sub { margin-top: 6px; font-size: 15px; color: var(--mp-muted); }
.mp-auth-choices { display: grid; gap: 10px; margin: 22px 0 18px; padding: 0; border: 0; min-width: 0; }
.mp-auth-choice {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 12px 16px;
    border: 1.5px solid var(--mp-line);
    border-radius: 14px;
    font-weight: 500;
    color: var(--mp-ink);
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.mp-auth-choice:hover { border-color: #AFC0E8; }
.mp-auth-choice:has(input:checked) { border-color: var(--mp-blue); background: var(--mp-sky-2); }
.mp-auth-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--mp-pink); }
.mp-auth-modal .mp-auth-alert { margin-bottom: 18px; }
.mp-auth-modal__foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------------ footer */
.mp-auth__foot { background: var(--mp-sky-2); border-top: 1px solid var(--mp-line); }
.mp-auth__footrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    padding-block: 22px 26px;
    font-size: 14px;
    color: var(--mp-muted);
}
.mp-auth__footnav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.mp-auth__footnav a { color: var(--mp-muted); text-decoration: none; }
.mp-auth__footnav a:hover { color: var(--mp-blue); text-decoration: underline; }

.mp-auth-nowrap { white-space: nowrap; }
.mp-auth-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 880px) {
    .mp-auth__band { padding-bottom: 132px; }
    .mp-auth__intro { padding-top: 24px; }
    .mp-auth__main { margin-top: -96px; padding-bottom: 56px; }
    .mp-auth-card,
    .mp-auth-card--wide { grid-template-columns: minmax(0, 1fr); max-width: 600px; }
    .mp-auth-card--narrow { max-width: 520px; }
    .mp-auth-card__aside { padding: 34px 40px 38px; }
    .mp-auth-art { display: none; }     /* the panel sits under the form here; keep it short */
}

@media (max-width: 600px) {
    .mp-auth__top { padding: 14px 0; }
    .mp-auth__topnote-text { display: none; }
    .mp-auth__topnote .mp-btn { min-height: 40px; padding: 8px 16px; }
    .mp-auth__intro h1 span { text-decoration-thickness: 4px; text-underline-offset: 8px; }
    .mp-auth__lead { margin-top: 14px; }
    .mp-auth__band { padding-bottom: 116px; }
    .mp-auth__main { margin-top: -84px; padding-bottom: 44px; }
    .mp-auth-card { border-radius: 22px; }
    .mp-auth-card__main { padding: 30px 20px 28px; }
    .mp-auth-card__aside { padding: 28px 20px 30px; }
    .mp-auth-card__title { font-size: 22px; }
    .mp-auth-form { margin-top: 22px; }
    .mp-auth-grid2 { grid-template-columns: minmax(0, 1fr); }
    .mp-auth-aside__title { font-size: 20px; }
    .mp-otp__boxes { gap: 8px; }
    .mp-otp__box { height: 56px; font-size: 22px; border-radius: 12px; }
    .mp-auth .modal-content { padding: 28px 20px 22px; }
    .mp-auth-modal__foot .mp-btn { flex: 1; }
    .mp-auth__footrow { justify-content: center; text-align: center; }
    .mp-auth__footnav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .mp-auth .fade,
    .mp-auth .modal-dialog { transition: none; }
}
