/**
 * Zahlungsplan-Auswahl auf der Produktseite, im Checkout und im Kundenkonto.
 * Bewusst zurückhaltend gehalten, damit die Darstellung dem Theme folgt.
 */

.ngt-pp-options {
	margin: 0 0 1.5em;
}

.ngt-pp-options.ngt-pp-loading {
	opacity: 0.5;
	pointer-events: none;
}

.ngt-pp-fieldset {
	border: 1px solid rgba( 0, 0, 0, 0.12 );
	border-radius: 4px;
	padding: 0.75em 1em 1em;
	margin: 0;
}

.ngt-pp-legend {
	font-weight: 600;
	padding: 0 0.4em;
}

.ngt-pp-option + .ngt-pp-option {
	margin-top: 0.5em;
	border-top: 1px solid rgba( 0, 0, 0, 0.08 );
	padding-top: 0.5em;
}

.ngt-pp-option > label {
	display: flex;
	align-items: baseline;
	gap: 0.5em;
	cursor: pointer;
	font-weight: 500;
}

.ngt-pp-option-label {
	flex: 1 1 auto;
}

.ngt-pp-option-total {
	font-weight: 600;
	white-space: nowrap;
}

.ngt-pp-option-detail {
	margin: 0.4em 0 0 1.7em;
	font-size: 0.9em;
}

/*
 * Details nur zur aktiven Option zeigen. Die Klasse .ngt-pp-js setzt das Skript –
 * ohne JavaScript bleiben alle Ratenpläne sichtbar statt keiner.
 */
.ngt-pp-js .ngt-pp-option:not(.is-active) .ngt-pp-option-detail {
	display: none;
}

.ngt-pp-js .ngt-pp-option:not(.is-active) .ngt-pp-option-total {
	opacity: 0.75;
}

.ngt-pp-summary {
	margin: 0 0 0.4em;
	font-style: italic;
}

table.ngt-pp-schedule {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 0.5em;
	font-size: 0.95em;
}

table.ngt-pp-schedule th,
table.ngt-pp-schedule td {
	padding: 0.3em 0.5em;
	border-bottom: 1px solid rgba( 0, 0, 0, 0.08 );
	text-align: left;
}

table.ngt-pp-schedule .ngt-pp-amount {
	text-align: right;
	white-space: nowrap;
}

table.ngt-pp-schedule .ngt-pp-due {
	white-space: nowrap;
	width: 1%;
}

.ngt-pp-note {
	margin: 0.3em 0 0;
	font-size: 0.88em;
	opacity: 0.85;
}

.ngt-pp-placeholder {
	margin: 0;
	opacity: 0.75;
}

/* Checkout */

.ngt-pp-checkout-schedule {
	margin: 0 0 1.2em;
}

.ngt-pp-checkout-schedule h4 {
	margin: 0 0 0.4em;
}

.ngt-pp-mandate-text {
	font-size: 0.85em;
	line-height: 1.45;
	max-height: 11em;
	overflow-y: auto;
	padding: 0.6em 0.8em;
	margin: 0 0 0.6em;
	border: 1px solid rgba( 0, 0, 0, 0.12 );
	border-radius: 4px;
	background: rgba( 0, 0, 0, 0.02 );
}

.ngt-pp-creditor {
	margin: 0 0 0.6em;
}

/* Kundenkonto */

.ngt-pp-account-plan {
	margin: 0 0 2em;
}

.ngt-pp-account-plan h3 {
	margin: 0 0 0.2em;
}

.ngt-pp-account-meta {
	margin: 0 0 0.6em;
	font-size: 0.92em;
	opacity: 0.85;
}

.ngt-pp-account-plan .ngt-pp-status-paid td {
	opacity: 0.6;
}

.ngt-pp-account-plan .ngt-pp-status-returned td {
	color: #b32d2e;
}
