.dae-preview-body {
	background: #ffffff !important;
}

.dae-preview-body * {
	box-sizing: border-box !important;
}

.dae-preview-body::before {
	content: none !important;
}

@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap");

.dae-shortcode-download-wrapper,
.dae-shortcode-download-wrapper * {
	box-sizing: border-box !important;
	font-family: "Be Vietnam Pro", sans-serif !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

/* PC STYLE - GIỮ NGANG */
.dae-shortcode-download-wrapper {
	width: 100% !important;
	max-width: none !important;
	min-height: 262px !important;
	height: auto !important;

	margin: 0 auto !important;
	padding: 18px 20px !important;

	background: #FEF7E6 !important;
	border: 1px solid #CCA952 !important;
	border-radius: 24px !important;

	display: grid !important;
	grid-template-columns: clamp(170px, 32%, 224px) minmax(0, 1fr) !important;
	gap: 20px !important;
	align-items: center !important;

	overflow: hidden !important;
	box-shadow: none !important;
	position: relative !important;
}

.dae-shortcode-download-file-image {
	width: 100% !important;
	max-width: 224px !important;
	height: auto !important;
	aspect-ratio: 1 / 1 !important;

	object-fit: cover !important;
	display: block !important;

	padding: 0 !important;
	margin: 0 !important;

	border-radius: 18px !important;
}

.dae-shortcode-download-content-wrapper {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;

	padding: 0 !important;
	margin: 0 !important;

	min-width: 0 !important;
	width: 100% !important;
	height: 100% !important;
}

.dae-shortcode-download-title {
	margin: 0 0 16px !important;
	padding: 0 !important;

	color: #202020 !important;

	font-size: clamp(20px, 2vw, 25px) !important;
	font-weight: 800 !important;
	line-height: 1.28 !important;
}

.dae-shortcode-download-text {
	margin: 0 0 24px !important;
	padding: 0 !important;

	color: #202020 !important;

	font-size: clamp(14px, 1.3vw, 16px) !important;
	font-weight: 400 !important;
	line-height: 1.6 !important;
}

/* BUTTON */
.dae-shortcode-download-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 18px !important;

	height: 54px !important;
	padding: 6px 6px 6px 24px !important;
	margin: 0 !important;

	background: transparent !important;
	border: 1.5px solid #5F7E26 !important;
	border-radius: 999px !important;

	color: #202020 !important;

	font-size: clamp(16px, 1.6vw, 20px) !important;
	font-weight: 700 !important;
	line-height: 1 !important;

	text-decoration: none !important;
	cursor: pointer !important;

	white-space: nowrap !important;

	transition:
		background-color .2s ease,
		color .2s ease,
		border-color .2s ease !important;
}

.dae-shortcode-download-button-icon {
	display: none !important;
}

.dae-shortcode-download-button::after {
	content: "" !important;

	width: 42px !important;
	height: 42px !important;

	border-radius: 50% !important;
	flex-shrink: 0 !important;

	background-color: #5F7E26 !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 18px !important;

	background-image:
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3V15'/%3E%3Cpath d='M7 10L12 15L17 10'/%3E%3Cpath d='M5 21H19'/%3E%3C/svg%3E") !important;
}

.dae-shortcode-download-button:hover {
	background: #5F7E26 !important;
	color: #ffffff !important;
}

.dae-shortcode-download-button:hover::after {
	background-color: #ffffff !important;

	background-image:
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235F7E26' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3V15'/%3E%3Cpath d='M7 10L12 15L17 10'/%3E%3Cpath d='M5 21H19'/%3E%3C/svg%3E") !important;
}

/* EMAIL STEP */
.dae-shortcode-register-wrapper {
	display: none;

	width: 100% !important;
	max-width: 480px !important;

	margin: auto !important;

	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;

	text-align: left !important;

	animation: daeFadeIn .2s ease forwards;
}

@keyframes daeFadeIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.dae-shortcode-download-wrapper.dae-email-open {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	padding: 40px !important;
	min-height: 262px !important;
	height: auto !important;
}

.dae-email-open .dae-shortcode-download-file-image,
.dae-email-open .dae-shortcode-download-title,
.dae-email-open .dae-shortcode-download-text,
.dae-email-open .dae-shortcode-download-button {
	display: none !important;
}

.dae-email-open .dae-shortcode-register-wrapper {
	display: flex !important;
}

