:root {
  color: #1a1613;
  background: #fffdfc;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #fffdfc;
  color: #1a1613;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

.login-panel {
  width: min(360px, 100%);
  text-align: center;
}

.login-logo {
  display: block;
  width: 88px;
  height: auto;
  margin: 0 auto 24px;
}

.login-copy {
  margin: 0 0 18px;
  color: #6d6a68;
  font-size: 14px;
  line-height: 1.5;
}

.login-form {
  display: grid;
  gap: 10px;
}

.login-form input,
.login-form button {
  width: 100%;
  height: 50px;
  border-radius: 8px;
  font-size: 14px;
}

.login-form input {
  border: 1px solid #d9d6d3;
  padding: 0 14px;
  background: #fff;
  color: #1a1613;
}

.login-form input::placeholder {
  color: #999592;
}

.login-form input:focus {
  border-color: #ff754a;
  outline: none;
  box-shadow: 0 0 0 3px #ffe8e1;
}

.login-form input[aria-invalid="true"] {
  border-color: #b42318;
}

.login-form input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px #fee4e2;
}

.login-form button {
  border: 0;
  background: #1a1613;
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}

.login-form button:hover {
  background: #332e2a;
}

.login-form button:focus-visible,
.login-form input:focus-visible {
  outline: 3px solid #ffb9a3;
  outline-offset: 2px;
}

.login-form button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.code-input {
  letter-spacing: 0.16em;
  text-align: center;
}

.login-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: #6d6a68;
  font-size: 12px;
  line-height: 1.5;
}

.login-status.is-error {
  color: #b42318;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
