/* Page « Payer en ligne » */
.jpl { max-width: 640px; margin: 24px auto; padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #1e293b; }
.jpl-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
    padding: 24px; box-shadow: 0 4px 16px rgba(15, 23, 42, .06); }
.jpl-card[hidden] { display: none; }
.jpl-title { margin: 0 0 8px; font-size: 22px; color: #0b3d5b; }
.jpl-intro { margin: 0 0 18px; color: #475569; line-height: 1.5; }
.jpl-form-title { margin: 0 0 8px; font-weight: 600; color: #334155; }
.jpl-label { margin: 18px 0 8px; font-weight: 600; font-size: 14px; color: #334155; }

.jpl-field { display: block; margin: 0 0 14px; }
.jpl-field > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: #334155; }
.jpl-field[hidden] { display: none; }
.jpl-field input { width: 100%; box-sizing: border-box; padding: 11px 12px; font-size: 16px;
    border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #1e293b; }
.jpl-field input:focus { outline: none; border-color: #0b3d5b; box-shadow: 0 0 0 3px rgba(11, 61, 91, .15); }
.jpl-hint { display: block; margin-top: 6px; color: #64748b; line-height: 1.4; }

.jpl-btn { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 13px 18px;
    border: 0; border-radius: 10px; background: linear-gradient(180deg, #0e5387, #0b3d5b);
    color: #fff; font-size: 16px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer;
    transition: transform .08s ease, filter .15s ease; }
.jpl-btn:hover { filter: brightness(1.08); color: #fff; }
.jpl-btn:active { transform: scale(.98); }
.jpl-btn:disabled { background: #cbd5e1; color: #64748b; cursor: not-allowed; transform: none; filter: none; }
.jpl-wave { background: linear-gradient(180deg, #2fd2ff, #1dc8ff); color: #08364a; }
.jpl-wave:hover { color: #08364a; }
.jpl-link { display: block; margin: 14px auto 0; padding: 4px; border: 0; background: none;
    color: #0b3d5b; font-size: 14px; text-decoration: underline; cursor: pointer; }

.jpl-groups { margin-bottom: 12px; }
.jpl-group { display: flex; gap: 10px; align-items: center; padding: 10px 12px; margin-bottom: 6px;
    border: 1px solid #e2e8f0; border-radius: 8px; cursor: pointer; }

.jpl-table-wrap { overflow-x: auto; }
.jpl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.jpl-table th, .jpl-table td { padding: 8px 6px; border-bottom: 1px solid #edf2f7; text-align: left; }
.jpl-table th { color: #64748b; font-weight: 600; font-size: 13px; }
.jpl-table .jpl-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.jpl-table tfoot td { color: #475569; }
.jpl-table .jpl-fee-note td { font-size: 13px; font-style: italic; color: #64748b; }
.jpl-table .jpl-total td { font-weight: 700; color: #0b3d5b; font-size: 16px; border-bottom: 0; }

.jpl-operators { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.jpl-op { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px;
    border: 2px solid #e2e8f0; border-radius: 10px; background: #fff; color: #1e293b;
    font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .15s ease, transform .08s ease; }
.jpl-op img { width: 40px; height: 40px; object-fit: contain; }
.jpl-op:active { transform: scale(.97); }
.jpl-op[aria-pressed="true"] { border-color: var(--op-color, #0b3d5b); box-shadow: 0 0 0 3px rgba(11, 61, 91, .08); }

.jpl-msg { margin: 14px 0 0; padding: 0; font-size: 14px; line-height: 1.45; }
.jpl-msg-info { color: #0b3d5b; }
.jpl-msg-error { color: #b42318; }

.jpl-done { text-align: center; }
.jpl-check { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%;
    background: #16a34a; color: #fff; font-size: 30px; line-height: 56px; font-weight: 700; }
.jpl-small { color: #64748b; font-size: 13px; }

@media (max-width: 480px) {
    .jpl-card { padding: 18px; }
    .jpl-operators { grid-template-columns: repeat(2, 1fr); }
}
