/* Checkout Nexus — Banned user overlay */

.orven-cn-ban-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(15, 23, 42, 0.82);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

.orven-cn-ban-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

.orven-cn-ban-card {
	width: 100%;
	max-width: 440px;
	background: #ffffff;
	border-radius: 20px;
	padding: 36px 32px 28px;
	text-align: center;
	box-shadow:
		0 25px 50px -12px rgba(0, 0, 0, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.08);
	transform: translateY(24px) scale(0.96);
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
	animation: none;
}

.orven-cn-ban-overlay.is-visible .orven-cn-ban-card {
	transform: translateY(0) scale(1);
}

.orven-cn-ban-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
	border-radius: 50%;
	color: #dc2626;
	box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.08);
}

.orven-cn-ban-icon svg {
	width: 36px;
	height: 36px;
}

.orven-cn-ban-title {
	margin: 0 0 14px;
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.orven-cn-ban-message {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.7;
	color: #475569;
}

.orven-cn-ban-message strong {
	color: #b91c1c;
	font-weight: 600;
}

.orven-cn-ban-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
	margin: 0 0 22px;
}

.orven-cn-ban-cta-label {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.orven-cn-ban-phone-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	max-width: 320px;
	padding: 16px 24px;
	background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
	color: #ffffff !important;
	font-size: 22px;
	font-weight: 700;
	text-decoration: none !important;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	letter-spacing: 0.02em;
}

.orven-cn-ban-phone-btn:hover,
.orven-cn-ban-phone-btn:focus {
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(22, 163, 74, 0.45);
}

.orven-cn-ban-phone-btn svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.orven-cn-ban-no-phone {
	margin: 0;
	padding: 12px 16px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 10px;
	font-size: 13px;
	color: #64748b;
}

.orven-cn-ban-footer {
	margin: 18px 0 0;
	font-size: 13px;
	color: #94a3b8;
}

/* Hide default WC error when ban modal is shown */
body.orven-cn-banned-active .woocommerce-error,
body.orven-cn-banned-active .woocommerce-NoticeGroup-checkout {
	display: none !important;
}

@media (max-width: 480px) {
	.orven-cn-ban-card {
		padding: 28px 22px 22px;
		border-radius: 16px;
	}

	.orven-cn-ban-title {
		font-size: 19px;
	}

	.orven-cn-ban-phone-btn {
		font-size: 20px;
		padding: 14px 20px;
	}
}
