#gwd-agp-overlay {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 999999;
}

#gwd-agp-overlay.gwd-agp-active {
	display: flex;
}

#gwd-agp-modal {
	width: 100%;
	padding: 32px;
	text-align: center;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

#gwd-agp-modal img {
	max-width: 180px;
	height: auto;
	display: block;
	margin: 0 auto 18px;
}

#gwd-agp-modal h2 {
	margin: 0 0 12px;
	font-size: 32px;
	line-height: 1.2;
}

#gwd-agp-modal p {
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.6;
}

.gwd-agp-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.gwd-agp-buttons button,
#gwd-agp-dob-submit {
	border: none;
	padding: 13px 22px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	min-width: 150px;
	transition: all 0.2s ease;
}

.gwd-agp-buttons button:hover,
#gwd-agp-dob-submit:hover {
	transform: translateY(-1px);
	opacity: 0.96;
}

#gwd-agp-dob-wrap {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: center;
}

#gwd-agp-dob {
	width: 100%;
	max-width: 260px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 16px;
}

#gwd-agp-error {
	display: none;
	color: #b91c1c;
	font-size: 14px;
	line-height: 1.5;
	margin-top: 8px;
}

body.gwd-agp-locked {
	overflow: hidden;
}

@media (max-width: 640px) {
	#gwd-agp-overlay {
		padding: 16px;
	}

	#gwd-agp-modal {
		padding: 24px 20px;
	}

	#gwd-agp-modal h2 {
		font-size: 26px;
	}

	.gwd-agp-buttons {
		flex-direction: column;
	}

	.gwd-agp-buttons button,
	#gwd-agp-dob-submit,
	#gwd-agp-dob {
		width: 100%;
		max-width: 100%;
	}
}