.btn--block {
  grid-column: 1/-1;
  width: 100%;
}

@media (max-width:720px) {
  .btn--block {
    grid-column: 1;
  }

}

.auth-main {
  min-height: calc(100vh - var(--header-h) - 120px);
  align-items: center;
  padding: clamp(48px,7vw,96px) 0;
  display: flex;
}

.auth-wrap {
  justify-content: center;
  display: flex;
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-head {
  margin-bottom: 30px;
}

.auth-head h1 {
  margin-bottom: 10px;
}

.auth-head p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.auth-field {
  margin-bottom: 18px;
}

.auth-field>label {
  font-family: var(--font-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 500;
  display: block;
}

.auth-input {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 2px;
  align-items: center;
  transition: border-color .3s;
  display: flex;
}

.auth-input:focus-within {
  border-color: var(--gold);
}

.auth-input input {
  min-width: 0;
  height: 46px;
  font-family: var(--font-sans);
  letter-spacing: .04em;
  color: var(--ink);
  background: 0 0;
  border: 0;
  outline: none;
  flex: 1;
  padding: 0 14px;
  font-size: 15px;
}

.auth-input--code input {
  letter-spacing: .24em;
}

.auth-input input::placeholder {
  color: var(--muted);
  letter-spacing: 0;
}

.auth-send {
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  letter-spacing: .04em;
  color: var(--ink);
  cursor: pointer;
  background: 0 0;
  border-radius: 2px;
  flex: none;
  margin-right: 6px;
  padding: 7px 12px;
  font-size: 11.5px;
  transition: all .3s;
}

.auth-send:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold-ink);
}

.auth-send:disabled {
  color: var(--muted);
  border-color: var(--line-soft);
  cursor: not-allowed;
}

.auth-error {
  color: #a4442f;
  min-height: 16px;
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.4;
}

.auth-consent {
  color: var(--ink-soft);
  cursor: pointer;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 22px;
  font-size: 12px;
  line-height: 1.7;
  display: flex;
}

.auth-consent input {
  width: 14px;
  height: 14px;
  accent-color: var(--gold);
  flex: none;
  margin-top: 3px;
}

.auth-submit {
  justify-content: center;
  width: 100%;
}

.auth-submit:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.auth-note {
  color: var(--muted);
  margin-top: 16px;
  font-size: 11.5px;
  line-height: 1.8;
}

.auth-note b {
  color: var(--gold-ink);
  letter-spacing: .08em;
}

.auth-foot {
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-top: 20px;
  font-size: 12.5px;
  display: flex;
}

@media (max-width:520px) {

  .auth-main {
    min-height: 0;
    padding: 32px 0 48px;
  }

}


.auth-submit:disabled {
  opacity: 1;
  border-color: var(--ink);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
}
