.modal-payment {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
  }
  
  /* modal-payment content container */
  .modal-payment-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 50%;
    max-width: 90%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-out;
  }
  
  /* modal-payment header */
  .modal-payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .modal-payment-header h4 {
    margin: 0;
  }
  
  .modal-payment-header .close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
  }
  
  /* modal-payment body */
  .modal-payment-body {
    margin: 20px 0;
  }
  
  /* List view for payment options */
  .payment-options {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .payment-option {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
  }
  
  .payment-option:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
  }
  
  /* Hide default radio appearance while still accessible */
  .payment-option input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
  }
  
  /* Styling the label when the radio is selected */
  .payment-option input[type="radio"]:checked + label {
    font-weight: bold;
  }
  
  /* modal-payment footer */
  .modal-payment-footer {
    display: flex;
    justify-content: flex-end;
  }
  
  .modal-payment-btn {
    padding: 8px 16px;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .modal-payment-btn.close {
    background-color: #6c757d;
    color: #fff;
  }
  
  .modal-payment-btn.confirm {
    background-color: #007bff;
    color: #fff;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Media Queries for Mobile View */
  @media (max-width: 768px) {
    .modal-payment-content {
      width: 90%;
      padding: 15px;
      border-radius: 8px;
    }
  
    .modal-payment-header h4 {
      font-size: 18px;
    }
  
    .modal-payment-btn {
      padding: 10px 14px;
      font-size: 14px;
    }
  
    .payment-option {
      padding: 8px 10px;
    }
  
    .payment-option input[type="radio"] {
      height: 1.5rem;
      width: 1.5rem;
    }
  }
  .loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .loader-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 0.9s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }