/* Doctorcura Behandlungsplan 0.4.0 (baan B): konto, check-in, laatste wizardstap en Kündigungsbutton. */
.dcp-plan {
	--p-blue: var(--dcd-blue, #0560ff);
	--p-blue-50: #eef4ff;
	--p-navy: var(--dcd-navy, #0a1a3d);
	--p-ink: #33415c;
	--p-muted: #56637f;
	--p-line: #dfe6f3;
	--p-ok: #067a55;
	--p-stop: #b42323;
	--p-font: var(--dcd-font, "Inter", system-ui, -apple-system, "Segoe UI", sans-serif);
	--p-font-head: var(--dcd-font-head, "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif);
}

/* ---------- Konto: plankaart ---------- */
.dcp-plan__card { display: grid; gap: 16px; }
.dcp-plan__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 16px; }
.dcp-plan__title { margin: 2px 0 0; font: 700 clamp(20px, 2.6vw, 24px)/1.25 var(--p-font-head); color: var(--p-navy); }
.dcp-plan__status { margin: 0; color: var(--p-ink); }
.dcp-plan__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0; padding: 14px 16px; border-radius: 16px; background: #f5f8ff; }
.dcp-plan__facts > div { min-width: 0; }
.dcp-plan__facts dt { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p-muted); }
.dcp-plan__facts dd { margin: 4px 0 0; color: var(--p-navy); font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.dcp-plan__price { padding: 14px 16px; border: 1px solid var(--p-line); border-radius: 16px; }
.dcp-plan__price p { margin: 4px 0 0; color: var(--p-navy); }
.dcp-plan__price .dcp-eyebrow { margin: 0; }
.dcp-plan__price-plan { color: var(--p-ok); font-weight: 600; }
.dcp-plan__cycle { display: grid; gap: 4px; }
.dcp-plan__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dcp-plan__actions .dcp-btn, .dcp-plan__inline .dcp-btn { margin: 0; }
.dcp-plan__inline { display: inline; margin: 0; }
.dcp-plan__form { display: grid; gap: 10px; padding: 16px 18px; border: 1px dashed #c9d4ea; border-radius: 16px; background: #fff; }
.dcp-plan__form[hidden] { display: none; }
.dcp-plan__form label { font-weight: 600; color: var(--p-navy); }
.dcp-plan__form .dcp-input { max-width: 260px; }
.dcp-plan__form .dcp-btn { justify-self: start; }
.dcp-plan__form .dcp-hint { margin: 0; }
.dcp-plan .dcp-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--p-ink); cursor: pointer; }
.dcp-plan .dcp-check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--p-blue); }
.dcp-plan__table .is-current td { background: #f0fbf6; }
.dcp-plan__table td:nth-child(2), .dcp-plan__table td:nth-child(3), .dcp-plan__table th:nth-child(2), .dcp-plan__table th:nth-child(3) { white-space: nowrap; }
.dcp-plan__cycles { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dcp-plan__cycles li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--p-line); }
.dcp-plan__cycles li:last-child { border-bottom: 0; }
.dcp-plan__cycles li strong { color: var(--p-navy); }
.dcp-plan__cycles li span { color: var(--p-muted); font-size: 14px; }
.dcp-plan__cycles li a { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 14px; font-weight: 600; }
.dcp-plan__weight .dcp-chart { color: var(--p-blue); }
.dcp-plan__start { display: grid; gap: 8px; margin: 12px 0 0; padding: 14px 16px; border-radius: 16px; background: #e7f8f1; border: 1px solid #a7e8cf; }
.dcp-plan__start p { margin: 0; }
.dcp-plan__start form { margin: 4px 0 0; }
.dcp-plan-k .dcp-form { display: grid; gap: 8px; }
.dcp-plan-k .dcp-form label { font-weight: 600; color: var(--p-navy); }
.dcp-plan-k .dcp-form .dcp-btn { justify-self: start; margin-top: 6px; }
.dcp-plan .dcp-alert span { display: block; font-weight: 400; }
@media (max-width: 560px) {
	.dcp-plan__actions .dcp-btn, .dcp-plan__inline, .dcp-plan__inline .dcp-btn { width: 100%; }
	.dcp-plan__cycles li { grid-template-columns: 1fr; }
	.dcp-plan__cycles li a { grid-column: 1; grid-row: auto; }
}

/* ---------- Check-in: zelfde look als de vragenlijst ---------- */
.dcpp { font-family: var(--p-font); color: var(--p-ink); }
.dcpp * { box-sizing: border-box; }
.dcpp-form { max-width: 720px; margin: 0; }
.dcpp-head { margin: 0 0 18px; }
.dcpp-head__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.dcpp-title { font: 700 14px/1.2 var(--p-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--p-blue); }
.dcpp-count { font-size: 13px; color: var(--p-muted); font-variant-numeric: tabular-nums; }
.dcpp-bar { height: 8px; border-radius: 999px; background: #e3eaf7; overflow: hidden; }
.dcpp-bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #0560ff, #3d8bff); transition: width .35s ease; }
.dcpp-screen { display: grid; gap: 12px; margin: 0 0 22px; padding: 30px 30px 24px; border: 1px solid var(--p-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 40px -22px rgba(10, 26, 61, .28); animation: dcpp-in .28s ease; }
.dcpp-screen[hidden] { display: none; }
@keyframes dcpp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dcpp-screen, .dcpp-bar span { animation: none; transition: none; } }
.dcpp-q { margin: 0 0 4px; padding: 0; font: 700 clamp(20px, 3vw, 26px)/1.25 var(--p-font-head); color: var(--p-navy); letter-spacing: -.01em; outline: none; }
.dcpp-help { margin: 0; font-size: 15px; line-height: 1.6; color: var(--p-muted); }
.dcpp-emergency { font-size: 13px; }
.dcpp-stack, .dcpp-grid { display: grid; gap: 10px; }
.dcpp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .dcpp-grid { grid-template-columns: 1fr; } }
.dcpp-option { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 58px; margin: 0; padding: 14px 18px; border: 1.5px solid var(--p-line); border-radius: 16px; background: #fff; color: var(--p-navy); font: 600 16px/1.35 var(--p-font); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.dcpp-option input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.dcpp-option:hover { border-color: #7fa3e6; background: #f5f8ff; }
.dcpp-option:focus-within { outline: 3px solid var(--p-blue); outline-offset: 2px; }
.dcpp-option.is-selected, .dcpp-option:has(input:checked) { border-color: var(--p-blue); background: var(--p-blue-50); box-shadow: 0 0 0 1px var(--p-blue) inset; }
.dcpp-option.is-disabled { opacity: .7; cursor: not-allowed; background: #f7f9fe; }
.dcpp-option__mark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #b9c6de; display: grid; place-items: center; }
.dcpp-option.is-multi .dcpp-option__mark { border-radius: 6px; }
.dcpp-option.is-selected .dcpp-option__mark, .dcpp-option:has(input:checked) .dcpp-option__mark { border-color: var(--p-blue); background: var(--p-blue); }
.dcpp-option.is-selected .dcpp-option__mark::after, .dcpp-option:has(input:checked) .dcpp-option__mark::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.dcpp-option__text { display: grid; gap: 2px; min-width: 0; }
.dcpp-option__text small { font-weight: 400; font-size: 13px; line-height: 1.45; color: var(--p-muted); }
.dcpp-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--p-navy); }
.dcpp-field-row { display: grid; gap: 6px; }
.dcpp-input, .dcpp select.dcpp-input, .dcpp textarea.dcpp-input { width: 100%; min-height: 52px; margin: 0; padding: 13px 15px; border: 1.5px solid #b9c6de; border-radius: 12px; background: #f5f8fd; color: var(--p-navy); font: 500 16px/1.4 var(--p-font); box-shadow: none; }
.dcpp textarea.dcpp-input { min-height: 96px; resize: vertical; }
.dcpp-input:focus { outline: none; border-color: var(--p-blue); background: #fff; box-shadow: 0 0 0 4px rgba(5, 96, 255, .18); }
.dcpp-detail[hidden] { display: none; }
.dcpp-summary { display: grid; margin: 0; border: 1px solid var(--p-line); border-radius: 16px; overflow: hidden; }
.dcpp-summary dt { padding: 12px 16px 2px; font-size: 13px; color: var(--p-muted); }
.dcpp-summary dd { margin: 0; padding: 0 16px 12px; border-bottom: 1px solid var(--p-line); }
.dcpp-summary dd:last-child { border-bottom: 0; }
.dcpp-edit { padding: 0; border: 0; background: none; color: var(--p-navy); font: 600 15px/1.45 var(--p-font); text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: #c7d6f5; text-underline-offset: 3px; }
.dcpp-edit:hover { text-decoration-color: var(--p-blue); color: var(--p-blue); }
.dcpp-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #f5f8ff; font-size: 14px; line-height: 1.5; color: var(--p-ink); cursor: pointer; }
.dcpp-check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--p-blue); }
.dcpp-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dcpp-actions [hidden] { display: none; }
.dcpp-btn, .dcpp .dcpp-btn:focus { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin: 0; padding: 13px 28px; border-radius: 999px; border: 0; background: var(--p-blue); color: #fff; font: 700 16px/1.2 var(--p-font-head); text-transform: none; letter-spacing: normal; cursor: pointer; box-shadow: 0 12px 26px -12px rgba(5, 96, 255, .7); }
.dcpp-btn:hover { background: var(--dcd-blue-600, #004be0); color: #fff; }
.dcpp-btn:focus-visible { outline: 3px solid var(--p-navy); outline-offset: 2px; }
.dcpp-btn--ghost, .dcpp .dcpp-btn--ghost:focus { border: 1.5px solid #b9c6de; background: #fff; color: var(--p-navy); box-shadow: none; }
.dcpp-btn--ghost:hover { border-color: #7fa3e6; background: #f5f8ff; color: var(--p-navy); }
.dcpp-actions [data-dcpp-next]:not([hidden]), .dcpp-actions [data-dcpp-submit]:not([hidden]) { margin-left: auto; }
.dcpp-error { margin: 6px 0 0; min-height: 1.2em; color: var(--p-stop); font-weight: 600; font-size: 14px; }
.dcpp-error:empty { margin: 0; min-height: 0; }
.dcp-plan .dcp-quote { margin: 0; }
@media (max-width: 640px) {
	.dcpp-screen { padding: 22px 18px 18px; border-radius: 18px; }
	.dcpp-actions .dcpp-btn { flex: 1 1 auto; }
}

/* ---------- Vragenlijst: stap Behandlungsplan ---------- */
#dcp-wizard .dcpw-plan .dcpw-eyebrow { margin-top: 8px; }
#dcp-wizard .dcpw-plan .dcpw-link { justify-self: start; }

/* ---------- 0.5.5 Kündigungsbutton (§ 312k BGB): keuzegroepen, gegevens, knoppenrij ---------- */
.dcp-plan-k .dcp-form fieldset { border: 0; margin: 6px 0 2px; padding: 0; min-width: 0; display: grid; gap: 6px; }
.dcp-plan-k .dcp-form legend { font-weight: 600; color: var(--p-navy); font-size: 14px; padding: 0; margin: 0 0 4px; }
.dcp-plan-k .dcp-form .dcp-check { font-size: 14.5px; }
.dcp-plan-k .dcp-form .dcp-hint { margin: -2px 0 4px; }
.dcp-plan-k .dcp-form .dcp-k-date { max-width: 240px; }
.dcp-plan-k .dcp-dl { margin: 8px 0 16px; }
.dcp-plan-k .dcp-k-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.dcp-plan-k .dcp-k-actions .dcp-form { display: block; }
