/* 前台登录、注册、重置密码页 */
html body.mt-auth-body, html.bz-auth body.mt-auth-body { background: #f4f5f7 !important; }
.mt-auth-body #page-container, .mt-auth-body #main-container { background: transparent; }
.mt-auth { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px 16px; }
.mt-auth-card { width: 100%; max-width: 400px; padding: 32px; border: 1px solid #e4e4e7; border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(24, 24, 27, .08); color: #18181b; font-size: 14px; }
.mt-auth-head { margin-bottom: 24px; text-align: center; }
.mt-auth-home { display: block; width: fit-content; margin: 0 auto; }
.mt-auth-logo { display: block; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 12px; object-fit: contain; }
.mt-auth-head h1 { margin: 0; color: #18181b; font-size: 20px; font-weight: 600; line-height: 1.4; }
.mt-auth-head p { margin: 4px 0 0; color: #71717a; font-size: 14px; overflow-wrap: anywhere; }
.mt-auth-field { margin-bottom: 16px; }
.mt-auth-field > label { display: block; margin-bottom: 6px; color: #3f3f46; font-size: 14px; font-weight: 500; }
.mt-auth-input { position: relative; }
.mt-auth-card input[type="text"], .mt-auth-card input[type="password"] { display: block; width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #d4d4d8; border-radius: 10px; background: #fff; color: #18181b; font-size: 16px; outline: 0; transition: border-color .15s, box-shadow .15s; }
.mt-auth-card input[type="text"]:focus, .mt-auth-card input[type="password"]:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.mt-auth-card .mt-auth-input input:not(:only-child) { padding-right: 44px; }
.mt-auth-eye { position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #71717a; cursor: pointer; }
.mt-auth-eye:hover, .mt-auth-eye[aria-pressed="true"] { color: #18181b; }
.mt-auth-eye svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mt-auth-code { display: flex; gap: 8px; }
.mt-auth-code input { flex: 1; }
.mt-auth-send { flex: none; height: 44px; padding: 0 12px; border: 1px solid #d4d4d8; border-radius: 10px; background: #fff; color: #18181b; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.mt-auth-send:hover { background: #f4f4f5; }
.mt-auth-send:disabled { color: #a1a1aa; cursor: default; }
.mt-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mt-auth-check { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: #3f3f46; font-size: 14px; font-weight: 400; line-height: 20px; cursor: pointer; }
.mt-auth-check input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #2563eb; }
.mt-auth-terms { margin-bottom: 16px; }
.mt-auth-card a { color: #2563eb; font-size: 14px; text-decoration: none; }
.mt-auth-card a:hover { color: #1d4ed8; text-decoration: underline; }
.mt-auth-card a.text-warning { color: #2563eb !important; }
.mt-auth-submit { display: block; width: 100%; height: 44px; border: 0; border-radius: 10px; background: #2563eb; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .15s; }
.mt-auth-submit:hover { background: #1d4ed8; }
.mt-auth-submit:disabled { background: #93b4f5; cursor: default; }
.mt-auth-submit:focus-visible, .mt-auth-eye:focus-visible, .mt-auth-send:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.mt-auth-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.mt-auth-foot a:last-child { color: #71717a; }
/* 图形验证码插件的表单 */
.mt-auth-card .row { display: flex; align-items: flex-end; gap: 8px; margin: 0 0 16px !important; }
.mt-auth-card .row > [class*="col-"] { flex: 1 1 0; width: auto; min-width: 0; padding: 0; }
.mt-auth-card .form-floating { display: flex; flex-direction: column-reverse; }
.mt-auth-card .form-floating > .form-control { height: 44px; min-height: 44px; padding: 0 12px; }
.mt-auth-card .form-floating > .form-control::placeholder { color: #a1a1aa; }
.mt-auth-card .form-floating > label { position: static; height: auto; padding: 0; margin-bottom: 6px; border: 0; color: #3f3f46; font-size: 14px; font-weight: 500; opacity: 1 !important; transform: none !important; }
.mt-auth-card .image-code { display: block; width: 100%; height: 44px !important; border: 1px solid #d4d4d8; border-radius: 10px; object-fit: contain; }
@media (max-width: 480px) {
    .mt-auth { align-items: flex-start; padding: 16px; }
    .mt-auth-card { margin-top: 16px; padding: 24px 20px; }
}
