/* ==========================================================================
   WooCommerce Category Restrict - Popup styles
   ========================================================================== */

.wcr-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.55);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.wcr-popup-box {
	background: #ffffff;
	border-radius: 8px;
	max-width: 420px;
	width: 100%;
	padding: 32px 28px 28px;
	position: relative;
	text-align: center;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	animation: wcr-popup-in 0.18s ease-out;
}

@keyframes wcr-popup-in {
	from {
		opacity: 0;
		transform: translateY(-10px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.wcr-popup-icon {
	width: 48px;
	height: 48px;
	line-height: 48px;
	border-radius: 50%;
	background: #e74c3c;
	color: #ffffff;
	font-size: 26px;
	font-weight: bold;
	margin: 0 auto 16px;
}

.wcr-popup-message {
	font-size: 15px;
	line-height: 1.5;
	color: #333333;
	margin-bottom: 22px;
	text-align: left;
}

.wcr-popup-message ul {
	margin: 8px 0 0;
	padding-left: 20px;
}

.wcr-popup-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	color: #999999;
	cursor: pointer;
}

.wcr-popup-close:hover {
	color: #333333;
}

.wcr-popup-ok {
	background: #e74c3c;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	padding: 10px 28px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.wcr-popup-ok:hover {
	background: #c0392b;
}
