/* Shared geometry for login, user registration and password recovery. */
.user-auth-page.user-auth-page {
    --auth-card-width: 480px;
    --auth-card-height: 608px;
    display: flex !important;
    flex-direction: column;
    min-height: 100vh;
    height: auto;
    overflow: visible;
    color: #333;
    font-family: "Microsoft YaHei", sans-serif;
    background: #eff9ff url('/images/auth/user-login-bg.png') center / cover no-repeat !important;
}
.user-auth-page.user-auth-page .user-auth-card.email-register-card { padding: 30px; text-align: left; scrollbar-width: none; }
.user-auth-page.user-auth-page .user-auth-card.email-register-card::-webkit-scrollbar { display: none; width: 0; height: 0; }
.email-register-card .email-register-title { margin: 0 0 32px; font-size: 24px; font-weight: 400; line-height: 32px; color: #111; }
.email-register-tabs { display: flex; gap: 40px; height: 26px; margin-bottom: 30px; font-size: 16px; }
.email-register-tabs a { color: #111; text-decoration: none; }
.email-register-tabs button { padding: 0; border: 0; background: none; color: #111; font: inherit; cursor: pointer; }
.email-register-tabs span { color: #335aff; border-bottom: 1px solid #335aff; padding-bottom: 8px; }
.email-register-form { display: flex; flex-direction: column; gap: 22px; }
.email-register-card .email-register-form > input,
.email-register-code input { width: 100%; min-width: 0; height: 42px; min-height: 42px; padding: 0 15px; border: 1px solid #d8dce6; border-radius: 4px; box-shadow: none; background: #fff; color: #333; font: 14px "Microsoft YaHei", sans-serif; }
.email-register-form input::placeholder { color: #a8abb2; font-weight: 400; }
.email-register-form input:focus { outline: 2px solid #335aff; outline-offset: 1px; }
.email-register-code { display: flex; }
.email-register-code input { flex: 1; border-radius: 4px 0 0 4px; }
.email-register-code button { flex: 0 0 auto; min-width: 80px; height: 42px; padding: 0 12px; border: 1px solid #d8dce6; border-left: 0; border-radius: 0 4px 4px 0; color: #335aff; background: #fff; cursor: pointer; }
.email-register-code img { display: block; max-width: 100px; height: 36px; object-fit: contain; }
.email-register-agreement { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 14px; color: #666; }
.email-register-agreement input { width: 14px; height: 14px; margin: 0 4px 0 0; accent-color: #335aff; }
.email-register-agreement label { font-weight: 400; margin: 0; }
.email-register-agreement button { border: 0; padding: 0; font: inherit; background: none; cursor: pointer; }
.email-register-agreement button,.email-register-agreement a,.email-register-login a { color: #335aff; text-decoration: none; }
.email-register-submit { width: 100%; min-height: 48px; border: 0; border-radius: 8px; color: #fff; font-size: 14px; background: #335aff; cursor: pointer; }
.email-register-form button:disabled { opacity: .6; cursor: wait; }
.email-register-login { margin-top: 14px; text-align: center; color: #666; font-size: 14px; }
.email-register-success { color: #15803d; font-size: 14px; }
.register-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.user-auth-page.user-auth-page * { box-sizing: border-box; }
.user-auth-page.user-auth-page .user-auth-shell { display: contents; }
.user-auth-page.user-auth-page .user-auth-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    flex: 0 0 100px; height: 100px; min-height: 100px;
    padding: 34px 30px 0; margin: 0; width: 100%;
}
.user-auth-page.user-auth-page .user-auth-header .brand { margin: 0; }
.user-auth-page.user-auth-page .user-auth-header .brand {
    display: inline-flex; align-items: center; gap: 10px; height: 33px;
    color: #262627; text-decoration: none; font-size: 25px;
}
.user-auth-page.user-auth-page .user-auth-header .brand img { height: 33px; width: auto; }
.user-auth-page.user-auth-page .user-auth-body {
    display: flex; flex: 1 0 auto; align-items: center; justify-content: space-between;
    width: 100%; max-width: none; min-height: calc(100vh - 100px);
    height: auto; margin: 0; padding: 32px 13.5% 32px 12.7%; gap: 40px;
    overflow: visible;
}
.user-auth-page.user-auth-page .user-auth-promo { flex: 1; min-width: 0; }
.user-auth-page.user-auth-page .user-auth-promo h1 { font-size: 48px; line-height: 1.45; color: #262627; margin: 0 0 32px; font-weight: 700; letter-spacing: 2px; }
.user-auth-page.user-auth-page .user-auth-promo h1 span { background: linear-gradient(90deg,#07aaff,#a86aff); background-clip: text; -webkit-text-fill-color: transparent; display: block; }
.user-auth-page.user-auth-page .login-desc { font-size: 16px; color: #666; line-height: 30px; margin-bottom: 50px; }
.user-auth-page.user-auth-page .features { display: flex; gap: 16px; flex-wrap: wrap; max-width: 752px; }
.user-auth-page.user-auth-page .feature { background: linear-gradient(180deg,#6ca7f9,#b46bf7); flex: 0 0 176px; width: 176px; height: 78px; padding: 1px; border-radius: 8px; opacity: .7; }
.user-auth-page.user-auth-page .feature > div { height: 100%; background: linear-gradient(90deg,#fff,#f3f9ff); border-radius: 7px; padding: 13px 0 0 24px; }
.user-auth-page.user-auth-page .feature strong { display: block; font-size: 16px; font-weight: 400; line-height: 22px; }
.user-auth-page.user-auth-page .feature span { display: block; font-size: 14px; color: #666; margin-top: 8px; line-height: 16px; }
.user-auth-page.user-auth-page .user-auth-card-host { display: contents !important; }
.user-auth-page.user-auth-page .user-auth-card {
    display: block; flex: 0 0 var(--auth-card-width);
    width: var(--auth-card-width); min-width: var(--auth-card-width); max-width: var(--auth-card-width);
    height: var(--auth-card-height); min-height: var(--auth-card-height); max-height: var(--auth-card-height);
    margin: 0; padding: 50px 40px; border: 0; border-radius: 16px;
    background: #fff; box-shadow: none; backdrop-filter: none; transform: none !important;
    overflow-y: auto; overflow-x: hidden; scrollbar-width: thin;
}
.user-auth-page.user-auth-page :is(.admin-login-copyright,.forgot-password-copyright) { display: none; }
@media (min-width: 1650px) { .user-auth-page.user-auth-page .user-auth-promo h1 span { display: inline; } }
@media (max-width: 1200px) {
    .user-auth-page.user-auth-page { --auth-card-width: 440px; }
    .user-auth-page.user-auth-page .user-auth-body { padding: 50px 6%; gap: 32px; }
    .user-auth-page.user-auth-page .user-auth-promo h1 { font-size: 38px; }
    .user-auth-page.user-auth-page .features { max-width: 370px; }
}
@media (max-width: 850px) {
    .user-auth-page.user-auth-page { --auth-card-width: min(480px, 100%); }
    .user-auth-page.user-auth-page .user-auth-body { justify-content: center; padding: 40px 20px; }
    .user-auth-page.user-auth-page .user-auth-promo { display: none; }
    .user-auth-page.user-auth-page .user-auth-card { flex-basis: auto; padding: 40px 28px; }
}
