/* Ultra-Professional Enterprise Admin Splash Screen */

.admin-splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.admin-splash-screen.splash-fade-out {
  opacity: 0;
  transform: scale(1.015);
  pointer-events: none;
}

.admin-splash-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: splashFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.splash-logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
}

.splash-logo {
  max-height: 58px;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.splash-brand-text {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -1px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Subtle Shimmer Sweep Over Logo */
.splash-logo-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  animation: logoShimmer 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* Minimalist 2px Progress Bar */
.splash-progress {
  width: 120px;
  height: 2px;
  background-color: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.splash-progress-bar {
  height: 100%;
  width: 40%;
  background-color: #ff7a00;
  border-radius: 4px;
  position: absolute;
  left: 0;
  top: 0;
  animation: splashGlide 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Keyframe Animations */
@keyframes splashFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoShimmer {
  0% {
    left: -100%;
  }
  60%, 100% {
    left: 200%;
  }
}

@keyframes splashGlide {
  0% {
    left: -40%;
    width: 40%;
  }
  50% {
    left: 30%;
    width: 50%;
  }
  100% {
    left: 100%;
    width: 40%;
  }
}
