
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9997;
    opacity: 1;
    transition: opacity 0.3s ease;
    animation: fadeIn 0.4s ease-out;
  }
  
  .loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  .spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.4s ease-in-out;
  }
  
  .spinner {
    width: 64px;
    height: 64px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3f51b5;
    border-radius: 50%;
    animation: spin 1s linear infinite, glow 2s ease-in-out infinite;
  }
  
  .loading-text {
    margin-top: 16px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    display: flex;
    gap: 3px;
    justify-content: center;
    align-items: center;
  }
  
  .loading-text .dot {
    animation: blink 1.4s infinite;
  }
  
  .loading-text .dot:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .loading-text .dot:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  @keyframes glow {
    0%, 100% { box-shadow: 0 0 0 rgba(0, 0, 0, 0.2); }
    50% { box-shadow: 0 0 20px rgba(63, 81, 181, 0.4); }
  }
  
  @keyframes blink {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
  