/* AUTH – login page */

.auth-page {
  min-height: calc(100vh - 64px); /* minus header approx */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 3.5rem;
  background: radial-gradient(
      circle at top,
      rgba(37, 99, 235, 0.18),
      transparent 55%
    ),
    radial-gradient(circle at bottom, rgba(245, 178, 0, 0.16), transparent 55%);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  border-radius: 1.25rem;
  background-color: #111827; /* appbg-700 */
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  padding: 1.75rem 1.5rem 2rem;
}

.auth-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.auth-logo-mark {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5b200, #f97316);
  color: #020617;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.auth-logo-text {
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5b200;
}

.auth-tagline {
  font-size: 0.8rem;
  color: #9ca3af;
}

.auth-errors {
  background-color: rgba(239, 68, 68, 0.08); /* danger-500 */
  border: 1px solid rgba(239, 68, 68, 0.6);
  color: #fecaca;
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.auth-errors p + p {
  margin-top: 0.35rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.auth-field label {
  font-size: 0.8rem;
  color: #e5e7eb;
}

.auth-field input {
  border-radius: 999px;
  border: 1px solid #374151;
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  background-color: #020617;
  color: #f9fafb;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.auth-field input::placeholder {
  color: #6b7280;
}

.auth-field input:focus {
  border-color: #f5b200;
  box-shadow: 0 0 0 1px rgba(245, 178, 0, 0.4);
  background-color: #020617;
}

.auth-submit {
  margin-top: 0.25rem;
  border: none;
  border-radius: 999px;
  width: 100%;
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #f5b200, #f97316);
  color: #020617;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.8);
  filter: brightness(1.02);
}

.auth-note {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
}

/* RESPONSIVE */

@media (min-width: 640px) {
  .auth-card {
    padding: 2rem 2rem 2.25rem;
  }

  .auth-tagline {
    font-size: 0.85rem;
  }
}
