/* Medico Overseas Admin Portal - Instant Mobile PWA Loading Screen */
#pwa-splash {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #10233F;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

#pwa-splash-bg-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 91, 38, 0.15) 0%, rgba(16, 35, 63, 0) 70%);
  pointer-events: none;
  animation: pwaGlowPulse 3s ease-in-out infinite alternate;
}

#pwa-splash-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  max-width: 380px;
}

#pwa-splash-emblem-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  animation: pwaIconFloat 2.5s ease-in-out infinite alternate;
}

#pwa-splash-emblem {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(255, 91, 38, 0.3));
}

#pwa-splash-title {
  color: #FFFFFF;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

#pwa-splash-subtitle {
  color: #94A3B8;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 28px 0;
}

#pwa-splash-progress-track {
  width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

#pwa-splash-progress-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  border-radius: 999px;
  background: linear-gradient(90deg, #FF5B26, #FFA07A);
  box-shadow: 0 0 10px rgba(255, 91, 38, 0.6);
  animation: pwaProgressSlide 1.4s ease-in-out infinite;
}

#pwa-splash-footer {
  position: absolute;
  bottom: 28px;
  color: #64748B;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}

#pwa-splash-footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

@keyframes pwaGlowPulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0.9; }
}

@keyframes pwaIconFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-4px); }
}

@keyframes pwaProgressSlide {
  0% { left: -50%; }
  100% { left: 100%; }
}
