:is(.auth-login,.auth-register) { background:var(--brand-surface); }
:is(.auth-login,.auth-register) .auth-form { max-width:440px; padding:32px; border:1px solid var(--line); border-radius:24px; background:var(--brand-card); box-shadow:0 12px 48px #38211809; }
:is(.auth-login,.auth-register) .auth-form h1 { font-size:28px; text-align:center; margin:0 0 10px; }
:is(.auth-login,.auth-register) .auth-form > p { font-size:14px; line-height:1.8; text-align:center; margin:0 0 24px; }
:is(.auth-login,.auth-register) #login-form { display:grid; gap:14px; }
:is(.auth-login,.auth-register) #login-form .field { margin:0; }
.auth-login #login-form .field > span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
:is(.auth-login,.auth-register) .field :is(input,select) { min-height:54px; border-radius:14px; padding:14px 16px; background:var(--brand-card); font-size:15px; }
.auth-login #login-form input::placeholder { text-align:start; }
.auth-login:dir(rtl) #login-form input::placeholder { text-align:right; }
:is(.auth-login,.auth-register) .auth-password input { padding-right:48px; }
:is(.auth-login,.auth-register) #show-password { height:54px; }
:is(.auth-login,.auth-register) .auth-form .button.full { justify-content:center; min-height:48px; border-radius:999px; font-size:16px; font-weight:700; }
.auth-forgot { display:block; width:fit-content; margin:20px auto; color:var(--primary-dark); text-align:center; font-size:14px; }
.auth-forgot:hover { text-decoration:underline; }
.auth-create { margin-top:24px; padding-top:24px; border-top:1px solid var(--line); }
.auth-create .button { border:1px solid var(--primary); background:transparent; color:var(--primary-dark); text-decoration:none; }
.auth-create .button:hover { background:var(--brand-soft); }
.auth-login #google-auth-option { margin-top:16px; }
:is(.auth-login,.auth-register) .google-signin { min-height:48px; border-radius:999px; border-color:var(--line); }
:is(.auth-login,.auth-register) .auth-legal { display:flex; justify-content:center; gap:16px; font-size:12px; }
:is(.auth-login,.auth-register) .auth-contact { display:flex; justify-content:center; margin-top:18px; }
.auth-register .auth-form > .auth-links { text-align:center; }
.auth-register .signup-phone-row select { padding-inline:8px; font-size:12px; }
.auth-register .signup-terms { margin-block:0; }
.auth-register #signup-password-hint { color:var(--muted); }
.auth-login .recovery-status { padding:16px; background:var(--brand-soft); border-radius:14px; }
@media (max-width:480px) {
  :is(.auth-login,.auth-register) .auth-form { padding:26px 20px; border-radius:20px; }
  :is(.auth-login,.auth-register) .auth-form h1 { font-size:25px; }
}
