body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f6ecf0; /* fondo vino claro */
  color: #5a1a27;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.center-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.login-container {
  width: 100%;
  max-width: 400px;
  background-color: #fdebf0; /* sin transparencia */
  border-radius: 20px;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.4); /* sombra negra marcada */
  padding: 2rem;
  color: #5a1a27;
}


.login-form {
  display: flex;
  flex-direction: column;
}

.login-form h2 {
  text-align: center;
  color: #8b1b34;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow:
    0 0 4px rgba(139, 27, 52, 0.4),
    0 0 8px rgba(198, 90, 114, 0.3); /* neón sutil */
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.input-group i {
  position: absolute;
  left: 15px;
  color: #c65a72;
}

.input-group input {
  width: 100%;
  padding: 0.8rem 0.8rem 0.8rem 2.8rem;
  border: 1.5px solid #c65a72;
  border-radius: 10px;
  outline: none;
  font-size: 1rem;
  background-color: #fff0f3;
  color: #5a1a27;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input::placeholder {
  color: #c8a2aa;
}

.input-group input:focus {
  border-color: #8b1b34;
  box-shadow: 0 0 8px rgba(139, 27, 52, 0.4); /* efecto neón suave */
}

.login-form button {
  padding: 0.8rem;
  background-color: #8b1b34;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: 0.5rem;
  box-shadow: 0 0 4px rgba(139, 27, 52, 0.4); /* neón leve */
}

.login-form button:hover {
  background-color: #a22a42;
  box-shadow:
    0 0 10px rgba(162, 42, 66, 0.6),
    0 0 15px rgba(198, 90, 114, 0.4);
}

.register-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #a85a70;
}

.register-link a {
  color: #8b1b34;
  text-decoration: none;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(139, 27, 52, 0.3);
}

.register-link a:hover {
  text-decoration: underline;
}

.form-image {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-image img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 15%;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(198, 90, 114, 0.4));
}

/* Animación flotación */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

#tsparticles {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}

.footer-derechos {
  font-size: 0.85rem;
  color: #000000;
  text-align: center;
  background: transparent;
  padding: 12px 0;
}

@media (max-width: 600px) {
  .login-container {
    padding: 1.5rem;
  }
  .input-group input,
  .login-form button {
    font-size: 0.9rem;
  }
}
