/* Splashscreen styles for PWA */
.pwa-splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  transition: opacity 0.5s ease-out;
}

.pwa-splash-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.pwa-splash-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
  animation: pulse 1.5s infinite ease-in-out;
}

.pwa-splash-title {
  font-size: 24px;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 8px;
}

.pwa-splash-subtitle {
  font-size: 16px;
  color: #64748b;
}

.pwa-loading-indicator {
  margin-top: 32px;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  border-top-color: #3b82f6;
  animation: spin 1s linear infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
