/* Full-screen loading overlay */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #012456; /* Dark blue background */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease-out;
}

/* XP logo animation */
.xp-logo {
  position: relative;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 56, 126, 0.4) 0%, rgba(0, 36, 86, 0) 70%);
}

.logo-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: logo-pulsate 1.5s infinite alternate ease-in-out;
}

@keyframes logo-pulsate {
  from { transform: translate(-50%, -50%) scale(1); }
  to { transform: translate(-50%, -50%) scale(1.05); }
}

/* Loading bar visuals */
.loading-bar-container {
  width: 300px;
  height: 10px;
  border: 1px solid #c8c5ba;
  background-color: #f7f7f7;
  box-shadow: inset 1px 1px 1px #848284;
  margin-top: 50px;
}

.loading-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, #004d9a, #4387d8);
  animation: loading-fill 3s forwards linear;
}

/* Loading bar animation */
@keyframes loading-fill {
  0% { width: 0%; }
  100% { width: 100%; }
}