:root {
  color-scheme: light;
  --auth-bg: #eef3f0;
  --auth-ink: #17211d;
  --auth-muted: #65736c;
  --auth-line: #d4ded9;
  --auth-green: #146b5d;
  --auth-green-dark: #0f5147;
  --auth-danger: #a22d25;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--auth-ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(20, 107, 93, 0.1), transparent 34rem),
    var(--auth-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.auth-card {
  width: min(100%, 430px);
  background: #fff;
  border: 1px solid var(--auth-line);
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(23, 33, 29, 0.12);
  overflow: hidden;
}

.auth-brand {
  padding: 25px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  background: #14201b;
}

.auth-brand img {
  width: 100px;
  height: auto;
}

.auth-brand span {
  display: grid;
  gap: 2px;
}

.auth-brand strong {
  font-size: 17px;
}

.auth-brand small {
  color: #bdcbc5;
}

.auth-content {
  padding: 30px 28px 32px;
}

.auth-kicker {
  margin: 0 0 7px;
  color: var(--auth-green);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-content h1 {
  margin: 0;
  font-size: 28px;
}

.auth-intro {
  color: var(--auth-muted);
  line-height: 1.5;
  margin: 10px 0 24px;
}

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

.auth-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
  font-size: 13px;
}

.auth-form input,
.auth-form select {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  color: var(--auth-ink);
  background: #fff;
  border: 1px solid #bac9c2;
  border-radius: 8px;
  font: inherit;
}

.auth-form input:focus,
.auth-form select:focus {
  outline: 3px solid rgba(20, 107, 93, 0.15);
  border-color: var(--auth-green);
}

.auth-button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--auth-green);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.auth-button:hover {
  background: var(--auth-green-dark);
}

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

.auth-link-button {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.auth-message {
  min-height: 20px;
  margin: 0;
  color: var(--auth-danger);
  font-size: 13px;
  font-weight: 700;
}

.auth-note {
  margin: 22px 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--auth-line);
  color: var(--auth-muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .auth-shell {
    padding: 14px;
  }

  .auth-content,
  .auth-brand {
    padding-left: 22px;
    padding-right: 22px;
  }
}
