/* Automatische incasso — booking form styles. */

.abm-cp-details {
	margin: 10px 0 5px 24px;
	padding: 14px 16px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 6px;
	background: rgba(0, 0, 0, .02);
}

.abm-cp-details .abm-cp-description {
	margin: 0 0 12px;
	opacity: .85;
}

.abm-cp-schedule {
	width: 100%;
	margin: 0 0 14px;
	border-collapse: collapse;
	font-size: .95em;
}

.abm-cp-schedule th,
.abm-cp-schedule td {
	padding: 6px 8px;
	text-align: left;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.abm-cp-schedule th {
	font-weight: 600;
}

.abm-cp-schedule td:last-child,
.abm-cp-schedule th:last-child {
	text-align: right;
}

.abm-cp-single-date {
	margin: 0 0 14px;
}

.abm-cp-field {
	margin-bottom: 12px;
}

.abm-cp-field > label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

.abm-cp-field input[type="text"] {
	width: 100%;
	max-width: 340px;
	box-sizing: border-box;
	padding: 7px 9px;
}

.abm-cp-field input.abm-cp-iban {
	font-family: menlo, consolas, monospace;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.abm-cp-field input.abm-cp-invalid {
	border-color: #c0392b;
	box-shadow: 0 0 0 1px rgba(192, 57, 43, .35);
}

.abm-cp-error {
	display: block;
	margin-top: 4px;
	color: #c0392b;
	font-size: .9em;
}

.abm-cp-consent-field > label {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-weight: 400;
	line-height: 1.4;
}

.abm-cp-consent-field input[type="checkbox"] {
	margin-top: 3px;
	flex: 0 0 auto;
}

.abm-cp-form-error {
	margin-top: 12px;
	padding: 9px 12px;
	border: 1px solid rgba(192, 57, 43, .4);
	border-radius: 4px;
	background: rgba(192, 57, 43, .06);
	font-size: .95em;
}
