/**
 * JOVEpay checkout payment option: logo | title | overlapping coin stack.
 */
.jpps-payment-method-label {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	vertical-align: middle;
	line-height: 1.2;
}

.jpps-payment-icons__logo {
	display: block;
	width: 25px;
	height: 25px;
	object-fit: contain;
	flex-shrink: 0;
}

.jpps-payment-method-label__text {
	flex: 0 1 auto;
}

.jpps-payment-icons {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	line-height: 1;
	margin-inline-start: 0.25rem;
}

.jpps-payment-icons__stack {
	display: inline-flex;
	align-items: center;
	flex-direction: row;
}

.jpps-payment-icons__coin {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	margin-inline-start: -0.45rem;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
	object-fit: cover;
	background: #fff;
	position: relative;
}

.jpps-payment-icons__stack .jpps-payment-icons__coin:first-child {
	margin-inline-start: 0;
}

.payment-option label:has(.jpps-payment-method-label) {
	display: inline-flex;
	align-items: center;
	max-width: calc(100% - 2.5rem);
}

/* PS 1.6 payment_module link */
#Jovepay_payment_button a {
	display: flex;
	align-items: center;
}

#Jovepay_payment_button .jpps-payment-method-label {
	width: auto;
}

/* Keep coin rings readable on dark / high-contrast themes */
@media (prefers-color-scheme: dark) {
	.jpps-payment-icons__coin {
		border-color: #1e1e1e;
		box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
	}
}

/* Payment result pages (success / failure return URLs) */
.jpps-result {
	max-width: 40rem;
	margin: 2rem auto;
	padding: 1.5rem 0;
	text-align: center;
}

.jpps-result__title {
	margin: 0 0 0.75rem;
	font-size: 1.5rem;
	line-height: 1.3;
}

.jpps-result--success .jpps-result__title {
	color: #15803d;
}

.jpps-result--failure .jpps-result__title {
	color: #b91c1c;
}

.jpps-result__text {
	margin: 0 0 1.5rem;
	color: #475569;
	line-height: 1.5;
}

.jpps-result__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.jpps-result__actions .btn {
	margin: 0;
}
