/**
 * COD & Advance Payment — checkout styles.
 * Deliberately quiet: it inherits the theme's type and colour so it reads as
 * part of the checkout rather than a bolted-on plugin panel.
 */

.opus-cod-advance {
	margin: 0 0 1.25em;
	padding: 1em 1.15em;
	border: 1px solid currentColor;
	border-color: rgba(0, 0, 0, 0.12);
	border-radius: 4px;
}

.opus-cod-advance__heading {
	margin: 0 0 0.65em;
	font-size: 1em;
	font-weight: 600;
	line-height: 1.3;
}

.opus-cod-advance__options {
	margin: 0;
	padding: 0;
	list-style: none;
}

.opus-cod-advance__option + .opus-cod-advance__option {
	margin-top: 0.5em;
}

.opus-cod-advance__option label {
	display: flex;
	align-items: flex-start;
	gap: 0.6em;
	margin: 0;
	cursor: pointer;
	line-height: 1.45;
}

.opus-cod-advance__option input[type="radio"] {
	margin: 0.2em 0 0;
	flex: 0 0 auto;
}

.opus-cod-advance__notice {
	margin: 0;
	line-height: 1.5;
}

.opus-cod-advance.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.opus-cod-fee-notice {
	margin: 0 0 1em;
	padding: 0.75em 1em;
	border-left: 3px solid rgba(0, 0, 0, 0.25);
	background: rgba(0, 0, 0, 0.03);
	line-height: 1.5;
}

.opus-cod-balance-row th,
.opus-cod-balance-row td {
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	.opus-cod-advance {
		transition: none;
	}
}
