/* PharmQ Splash Screen Styling */
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #1976D2 0%, #0D47A1 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
}

#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1976D2 0%, #0D47A1 100%);
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

#splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-logo {
  width: 160px;
  height: 160px;
  background-color: white;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: 24px;
  padding: 20px;
  animation: pulse 2s ease-in-out infinite;
}

.splash-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.splash-title {
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.splash-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 32px;
}

.splash-loader {
  width: 200px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.splash-loader-bar {
  height: 100%;
  background-color: white;
  border-radius: 4px;
  animation: loading 1.5s ease-in-out infinite;
}

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

@keyframes loading {
  0% {
    width: 0;
    margin-left: 0;
  }
  50% {
    width: 100%;
    margin-left: 0;
  }
  100% {
    width: 0;
    margin-left: 100%;
  }
}

