@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #202533;
  --muted: #6d7587;
  --line: #e6e9f0;
  --primary: #5b5bf7;
  --sidebar: #171a26;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: #f5f6fa; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .85fr) 1.15fr; }
.auth-brand-panel { padding: 44px; color: white; background: linear-gradient(150deg, #191c29, #11131d); display: flex; flex-direction: column; }
.auth-brand { display: flex; align-items: center; gap: 12px; }
.auth-brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #7c72ff, #4e54e8); font-size: 23px; font-weight: 800; }
.auth-brand-name { font-size: 18px; font-weight: 800; }
.auth-brand-kicker { margin-top: 3px; color: #8f96aa; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.auth-copy { max-width: 480px; margin: auto 0; }
.auth-eyebrow { color: #8d88ff; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.auth-copy h1 { margin: 18px 0 14px; font-size: clamp(34px, 4vw, 56px); line-height: 1.06; letter-spacing: -.045em; }
.auth-copy p { margin: 0; color: #aab0c0; font-size: 15px; line-height: 1.75; }
.auth-form-panel { padding: 30px; display: grid; place-items: center; }
.auth-card { width: min(430px, 100%); padding: 36px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 55px rgba(30,38,60,.09); }
.auth-card h2 { margin: 0; font-size: 28px; letter-spacing: -.035em; }
.auth-subtitle { margin: 9px 0 27px; color: var(--muted); font-size: 13px; }
.auth-card label { display: block; margin: 15px 0 7px; color: #42495a; font-size: 12px; font-weight: 700; }
.auth-card input[type="text"], .auth-card input[type="email"], .auth-card input[type="password"] { width: 100%; height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; outline: none; font: inherit; }
.auth-card input:focus { border-color: #9694ff; box-shadow: 0 0 0 3px rgba(91,91,247,.09); }
.check-row { display: flex !important; align-items: center; gap: 9px; margin: 16px 0 !important; color: var(--muted) !important; font-weight: 500 !important; }
.check-row input { accent-color: var(--primary); }
.auth-card button { width: 100%; height: 46px; margin-top: 18px; border: 0; border-radius: 9px; color: white; background: var(--primary); font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.auth-card button:hover { background: #4d4de0; }
.auth-switch { margin: 22px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
a { color: var(--primary); font-weight: 700; text-decoration: none; }
.flash { margin-bottom: 18px; padding: 11px 13px; border-radius: 9px; font-size: 12px; }
.flash-danger { color: #8f2731; background: #fff0f1; }
.flash-warning { color: #765211; background: #fff7df; }
.flash-success { color: #116344; background: #eaf8f2; }
@media (max-width: 850px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand-panel { min-height: 260px; padding: 30px; }
  .auth-copy { margin-top: 55px; }
  .auth-copy h1 { font-size: 34px; }
  .auth-form-panel { padding: 22px; }
}
