/* Overlay: Covers the entire viewport */
.loading-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.644);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    
  }
  
  /* Spinner and text container */
  .loading-popup-spinner {
    text-align: center;
    background: transparent;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 420px;
  }
  
  /* Spinner animation */
  .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #ff810e;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  /* Text styling */
  .loading-popup-spinner p {
    margin-top: 10px;
    font-size: 22px;
    color: #fff;
    /* font-family: var(--jersey-font); */
  }
  
  /* Responsive design adjustments */
  @media screen and (max-width: 768px) {
    .loading-popup-spinner {
      width: 280px;
      padding: 15px;
    }
  
    .loading-popup-spinner p {
      font-size: 14px;
    }
  
    .spinner {
      width: 35px;
      height: 35px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .loading-popup-spinner {
      width: 240px;
      padding: 10px;
    }
  
    .loading-popup-spinner p {
      font-size: 12px;
    }
  
    .spinner {
      width: 30px;
      height: 30px;
    }
  }
  