:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #06100f;
  color: #edf7f4;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgb(20 106 91 / 22%), transparent 32rem),
    radial-gradient(circle at 86% 74%, rgb(13 79 69 / 18%), transparent 28rem),
    #06100f;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem 1rem;
}

.auth-card {
  width: min(100%, 30rem);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid rgb(91 168 151 / 28%);
  border-radius: 1.25rem;
  background: rgb(7 25 23 / 92%);
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 35%);
}

.brand {
  color: #f4fbf8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.brand span {
  color: #72e1bd;
}

.eyebrow {
  margin: 2.25rem 0 0.65rem;
  color: #72e1bd;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

h1 {
  margin: 0 0 1.75rem;
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  line-height: 1.05;
}

form,
label {
  display: grid;
  gap: 0.5rem;
}

form {
  gap: 1rem;
}

label {
  color: #c4d8d2;
  font-size: 0.8rem;
  font-weight: 650;
}

input {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #294b45;
  border-radius: 0.65rem;
  outline: none;
  background: #091b19;
  color: #f3fbf8;
  font: inherit;
}

input:focus {
  border-color: #72e1bd;
  box-shadow: 0 0 0 3px rgb(114 225 189 / 14%);
}

button,
.button-link {
  min-height: 3rem;
  border-radius: 0.65rem;
  background: #72e1bd;
  color: #05211c;
  font-weight: 800;
}

button {
  margin-top: 0.25rem;
  border: 0;
  cursor: pointer;
  font: inherit;
}

button:hover,
.button-link:hover {
  background: #8cedcc;
}

.button-link {
  display: grid;
  margin-top: 1.25rem;
  place-items: center;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #f4c46c;
  outline-offset: 3px;
}

button.danger {
  background: #f3aa8c;
  color: #30120b;
}

.hint,
.message {
  font-size: 0.82rem;
  line-height: 1.55;
}

.hint {
  margin: 1.25rem 0 0;
  color: #8da8a1;
}

.message {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgb(243 170 140 / 35%);
  border-radius: 0.65rem;
  background: rgb(104 42 27 / 30%);
  color: #ffd5c4;
}
