/* General Body Styling */
  
  /* Container */
  .payment-container {
    width: 100%;
    max-width: 800px;
    background-color: #2d3748; /* Dark background for the form */
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  /* Heading Section */
  .payment-header {
    text-align: center;
  }
  
  .payment-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #edf2f7;
  }
  
  .payment-header p {
    color: #e2e8f0;
  }
  
  /* Label Styling */
  label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #e2e8f0;
    display: block;
    margin-bottom: 0rem;
  }
  
  /* Input Fields */
  .input-field {
    width: 100%;
    padding: 12px;
    margin: 8px 0 16px 0;
    background-color: #4a5568; /* Dark input background */
    color: #ff9a05;
    border: 1px solid #718096; /* Border */
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
  }
  
  .input-field:focus {
    border-color: #3182ce; /* Blue focus border */
  }
  
  /* Select Fields */
  .select-field {
    width: 100%;
    padding: 12px;
    margin: 8px 0 16px 0;
    background-color: #4a5568;
    color: #ff9a05;
    border: 1px solid #718096;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
  }
  
  .select-field:focus {
    border-color: #3182ce;
  }
  
  /* Button Styling */
  .button-submit {
    width: 100%;
    padding: 12px;
    background-color: #3182ce; /* Blue background */
    color: white;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .button-submit:hover {
    background-color: #2b6cb0; /* Darker blue on hover */
  }
  
  /* Flex Layout */
  .flex-row {
    display: flex;
    gap: 16px;
  }
  
  .flex-row .half-width {
    width: 50%;
  }


  .half-width.acct {
    width: 200px;
  }

  .half-width.verify-acct {
    width: 200px;
  }


  .half-width.exp {
    width: 200px;
  }

  .half-width.cvv {
    width: 200px;
  }

  .half-width.name {
    width: 200px;
  }

  .half-width.type {
    width: 200px;
  }

  /* Ensure checkboxes are visible and styled correctly */
  input[type="checkbox"] {
    appearance: auto; /* Use the browser's default checkbox appearance */
    width: 20px;
    height: 20px;
    margin-right: 10px;
    accent-color: #007bff; /* Optional: Set a custom color for the checkbox */
  }

  /* Ensure labels align properly with checkboxes */
  .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .input-field.routing{
    padding-right: 5px;
    width: 100%;
  }

  .select-field.country{
    width: 100%;
  }
  
  .flex-row .full-width {
    width: 100%;
  }

  .fifth-width {
    flex: 1 1 19%;
    min-width: 150px;
  }

  .third-width {
    flex: 1 1 30%;
  }
  
  /* Payment Sections */
  .payment-section {
    margin-bottom: 24px;
    width: 50%
  }

  .address-section {
    width: 100%;
    margin-right: 20px;
}
  
  .payment-method-container {
    display: flex;
    justify-content: space-between;
  }
  
  /* Checkbox */
  .checkbox-label {
    display: flex;
    align-items: center;
    color: #e2e8f0;
  }
  
  .checkbox-label input {
    margin-right: 8px;
  }
  
  .hidden {
    display: none;
  }

  /* Remove the modal background */
.modal-content {
    background-color: transparent; /* Make the modal background transparent */
    border: none; /* Remove the border */
    box-shadow: none; /* Remove the shadow */
}

/* Center the modal content */
.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional: Add padding to the modal body */
.modal-body.paymentBody {
    background-color: transparent; 
}
  
  /* Mobile View Adjustments */
  @media (max-width: 768px) {
    .payment-container {
      padding: 16px;
    }
  
    .payment-method-container {
      flex-direction: column;
    }
  }
  