/* Estilos para el splash screen en Android y Windows */

/* Contenedor principal del splash screen */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #788a25; /* Color principal de Wasabi */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

/* Ocultar el splash screen cuando la app está cargada */
.splash-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Contenedor del logo */
.splash-logo {
  width: 150px;
  height: 150px;
  background-image: url("../img/splash_screens/icon.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 20px;
}

/* Animación de carga */
.splash-loading {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Texto de carga */
.splash-text {
  color: white;
  font-size: 18px;
  margin-top: 20px;
  font-weight: bold;
}
