@charset "utf-8";
/* CSS Document */
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      padding: 0;
      background: #f8f8f8;
      color: #333;
    }

    .wrapper {
      max-width: 700px;
      margin: 20px auto;
      padding: 20px;
      background: #ffffff;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    img {
      max-width: 100%;
      height: auto;
    }

    h2 {
      text-align: center;
      margin-top: 20px;
      font-size: 24px;
    }

    p {
      font-size: 14px;
      text-align: center;
      color: #666;
    }

    .input-group {
      display: flex;
      flex-direction: column;
      margin-top: 30px;
    }

    .input-box {
      margin-bottom: 20px;
    }

    .input-box h4 {
      margin-bottom: 5px;
      font-size: 16px;
    }

    .input-box input {
      padding: 12px;
      font-size: 16px;
      width: 100%;
      border: 1px solid #ccc;
      border-radius: 6px;
      box-sizing: border-box;
    }

    button[type="submit"],
    input[type="submit"] {
      background: #007BFF;
      color: #fff;
      font-size: 16px;
      padding: 12px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      width: 100%;
      margin-top: 10px;
    }

    button[type="submit"]:hover,
    input[type="submit"]:hover {
      background: #0056b3;
    }

    #invoiceResult {
      margin-top: 20px;
      text-align: center;
      font-style: italic;
      color: #444;
    }

    .table-responsive {
      width: 100%;
      overflow-x: auto;
      margin-top: 20px;
      border-radius: 8px;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    }

    .payment-table {
      width: 100%;
      min-width: 700px;
      border-collapse: collapse;
      font-size: 14px;
    }

    .payment-table th, .payment-table td {
      border: 1px solid #ddd;
      padding: 10px;
      text-align: center;
      white-space: nowrap;
    }

    .payment-table tr:nth-child(even) {
      background-color: #f9f9f9;
    }

    .payment-table tfoot td {
      background-color: #f0f8ff;
      font-weight: bold;
    }

    .payment-table tr:hover {
      background-color: #e6f0ff;
    }

    .status-unpaid {
      color: #d40000;
      font-weight: bold;
    }

    .status-paid {
      color: #28a745;
      font-weight: bold;
    }

    .payment-section-header {
      font-weight: bold;
      font-size: 16px;
      text-align: center;
      padding: 12px 0;
      color: #333;
      background-color: #eef4ff;
      border-bottom: 1px solid #ccc;
    }

    #paymentForm {
      width: 100%;
      max-width: 700px;
      margin: 20px auto;
      background: #f9f9f9;
      border: 1px solid #ddd;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      box-sizing: border-box;
    }

    #paymentForm table {
      width: 100%;
      border-collapse: collapse;
    }

    #paymentForm td {
      padding: 10px 5px;
      font-size: 15px;
      vertical-align: middle;
    }

    #paymentForm input[type="text"] {
      width: 100%;
      max-width: 120px;
      padding: 6px;
      border: 1px solid #ccc;
      border-radius: 6px;
    }

    #paymentForm input[type="radio"] {
      transform: scale(1.2);
      margin-right: 8px;
    }

    #paymentForm tr.selected {
      background-color: #e6f2ff;
    }

    @media (max-width: 768px) {
      .payment-table {
        font-size: 12px;
        min-width: 600px;
      }

      #paymentForm td {
        font-size: 14px;
        display: block;
        width: 100%;
      }

      #paymentForm table tr {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid #ddd;
      }

      #paymentForm input[type="submit"] {
        width: 100%;
        margin-top: 8px;
      }
    }

    @media (max-width: 480px) {
      .payment-table {
        min-width: 480px;
      }

      .wrapper, #paymentForm {
        padding: 15px;
      }

      #paymentForm td {
        font-size: 13px;
      }
    }
	
	
	#paymentForm {
  width: 100%;
  max-width: 700px;
  margin: 30px auto;
  background: #fff;
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

#paymentForm table {
  width: 100%;
  border-collapse: collapse;
}

.payment-section-header {
  font-weight: bold;
  font-size: 18px;
  padding: 15px 0;
  text-align: center;
  background: #eef4ff;
  border-radius: 8px;
  color: #333;
  margin-bottom: 15px;
}

#paymentForm td {
  padding: 12px 8px;
  font-size: 15px;
  vertical-align: middle;
}

#paymentForm input[type="radio"] {
  transform: scale(1.3);
  margin-right: 10px;
}

.custom-amount {
  width: 100%;
  max-width: 140px;
  padding: 8px 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.pay-btn {
  background: #007BFF;
  color: #fff;
  font-size: 14px;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pay-btn:hover {
  background: #0056b3;
}

#paymentForm tr.selected {
  background-color: #eaf4ff;
}

/* Responsive for smaller screens */
@media (max-width: 600px) {
  #paymentForm td {
    display: block;
    width: 100%;
  }

  #paymentForm table tr {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  .custom-amount, .pay-btn {
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
  }
}#paymentForm td,
#paymentForm th,
.payment-table td,
.payment-table th {
  text-align: left;
}

/* Optional: Center only radio buttons and buttons if desired */
#paymentForm input[type="radio"],
#paymentForm .pay-btn {
  display: inline-block;
  vertical-align: middle;
}

