.auth-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 64px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(223, 30, 47, 0.08), transparent 50%),
    linear-gradient(180deg, #f7f7f8 0%, #fff 100%);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.auth-card h1 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 800;
}

.auth-lead {
  margin: 0 0 22px;
  color: #777;
  font-size: 0.92rem;
}

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

.auth-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #333;
}

.auth-field input {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fafafa;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-field input:focus {
  outline: none;
  border-color: #df1e2f;
  box-shadow: 0 0 0 3px rgba(223, 30, 47, 0.12);
  background: #fff;
}

.auth-field.has-error input {
  border-color: #df1e2f;
}

.field-help {
  color: #888;
  font-size: 0.78rem;
  margin-top: 4px;
}

.auth-errors {
  background: #fff1f2;
  border: 1px solid #ffd4d8;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.auth-submit {
  margin-top: 6px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 13px 16px;
  background: #df1e2f;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-submit:hover {
  background: #c41828;
}

.auth-switch {
  margin: 18px 0 0;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

.auth-switch a {
  color: #df1e2f;
  font-weight: 700;
  text-decoration: none;
}

.auth-resend {
  margin-top: 12px;
  text-align: center;
}

.auth-link-btn {
  border: 0;
  background: none;
  color: #df1e2f;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.auth-link-btn:disabled {
  color: #999;
  cursor: not-allowed;
  text-decoration: none;
}

.resend-timer-wrap {
  font-weight: 600;
}

.otp-input {
  letter-spacing: 0.35em;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
}
