body {
  background: #f4f7fb;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Estilos para el formulario de registro */
.registro-container {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(34,73,153,0.10);
  min-width: 420px;      /* Antes: 340px */
  max-width: 520px;      /* Nuevo: límite máximo opcional */
  width: 100%;           /* Para que sea responsive */
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: center;
}

.registro-logo {
  max-width: 140px;
  margin-bottom: 1.2rem;
  margin-top: 0.5rem;
}

.registro-container h2 {
  color: #1f4ec3;
  text-align: center;
  margin-bottom: 1.2rem;
  font-weight: 700;
  font-size: 1.5rem;
  font-family: 'Inter', sans-serif;
}

.registro-container label {
  font-weight: 600;
  color: #11294b;
  margin-bottom: 0.2rem;
  align-self: flex-start;
  font-size: 1rem;
}

.registro-container input {
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #c3d0e6;
  font-size: 1rem;
  margin-bottom: 0.7rem;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.registro-container button {
  background: linear-gradient(90deg, #11294b 0%, #306bc7 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 0.68rem;      /* Más alto y ancho */
  font-size: 1.15rem;        /* Más grande */
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.3s;
  width: 100%;               /* O puedes usar width: 80%; para que no ocupe todo */
  max-width: 320px;          /* Opcional: limita el ancho máximo */
  align-self: center;
}

/* Estilos para el selector de género */
.select-genero {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  appearance: none;
  transition: border-color 0.2s;
}

.select-genero:focus {
  border-color: #1f4ec3;
  outline: none;
  background: #f8faff;
}

/* Mensaje de éxito para el registro */
.mensaje-exito {
  color: #22bb33;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.icono-exito {
  font-size: 1.5rem;
  font-weight: bold;
  display: inline-block;
  background: #22bb33;
  color: #fff;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
}

/* Mensaje de error (opcional, por si quieres personalizarlo) */
.mensaje-error {
  color: #d32f2f;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.1rem;
}

.mensaje-error {
  color: #d32f2f;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.1rem;
}