/* ===== BASE ===== */

.auth-body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #0f172a, #020617);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

/* ===== WRAPPER ===== */

.auth-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ===== CARD ===== */

.auth-card {
  width: 360px;
  padding: 35px;
  border-radius: 20px;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.05);
  animation: fadeIn 0.4s ease;
}

/* ===== TITULO ===== */

.auth-card h2 {
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
}

/* ===== INPUTS ===== */

.auth-card input {
  width: 100%;
  padding: 13px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: #020617;
  color: white;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s;
}

.auth-card input:focus {
  border: 1px solid #6366f1;
  box-shadow: 0 0 10px #6366f155;
}

/* ===== BOTON PRINCIPAL ===== */

.auth-card button {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.auth-card button:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px #6366f1aa;
}

/* ===== GOOGLE BUTTON ===== */

.google-btn {
  background: #111827 !important;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.google-btn:hover {
  background: #1f2937 !important;
}

/* ===== DIVIDER ===== */

.divider {
  text-align: center;
  margin: 15px 0;
  color: #aaa;
  font-size: 13px;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  width: 40%;
  background: rgba(255,255,255,0.1);
  position: absolute;
  top: 50%;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

/* ===== SWITCH ===== */

.switch {
  text-align: center;
  margin-top: 15px;
  color: #aaa;
  font-size: 14px;
}

.switch span {
  color: #6366f1;
  cursor: pointer;
  font-weight: bold;
}

.switch span:hover {
  text-decoration: underline;
}

/* ===== HIDDEN ===== */

.hidden {
  display: none;
}

/* ===== ANIMACION ===== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}