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

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgb(51 104 85 / 30%), transparent 38rem),
    linear-gradient(145deg, #07110f, #0e1916 55%, #151b17);
}

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

.auth-card {
  width: min(100%, 28rem);
  padding: clamp(1.6rem, 5vw, 2.6rem);
  border: 1px solid rgb(220 205 166 / 18%);
  border-radius: 1rem;
  background: rgb(12 24 20 / 92%);
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 36%);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: #c7ac70;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
}

.lede {
  margin: 1rem 0 1.8rem;
  color: #b9c4bd;
  line-height: 1.55;
}

form {
  display: grid;
  gap: 0.6rem;
}

label {
  margin-top: 0.45rem;
  color: #dce3dc;
  font-size: 0.86rem;
  font-weight: 650;
}

input {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #405249;
  border-radius: 0.55rem;
  outline: none;
  background: #0a1411;
  color: #fffdf6;
  font: inherit;
}

input:focus {
  border-color: #c7ac70;
  box-shadow: 0 0 0 3px rgb(199 172 112 / 18%);
}

#submit-button {
  min-height: 3rem;
  margin-top: 0.8rem;
  border: 0;
  border-radius: 0.55rem;
  background: #d2b778;
  color: #152019;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

#submit-button:hover:not(:disabled) {
  background: #e1c78a;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.status {
  min-height: 1.35rem;
  margin: 0.25rem 0 0;
  color: #b9c4bd;
  font-size: 0.88rem;
}

.status.error {
  color: #ffb4a9;
}

.recovery {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(220 205 166 / 13%);
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #d2b778;
  cursor: pointer;
  font: inherit;
}

.text-button:hover:not(:disabled) {
  text-decoration: underline;
}

.recovery-contact {
  margin: 0.7rem 0 0;
  color: #b9c4bd;
  font-size: 0.86rem;
  line-height: 1.5;
}

@media (max-width: 30rem) {
  .auth-shell {
    align-items: start;
    padding: 0.8rem;
  }

  .auth-card {
    margin-top: 8vh;
    border-radius: 0.8rem;
  }
}
