:root {
  /* Colores principales */
  --accent: #FFC300; /* Amarillo dorado premium */
  --accent-dark: #E8B400; /* Hover más oscuro */
  --secondary: #4F46E5; /* Índigo para contraste */
  --secondary-dark: #4338CA;

  /* Fondos y texto */
  --bg-dark: #0b0f19;
  --form-bg: #1e293b;
  --input-border: #444;
  --input-focus: var(--accent);
  --text-muted: #a1a1aa;
  --radius: 12px;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: #f9fafb;
  transition: background 0.4s ease;
}

/* Contenedor principal */
.auth-container {
  background: var(--form-bg);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 400px;
  animation: fadeUp 0.6s ease both;
}

/* Formularios */
.form-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-box.hidden {
  display: none;
}

/* Inputs */
input, select {
  padding: 12px 14px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  outline: none;
  font-size: 15px;
  background-color: #0f172a;
  color: #f9fafb;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}
input::placeholder, select::placeholder {
  color: var(--text-muted);
}
input:focus, select:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.3);
}

/* Botones */
button {
  background: var(--accent);
  color: var(--bg-dark);
  border: none;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
button:hover {
  background: var(--accent-dark);
  transform: scale(1.02);
  box-shadow: 0 0 12px rgba(255, 195, 0, 0.6);
}
button:active {
  transform: scale(0.97);
}

/* Links */
.link {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}
.link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.link a:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

/* Fecha de nacimiento */
.birth-container {
  display: flex;
  gap: 10px;
}

/* Tabs */
.tab {
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.tab.active {
  background: var(--accent);
  color: var(--bg-dark);
}
.tab:not(.active) {
  background: #374151;
  color: #f9fafb;
}
.tab:hover {
  background: var(--accent-dark);
  color: var(--bg-dark);
}

/* Animaciones */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) {
  .auth-container {
    padding: 24px;
    border-radius: 10px;
  }
  input, select {
    font-size: 14px;
  }
  button {
    font-size: 14px;
  }
}
