.dt-download-wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5em;
}

.dt-download-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	background-color: #3861fb;
	color: #fff;
	padding: 12px 24px;
	border-radius: 3px;
	font-family: inherit;
	transition-property: background-color, border-color, color, box-shadow;
	transition-duration: 0.3s;
	box-sizing: border-box;
}

.dt-download-btn:visited {
	color: inherit;
}

.dt-download-btn.elementor-size-xs { font-size: 12px; padding: 8px 16px; }
.dt-download-btn.elementor-size-sm { font-size: 14px; padding: 10px 20px; }
.dt-download-btn.elementor-size-md { font-size: 16px; padding: 12px 24px; }
.dt-download-btn.elementor-size-lg { font-size: 18px; padding: 14px 28px; }
.dt-download-btn.elementor-size-xl { font-size: 20px; padding: 16px 32px; }

.dt-btn-icon {
	display: inline-flex;
	align-items: center;
}

.dt-btn-icon svg {
	fill: currentColor;
	height: 1em;
	width: 1em;
}

.dt-download-counter {
	font-size: 0.85em;
	opacity: 0.85;
}

/* ---------------- Modal ---------------- */

.dt-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 20px;
}

.dt-modal-overlay[hidden] {
	display: none;
}

.dt-modal-box {
	position: relative;
	background: #fff;
	border-radius: 6px;
	max-width: 440px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 32px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

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

.dt-modal-title {
	margin: 0 0 8px;
	font-size: 1.25em;
}

.dt-modal-description {
	margin: 0 0 16px;
	color: #555;
}

.dt-modal-description p:last-child {
	margin-bottom: 0;
}

.dt-field {
	margin: 0 0 14px;
}

.dt-field label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: 0.9em;
}

.dt-field-consent label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
}

.dt-field-consent input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
}

.dt-field input[type="text"],
.dt-field input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
}

.dt-required {
	color: #d63638;
}

.dt-field-error {
	background: #fde8e8;
	color: #a31c1c;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 0.9em;
	margin: 0 0 14px;
}

.dt-field-error[hidden] {
	display: none;
}

.dt-modal-submit {
	width: 100%;
	background-color: #3861fb;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 12px 20px;
	font-size: 15px;
	cursor: pointer;
}

.dt-modal-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

body.dt-modal-is-open {
	overflow: hidden;
}

.dt-editor-notice {
	padding: 12px;
	background: #fff3cd;
	border: 1px dashed #d6a415;
	color: #664d03;
	font-size: 13px;
}
