:root {
  color-scheme: light;
  --navy: #072748;
  --blue: #1167ef;
  --cyan: #24b4cd;
  --ink: #10233e;
  --muted: #65758d;
  --line: #dce5f1;
  --surface: #fff;
  --soft: #f4f8fd;
  --success: #0e9f6e;
  --danger: #d83c4c;
  font-family: Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: #edf4fb; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.auth-page { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); min-height: 100vh; }
.auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(44px, 8vw, 120px);
  color: #fff;
  background: linear-gradient(145deg, #061e39, #0b4e9e 62%, #1274d9);
}
.auth-brand::before, .auth-brand::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.auth-brand::before { width: 520px; height: 520px; inset: -250px auto auto -180px; }
.auth-brand::after { width: 360px; height: 360px; inset: auto -120px -190px auto; background: rgba(34,188,210,.1); }
.brand-mark { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; margin-bottom: 58px; font-size: 21px; font-weight: 900; letter-spacing: .2px; }
.brand-mark span { display: grid; place-items: center; width: 45px; height: 45px; color: #093264; background: linear-gradient(145deg,#fff,#c8f4ff); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.auth-brand h1 { position: relative; z-index: 1; max-width: 650px; margin: 0 0 18px; font-size: clamp(37px, 4.2vw, 66px); line-height: 1.14; }
.auth-brand p { position: relative; z-index: 1; max-width: 650px; margin: 0; color: #d8eaff; font-size: 18px; line-height: 1.9; }
.feature-list { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 35px; }
.feature-list span { padding: 10px 14px; color: #eaf7ff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: 13px; }
.auth-panel { display: grid; place-items: center; padding: 40px 24px; background: linear-gradient(180deg,#fff,#f6f9fd); }
.auth-card { width: min(500px, 100%); padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 28px 80px rgba(27,66,110,.12); }
.auth-card .eyebrow { margin: 0 0 9px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .8px; }
.auth-card h2 { margin: 0 0 8px; font-size: 30px; }
.auth-card > p { margin: 0 0 28px; color: var(--muted); line-height: 1.75; }
.auth-card label { display: grid; gap: 8px; margin-bottom: 16px; color: #273a54; font-weight: 800; font-size: 13px; }
.auth-card input { width: 100%; height: 50px; padding: 0 14px; color: var(--ink); background: #fbfdff; border: 1px solid #cedaea; border-radius: 13px; outline: 0; }
.auth-card input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(17,103,239,.11); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.primary-btn, .google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; border-radius: 13px; font-weight: 900; }
.primary-btn { color: #fff; background: linear-gradient(135deg,#0d62ed,#1682f2); border: 0; box-shadow: 0 13px 25px rgba(15,101,235,.22); }
.primary-btn:hover { filter: brightness(.96); }
.primary-btn:disabled { opacity: .65; cursor: wait; }
.google-btn { color: #263b57; background: #fff; border: 1px solid #cfdae8; text-decoration: none; }
.google-btn i { display: grid; place-items: center; width: 25px; height: 25px; color: #fff; background: conic-gradient(from -45deg,#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0); border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 900; }
.separator { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #90a0b4; font-size: 12px; }
.separator::before,.separator::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-switch { margin-top: 22px !important; text-align: center; font-size: 13px; }
.auth-switch a { color: var(--blue); font-weight: 900; text-decoration: none; }
.form-message { min-height: 22px; margin: 12px 0 0 !important; color: var(--danger) !important; font-size: 13px; font-weight: 800; }
.form-message.success { color: var(--success) !important; }
.subscription-note { padding: 12px 14px; margin-bottom: 18px; color: #805e05; background: #fff9de; border: 1px solid #f2dc80; border-radius: 12px; font-size: 12px; line-height: 1.7; }
@media (max-width: 900px) { .auth-page { grid-template-columns: 1fr; } .auth-brand { min-height: 360px; padding: 44px 28px; } .brand-mark { margin-bottom: 35px; } }
@media (max-width: 540px) { .auth-panel { padding: 20px 12px; } .auth-card { padding: 26px 20px; border-radius: 20px; } .field-row { grid-template-columns: 1fr; } }
