.auth-page {
  padding-top: 18px;
  padding-bottom: 30px;
  display: grid;
  justify-items: center;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.auth-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #111827;
}

.auth-subtitle {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 14px;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  font-weight: 600;
  color: #64748b;
  border-bottom: 2px solid transparent;
}

.auth-tab.is-active {
  color: var(--primary-700, #0369a1);
  border-bottom-color: var(--primary-700, #0369a1);
}

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

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

.auth-field label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.auth-field input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
}

.auth-message {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.auth-message--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.auth-message--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.auth-divider {
  margin: 12px 0;
  position: relative;
  text-align: center;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid #e5e7eb;
}

.auth-divider span {
  position: relative;
  background: #fff;
  padding: 0 8px;
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
}

.auth-google-btn {
  width: 100%;
  justify-content: center;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1f2937;
}
