.gd-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 20, 20, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
	padding: 16px;
}

.gd-modal-overlay.gd-open {
	opacity: 1;
	visibility: visible;
}

body.gd-modal-open {
	overflow: hidden;
}

.gd-modal {
	background: #fff;
	border-radius: 10px;
	max-width: 420px;
	width: 100%;
	padding: 32px 28px 28px;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	transform: translateY(10px);
	transition: transform 0.2s ease;
	font-family: inherit;
}

.gd-modal-overlay.gd-open .gd-modal {
	transform: translateY(0);
}

.gd-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #666;
}

.gd-modal h2 {
	margin: 0 0 6px;
	font-size: 22px;
}

.gd-modal-subheading {
	margin: 0 0 20px;
	color: #555;
	font-size: 14px;
}

.gd-field {
	margin-bottom: 14px;
}

.gd-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 4px;
}

.gd-required {
	color: #b03a3a;
}

.gd-field input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}

.gd-field input:focus {
	outline: none;
	border-color: #B03A3A;
	box-shadow: 0 0 0 3px rgba(176, 58, 58, 0.15);
}

.gd-field input.gd-invalid {
	border-color: #c0392b;
}

.gd-error {
	display: block;
	color: #c0392b;
	font-size: 12px;
	margin-top: 4px;
	min-height: 14px;
}

.gd-honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.gd-form-message {
	font-size: 13px;
	margin-bottom: 10px;
	min-height: 18px;
}

.gd-form-message.gd-success {
	color: #1e7e34;
	font-weight: 600;
}

.gd-form-message.gd-error-msg {
	color: #c0392b;
	font-weight: 600;
}

.gd-submit-btn {
	width: 100%;
	background: #B03A3A;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: background 0.2s ease;
}

.gd-submit-btn:hover {
	background: #8C2E2E;
}

.gd-submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.gd-btn-spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-top-color: #fff;
	border-radius: 50%;
	animation: gd-spin 0.6s linear infinite;
}

.gd-submit-btn.gd-loading .gd-btn-spinner {
	display: inline-block;
}

.gd-submit-btn.gd-loading .gd-btn-text {
	opacity: 0.7;
}

@keyframes gd-spin {
	to {
		transform: rotate(360deg);
	}
}
