.hapantheon-editor-form-preview,
.hp-editor-form-preview {
	box-sizing: border-box;
	padding: 28px;
	border: 1px solid #d6c49e;
	border-radius: 18px;
	background: #fffdf6;
	color: #1b2126;
	font-family: Arial, sans-serif;
}

.hp-editor-form-preview .components-notice {
	margin: 0 0 22px;
	direction: ltr;
	text-align: left;
}

.hp-editor-two-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.hp-editor-field {
	margin-block: 0 17px;
}

.hp-editor-label {
	display: block;
	margin: 0 0 7px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.hp-editor-input {
	box-sizing: border-box;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #c7b98f;
	border-radius: 9px;
	background: #fff;
	color: #776e56;
	font-size: 15px;
}

.hp-editor-textarea {
	min-height: 120px;
}

.hp-editor-segments {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.hp-editor-segment {
	padding: 8px 12px;
	border: 1px solid #c7b98f;
	border-radius: 999px;
	background: transparent;
	font-size: 13px;
	font-weight: 700;
}

.hp-editor-segment.is-active {
	border-color: #0e5f66;
	background: #0e5f66;
	color: #fff;
}

.hp-editor-consent {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 16px 0;
	font-size: 13px;
	line-height: 1.6;
}

.hp-editor-checkbox {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin-top: 2px;
	border: 1px solid #a58e5d;
	border-radius: 3px;
	background: #fff;
}

.hp-editor-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 132px;
	padding: 12px 22px;
	border-radius: 999px;
	background: #0e5f66;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-align: center;
}

.hp-editor-security {
	margin: 13px 0 0;
	color: #776e56;
	font-size: 12px;
}

.hp-editor-newsletter-preview {
	max-width: 780px;
}

.hp-editor-newsletter-row {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.hp-editor-newsletter-input {
	flex: 1;
	direction: ltr;
	text-align: left;
}

.hp-editor-newsletter-preview.is-gold .hp-editor-submit {
	background: linear-gradient(115deg, #a87614, #e3b44e 45%, #a87614);
	color: #15110a;
}

@media (max-width: 680px) {
	.hp-editor-two-columns {
		grid-template-columns: 1fr;
	}

	.hp-editor-newsletter-row {
		flex-direction: column;
	}
}
