/* WC Disclaimer Gate - modal styles */
.wcdg-locked { overflow: hidden !important; }

.wcdg-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(15, 17, 21, 0.55);
	-webkit-backdrop-filter: saturate(120%) blur(2px);
	backdrop-filter: saturate(120%) blur(2px);
	animation: wcdg-fade 0.15s ease-out;
}

@keyframes wcdg-fade { from { opacity: 0; } to { opacity: 1; } }

.wcdg-modal {
	background: #ffffff;
	color: #1d2327;
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 40px);
	overflow: auto;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	padding: 26px 26px 22px;
	animation: wcdg-pop 0.16s ease-out;
	box-sizing: border-box;
}

@keyframes wcdg-pop { from { transform: translateY(8px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }

.wcdg-modal__title {
	margin: 0 0 12px;
	font-size: 1.35rem;
	line-height: 1.25;
	font-weight: 700;
}

.wcdg-modal__body {
	font-size: 0.98rem;
	line-height: 1.55;
	color: #3c434a;
	margin-bottom: 22px;
}

.wcdg-modal__body p:first-child { margin-top: 0; }
.wcdg-modal__body p:last-child { margin-bottom: 0; }
.wcdg-modal__body a { color: #2271b1; }

.wcdg-modal__actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.wcdg-btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	font-size: 0.95rem;
	font-weight: 600;
	padding: 11px 20px;
	border-radius: 8px;
	line-height: 1;
}

.wcdg-btn--cancel {
	background: #f0f0f1;
	color: #1d2327;
}
.wcdg-btn--cancel:hover { background: #e2e2e4; }

.wcdg-btn--accept {
	background: #2271b1;
	color: #fff;
}
.wcdg-btn--accept:hover { background: #135e96; }

.wcdg-btn:focus-visible {
	outline: 3px solid rgba(34, 113, 177, 0.5);
	outline-offset: 2px;
}

@media (max-width: 480px) {
	.wcdg-modal { padding: 20px 18px 18px; border-radius: 10px; }
	.wcdg-modal__actions { justify-content: stretch; }
	.wcdg-btn { flex: 1 1 auto; text-align: center; }
}
