.auth-page {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.auth-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
}

.auth-card__brand {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
}

.auth-card__body {
  padding: 22px 24px 24px;
}

.auth-title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
}

.fw-seg.auth-tabs {
  display: flex;
  margin-bottom: 20px;
}

.auth-tabs .fw-seg-btn {
  flex: 1;
  justify-content: center;
}

.auth-code {
  display: grid;
  gap: 6px;
}

.auth-code-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.auth-code-row .form-field {
  min-width: 0;
  flex: 1;
}

.auth-code-row .fw-btn {
  min-width: 132px;
  height: 40px;
  flex: none;
  font-variant-numeric: tabular-nums;
}

.auth-submit {
  width: 100%;
}

.auth-skip {
  margin: 0;
  text-align: center;
}

@media (max-width: 560px) {
  .auth-card__head {
    padding: 12px 20px;
  }

  .auth-card__body {
    padding: 20px 20px 22px;
  }
}

@media (max-width: 560px), (pointer: coarse) {
  .auth-card .form-input {
    font-size: 16px;
  }
}
