/**
 * Payment status banner on ContentBox thank-you pages.
 * Used by [paymentStatus] shortcode and automatic top banner.
 */
.payment-status-section {
	width: 100%;
	margin: 0 0 1.5rem;
	padding: 2.5rem 1.25rem;
	box-sizing: border-box;
	font-family: "Open Sans", "Work Sans", Arial, sans-serif;
	text-align: center;
}

.payment-status-section--success {
	background-color: #d3ffd8;
	color: #1a1a1a;
}

.payment-status-section--failed {
	background-color: #f8d7da;
	color: #721c24;
	border-top: 1px solid #f5c2c7;
	border-bottom: 1px solid #f5c2c7;
}

.payment-status-inner {
	max-width: 720px;
	margin: 0 auto;
}

.payment-status-title h2 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.payment-status-section--success .payment-status-title h2 {
	color: #0f5132;
}

.payment-status-section--failed .payment-status-title h2 {
	color: #721c24;
	text-transform: none;
	font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}

.payment-status-text {
	margin-top: 1.5rem;
}

.payment-status-text p {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 400;
	line-height: 1.55;
}

.payment-status-text a:not(.payment-status-retry) {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
}

.payment-status-retry {
	display: inline-block;
	margin-top: 0.25rem;
	padding: 0.65rem 1.5rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #fff !important;
	background: #37246b;
	border-radius: 4px;
	text-decoration: none !important;
}

.payment-status-retry:hover {
	background: #2a1a52;
	color: #fff !important;
}

/* Legacy class names kept for any leftover markup */
.payment-status-box {
	max-width: 720px;
	margin: 1.5rem auto;
	padding: 1rem 1.25rem;
	border-radius: 8px;
	font-family: "Open Sans", "Work Sans", Arial, sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	text-align: center;
	line-height: 1.45;
}

.payment-status-success {
	background: #d3ffd8;
	color: #0f5132;
}

.payment-status-failed {
	background: #f8d7da;
	color: #721c24;
}
