body {
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: #fff;
  overflow: hidden;
}

/* Contenedor de Partículas */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Contenedor del Login */
.login-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(17, 17, 17, 0.8) !important;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 0, 0, 1) !important;
  width: 100%;
  max-width: 400px;
  text-align: center;
  z-index: 2;
  overflow: hidden;
  transition: transform 0.3s ease; /* Agregamos una transición para el efecto */
}

/* Efecto al pasar el mouse */
.login-container:hover {
  transform: translate(-50%, -52%); /* Movimiento ligero hacia arriba */
}

/* Animación continua del fondo del login-container */
.login-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    rgba(255, 0, 0, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  transform: rotate(45deg);
  z-index: -1;
  animation: animateBackground 6s linear infinite;
}

@keyframes animateBackground {
  0% {
    transform: translate(0, -100%) rotate(45deg);
  }
  100% {
    transform: translate(0, 100%) rotate(45deg);
  }
}

/* Logo */
.login-logo {
  width: 80px;
  margin-bottom: 0.9rem;
}

/* Campos de Entrada */
.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 40px 10px 10px;
  font-size: 14px;
  color: #fff;
  transition: all 0.3s ease;
}

/* Placeholder */
input::placeholder,
textarea::placeholder {
  color: gray !important;
  opacity: 1 !important;
}

/* Pie de Página */
.login-footer {
  font-size: 0.79rem;
  color: #777;
  gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 576px) {
  .login-container {
    padding: 1.5rem;
    /* Reducir padding en pantallas pequeñas */
    max-width: 90%;
    /* Ocupar todo el ancho disponible */
  }
  .login-logo {
    width: 60px;
    /* Reducir tamaño del logo */
  }
  h4 {
    font-size: 1.2rem;
    /* Reducir tamaño del título */
  }
  .form-control {
    font-size: 12px;
    /* Reducir tamaño de fuente en campos de entrada */
    padding: 8px 35px 8px 10px;
    /* Ajustar padding */
  }
  .btn {
    font-size: 12px;
    /* Reducir tamaño de fuente en botones */
    padding: 8px;
    /* Ajustar padding */
  }
  .login-footer {
    font-size: 0.7rem;
    /* Reducir tamaño de fuente en el pie de página */
  }
}

/* Separador en el pie de página */
.bullet {
  display: inline;
  margin: 0 4px;
}
.bullet:after {
  content: "\2022";
}
.d-inline {
  display: inline !important;
}

/* Personaliza la apariencia de la alerta */
.custom-alert {
  background-color: #333 !important;
  /* Color de fondo */
  color: #fff !important;
  /* Color del texto */
  border: 2px solid #007bff !important;
  /* Borde personalizado */
  border-radius: 10px !important;
  /* Bordes redondeados */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
  /* Sombra */
}

/* Personaliza el estilo del título de la alerta */
.custom-alert .swal2-title {
  font-size: 24px !important;
  /* Tamaño de fuente */
}

/* Personaliza el estilo del contenido HTML */
.custom-alert .swal2-html {
  font-size: 16px !important;
  /* Tamaño de fuente del contenido */
}

/* Personaliza el estilo del temporizador */
.custom-alert .swal2-progress-bar {
  background-color: #007bff !important;
  /* Color de la barra de progreso */
}

/* Personaliza el estilo del texto del temporizador */
.custom-alert .swal2-progress-bar-label {
  color: #007bff !important;
  /* Color del texto del temporizador */
  font-weight: bold !important;
  /* Texto en negrita */
}

/* Estilo inicial del logotipo */
.logo-fade {
  max-width: 120px;
  transition: all 0.3s ease;
}
.logo-fade:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}
