  .invoice-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2em 2.5em 1.5em 2.5em;
    max-width: 600px;
    margin: 2em auto 2em auto;
    box-shadow: 0 2px 8px rgba(37,99,235,0.07);
  }
  .invoice-section h2 {
    color: #2563eb;
    margin-bottom: 1.2em;
    font-size: 1.5em;
    font-weight: 600;
  }
  .invoice-details p {
    margin: 0.3em 0;
    font-size: 1.05em;
    color: #334155;
  }
  .invoice-details strong {
    color: #2563eb;
    font-weight: 500;
  }
  .balance-row {
    margin: 1.2em 0 1.5em 0;
    font-size: 1.1em;
  }
  .paid-in-full {
    color: #059669;
    font-weight: 600;
    margin-left: 0.5em;
  }
  .payments-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(37,99,235,0.04);
  }
  .payments-table th, .payments-table td {
    padding: 0.6em 0.9em;
    text-align: left;
    font-size: 0.98em;
  }
  .payments-table th {
    background: #2563eb;
    color: #fff;
    font-weight: 500;
    border-bottom: 2px solid #e0e7ff;
  }
  .payments-table tr:nth-child(even) {
    background: #f1f5f9;
  }
  .payments-table tr:nth-child(odd) {
    background: #fff;
  }
  .action-buttons {
    display: flex;
    gap: 1em;
    margin-top: 1.5em;
    justify-content: flex-end;
  }