.custom-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }
  
  .tooltip-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
  }
  
  .custom-tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
  }
  
  .tooltip-content h4 {
    font-size: 16px;
    margin: 5px 0;
    color: #333;
  }
  
  .tooltip-content p {
    margin: 5px 0;
  }
  
  .tooltip-content .earnings {
    font-weight: bold;
    color: #3d8f6e;
  }
  
  .tooltip-content .order-count {
    font-weight: bold;
    color: #6e77af;
  }
  
  .tooltip-content .credit-amount {
    font-weight: bold;
    color: #af6e6e;
  }
  
  .tooltip-content .note {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
  }


  .tooltip-payment {
    position: absolute;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    z-index: 999;
    width: 200px;
  }
  
  .tooltip-payment p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
  }
  
  .tooltip-payment select {
    margin-top: 10px;
    width: 100%;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
  }
  
  .tooltip-payment .tooltip-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
  }
  
  .tooltip-payment .tooltip-buttons button {
    margin-left: 10px;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
  }
  
  .tooltip-payment .tooltip-buttons .btn-primary {
    background-color: #007bff;
    color: #fff;
  }
  
  .tooltip-payment .tooltip-buttons .btn-secondary {
    background-color: #ccc;
    color: #333;
  }
  
  .tooltip-payment .tooltip-buttons .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
  }
  
  .tooltip-payment .tooltip-buttons .loader {
    margin-left: 5px;
    display: none;
  }


  @keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 1.5s infinite;
}
  