

  #loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #11e74e;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
  }
  
  .hiddenIndicator {
    display: none !important; /* Ensure it overrides conflicting styles */
  }
  
  /* The Modal (background overlay) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    z-index: 9999; /* Ensures it stays on top */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out; /* Fading effect */
  }

  /* Modal content (the popup box itself) */
  .modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 350px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3); /* Adding shadow */
    animation: scaleUp 0.3s ease-out forwards; /* Animation for scale-up effect */
  }

  /* Spinner (Waiting sign) */
  .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #329cd5;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    animation: spin 1s linear infinite;
  }

  /* Spinner animation */
  @keyframes spin {
    100% {
      transform: rotate(360deg);
    }
  }

  /* Message text */
  .message {
    margin: 20px 0;
    font-size: 16px;
    color: #333;
  }

  /* Button styles */
  .cancel-btn {
    padding: 10px 15px;
    background-color: #329cd5;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  .cancel-btn:hover {
    background-color: #329cd5;
  }

  /* Scale-up animation for modal */
  @keyframes scaleUp {
    from {
      transform: scale(0.9);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }