.webfy-oe-widget,
.webfy-oe-page {
	--webfy-oe-bg: #fff;
	--webfy-oe-text: #111;
	--webfy-oe-muted: #555;
	--webfy-oe-border: #d9d9d9;
	--webfy-oe-soft: #f6f6f6;
	--webfy-oe-error: #8a1f11;
	--webfy-oe-success: #14532d;
	color: var(--webfy-oe-text);
	font-family: inherit;
}

.webfy-oe-button,
.webfy-oe-submit {
	align-items: center;
	background: #111;
	border: 1px solid #111;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	line-height: 1.2;
	padding: 13px 18px;
	text-decoration: none;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.webfy-oe-button:hover,
.webfy-oe-button:focus,
.webfy-oe-submit:hover,
.webfy-oe-submit:focus {
	background: #fff;
	border-color: #111;
	color: #111;
	outline: none;
	text-decoration: none;
}

.webfy-oe-widget a.webfy-oe-button.webfy-oe-trigger,
.webfy-oe-widget a.webfy-oe-button.webfy-oe-trigger:visited {
	align-items: center !important;
	background: #fff !important;
	border: 1px solid #111 !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	color: #111 !important;
	display: inline-flex !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	justify-content: center !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
	min-height: 0 !important;
	padding: 12px 18px !important;
	text-align: center !important;
	text-decoration: none !important;
	text-shadow: none !important;
	text-transform: none !important;
	width: auto !important;
}

.webfy-oe-widget a.webfy-oe-button.webfy-oe-trigger:hover,
.webfy-oe-widget a.webfy-oe-button.webfy-oe-trigger:focus {
	background: #f6f6f6 !important;
	border-color: #111 !important;
	color: #111 !important;
	text-decoration: none !important;
}

.webfy-oe-button:focus-visible,
.webfy-oe-submit:focus-visible,
.webfy-oe-form input:focus-visible,
.webfy-oe-form textarea:focus-visible,
.webfy-oe-close:focus-visible {
	box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.2);
	outline: 2px solid #111;
	outline-offset: 2px;
}

.webfy-oe-modal[hidden] {
	display: none;
}

.webfy-oe-modal {
	inset: 0;
	position: fixed;
	z-index: 999999;
}

.webfy-oe-backdrop {
	background: rgba(0, 0, 0, 0.62);
	inset: 0;
	position: absolute;
}

.webfy-oe-dialog {
	background: var(--webfy-oe-bg);
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
	left: 50%;
	max-height: min(86vh, 900px);
	max-width: 760px;
	overflow: auto;
	padding: 28px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
}

.webfy-oe-close {
	align-items: center;
	background: #fff;
	border: 1px solid var(--webfy-oe-border);
	border-radius: 999px;
	color: #111;
	cursor: pointer;
	display: inline-flex;
	font-size: 24px;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 16px;
	top: 16px;
	width: 36px;
}

.webfy-oe-form-wrap {
	background: var(--webfy-oe-bg);
	color: var(--webfy-oe-text);
	max-width: 840px;
}

.webfy-oe-page .webfy-oe-form-wrap {
	margin: 0 auto;
}

.webfy-oe-title {
	color: var(--webfy-oe-text);
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.12;
	margin: 0 46px 12px 0;
}

.webfy-oe-intro {
	color: var(--webfy-oe-muted);
	margin: 0 0 22px;
}

.webfy-oe-intro p,
.webfy-oe-small {
	margin: 0 0 14px;
}

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

.webfy-oe-field {
	display: block;
	margin: 0 0 16px;
}

.webfy-oe-field span,
.webfy-oe-check span {
	display: block;
	font-weight: 700;
	margin: 0 0 7px;
}

.webfy-oe-field strong {
	color: #111;
}

.webfy-oe-form input[type="text"],
.webfy-oe-form input[type="email"],
.webfy-oe-form input[type="url"],
.webfy-oe-form textarea {
	appearance: none;
	background: #fff;
	border: 1px solid var(--webfy-oe-border);
	border-radius: 6px;
	color: #111;
	font: inherit;
	line-height: 1.35;
	padding: 12px 13px;
	width: 100%;
}

.webfy-oe-form textarea {
	resize: vertical;
}

.webfy-oe-form input::placeholder,
.webfy-oe-form textarea::placeholder {
	color: #777;
}

.webfy-oe-check {
	align-items: flex-start;
	display: flex;
	gap: 10px;
	margin: 0 0 14px;
}

.webfy-oe-check input {
	accent-color: #111;
	flex: 0 0 auto;
	margin-top: 4px;
}

.webfy-oe-check span {
	font-weight: 500;
	margin: 0;
}

.webfy-oe-small {
	color: var(--webfy-oe-muted);
	font-size: 14px;
}

.webfy-oe-small a,
.webfy-oe-check a {
	color: #111;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.webfy-oe-notice {
	border: 1px solid var(--webfy-oe-border);
	border-radius: 6px;
	margin: 0 0 16px;
	padding: 12px 14px;
}

.webfy-oe-notice p:last-child {
	margin-bottom: 0;
}

.webfy-oe-notice--success {
	background: #f2fbf5;
	border-color: #b7e1c2;
	color: var(--webfy-oe-success);
}

.webfy-oe-notice--error {
	background: #fff5f3;
	border-color: #efc3ba;
	color: var(--webfy-oe-error);
}

.webfy-oe-honeypot {
	height: 0;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	top: auto;
	width: 0;
}

body.webfy-oe-modal-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.webfy-oe-dialog {
		border-radius: 0;
		inset: 0;
		max-height: none;
		padding: 22px 18px;
		transform: none;
		width: auto;
	}

	.webfy-oe-grid {
		grid-template-columns: 1fr;
	}

	.webfy-oe-title {
		font-size: 25px;
		margin-right: 44px;
	}

	.webfy-oe-button,
	.webfy-oe-submit {
		width: 100%;
	}
}
