/**
 * Brandalay Payment Status Block Styles
 */

.status-section {
	padding: 80px 20px 120px;
	background-color: #f8fafd;
	font-family: inherit;
	color: #1e293b;
	min-height: calc(100vh - 450px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.status-container {
	max-width: 800px;
	width: 100%;
	margin: 0 auto;
}

.status-card {
	background: #ffffff;
	border-radius: 24px;
	padding: 50px 40px;
	box-shadow: 0 10px 40px rgba(11, 41, 56, 0.08);
	text-align: center;
	border: 1px solid rgba(15, 95, 115, 0.12);
}

@media (max-width: 600px) {
	.status-card {
		padding: 36px 20px;
	}
}

/* Icon Wrappers */
.status-icon-wrapper {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}

.status-icon--success {
	background: #ecfdf5;
	color: #10b981;
	box-shadow: 0 0 0 12px rgba(16, 185, 129, 0.12);
}

.status-icon--failed {
	background: #fef2f2;
	color: #ef4444;
	box-shadow: 0 0 0 12px rgba(239, 68, 68, 0.12);
}

.status-icon--cancelled {
	background: #fffbeb;
	color: #f59e0b;
	box-shadow: 0 0 0 12px rgba(245, 158, 11, 0.12);
}

/* Badges */
.status-badge {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 9999px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.status-badge--success {
	background: rgba(16, 185, 129, 0.1);
	color: #059669;
}

.status-badge--failed {
	background: rgba(239, 68, 68, 0.1);
	color: #dc2626;
}

.status-badge--cancelled {
	background: rgba(245, 158, 11, 0.1);
	color: #d97706;
}

/* Title and Description */
.status-title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	color: #0b2938;
	line-height: 1.2;
	margin: 0 0 16px;
	letter-spacing: -0.02em;
}

.status-desc {
	font-size: 1.0625rem;
	color: #64748b;
	line-height: 1.6;
	margin: 0 0 36px;
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
}

/* Receipt Box */
.receipt-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px 28px;
	margin-bottom: 36px;
	text-align: left;
}

.receipt-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px dashed #e2e8f0;
	font-size: 0.9375rem;
}

.receipt-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.receipt-row:first-child {
	padding-top: 0;
}

.receipt-label {
	color: #64748b;
	font-weight: 500;
}

.receipt-value {
	color: #0b2938;
}

.receipt-value.font-bold {
	font-weight: 700;
}

.receipt-value.font-mono {
	font-family: ui-monospace, monospace;
}

.text-emerald {
	color: #059669;
}

/* Steps Grid */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-bottom: 36px;
	text-align: left;
}

@media (max-width: 768px) {
	.steps-grid {
		grid-template-columns: 1fr;
	}
}

.step-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 20px;
	position: relative;
}

.step-number {
	width: 28px;
	height: 28px;
	background: #0f5f73;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8125rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.step-title {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #0b2938;
	margin: 0 0 6px;
}

.step-desc {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.45;
	margin: 0;
}

/* Action Buttons */
.status-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin-top: 30px;
}

.site-btn--primary {
	background-color: #0f5f73;
	color: #ffffff;
	border: 1px solid #0f5f73;
}

.site-btn--primary:hover {
	background-color: #0b2938;
	border-color: #0b2938;
}

/* Failed State Elements */
.failed-reasons-box {
	background: #fff8f8;
	border: 1px solid #fecaca;
	border-radius: 14px;
	padding: 24px;
	text-align: left;
	margin-bottom: 30px;
}

.failed-reasons-title {
	font-size: 1rem;
	font-weight: 700;
	color: #b91c1c;
	margin: 0 0 12px;
}

.failed-reasons-list {
	margin: 0;
	padding-left: 20px;
	font-size: 0.875rem;
	color: #475569;
	line-height: 1.6;
}

.failed-reasons-list li {
	margin-bottom: 8px;
}

.failed-wire-box {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #e2e8f0;
	text-align: left;
}

.failed-wire-title {
	font-size: 1.0625rem;
	font-weight: 700;
	color: #0b2938;
	margin: 0 0 8px;
}

.failed-wire-desc {
	font-size: 0.875rem;
	color: #64748b;
	margin: 0 0 14px;
}

.status-pre {
	background: #0b2938;
	color: #e2e8f0;
	padding: 18px;
	border-radius: 10px;
	font-family: ui-monospace, monospace;
	font-size: 0.84rem;
	line-height: 1.55;
	margin: 0;
	white-space: pre-wrap;
	border-left: 4px solid #0f5f73;
}
