.auth-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(65, 214, 179, 0.12), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(125, 211, 252, 0.16), transparent 30%), #071019;
  color: #edf7f8;
}

.auth-shell {
  width: min(1040px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 40px;
  align-items: center;
  padding: 92px 0 48px;
}

.auth-intro {
  max-width: 620px;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(222, 241, 246, 0.2);
  border-radius: 999px;
  color: #d7f171;
  font-size: 13px;
  font-weight: 680;
}

.auth-intro h1 {
  margin: 18px 0 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

.auth-intro p {
  max-width: 540px;
  margin: 0;
  color: #c7d7dd;
  font-size: 18px;
}

.auth-panel {
  border: 1px solid rgba(222, 241, 246, 0.18);
  border-radius: 8px;
  background: rgba(13, 20, 28, 0.9);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  padding: 26px;
}

.auth-panel h2 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.25;
}

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

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field span {
  color: #c7d7dd;
  font-size: 14px;
  font-weight: 680;
}

.auth-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(222, 241, 246, 0.22);
  border-radius: 6px;
  background: #0b141d;
  color: #edf7f8;
  padding: 0 12px;
}

.auth-field input:focus {
  outline: 2px solid rgba(65, 214, 179, 0.35);
  border-color: rgba(65, 214, 179, 0.65);
}

.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: #41d6b3;
  color: #071019;
  font-weight: 760;
  cursor: pointer;
}

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

.auth-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: #c7d7dd;
}

.auth-status[data-state="error"] {
  color: #ffcf9c;
}

.auth-status[data-state="success"] {
  color: #d7f171;
}

.auth-footnote {
  margin: 18px 0 0;
  color: #9badb8;
  font-size: 13px;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.auth-link-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(222, 241, 246, 0.18);
  border-radius: 6px;
  color: #edf7f8;
}

.auth-link-button:hover {
  background: rgba(222, 241, 246, 0.1);
  text-decoration: none;
}

@media (max-width: 820px) {
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 84px;
  }

  .auth-panel {
    padding: 22px;
  }
}
