:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #09090b;
  color: #f7f7f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(100%, 440px);
  padding: 32px;
  border: 1px solid #34343a;
  border-radius: 24px;
  background: #1c1c1e;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.brand {
  color: #2997ff;
  font-size: 18px;
  font-weight: 700;
}

h1 {
  margin: 12px 0;
  font-size: 30px;
  line-height: 1.15;
}

p {
  color: #c7c7cc;
  line-height: 1.5;
}

form {
  margin-top: 24px;
}

label {
  display: block;
  margin-top: 16px;
  color: #e5e5ea;
  font-size: 14px;
  font-weight: 600;
}

input,
button {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border-radius: 10px;
  font: inherit;
}

input {
  border: 1px solid #55555c;
  padding: 0 14px;
  background: #fff;
  color: #1d1d1f;
  font-size: 17px;
}

input:focus {
  outline: 3px solid rgba(41, 151, 255, 0.45);
  border-color: #2997ff;
}

.recovery-link {
  display: block;
  width: fit-content;
  margin: 12px 0 0 auto;
  color: #64b5ff;
  font-size: 14px;
  text-decoration: none;
}

.recovery-link:hover,
.recovery-link:focus {
  text-decoration: underline;
}

#code {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-align: center;
  font-weight: 700;
}

button {
  margin-top: 24px;
  border: 0;
  background: #0a84ff;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

button:disabled {
  opacity: 0.55;
}

.error {
  min-height: 24px;
  color: #ff9f8c;
}

.privacy {
  margin: 28px 0 0;
  font-size: 13px;
}

[hidden] {
  display: none;
}
