.fcf {
	--fcf-gap: 48px;
	--fcf-media-h: 480px;
	--fcf-radius: 12px;
	--fcf-label: #222;
	--fcf-required: #c0392b;
	--fcf-field-bg: #000;
	--fcf-field-text: #fff;
	--fcf-placeholder: #8a8a8a;
	--fcf-border: #c8c8c8;
	--fcf-focus: #2b66a8;
	--fcf-accent: #4db6ac;

	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--fcf-gap);
	align-items: stretch;
	box-sizing: border-box;
}
.fcf *, .fcf *::before, .fcf *::after { box-sizing: border-box; }

.fcf--no-media { grid-template-columns: 1fr; }
.fcf--media-right .fcf__media { order: 2; }

/* ---------- Media column ---------- */
.fcf__media {
	position: relative;
	min-height: var(--fcf-media-h);
	border-radius: var(--fcf-radius);
	overflow: hidden;
	background: #eee;
}
.fcf__media img,
.fcf__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------- Form column ---------- */
.fcf__form-col { min-width: 0; }

.fcf-field { margin-bottom: 28px; }

.fcf-label {
	display: block;
	margin-bottom: 12px;
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.3;
	color: var(--fcf-label);
}
.fcf-req { color: var(--fcf-required); font-weight: 400; }

.fcf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.fcf-form input[type="text"],
.fcf-form input[type="email"],
.fcf-form select,
.fcf-form textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: 18px 16px;
	font: inherit;
	font-size: 1rem;
	line-height: 1.3;
	color: var(--fcf-field-text);
	background: var(--fcf-field-bg);
	border: 1px solid var(--fcf-border);
	border-radius: 4px;
	box-shadow: none;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.fcf-form ::placeholder { color: var(--fcf-placeholder); opacity: 1; }
/* Keep browser autofill from painting fields light blue/white */
.fcf-form input:-webkit-autofill,
.fcf-form textarea:-webkit-autofill {
	-webkit-text-fill-color: var(--fcf-field-text);
	caret-color: var(--fcf-field-text);
	transition: background-color 600000s 0s;
}

.fcf-form input:focus,
.fcf-form select:focus,
.fcf-form textarea:focus {
	border-color: var(--fcf-focus);
	box-shadow: 0 0 0 1px var(--fcf-focus);
}

.fcf-form select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'><path d='M0 0l6 7 6-7z' fill='%23aaa'/></svg>");
	background-repeat: no-repeat;
	background-position: right 18px center;
}
.fcf-form textarea { min-height: 150px; resize: vertical; }

/* Honeypot: off-screen, not display:none (bots skip those less often) */
.fcf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Actions ---------- */
.fcf-actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.fcf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 220px;
	padding: 16px 32px;
	font: inherit;
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	border-radius: 999px;
	border: 2px solid var(--fcf-accent);
	background: transparent;
	color: var(--fcf-accent);
	transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}
.fcf-btn:hover,
.fcf-btn:focus-visible { background: var(--fcf-accent); color: #fff; }
.fcf-btn:disabled { opacity: .6; cursor: progress; }
.fcf-btn--ghost { min-width: 0; }

.fcf-status { margin-top: 18px; min-height: 1.4em; font-size: .98rem; }
.fcf-status--success { color: #1e7e34; }
.fcf-status--error { color: #b3261e; }

.fcf-notice {
	margin-bottom: 16px;
	padding: 12px 16px;
	background: #fff8e1;
	border-left: 4px solid #f5a623;
	font-size: .9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
	.fcf { grid-template-columns: 1fr; }
	.fcf--media-right .fcf__media { order: 0; }
	.fcf__media { min-height: min(var(--fcf-media-h), 320px); }
	.fcf-row { grid-template-columns: 1fr; gap: 12px; }
	.fcf-actions { justify-content: stretch; }
	.fcf-actions .fcf-btn { flex: 1 1 100%; }
}

/* ---------- Custom dropdown (replaces the native popup, which can't be styled reliably) ---------- */
.fcf-form select { color: var(--fcf-field-text); }
.fcf-form select:invalid { color: var(--fcf-placeholder); }
.fcf-form select option { color: #000; background: #fff; }

.fcf-select { position: relative; }
.fcf-select > select {
	position: absolute; inset: 0; width: 100%; height: 100%;
	opacity: 0; pointer-events: none; padding: 0;
}
.fcf-select__btn {
	display: block;
	width: 100%;
	margin: 0;
	padding: 18px 44px 18px 16px;
	font: inherit;
	font-size: 1rem;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	color: var(--fcf-field-text);
	background-color: var(--fcf-field-bg);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'><path d='M0 0l6 7 6-7z' fill='%23aaa'/></svg>");
	background-repeat: no-repeat;
	background-position: right 18px center;
	border: 1px solid var(--fcf-border);
	border-radius: 4px;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.fcf-select__btn.is-placeholder { color: var(--fcf-placeholder); }
.fcf-select__btn:focus,
.fcf-select.is-open .fcf-select__btn {
	border-color: var(--fcf-focus);
	box-shadow: 0 0 0 1px var(--fcf-focus);
}
.fcf-select__list {
	display: none;
	position: absolute;
	z-index: 50;
	left: 0; right: 0; top: calc(100% + 4px);
	margin: 0; padding: 4px 0;
	list-style: none;
	max-height: 260px; overflow-y: auto;
	background: #000;
	border: 1px solid var(--fcf-border);
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.fcf-select.is-open .fcf-select__list { display: block; }
.fcf-select__opt {
	margin: 0; padding: 12px 16px;
	color: #fff; cursor: pointer; line-height: 1.3;
}
.fcf-form .fcf-select .fcf-select__list .fcf-select__opt { background: transparent; }
/* Only ONE option is highlighted at a time (JS sets .is-active from mouse or keyboard). */
.fcf-form .fcf-select .fcf-select__list .fcf-select__opt.is-active { background: #1D1C1C !important; color: #fff !important; }
/* Never let the theme/Elementor change the select button color on hover/focus/active. */
.fcf-form .fcf-select .fcf-select__btn,
.fcf-form .fcf-select .fcf-select__btn:hover,
.fcf-form .fcf-select .fcf-select__btn:focus,
.fcf-form .fcf-select .fcf-select__btn:focus-visible,
.fcf-form .fcf-select .fcf-select__btn:active,
.fcf-form .fcf-select.is-open .fcf-select__btn {
	background-color: var(--fcf-field-bg) !important;
	color: var(--fcf-field-text) !important;
	text-decoration: none;
}
.fcf-form .fcf-select .fcf-select__btn.is-placeholder,
.fcf-form .fcf-select .fcf-select__btn.is-placeholder:hover,
.fcf-form .fcf-select .fcf-select__btn.is-placeholder:focus,
.fcf-form .fcf-select .fcf-select__btn.is-placeholder:active { color: var(--fcf-placeholder) !important; }
.fcf-select__opt[aria-selected="true"] { color: #fff; font-weight: 600; }
