/**
 * Styles for the custom "Make a payment" page.
 * Builds on the theme's bundled Bootstrap 5.
 *
 * @package IMAC
 */

.imac-payment {
	max-width: 640px;
	margin-inline: auto;
}

/* Step indicator */
.imac-pay-steps {
	counter-reset: imac-pay-step;
}

.imac-pay-step {
	flex: 1 1 0;
	min-width: 90px;
	position: relative;
	padding: 0.5rem 0.25rem 0.75rem 2.25rem;
	font-size: 0.875rem;
	color: #6c757d;
	border-bottom: 2px solid #dee2e6;
}

.imac-pay-step::before {
	counter-increment: imac-pay-step;
	content: counter(imac-pay-step);
	position: absolute;
	left: 0.25rem;
	top: 45%;
	transform: translateY(-50%);
	width: 1.6rem;
	height: 1.6rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #dee2e6;
	color: #495057;
	font-weight: 600;
	line-height: 1;
}

.imac-pay-step.is-active {
	color: #0d6efd;
	border-bottom-color: #0d6efd;
	font-weight: 600;
}

.imac-pay-step.is-active::before {
	background: #0d6efd;
	color: #fff;
}

.imac-pay-step.is-done {
	color: #198754;
	border-bottom-color: #198754;
}

.imac-pay-step.is-done::before {
	background: #198754;
	color: #fff;
	content: "\2713";
}

/* Amounts summary */
.imac-pay-amounts .card-body {
	padding: 1rem 1.25rem;
}

#imac-pay-total {
	font-weight: 600;
}

/* Success screen */
.imac-pay-success-icon {
	width: 4rem;
	height: 4rem;
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #198754;
	color: #fff;
	font-size: 2rem;
	line-height: 1;
}

.imac-pay-receipt {
	max-width: 360px;
}

.imac-pay-receipt dt {
	font-weight: 400;
	color: #6c757d;
}

.imac-pay-receipt dd {
	font-weight: 600;
}
/*# sourceMappingURL=payment.css.map */