/* EMSU Invoice Pay - Frontend Styles */
.emsu-invoice-pay-wrapper { max-width: 600px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.emsu-invoice-pay-wrapper h3 { color: #1a2744; font-size: 1.4rem; margin: 0 0 12px; }
.emsu-invoice-pay-wrapper p { color: #4a5568; margin: 0 0 16px; font-size: 0.95rem; line-height: 1.5; }
.emsu-step { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 28px 24px; margin-bottom: 16px; }
.emsu-form-row { display: flex; gap: 10px; align-items: center; }
.emsu-form-row-split { gap: 16px; }
.emsu-form-row-split .emsu-form-group { flex: 1; }
.emsu-form-group { margin-bottom: 16px; }
.emsu-form-group label { display: block; color: #4a5568; font-size: 0.82rem; font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.emsu-form-group input { width: 100%; padding: 10px 14px; border: 1px solid #cbd5e0; border-radius: 8px; font-size: 1rem; color: #1a202c; box-sizing: border-box; transition: border-color 0.2s; }
.emsu-form-group input:focus { border-color: #3182ce; outline: none; box-shadow: 0 0 0 3px rgba(49,130,206,0.15); }
.emsu-card-input { padding: 10px 14px; border: 1px solid #cbd5e0; border-radius: 8px; min-height: 42px; background: #fff; transition: border-color 0.2s; }
.emsu-card-input:focus-within { border-color: #3182ce; box-shadow: 0 0 0 3px rgba(49,130,206,0.15); }
.emsu-card-input iframe { width: 100% !important; border: none !important; }
.emsu-lookup-email { flex: 1; }
.emsu-btn { padding: 10px 24px; border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.emsu-btn-primary { background: #1a2744; color: #fff; }
.emsu-btn-primary:hover { background: #2d4a7a; }
.emsu-btn-success { background: #198754; color: #fff; }
.emsu-btn-success:hover { background: #157347; }
.emsu-btn-secondary { background: #e2e8f0; color: #4a5568; margin-left: 8px; }
.emsu-btn-secondary:hover { background: #cbd5e0; }
.emsu-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.emsu-error { color: #dc2626; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; font-size: 0.88rem; }
.emsu-spinner { color: #64748b; font-size: 0.9rem; padding: 12px; text-align: center; }
.emsu-spinner::before { content: ""; display: inline-block; width: 16px; height: 16px; border: 2px solid #e2e8f0; border-top-color: #3182ce; border-radius: 50%; animation: emsu-spin 0.6s linear infinite; margin-right: 8px; vertical-align: middle; }
@keyframes emsu-spin { to { transform: rotate(360deg); } }
.emsu-invoice-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 18px; margin-bottom: 16px; }
.emsu-invoice-card .emsu-invoice-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #e2e8f0; font-size: 0.9rem; }
.emsu-invoice-card .emsu-invoice-row:last-child { border-bottom: none; }
.emsu-invoice-card .emsu-invoice-label { color: #64748b; font-weight: 500; }
.emsu-invoice-card .emsu-invoice-value { color: #1a202c; font-weight: 600; }
#emsu-success-transaction { color: #15803d; font-weight: 600; }
@media (max-width: 600px) {
  .emsu-step { padding: 20px 16px; }
  .emsu-form-row { flex-direction: column; }
  .emsu-btn { width: 100%; margin-left: 0 !important; }
  .emsu-form-row-split { flex-direction: column; }
}
