.mx-auth-page,
.mx-auth-page .site-shell,
.mx-auth-page .main {
    min-height: 100vh;
    background: #fff;
    color: #151619;
}

.mx-auth-topbar {
    height: 72px;
    padding: 0 36px;
    border-bottom: 1px solid #eef0f2;
    background: #fff;
}

.mx-auth-topbar .brand {
    color: #151619;
    font-size: 16px;
    font-weight: 800;
}

.mx-auth-topbar .brand-mark {
    width: 22px;
    height: 22px;
    overflow: hidden;
    position: relative;
    border-radius: 50%;
    background: #0f9d8a;
    color: #fff;
    font-size: 10px;
}

.mx-auth-topbar .brand-mark::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    top: -2px;
    right: -2px;
    border-radius: 50%;
    background: #8ddf87;
}

.mx-auth-login {
    min-height: calc(100vh - 72px);
    display: grid;
    place-items: center;
    padding: 48px 20px 96px;
}

.mx-login-card { width: min(100%, 414px); margin-top: -54px; }
.mx-login-card h1 { margin: 0; color: #151619; font-size: 25px; }
.mx-login-card > p { margin: 11px 0 26px; color: #747b85; font-size: 14px; }
.mx-login-form { display: grid; gap: 16px; }
.mx-login-form .field { gap: 7px; }
.mx-login-form label { color: #24272b; font-size: 13px; font-weight: 700; }
.mx-login-form .label-row { align-items: center; }
.mx-login-form .label-row a { color: #5d6e89; font-size: 12px; text-decoration: none; }
.mx-login-form input[type="text"],
.mx-login-form input[type="password"],
.mx-login-form input[type="email"] {
    min-height: 36px;
    border-color: #d5e7e1;
    border-radius: 999px;
    padding: 7px 13px;
    background: #f4fbf8;
    color: #20242a;
    font-size: 14px;
}

.mx-login-form input:focus { border-color: #0f9d8a; box-shadow: 0 0 0 3px rgba(15, 157, 138, .12); }
.mx-password-field { position: relative; }
.mx-password-field input { padding-right: 48px !important; }
.mx-password-field button { position: absolute; top: 50%; right: 7px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #5f7770; cursor: pointer; padding: 0; transform: translateY(-50%); }
.mx-password-field button:hover { background: #e2f4ee; color: #087f70; }
.mx-password-field button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.mx-login-submit { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; background: #0f8f7f; color: #fff; cursor: pointer; font: inherit; font-size: 14px; font-weight: 750; }
.mx-login-submit:hover { background: #087b6e; }
.mx-login-submit svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.mx-login-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; color: #7d8d88; font-size: 13px; }.mx-login-links a,.mx-login-form .label-row a { color: #0b8b7b; text-decoration: none; }.mx-login-links a:hover,.mx-login-form .label-row a:hover { color: #066e62; }
.mx-captcha-field label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.mx-captcha-field label span { border-radius: 999px; padding: 3px 9px; background: #e4f5ef; color: #087f70; font-size: 12px; font-weight: 800; }.mx-auth-recovery .mx-login-card { margin-top: -54px; }
.mx-auth-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; }.mx-auth-modal[hidden] { display: none; }.mx-auth-modal-backdrop { position: absolute; inset: 0; background: rgba(16, 34, 30, .42); backdrop-filter: blur(3px); }.mx-auth-modal-card { position: relative; z-index: 1; width: min(100%, 440px); max-height: min(760px, calc(100vh - 40px)); overflow: auto; border: 1px solid #dcebe6; border-radius: 16px; padding: 26px; background: #fff; box-shadow: 0 24px 72px rgba(12, 44, 37, .24); }.mx-auth-modal-card h2 { margin: 0; color: #16312b; font-size: 23px; }.mx-auth-modal-card>p { margin: 9px 0 22px; color: #72817d; font-size: 14px; }.mx-auth-modal-close { position: absolute; top: 13px; right: 13px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #72817d; font-size: 22px; cursor: pointer; }.mx-auth-modal-close:hover { background: #e6f5f0; color: #087f70; }.mx-register-code>div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }.mx-register-code button { min-height: 36px; border: 1px solid #b9ded4; border-radius: 999px; padding: 0 12px; background: #f1faf7; color: #087f70; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }.mx-register-code button:hover { background: #e0f4ed; }.mx-auth-modal-open { overflow: hidden; }
.mx-auth-notice { position: fixed; z-index: 200; top: 20px; left: 50%; max-width: calc(100vw - 40px); display: inline-flex; align-items: center; gap: 8px; border: 1px solid #f4d37a; border-radius: 10px; padding: 10px 14px; background: #fff8e1; box-shadow: 0 12px 30px rgba(120, 85, 5, .16); color: #9a6700; font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, -10px); transition: opacity .18s ease, transform .18s ease; }.mx-auth-notice.is-visible { opacity: 1; transform: translate(-50%, 0); }.mx-auth-notice-icon { width: 18px; height: 18px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e6ad27; color: #fff; font-size: 13px; font-weight: 900; line-height: 1; }
.mx-login-card .admin-toast-stack { margin-bottom: 16px; }.mx-login-card .admin-toast { border-radius: 8px; }

@media (max-width: 620px) {
    .mx-auth-topbar { height: 62px; padding: 0 18px; }.mx-auth-login { min-height: calc(100vh - 62px); padding: 36px 20px 64px; }.mx-login-card { margin-top: -22px; }
}
