/* Loader animado para la página principal */
.loader-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}
.loader-bg.hide {
  opacity: 0;
  pointer-events: none;
}
.loader-logo {
  width: 200px;
  height: 150px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: pulse 1.5s ease-in-out infinite;
}
.loader-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
