.fdg-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fdg-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.fdg-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
}

.fdg-modal__panel {
	position: relative;
	background: rgb(15,15,15);
	padding: 30px;
	border-radius: 8px;
	width: 90%;
	max-width: 450px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.fdg-modal__title {
	margin: 0 0 10px;
	font-size: 1.5rem;
	color: #fff;
}

.fdg-modal__description {
	margin-bottom: 20px;
	color: #666;
	font-size: 0.95rem;
}

.fdg-modal__field {
	margin-bottom: 15px;
}

.fdg-modal__field label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
}

.fdg-modal__field input[type="email"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.fdg-modal__field--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.9rem;
}

.fdg-modal__field--checkbox input {
	margin-top: 3px;
}

.fdg-modal__error {
	background: #fff0f0;
	color: #d00;
	padding: 10px;
	border-radius: 4px;
	margin-bottom: 15px;
	font-size: 0.9rem;
	display: none;
}

.fdg-modal__actions {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fdg-modal__submit:disabled {
	cursor: not-allowed;
}

.fdg-modal__close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	line-height: 1;
	color: #999;
}

.fdg-modal__close:hover {
	color: #333;
}

/* Hide honeypot */
.fdg-modal__field--hp {
	position: absolute;
	left: -5000px;
}
