body { font-family: system-ui, sans-serif; margin: 0; color: #1a1a1a; background: #f7f7f8; }
.container { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.site-header { background: #1c2b4a; color: #fff; padding: 16px 0; margin-bottom: 24px; }

fieldset { border: 1px solid #d8d8dc; border-radius: 8px; padding: 16px 20px; margin-bottom: 20px; background: #fff; }
legend { font-weight: 600; padding: 0 8px; }

label { display: block; margin-top: 12px; font-weight: 500; font-size: 0.9rem; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], textarea, select {
  width: 100%; padding: 8px 10px; margin-top: 4px; border: 1px solid #c9c9ce; border-radius: 6px; box-sizing: border-box; font-size: 0.95rem;
}
textarea { min-height: 70px; }

.repeat-row { border: 1px dashed #c9c9ce; border-radius: 6px; padding: 12px; margin-top: 10px; position: relative; }
.repeat-row .remove-row { position: absolute; top: 8px; right: 8px; background: #d9435c; color: #fff; border: none; border-radius: 4px; padding: 4px 8px; cursor: pointer; }
.add-row { margin-top: 10px; background: #2a5adf; color: #fff; border: none; border-radius: 6px; padding: 8px 14px; cursor: pointer; }

.gateway-choice { display: flex; gap: 16px; margin-top: 8px; }
.gateway-choice label { display: flex; align-items: center; gap: 6px; font-weight: 400; }

.validation-summary-errors, .field-validation-error { color: #d9435c; font-size: 0.85rem; }
.validation-summary-errors ul { margin: 4px 0; padding-left: 18px; }

.submit-bar { margin: 24px 0 40px; }
button[type=submit] { background: #1c2b4a; color: #fff; border: none; border-radius: 6px; padding: 12px 24px; font-size: 1rem; cursor: pointer; }
button[type=submit]:disabled { opacity: 0.6; cursor: not-allowed; }

.status-card { background: #fff; border-radius: 8px; padding: 24px; margin-top: 24px; text-align: center; }
.status-card.success { border-top: 4px solid #2fa66a; }
.status-card.failed { border-top: 4px solid #d9435c; }
.status-card.pending { border-top: 4px solid #e0a51e; }