.dae-email-open .dae-shortcode-download-content-wrapper {
	width: 100% !important;
	height: auto !important;

	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.dae-shortcode-register-label {
	margin: 0 0 16px !important;
	padding: 0 !important;

	color: #202020 !important;

	font-size: clamp(20px, 2vw, 25px) !important;
	font-weight: 800 !important;
	line-height: 1.28 !important;

	letter-spacing: 0 !important;
	text-align: left !important;
}

.dae-shortcode-register-icon,
.dae-shortcode-register-loading,
.dae-shortcode-register-loading *,
.dae-shortcode-register-select-wrap,
.dae-shortcode-register-checkbox-text,
.dae-shortcode-register-form br,
.fa-spinner,
.fa-spin {
	display: none !important;
}

.dae-shortcode-register-form {
	width: 100% !important;
	display: block !important;
}

.dae-shortcode-register-field-wrap {
	width: 100% !important;
	display: block !important;
	margin-bottom: 18px !important;
}

.dae-shortcode-register-input-wrap {
	width: 100% !important;
}

.dae-shortcode-register-field {
	width: 100% !important;
	height: 54px !important;

	padding: 0 28px !important;

	background: #fff !important;

	border: 1px solid #D7CCA5 !important;
	border-radius: 999px !important;

	font-size: 16px !important;

	box-shadow: none !important;
}

.dae-shortcode-register-field:focus {
	border-color: #7C9734 !important;
	box-shadow: none !important;
}

.dae-shortcode-register-submit {
	appearance: none !important;
	-webkit-appearance: none !important;

	display: inline-flex !important;
	align-items: center !important;

	height: 54px !important;
	min-width: 200px !important;

	padding: 6px 58px 6px 24px !important;

	border: 1.5px solid #5F7E26 !important;
	border-radius: 999px !important;

	background-color: transparent !important;

	color: #202020 !important;

	font-size: 20px !important;
	font-weight: 700 !important;

	cursor: pointer !important;

	background-repeat: no-repeat !important;
	background-position: right 6px center !important;
	background-size: 42px 42px !important;

	background-image:
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 42 42' fill='none'%3E%3Ccircle cx='21' cy='21' r='21' fill='%235F7E26'/%3E%3Cpath d='M21 12V25' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M16 20L21 25L26 20' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 31H28' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") !important;

	transition:
		background-color .2s ease,
		color .2s ease !important;
}

.dae-shortcode-register-submit:hover {
	background-color: #5F7E26 !important;
	color: #fff !important;

	background-image:
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 42 42' fill='none'%3E%3Ccircle cx='21' cy='21' r='21' fill='white'/%3E%3Cpath d='M21 12V25' stroke='%235F7E26' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M16 20L21 25L26 20' stroke='%235F7E26' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 31H28' stroke='%235F7E26' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

.dae-shortcode-register-message {
	margin-top: 14px !important;
	text-align: left !important;
}

/* TABLET - VẪN NGANG, CHỈ THU NHỎ */
@media (min-width: 768px) and (max-width: 1024px) {
	.dae-shortcode-download-wrapper {
		padding: 16px !important;
		gap: 16px !important;
		grid-template-columns: clamp(150px, 30%, 190px) minmax(0, 1fr) !important;
	}

	.dae-shortcode-download-button {
		height: 48px !important;
		padding: 6px 6px 6px 20px !important;
		gap: 12px !important;
	}

	.dae-shortcode-download-button::after {
		width: 36px !important;
		height: 36px !important;
		background-size: 16px !important;
	}
}

/* MOBILE - XẾP DỌC */
@media (max-width: 767px) {
	.dae-shortcode-download-wrapper {
		width: 100% !important;
		max-width: 100% !important;

		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;

		min-height: 0 !important;
		height: auto !important;

		padding: 12px !important;
		gap: 12px !important;

		border-radius: 18px !important;
	}

	.dae-shortcode-download-file-image {
		width: 100% !important;
		max-width: none !important;
		height: auto !important;
		aspect-ratio: 1 / 1 !important;
		border-radius: 14px !important;
	}

	.dae-shortcode-download-content-wrapper {
		width: 100% !important;
		height: auto !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
	}

	.dae-shortcode-download-title {
		font-size: 14px !important;
		line-height: 1.35 !important;
		margin: 0 0 12px !important;
	}

	.dae-shortcode-download-text {
		display: none !important;
	}

	.dae-shortcode-download-button {
		height: 38px !important;
		padding: 4px 4px 4px 16px !important;
		gap: 10px !important;

		font-size: 12px !important;
	}

	.dae-shortcode-download-button::after {
		width: 30px !important;
		height: 30px !important;
		background-size: 15px !important;
	}

	.dae-shortcode-download-wrapper.dae-email-open {
		padding: 20px !important;
		min-height: 0 !important;
		height: auto !important;
	}

	.dae-shortcode-register-wrapper {
		max-width: 100% !important;
	}

	.dae-shortcode-register-label {
		font-size: 18px !important;
	}

	.dae-shortcode-register-field {
		height: 46px !important;
		font-size: 14px !important;
		padding: 0 20px !important;
	}

	.dae-shortcode-register-submit {
		width: 100% !important;
		height: 46px !important;
		font-size: 15px !important;
	}
}