/* combined-pay.css — Frenzon member portal: "One payment" (9 Nov 2026).
   Uses the tokens of pay-ui.css and theme.css. No inline styles (portal CSP). */

.cp-cards { display: grid; gap: 10px; }
.cp-card { border: 1.5px solid var(--pay-line); border-radius: 18px; background: var(--pay-card); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.cp-card.on { border-color: var(--primary-500, #1f6b4a); box-shadow: var(--shadow-sm); }
.cp-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; min-height: 56px; }
.cp-cb, .cp-mcb, .cp-fcb { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cp-box { flex: none; width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--border-dark, #b9c7c0); background: var(--surface, #fff); display: grid; place-items: center; transition: background .12s, border-color .12s; }
.cp-box::after { content: ""; width: 10px; height: 6px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
input:checked + .cp-box, .cp-head input:checked ~ .cp-box { background: var(--primary-500, #1f6b4a); border-color: var(--primary-500, #1f6b4a); }
input:checked + .cp-box::after, .cp-head input:checked ~ .cp-box::after { opacity: 1; }
input:focus-visible + .cp-box { outline: 3px solid rgba(31, 107, 74, .35); outline-offset: 2px; }
.cp-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; color: #fff; font-weight: 900;
  background: linear-gradient(145deg, var(--fc, #1f6b4a), color-mix(in srgb, var(--fc, #1f6b4a) 70%, #000)); }
.cp-txt { display: grid; gap: 1px; min-width: 0; }
.cp-t { font-weight: 800; font-size: .95rem; line-height: 1.2; }
.cp-s { font-size: .76rem; color: var(--text-muted); line-height: 1.3; }
.cp-body { padding: 2px 14px 12px; }
.cp-hint { margin-top: 5px; }

.cp-months { display: grid; gap: 6px; margin: 8px 0 12px; }
.cp-month { border: 1px solid var(--border-color, #dde7e2); border-radius: 14px; padding: 8px 10px; background: var(--surface, #fff); }
.cp-month.on { border-color: var(--primary-500, #1f6b4a); background: var(--bg-subtle, #f4f8f6); }
.cp-month-l { display: flex; align-items: center; gap: 10px; cursor: pointer; min-height: 40px; }
.cp-month-n { display: grid; gap: 1px; }
.cp-month-n b { font-size: .9rem; }
.cp-month-n small { font-size: .74rem; color: var(--text-muted); }
.cp-month-a { margin-top: 6px; }
.cp-month input:disabled + .cp-box { opacity: .4; }

.cp-fines { border-color: #e0b04a; background: linear-gradient(180deg, #fff9e8, var(--pay-card) 70%); }
.cp-fines-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px 6px; }
.cp-fines .cp-ic { --fc: #d98a0b; }
.cp-fine { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid #f0e2bd; cursor: pointer; min-height: 52px; }
.cp-fine-n { flex: 1; display: grid; gap: 1px; min-width: 0; }
.cp-fine-n b { font-size: .9rem; }
.cp-fine-n small { font-size: .74rem; color: var(--text-muted); }
.cp-fine-a { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }

.cp-summary { display: grid; gap: 6px; }
.cp-empty { color: var(--text-muted); font-size: .88rem; padding: 4px 0; }
.cp-line { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding: 5px 0; border-bottom: 1px dashed var(--border-color, #dde7e2); }
.cp-line b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cp-line.cp-extra { color: #174a85; }
.cp-excess { margin-top: 6px; padding: 9px 11px; border-radius: 12px; background: #e8f1fb; color: #174a85; font-size: .84rem; line-height: 1.4; }
.cp-warn { margin-top: 6px; padding: 9px 11px; border-radius: 12px; background: #fdecea; color: #8a1f16; font-size: .84rem; line-height: 1.4; }
