/* Loading Screen Overlay */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Fluent UI Spinner Animation */
.loading-spinner {
  width: 40px;
  height: 40px;
  position: relative;
  animation: spinner-rotate 1.3s linear infinite;
}

.loading-spinner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #B4D6FA;
}

.loading-spinner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #0F6CBD;
  border-right-color: #0F6CBD;
}

@keyframes spinner-rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-text-x {
  font-family: var(--pge-font-family);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: #242424;
  text-align: center;
}