/* Global Loading Overlay Styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(78, 78, 88, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100000;
  transition: opacity 0.3s ease;
}

/* Loading content styles removed - just show spinner directly */

/* Loader Animation */
.loader {
  border: 5px solid #8143d9;
  border-top: 5px solid transparent;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(129, 67, 217, 0.3);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Loading states for different contexts */
.loading-overlay.show {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.loading-overlay.hide {
  opacity: 0 !important;
  visibility: hidden !important;
}
