/* ============================================
   AULOX — Estilos de Autenticación (auth.css)
   ============================================ */

.auth-wrapper {
  min-height: 100vh;
  display: flex;
}

/* Lado izquierdo: formulario */
.auth-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-form-container {
  width: 100%;
  max-width: 440px;
}
.auth-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  display: inline-block;
}
.auth-logo span { color: var(--brand-secondary); }
.auth-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  margin-top: 24px;
}
.auth-subtitle {
  font-size: 0.95rem;
  color: var(--gray-400);
  margin-bottom: 32px;
}
.auth-form .form-group { margin-bottom: 18px; }
.auth-form .form-input {
  padding: 14px 16px;
  font-size: 0.95rem;
}
.auth-form .btn {
  padding: 14px 32px;
  font-size: 0.95rem;
  width: 100%;
  margin-top: 8px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--gray-300);
  font-size: 0.82rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--gray-500);
}
.auth-footer a {
  color: var(--brand-primary);
  font-weight: 600;
}
.auth-footer a:hover { text-decoration: underline; }

/* Password visibility toggle */
.password-wrapper {
  position: relative;
}
.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
}
.password-toggle:hover { color: var(--gray-600); }

/* Lado derecho: visual decorativo */
.auth-visual-side {
  flex: 1;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.auth-visual-side::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,58,237,0.2), transparent 70%);
}
.auth-visual-side::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.15), transparent 70%);
}
.auth-visual-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 400px;
}
.auth-visual-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.auth-visual-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.auth-visual-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.auth-visual-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.auth-visual-check {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: rgba(34,197,94,0.2);
  color: #22C55E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* OTP Input */
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 24px 0;
}
.otp-input {
  width: 52px; height: 60px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  outline: none;
  color: var(--gray-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.otp-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(108,58,237,0.15);
}
.otp-input.filled {
  border-color: var(--brand-primary-light);
  background: rgba(108,58,237,0.03);
}
.otp-resend {
  text-align: center;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--gray-400);
}
.otp-resend a {
  color: var(--brand-primary);
  font-weight: 600;
}
.otp-resend a:hover { text-decoration: underline; }
.otp-timer {
  font-weight: 600;
  color: var(--gray-600);
}

/* Responsive */
@media (max-width: 1024px) {
  .auth-visual-side { display: none; }
  .auth-wrapper { justify-content: center; }
}
@media (max-width: 480px) {
  .auth-form-side { padding: 24px 16px; }
  .auth-title { font-size: 1.3rem; }
  .otp-input { width: 44px; height: 52px; font-size: 1.3rem; }
}
