/* On-road permit lead-time popup — matches SHBS's "Missing Information" modal. */
.wch-permit-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wch-permit-modal.active {
	opacity: 1;
	visibility: visible;
}

.wch-permit-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	cursor: pointer;
}

.wch-permit-modal__content {
	position: relative;
	background: #fff;
	border-radius: 16px;
	padding: 50px 40px;
	max-width: 500px;
	width: 90%;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: wchPermitSlideIn 0.3s ease;
}

@keyframes wchPermitSlideIn {
	from { transform: translateY(-20px); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}

.wch-permit-modal__icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 25px;
	background: #fff3cd;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	color: #856404;
	font-weight: 600;
}

.wch-permit-modal__title {
	font-size: 28px;
	font-weight: 600;
	color: #333;
	margin: 0 0 15px;
	line-height: 1.3;
}

.wch-permit-modal__message {
	font-size: 16px;
	color: #666;
	line-height: 1.6;
	margin: 0 0 30px;
}

.wch-permit-modal__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.wch-permit-modal__primary,
.wch-permit-modal__secondary {
	border-radius: 50px;
	padding: 14px 36px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.wch-permit-modal__primary {
	background: #1907c0;
	color: #fff;
	border: 2px solid #1907c0;
}

.wch-permit-modal__primary:hover {
	background: #1193eb;
	border-color: #1193eb;
}

.wch-permit-modal__secondary {
	background: transparent;
	color: #666;
	border: 2px solid #ddd;
}

.wch-permit-modal__secondary:hover {
	background: #f5f5f5;
	border-color: #ccc;
}

.wch-permit-modal__close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: transparent;
	border: none;
	font-size: 32px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	width: 36px;
	height: 36px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.wch-permit-modal__close:hover {
	background: #f0f0f0;
	color: #333;
}

@media (max-width: 600px) {
	.wch-permit-modal__content { padding: 40px 25px; width: 95%; }
	.wch-permit-modal__title { font-size: 22px; }
	.wch-permit-modal__actions { flex-direction: column-reverse; }
	.wch-permit-modal__primary,
	.wch-permit-modal__secondary { width: 100%; padding: 12px 32px; font-size: 15px; }
}
