:root {
  --bg: #050b12;
  --panel: rgba(10, 23, 38, 0.92);
  --panel-2: rgba(14, 33, 53, 0.74);
  --line: rgba(125, 211, 252, 0.2);
  --text: #f7fbff;
  --muted: #a9bfd2;
  --soft: #7392aa;
  --green: #29d17d;
  --cyan: #32c7e6;
  --danger: #ff9b9b;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(41, 209, 125, 0.16), transparent 26%),
    radial-gradient(circle at 86% 16%, rgba(50, 199, 230, 0.12), transparent 30%),
    linear-gradient(180deg, #07131f 0%, var(--bg) 62%, #02060b 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.auth-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 64px;
  align-items: center;
  margin: 0 auto;
  padding: 56px 0;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 54px;
  font-weight: 900;
}

.auth-brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(41, 209, 125, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #031019;
  font-size: 13px;
}

.auth-copy {
  max-width: 660px;
}

.auth-kicker {
  display: inline-flex;
  margin: 0 0 24px;
  border: 1px solid rgba(41, 209, 125, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(41, 209, 125, 0.08);
  color: #b6ffd6;
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.auth-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.auth-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.auth-points span {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(14, 33, 53, 0.54);
  color: #dff6ff;
  font-weight: 850;
  line-height: 1.35;
}

.auth-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: linear-gradient(180deg, var(--panel), rgba(6, 16, 25, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.auth-card h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.auth-card > p {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #eef8ff;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: var(--radius);
  padding: 0 14px;
  background: rgba(3, 9, 16, 0.9);
  color: var(--text);
  color-scheme: dark;
  outline: 0;
}

.auth-form input:focus {
  border-color: rgba(50, 199, 230, 0.75);
  box-shadow: 0 0 0 3px rgba(50, 199, 230, 0.15);
}

.auth-form input::placeholder {
  color: rgba(170, 192, 210, 0.62);
}

.auth-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auth-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.auth-check input {
  min-height: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.auth-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #031019;
  font-weight: 950;
}

.auth-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.auth-alt,
.auth-status,
.auth-note {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.55;
}

.auth-alt a,
.auth-note a {
  color: #b6ffd6;
  font-weight: 900;
}

.auth-status {
  min-height: 22px;
}

.auth-status.error {
  color: var(--danger);
}

.auth-status.success {
  color: #b6ffd6;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .auth-brand {
    margin-bottom: 36px;
  }

  .auth-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .auth-shell {
    width: min(100% - 28px, 1120px);
    padding: 28px 0;
  }

  h1 {
    font-size: 36px;
    line-height: 1.06;
  }

  .auth-card {
    padding: 20px;
  }

  .auth-two {
    grid-template-columns: 1fr;
  }
}

