:root {
  --bg: #f5f7fb;
  --panel: #fff;
  --ink: #172033;
  --muted: #667085;
  --line: #d8e1ee;
  --blue: #2457d6;
  --blue-dark: #193f9e;
  --shadow: 0 18px 55px rgba(32, 45, 72, 0.12);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr); }
.intro { background: #101827; color: #fff; padding: 54px; display: flex; flex-direction: column; justify-content: center; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 54px; }
.brand-logo-wrap {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  display: block;
}

.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; background: #fff; color: var(--blue); border-radius: 8px; font-weight: 900; }
.brand strong, .brand span { display: block; }
.brand span, .intro p, .trust-list span { color: #aab7cf; }
.intro h1 { max-width: 560px; margin: 0; font-size: clamp(42px, 5vw, 66px); line-height: 1.02; letter-spacing: 0; }
.intro p { max-width: 620px; margin: 22px 0 0; font-size: 18px; line-height: 1.55; }
.trust-list { display: grid; gap: 10px; margin-top: 36px; }
.trust-list span { padding-left: 18px; position: relative; }
.trust-list span::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: #0f8a66; }
.auth-back-link { margin-top: 28px; font-size: 14px; }
.auth-back-link a { color: #7dd3fc; text-decoration: none; font-weight: 700; }
.auth-back-link a:hover { text-decoration: underline; }
.auth-card { align-self: center; width: min(520px, calc(100% - 40px)); margin: 40px auto; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.tab, .google-button, .primary-button { min-height: 44px; border: 0; border-radius: 8px; font-weight: 850; cursor: pointer; }
.tab { background: #e9eef7; color: #263954; }
.tab.active, .primary-button { background: var(--blue); color: #fff; }
.primary-button:hover { background: var(--blue-dark); }
.google-button { width: 100%; background: #101827; color: #fff; }
.divider { display: grid; place-items: center; margin: 18px 0; color: var(--muted); font-size: 13px; }
form { display: grid; gap: 14px; }
#nameField[hidden] { display: none; }
label { display: grid; gap: 7px; font-weight: 750; color: #344054; }
input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; }
.status { min-height: 22px; margin: 14px 0 0; color: #c2415d; font-weight: 700; }
.auth-switch { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.text-button { border: 0; background: none; color: var(--blue); font: inherit; font-weight: 750; cursor: pointer; padding: 0; }
.text-button:hover { text-decoration: underline; }
@media (max-width: 880px) { .auth-layout { grid-template-columns: 1fr; } .intro { padding: 30px; } }