/* Payment Tabs and Panels */
.payment-options {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e0e4ea;
  }
  
  .payment-options h4 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
  }
  
  .payment-tabs {
    display: flex;
    margin-bottom: 15px;
  }
  
  .payment-tab {
    padding: 8px 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    position: relative;
  }
  
  .payment-tab.active {
    color: #007bff;
    font-weight: 600;
  }
  
  .payment-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #007bff;
  }
  
  .payment-panel {
    display: none;
    padding: 10px 0;
  }
  
  .payment-panel.active {
    display: block;
  }
  
  /* Action Buttons */
  .action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .wallet-button {
    background: linear-gradient(135deg, #9945FF, #8752F3);
    color: white;
  }
  
  .wallet-button:hover {
    background: linear-gradient(135deg, #8234FF, #7641E2);
    transform: translateY(-2px);
  }
  
  .card-button {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
  }
  
  .card-button:hover {
    background: linear-gradient(135deg, #0056b3, #004494);
    transform: translateY(-2px);
  }
  
  .action-button i {
    margin-right: 8px;
  }
  
  .action-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
  }
  
  /* Form Styles */
  .form-row {
    margin-bottom: 15px;
  }
  
  #customer-email {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
  }
  
  #customer-email:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
  }
  
  #customer-email:invalid {
    border-color: #dc3545;
  }
  
  #customer-email:valid {
    border-color: #28a745;
  }
  
  #customer-email {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
  }
  
  #card-element {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
  }
  
  .error-message {
    color: #df1b41;
    font-size: 13px;
    margin-top: 5px;
  }
  
  /* Processing Indicator */
  .processing-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
  }
  
  .spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid #007bff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Success Modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  }
  
  .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
  }
  
  .close-button:hover {
    color: #333;
  }
  
  .success-icon {
    width: 60px;
    height: 60px;
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .payment-tabs {
      flex-direction: column;
      border-bottom: none;
    }
    
    .payment-tab {
      width: 100%;
      text-align: center;
      padding: 10px;
      border-bottom: 1px solid #e0e4ea;
    }
    
    .payment-tab.active::after {
      display: none;
    }
    
    .modal-content {
      margin: 30% auto;
      width: 90%;
    }
  }

  /* Spinner animation for loading states */
.fa-spin {
    animation: fa-spin 2s infinite linear;
  }
  
  @keyframes fa-spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  /* Button states */
  button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
  }
  
  /* Optional: Add a hover effect for the disabled state to make it clearer */
  button:disabled:hover {
    background-color: #007bff; /* Same as normal color, prevents hover effect */
    transform: none;
  }
  
  /* Processing indicator styling */
  .processing-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
  }
  
  .spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 3px solid #007bff;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin-bottom: 5px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff4d4f;
  }
  
  #error-modal .modal-content {
    border-top: 4px solid #ff4d4f;
  }

  #minted-nft-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 1rem;
    text-align: left;
  }
  
  .minted-nft-entry {
    margin-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
  }
  
  .minted-nft-entry img {
    width: 100%;
    max-width: 250px;
    display: block;
    margin-bottom: 5px;
    border-radius: 6px;
  }
  
  .minted-nft-entry a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
  }
  
  .centered-nft-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%; /* adjust as needed */
  }

  .wallet-address {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
  }

  .wallet-address .address {
    font-family: monospace;
    font-size: 16px;
    color: #333;
    margin-right: 10px;
  }

  .copy-button {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    margin-left: 5px;
  }

  .copy-button:hover {
    color: #0056b3;
  }

  .wallet-address p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-content a {
    color: #007bff;
    text-decoration: none;
  }

  .modal-content a:hover {
    text-decoration: underline;
  }

  #email-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: none;
  }

  .warning-message {
    color: #ffc107;
    font-size: 13px;
    margin-top: 5px;
    display: none;
    background-color: rgba(255, 193, 7, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid #ffc107;
  }

  .warning-message i {
    margin-right: 5px;
  }