.auth-page {
  width: min(460px, 92vw);
  margin: 0 auto;
  padding-top: 52px;
}

.auth-card {
  border: 1px solid #c8dbf2;
  border-radius: 18px;
  background: linear-gradient(165deg, #ffffff 0%, #f2f8ff 100%);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.auth-title {
  margin: 0;
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: clamp(2rem, 6vw, 2.8rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: #183f6a;
  text-align: center;
}

.auth-subtitle {
  margin: 0;
  color: #4f6b8d;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

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

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

.auth-field-label {
  color: #2a527f;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #bdd2ed;
  border-radius: 10px;
  background: #f8fbff;
  color: #163b62;
  padding: 0 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.auth-status {
  margin: 0;
  min-height: 20px;
  color: #4d6990;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.auth-recovery-row {
  display: flex;
  justify-content: flex-end;
}

.auth-text-btn {
  border: 0;
  background: transparent;
  color: #1d4a7f;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.auth-text-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-status.is-success {
  color: #16673a;
}

.auth-status.is-error {
  color: #9f1a36;
}

.auth-switch {
  margin: 0;
  color: #375a84;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.auth-switch a {
  color: #1d4a7f;
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-actions .secondary-btn,
.auth-actions .primary-btn {
  min-height: 46px;
  font-size: 1rem;
  padding: 10px 12px;
}

@media (max-width: 760px) {
  .auth-page {
    padding-top: 40px;
  }

  .auth-actions {
    grid-template-columns: 1fr;
  }
}
