* {
  box-sizing: border-box;
}

html {
  background: #f3f0e9;
  color: #23201c;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

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

.auth-card {
  width: min(100%, 440px);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .06);
}

.brand {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #746f66;
}

h1 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.auth-intro {
  margin: 0 0 28px;
  color: #746f66;
}

form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  font-size: 14px;
  font-weight: 650;
}

input {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}

input:focus {
  outline: 2px solid rgba(0, 0, 0, .15);
  outline-offset: 2px;
}

button {
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: #23201c;
  color: #fff;
}

button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.status {
  min-height: 20px;
  margin: 16px 0 0;
  font-size: 14px;
  color: #8a3b2f;
}

@media (max-width: 520px) {
  .auth-card {
    padding: 26px 22px;
  }

  h1 {
    font-size: 36px;
  }
}

.field-help {
  margin-top: -2px;
  font-size: 13px;
  color: #746f66;
}

.auth-switch {
  margin: 22px 0 0;
  text-align: center;
  font-size: 14px;
  color: #746f66;
}

.auth-switch a {
  color: #23201c;
  font-weight: 700;
}

.auth-step {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #746f66;
}

.verification-code {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .22em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.development-code {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f0e9;
  color: #746f66;
  font-size: 13px;
}

@media (max-width: 520px) {
  input,
  button {
    min-height: 48px;
  }

  .verification-code {
    font-size: 26px;
  }
}


.auth-forgot {
  margin: 14px 0 0;
  text-align: right;
  font-size: 14px;
}

.auth-forgot a {
  color: inherit;
  font-weight: 700;
}

.development-code.hidden {
  display: none;
}
