/* ===== Splash Loading Screen ===== */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  visibility: visible;
  pointer-events: auto;
}

#splash-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#splash-screen .splash-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  animation: splash-pulse 1.6s ease-in-out infinite;
}

@keyframes splash-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.06); opacity: 0.92; }
}

#splash-screen .splash-text {
  font-family: 'Tajawal', 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary, #6b7280);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 12px;
}

#splash-screen .splash-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid #f3d1de;
  border-top-color: #e91e63;
  border-radius: 50%;
  animation: splash-spin 0.8s linear infinite;
}

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