/* Native Splash Screen Styles for PWA */
/* These styles provide a native splash screen experience before the React app loads */

/* Base splash screen container */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #58a6ff 0%, #1a73e8 50%, #0d47a1 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: 'Montserrat', sans-serif;
}

/* Logo container */
.splash-logo {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
  overflow: hidden;
}

.splash-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* App name */
.splash-app-name {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin: 1rem 0 0.5rem 0;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tagline */
.splash-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-align: center;
  font-weight: 400;
}

/* Loading spinner */
.splash-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: splash-spin 1s linear infinite;
  margin: 2rem 0 1rem 0;
}

@keyframes splash-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Loading text */
.splash-loading-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .splash-logo {
    width: 100px;
    height: 100px;
  }
  
  .splash-logo img {
    width: 70px;
    height: 70px;
  }
  
  .splash-app-name {
    font-size: 1.5rem;
  }
  
  .splash-tagline {
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) {
  .splash-logo {
    width: 140px;
    height: 140px;
  }
  
  .splash-logo img {
    width: 90px;
    height: 90px;
  }
  
  .splash-app-name {
    font-size: 2.5rem;
  }
  
  .splash-tagline {
    font-size: 1.1rem;
  }
}

/* Hide splash screen when app is ready */
.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
} 