.dd-pdf-gate {
	max-width: 720px;
	margin: 2rem auto;
	font-family: inherit;
}

.dd-pdf-gate *,
.dd-pdf-gate *::before,
.dd-pdf-gate *::after {
	box-sizing: border-box;
}

.dd-pdf-gate__inner {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dd-pdf-gate__eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #b91c1c;
}

.dd-pdf-gate__heading {
	margin: 0 0 10px;
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	line-height: 1.2;
	color: #0f172a;
}

.dd-pdf-gate__description {
	margin: 0 0 20px;
	color: #475569;
	font-size: 15px;
	line-height: 1.6;
}

.dd-pdf-gate__description p {
	margin: 0 0 10px;
}

.dd-pdf-gate__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 14px;
}

.dd-pdf-gate__field {
	display: block;
}

.dd-pdf-gate__field span {
	display: block;
	margin-bottom: 5px;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
}

.dd-pdf-gate__field input {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 7px;
	background: #ffffff;
	color: #0f172a;
	font: inherit;
	font-size: 15px;
}

.dd-pdf-gate__field input:focus {
	outline: 2px solid #b91c1c;
	outline-offset: 1px;
	border-color: #b91c1c;
}

.dd-pdf-gate__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 48px;
	padding: 12px 22px;
	border: 0;
	border-radius: 7px;
	background: #b91c1c;
	color: #ffffff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease;
}

.dd-pdf-gate__submit:hover {
	background: #991b1b;
}

.dd-pdf-gate__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.dd-pdf-gate__consent {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.55;
	color: #64748b;
}

.dd-pdf-gate__consent a {
	color: #b91c1c;
	text-decoration: underline;
}

.dd-pdf-gate__message {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.5;
}

.dd-pdf-gate__message:empty {
	display: none;
}

.dd-pdf-gate__message.is-success {
	padding: 10px 12px;
	border-radius: 6px;
	background: #ecfdf5;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.dd-pdf-gate__message.is-error {
	padding: 10px 12px;
	border-radius: 6px;
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.dd-pdf-gate__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dd-pdf-gate-admin-hint {
	max-width: 720px;
	margin: 1rem auto;
	padding: 12px 14px;
	border-left: 4px solid #b91c1c;
	background: #fff7ed;
	color: #7c2d12;
	font-size: 14px;
}

@media (max-width: 600px) {
	.dd-pdf-gate__inner {
		padding: 20px;
	}

	.dd-pdf-gate__fields {
		grid-template-columns: 1fr;
	}
}
