:root { color-scheme: light; font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; color: #142139; background: #eef3ff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 76% 10%, rgba(113,87,255,.18), transparent 32%), radial-gradient(circle at 14% 84%, rgba(28,139,255,.12), transparent 36%), #eef3ff; }
button, input { font: inherit; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; }
.auth-card { width: min(100%, 540px); padding: 42px 46px 32px; border: 1px solid rgba(112,128,170,.18); border-radius: 30px; background: rgba(255,255,255,.96); box-shadow: 0 32px 90px rgba(43,56,93,.18); }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.auth-brand img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(93,65,255,.22)); }
.auth-brand span { display: grid; gap: 2px; font-size: 19px; font-weight: 850; letter-spacing: .08em; }
.auth-brand small { color: #77849a; font-size: 11px; font-weight: 600; letter-spacing: .05em; }
.auth-kicker { margin: 0 0 8px; color: #4b6fef; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
h1 { margin: 0; font-size: clamp(30px, 6vw, 42px); letter-spacing: -.045em; }
#authDescription { margin: 10px 0 26px; color: #738097; font-size: 15px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border: 1px solid #dce5f5; border-radius: 15px; background: #f1f5fc; }
.auth-tabs button { min-height: 48px; border: 0; border-radius: 11px; color: #78859a; background: transparent; cursor: pointer; font-weight: 750; }
.auth-tabs button.active { color: #2968da; background: #fff; box-shadow: 0 5px 16px rgba(43,76,140,.1); }
form { display: grid; gap: 11px; margin-top: 24px; }
label { color: #42526b; font-size: 13px; font-weight: 750; }
.label-row { display: flex; align-items: center; justify-content: space-between; }
.label-row button, .reset-back { border: 0; color: #356fe0; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.field { min-height: 58px; display: flex; align-items: center; overflow: hidden; border: 1px solid #d8e2f2; border-radius: 14px; background: #f8faff; transition: border-color .2s, box-shadow .2s; }
.field:focus-within { border-color: #5e8cff; box-shadow: 0 0 0 4px rgba(75,119,244,.1); }
.field input { min-width: 0; flex: 1; height: 56px; padding: 0 17px; border: 0; outline: 0; color: #1f2d45; background: transparent; }
.phone-field > span { align-self: stretch; display: grid; place-items: center; padding: 0 16px; border-right: 1px solid #d8e2f2; color: #3270e5; font-weight: 800; }
.field button { align-self: stretch; min-width: 84px; border: 0; border-left: 1px solid #d8e2f2; color: #2f6fe4; background: transparent; cursor: pointer; font-size: 12px; font-weight: 750; }
.field button:disabled { color: #a3adbd; cursor: wait; }
#verificationFields { display: grid; gap: 11px; }
.primary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 0 23px; border: 0; border-radius: 15px; color: #fff; background: linear-gradient(135deg, #2478e8, #6465f4); box-shadow: 0 15px 30px rgba(54,94,224,.25); cursor: pointer; font-weight: 800; }
.primary:disabled { opacity: .62; cursor: wait; }
.primary b { font-size: 23px; }
.message { margin: 3px 0; padding: 11px 13px; border: 1px solid #ffc7c7; border-radius: 11px; color: #bf3838; background: #fff3f3; font-size: 13px; }
.message.success { border-color: #b7e5cc; color: #167248; background: #effbf4; }
.invite-notice { margin: 0; color: #4b6f34; font-size: 12px; }
.reset-back { justify-self: start; padding: 4px 0; }
footer { margin-top: 24px; color: #9aa4b3; font-size: 11px; line-height: 1.6; text-align: center; }
.hidden { display: none !important; }
@media (max-width: 560px) { .auth-card { padding: 30px 22px 24px; border-radius: 24px; } .auth-brand { margin-bottom: 22px; } }
