/* Payment callback receipt (page template: Zibal Payment Callback). */

.postmba-payment-callback {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 60vh;
	padding: 2.5rem 1.25rem;
}

.postmba-payment-callback__card {
	width: 100%;
	max-width: 28rem;
	padding: 2rem 1.5rem;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
	text-align: center;
	direction: rtl;
}

.postmba-payment-callback__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto 1rem;
	border-radius: 50%;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

.postmba-payment-callback__card--success .postmba-payment-callback__icon {
	background: #e8f8ef;
	color: #027a48;
}

.postmba-payment-callback__card--error .postmba-payment-callback__icon {
	background: #fdecea;
	color: #b42318;
}

.postmba-payment-callback__title {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.4;
}

.postmba-payment-callback__subtitle {
	margin: 0 0 1.5rem;
	color: #5c5c5c;
	font-size: 0.95rem;
	line-height: 1.6;
}

.postmba-payment-callback__details {
	margin: 0 0 1.75rem;
	padding: 0;
	text-align: right;
}

.postmba-payment-callback__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid #eee;
}

.postmba-payment-callback__row:last-child {
	border-bottom: 0;
}

.postmba-payment-callback__row dt {
	margin: 0;
	color: #5c5c5c;
	font-size: 0.9rem;
}

.postmba-payment-callback__row dd {
	margin: 0;
	font-weight: 600;
	font-size: 0.95rem;
}

.postmba-payment-callback__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.65rem 1.5rem;
	border-radius: 4px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.postmba-payment-callback__btn--success {
	background: #027a48;
}

.postmba-payment-callback__btn--error {
	background: #b42318;
}

.postmba-payment-callback__btn:hover {
	filter: brightness(0.95);
	color: #fff;
}
