/* ==========================================================
   DebtVault — Auth Pages (Login & Signup)
========================================================== */

.auth-body {
  background: #f3f4f6;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------
   AUTH CARD
------------------------------ */
.auth-card {
  width: 100%;
  max-width: 420px;
  background: white;
  padding: 32px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-card h1 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.9rem;
  text-align: center;
  color: #111827;
  font-weight: 800;
}

.auth-sub {
  text-align: center;
  margin-bottom: 20px;
  color: #6b7280;
  font-size: 0.95rem;
}

/* ------------------------------
   LABELS & INPUTS
------------------------------ */
.auth-card label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.auth-card input {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  transition: 0.2s;
}

.auth-card input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
}

/* ------------------------------
   BUTTON
------------------------------ */
.auth-btn {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 8px;
}

/* ------------------------------
   SWITCH LINK
------------------------------ */
.auth-switch {
  margin-top: 16px;
  text-align: center;
  font-size: 0.95rem;
  color: #4b5563;
}

.auth-switch a {
  color: #10b981;
  font-weight: 600;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* ------------------------------
   RESPONSIVE
------------------------------ */
@media (max-width: 480px) {
  .auth-card {
    margin: 20px;
    padding: 26px 22px;
  }

  .auth-card h1 {
    font-size: 1.6rem;
  }
}

/* Move reCAPTCHA up on mobile */
@media (max-width: 768px) {
  .grecaptcha-badge {
    bottom: 90px !important;
    right: 12px !important;
    transform: scale(0.9);
  }
}
