html {
	scroll-behavior: smooth;
}
.ptcp-dashboard {
	max-width: 700px;
	margin: 0 auto;
}
.ptcp-schema-lijst,
.ptcp-klanten-lijst {
	list-style: none;
	padding: 0;
}
.ptcp-schema-lijst li,
.ptcp-klanten-lijst li {
	padding: 12px 16px;
	margin-bottom: 8px;
	background: #f5f5f5;
	border-radius: 6px;
}
.ptcp-schema-lijst a,
.ptcp-klanten-lijst a {
	text-decoration: none;
	font-weight: 600;
	color: var(--ptcp-kleur, #2271b1);
}
.ptcp-oefening-kaart {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 20px;
}

/* Sets als kaartjes (mobielvriendelijk) in plaats van een krappe tabel */
.ptcp-sets-lijst {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 12px 0;
}
.ptcp-set-rij {
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: #f7f7f7;
	border-radius: 8px;
	padding: 10px 12px;
}
.ptcp-set-nummer {
	font-weight: 600;
	font-size: 13px;
	color: #555;
}
.ptcp-set-inhoud {
	display: flex;
	align-items: center;
	gap: 8px;
}
.ptcp-set-velden {
	flex: 1;
	display: flex;
	gap: 6px;
}
.ptcp-set-velden label {
	flex: 1;
	min-width: 0;
	font-size: 11px;
	color: #555;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.ptcp-set-velden input[type="number"] {
	width: 100%;
	padding: 8px 6px;
	font-size: 16px; /* voorkomt inzoomen op iPhone bij tikken in een veld */
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
}
.ptcp-gedaan-label {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 6px !important;
	font-size: 13px !important;
	margin-left: 40px; /* lijnt uit met de velden, na de ronde verwijder-knop */
}
.ptcp-gedaan-label input[type="checkbox"] {
	width: 22px;
	height: 22px;
	accent-color: var(--ptcp-kleur, #2271b1);
}
.ptcp-verwijder-set {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid #ccc;
	background: #fff;
	font-size: 18px;
	line-height: 1;
	color: #a00;
	cursor: pointer;
}
.ptcp-voeg-set-toe {
	margin-top: 4px;
}

.ptcp-rust-timer {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
	padding: 10px 12px;
	background: #eef2f7;
	border-radius: 8px;
}
.ptcp-rust-timer label {
	font-size: 13px;
	color: #555;
}
.ptcp-rust-select {
	padding: 6px 8px;
	border-radius: 6px;
	border: 1px solid #ccc;
	font-size: 14px;
}
.ptcp-rust-weergave {
	font-weight: 700;
	font-size: 15px;
	min-width: 60px;
}
.ptcp-rust-weergave.ptcp-rust-klaar {
	color: #1a7a1a;
}
.ptcp-naar-calculator {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	color: var(--ptcp-kleur, #2271b1);
	text-decoration: none;
}
.ptcp-naar-calculator:hover {
	text-decoration: underline;
}

/* Op grotere schermen mag "Gedaan" mooi uitlijnen met de rest */
@media (min-width: 600px) {
	.ptcp-gedaan-label {
		margin-left: 40px;
	}
}
.ptcp-historie-tabel {
	width: 100%;
	border-collapse: collapse;
	margin: 10px 0;
	font-size: 12px;
}
.ptcp-historie-tabel th,
.ptcp-historie-tabel td {
	text-align: left;
	padding: 4px 6px;
	border-bottom: 1px solid #eee;
}
.ptcp-historie {
	margin-top: 12px;
	font-size: 13px;
}
.ptcp-historie summary {
	cursor: pointer;
	font-weight: 600;
}
.ptcp-opslaan-knop {
	display: block;
	width: 100%;
	padding: 12px;
	font-size: 16px;
	text-align: center;
	margin-top: 10px;
	background: var(--ptcp-kleur, #2271b1) !important;
	border-color: var(--ptcp-kleur, #2271b1) !important;
	color: #fff !important;
}
#ptcp-calc-bereken {
	background: var(--ptcp-kleur, #2271b1) !important;
	border-color: var(--ptcp-kleur, #2271b1) !important;
	color: #fff !important;
}

.ptcp-calculator-kaart {
	border: 1px dashed #ccc;
	border-radius: 8px;
	padding: 12px 16px;
	margin-top: 20px;
	background: #fafafa;
	max-width: 320px;
}
.ptcp-calculator-kaart summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
}
.ptcp-calculator-kaart .description {
	font-size: 12px;
	margin: 6px 0 10px 0;
}
.ptcp-calc-rij {
	display: flex;
	flex-direction: row;
	gap: 8px;
	margin: 10px 0;
}
.ptcp-calc-rij label {
	flex: 1;
	min-width: 0;
	font-size: 11px;
	color: #555;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.ptcp-calc-rij input {
	width: 100%;
	padding: 7px 6px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
}
.ptcp-calc-resultaat {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #ddd;
	font-size: 13px;
}
.ptcp-calc-resultaat p {
	margin: 4px 0;
}
.ptcp-calc-1rm,
#ptcp-calc-advies {
	color: var(--ptcp-kleur, #2271b1);
}

/* Progressie / regressie varianten */
.ptcp-varianten-blok {
	margin-top: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ptcp-variant-paneel {
	width: 100%;
	margin-top: 10px;
	background: #f7f7f7;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 14px 16px;
}
.ptcp-variant-inhoud h4 {
	margin-top: 0;
}
.ptcp-video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 480px;
	border-radius: 6px;
	margin-bottom: 10px;
}
.ptcp-video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.ptcp-variant-cues {
	margin: 10px 0;
	padding-left: 20px;
}
.ptcp-variant-acties {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}
.ptcp-variant-fout {
	color: #a00;
}
.ptcp-badge-aangepast {
	display: inline-block;
	margin-left: 8px;
	font-size: 11px;
	font-weight: 600;
	background: #fff3cd;
	color: #8a6100;
	padding: 2px 8px;
	border-radius: 10px;
	vertical-align: middle;
}
.ptcp-aanpassingen-log {
	background: #fff8e6;
	border: 1px solid #f0dca0;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 16px;
}
.ptcp-aanpassingen-log h3 {
	margin-top: 0;
	font-size: 15px;
}
.ptcp-aanpassingen-log ul {
	margin: 0;
	padding-left: 18px;
}

/* Superset-blokken */
.ptcp-superset-blok {
	border: 2px dashed #b7b7b7;
	border-radius: 10px;
	padding: 12px;
	margin-bottom: 16px;
}
.ptcp-superset-titel {
	font-weight: 600;
	margin-top: 0;
}
.ptcp-superset-blok .ptcp-oefening-kaart {
	margin-bottom: 10px;
}

/* RPE-veld */
.ptcp-rpe-label {
	max-width: 70px;
}

/* Voortgangsgrafiek */
.ptcp-progress-chart {
	max-width: 480px;
	margin: 8px 0;
}
.ptcp-progress-chart svg {
	width: 100%;
	height: auto;
	color: #2271b1;
}
.ptcp-progress-chart-labels {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #666;
}
.ptcp-verandering {
	font-weight: 700;
	font-size: 15px;
	margin: 0 0 6px 0;
}
.ptcp-verandering-positief {
	color: #1a7a1a;
}
.ptcp-verandering-negatief {
	color: #a11;
}
.ptcp-verandering-gelijk {
	color: #666;
}
.ptcp-grafiek-leeg {
	font-size: 13px;
	color: #777;
	font-style: italic;
}

/* Progressie-sectie (onderaan het schema, en op het schema-overzicht) */
.ptcp-progressie-sectie {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}
.ptcp-progressie-sectie h2 {
	margin-bottom: 12px;
}
.ptcp-progressie-item {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 14px;
}
.ptcp-progressie-item h4 {
	margin: 0 0 6px 0;
}

/* Uitrusting-label */
.ptcp-uitrusting-label {
	font-size: 13px;
	color: #555;
}

/* Sessienotitie (klant) */
.ptcp-sessie-notitie-blok {
	margin: 18px 0;
	padding: 12px;
	background: #f5f5f5;
	border-radius: 8px;
}
.ptcp-sessie-notitie-blok textarea {
	width: 100%;
	margin-top: 6px;
}
.ptcp-coach-feedback-weergave {
	margin-top: 10px;
	padding: 10px;
	background: #eaf3ff;
	border-radius: 6px;
}

/* Compliance-overzicht (coach) */
.ptcp-compliance-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 10px;
	vertical-align: middle;
	margin-left: 6px;
}
.ptcp-compliance-ok {
	background: #d7f2d7;
	color: #1c6b1c;
}
.ptcp-compliance-nok {
	background: #fde2e2;
	color: #a11;
}

/* Sessienotities in coach-dashboard */
.ptcp-sessie-kaart {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 12px;
	margin-bottom: 12px;
}
.ptcp-sessie-datum {
	margin: 0 0 6px 0;
}
.ptcp-klant-notitie {
	background: #fff8e6;
	padding: 8px;
	border-radius: 6px;
}
.ptcp-coach-feedback-formulier textarea {
	width: 100%;
	margin: 6px 0;
}

/* Notitie per oefening */
.ptcp-oef-notitie {
	margin-top: 10px;
	font-size: 13px;
}
.ptcp-oef-notitie summary {
	cursor: pointer;
	font-weight: 600;
}
.ptcp-oef-notitie-tekst {
	width: 100%;
	margin-top: 6px;
	box-sizing: border-box;
	font-size: 14px;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 6px;
}
.ptcp-woorden-teller {
	display: block;
	text-align: right;
	font-size: 11px;
	color: #888;
	margin-top: 2px;
}
.ptcp-woorden-teller.ptcp-woorden-vol {
	color: #a00;
	font-weight: 600;
}

/* Compactere weergave op telefoonschermen */
@media (max-width: 600px) {
	.ptcp-dashboard {
		padding: 0 8px;
	}
	.ptcp-dashboard h2 {
		font-size: 19px;
		margin: 10px 0;
	}
	.ptcp-oefening-kaart {
		padding: 10px 12px;
		margin-bottom: 12px;
		border-radius: 6px;
	}
	.ptcp-oefening-kaart h3 {
		font-size: 16px;
		margin: 0 0 4px 0;
	}
	.ptcp-oefening-kaart p {
		margin: 4px 0;
		font-size: 13px;
	}
	.ptcp-sets-lijst {
		gap: 6px;
		margin: 8px 0;
	}
	.ptcp-set-rij {
		padding: 6px 8px;
		gap: 4px;
	}
	.ptcp-set-nummer {
		font-size: 11px;
	}
	.ptcp-set-inhoud {
		gap: 5px;
	}
	.ptcp-set-velden {
		gap: 4px;
	}
	.ptcp-set-velden label {
		font-size: 9px;
		gap: 2px;
	}
	.ptcp-set-velden input[type="number"] {
		padding: 6px 4px;
		font-size: 16px; /* op 16px houden, anders zoomt iPhone automatisch in bij tikken in het veld */
	}
	.ptcp-gedaan-label {
		font-size: 11px !important;
		margin-left: 32px;
	}
	.ptcp-gedaan-label input[type="checkbox"] {
		width: 18px;
		height: 18px;
	}
	.ptcp-verwijder-set {
		width: 26px;
		height: 26px;
		font-size: 15px;
	}
	.ptcp-rust-timer {
		padding: 6px 8px;
		gap: 6px;
		margin-top: 8px;
	}
	.ptcp-rust-timer label {
		font-size: 11px;
	}
	.ptcp-rust-select {
		padding: 4px 6px;
		font-size: 12px;
	}
	.button, .ptcp-oefening-kaart .button {
		padding: 4px 10px !important;
		font-size: 12px !important;
		min-height: 30px !important;
		line-height: 22px !important;
	}
	.ptcp-varianten-blok {
		gap: 6px;
		margin-top: 8px;
	}
	.ptcp-historie-tabel {
		font-size: 11px;
	}
	.ptcp-superset-blok {
		padding: 8px;
		margin-bottom: 10px;
	}
	.ptcp-superset-titel {
		font-size: 13px;
	}
	.ptcp-sessie-notitie-blok {
		padding: 8px;
		margin: 10px 0;
	}
	.ptcp-progress-chart {
		margin: 6px 0;
	}
	.ptcp-progressie-item {
		padding: 8px 10px;
		margin-bottom: 8px;
	}
	.ptcp-progressie-sectie {
		margin-top: 16px;
		padding-top: 12px;
	}
}

/* Registratieformulier voor nieuwe klanten */
.ptcp-registratie-formulier {
	max-width: 420px;
}
.ptcp-registratie-formulier form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 16px;
}
.ptcp-registratie-formulier label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
	color: #555;
}
.ptcp-registratie-formulier input {
	padding: 10px 8px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
}
.ptcp-registratie-fout {
	background: #fde2e2;
	color: #a11;
	padding: 10px 12px;
	border-radius: 6px;
	margin-bottom: 10px;
	font-size: 14px;
}
