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

:root {
  font-family: "Poppins", Arial, sans-serif;
  color: #101767;
  background: #f6faff;
  font-synthesis: none;
  --navy: #07166f;
  --blue: #1688ff;
  --text: #101767;
  --muted: #65719b;
  --line: #d8e6f6;
  --red: #d82939;
  --green: #25913c;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #f6faff; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(circle at 95% 5%, rgba(22,136,255,.12), transparent 31rem), linear-gradient(135deg,#fff 0%,#f5faff 62%,#edf7ff 100%); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid rgba(22,136,255,.3); outline-offset: 3px; }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(330px, .82fr) minmax(520px, 1.18fr); }
.auth-brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 42px 48px; color: #fff; background: radial-gradient(circle at 20% 25%,rgba(25,104,255,.35),transparent 31%),linear-gradient(160deg,#061b7e 0%,#07166f 55%,#06115e 100%); }
.auth-brand::after { content: ""; position: absolute; width: 430px; height: 430px; right: -245px; bottom: -220px; border: 68px solid rgba(255,255,255,.05); border-radius: 50%; pointer-events: none; }
.auth-brand__logo { position: relative; z-index: 1; width: 225px; height: 80px; object-fit: cover; border-radius: 6px; }
.auth-brand__message { position: relative; z-index: 1; max-width: 420px; margin: auto 0; padding: 80px 0; }
.auth-brand__message span { display: inline-block; color: #79c7ff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.auth-brand__message h2 { margin: 13px 0 0; font-size: clamp(31px,3.1vw,48px); line-height: 1.12; letter-spacing: -.04em; }
.auth-brand__message p { margin: 17px 0 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.7; }
.auth-brand__footer { position: relative; z-index: 1; display: grid; gap: 18px; color: rgba(255,255,255,.58); font-size: 10px; }
.auth-brand__access { display: block; }
.auth-account-request { line-height: 1.6; }
.auth-account-request strong, .auth-account-request span { display: block; }
.auth-account-request strong { font-size: 12px; font-weight: 600; }
.auth-account-request a { font-weight: 600; text-decoration: none; }
.auth-account-request a:hover { text-decoration: underline; }
.auth-account-request--brand { padding-left: 13px; border-left: 2px solid rgba(121,199,255,.65); color: rgba(255,255,255,.72); }
.auth-account-request--brand strong { color: #fff; }
.auth-account-request--brand a { color: #79c7ff; }
.auth-account-request--mobile { display: none; }

.auth-main { display: grid; place-items: center; padding: 48px 28px; }
.auth-card { width: min(100%, 500px); padding: 42px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: 0 25px 65px rgba(35,73,127,.12); }
.auth-step { margin: 0 0 7px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.auth-card h1 { margin: 0; color: var(--text); font-size: 31px; line-height: 1.2; letter-spacing: -.035em; }
.auth-intro { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.auth-form { margin-top: 28px; }
.auth-field { display: grid; gap: 8px; margin-top: 17px; }
.auth-field:first-child { margin-top: 0; }
.auth-field label { color: var(--text); font-size: 11px; font-weight: 600; }
.auth-field input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid #c8d8ea; border-radius: 10px; outline: 0; color: var(--text); background: #fff; font-size: 13px; }
.auth-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,136,255,.1); }
.auth-field input::placeholder { color: #909bb5; }
.auth-field__row { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.auth-link { color: var(--blue); font-size: 11px; font-weight: 600; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }
.auth-submit, .auth-secondary { width: 100%; min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 23px; border-radius: 10px; font-weight: 600; cursor: pointer; }
.auth-submit { border: 0; color: #fff; background: linear-gradient(135deg,#1695ff 0%,#0875ff 100%); box-shadow: 0 9px 20px rgba(9,118,255,.24); }
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 25px rgba(9,118,255,.3); }
.auth-submit:disabled, .auth-secondary:disabled { opacity: .65; cursor: wait; transform: none; }
.auth-secondary { margin-top: 10px; border: 1px solid #bad8f5; color: var(--blue); background: #f6fbff; }
.auth-status { min-height: 22px; margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; }
.auth-status--error { color: var(--red); }
.auth-status--success { color: var(--green); }
.auth-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 14px; border: 1px solid #c8e4ff; border-radius: 10px; color: #53628c; background: #f0f8ff; font-size: 10px; line-height: 1.55; }
.auth-note strong { color: var(--text); }
.auth-back { display: block; margin-top: 20px; color: #55638b; font-size: 11px; font-weight: 600; text-align: center; text-decoration: none; }
.auth-back:hover { color: var(--blue); }
.code-input { text-align: center; letter-spacing: .45em; font-size: 20px !important; font-weight: 700; }
.password-rules { margin: 10px 0 0; color: #7a86a6; font-size: 10px; line-height: 1.55; }
.auth-success-banner { margin: 18px 0 0; padding: 12px 14px; border: 1px solid #bae3c4; border-radius: 9px; color: #2d7040; background: #effaf2; font-size: 11px; line-height: 1.5; }

@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { min-height: 230px; padding: 27px 24px; }
  .auth-brand__logo { width: 185px; height: 66px; }
  .auth-brand__message { max-width: 600px; padding: 38px 0 20px; }
  .auth-brand__message h2 { font-size: 31px; }
  .auth-brand__message p, .auth-brand__footer { display: none; }
  .auth-main { padding: 30px 18px 45px; }
  .auth-account-request--mobile { display: block; margin-top: 18px; color: var(--muted); font-size: 11px; text-align: center; }
  .auth-account-request--mobile strong { color: var(--text); }
  .auth-account-request--mobile a { color: var(--blue); }
}

@media (max-width: 520px) {
  .auth-brand { min-height: 190px; }
  .auth-brand__message { padding-top: 25px; }
  .auth-brand__message h2 { font-size: 25px; }
  .auth-card { padding: 30px 20px; border-radius: 14px; }
  .auth-card h1 { font-size: 27px; }
}
