/* CF Contact Form — dark, border-only fields with a pill submit button.
   The CSS variables below are defaults; they are overridden inline from the
   Settings page, so editing this file is optional. */
.cfc-form-wrapper {
	--cfc-border: #d9dde2;
	--cfc-text: #ffffff;
	--cfc-label: #ffffff;
	--cfc-placeholder: #7d8590;
	--cfc-required: #ff5a4f;
	--cfc-btn-bg: #f5c42c;
	--cfc-btn-text: #000000;
	--cfc-success: #4caf50;
	--cfc-error: #ff5a4f;
	--cfc-radius: 10px;
	--cfc-label-font: Georgia, 'Times New Roman', serif;
	--cfc-input-font: inherit;
	width: 100%;
	margin: 0 auto;
}

.cfc-form-wrapper *,
.cfc-form-wrapper *::before,
.cfc-form-wrapper *::after {
	box-sizing: border-box;
}

.cfc-form-message {
	padding: 14px 18px;
	margin-bottom: 22px;
	border: 1px solid var(--cfc-border);
	border-radius: var(--cfc-radius);
	background: transparent;
	color: var(--cfc-text) !important;
	opacity: 0;
	transition: opacity 0.25s ease;
}
.cfc-form-message.cfc-visible { opacity: 1; }
.cfc-form-message.cfc-success { border-color: var(--cfc-success); color: var(--cfc-success) !important; }
.cfc-form-message.cfc-error { border-color: var(--cfc-error); color: var(--cfc-error) !important; }

.cfc-row {
	display: flex;
	gap: 18px;
	margin-bottom: 22px;
}
.cfc-row .cfc-field { flex: 1 1 0; min-width: 0; }

.cfc-field label {
	display: block;
	margin: 0 0 10px;
	font-family: var(--cfc-label-font);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.3;
	color: var(--cfc-label) !important;
}

.cfc-required { color: var(--cfc-required) !important; margin-left: 4px; }

.cfc-form-wrapper .cfc-field input[type="text"],
.cfc-form-wrapper .cfc-field input[type="email"],
.cfc-form-wrapper .cfc-field textarea {
	display: block;
	width: 100%;
	height: 62px;
	margin: 0;
	padding: 0 20px;
	background: transparent !important;
	background-color: transparent !important;
	border: 1px solid var(--cfc-border) !important;
	border-radius: var(--cfc-radius) !important;
	color: var(--cfc-text) !important;
	caret-color: var(--cfc-text);
	font-family: var(--cfc-input-font);
	font-size: 18px;
	letter-spacing: 0.02em;
	box-shadow: none !important;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.cfc-form-wrapper .cfc-field textarea {
	height: auto;
	min-height: 212px;
	padding: 18px 20px;
	resize: vertical;
}

.cfc-form-wrapper .cfc-field input:focus,
.cfc-form-wrapper .cfc-field textarea:focus {
	border-color: var(--cfc-btn-bg) !important;
	color: var(--cfc-text) !important;
	background: transparent !important;
}

.cfc-field input::placeholder,
.cfc-field textarea::placeholder {
	color: var(--cfc-placeholder) !important;
	opacity: 1;
}

/* Browser autofill forces a light background + dark text; keep the dark look. */
.cfc-field input:-webkit-autofill,
.cfc-field input:-webkit-autofill:hover,
.cfc-field input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--cfc-text);
	caret-color: var(--cfc-text);
	transition: background-color 9999s ease-in-out 0s;
}

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

.cfc-submit { text-align: left; }

.cfc-form-wrapper .cfc-submit-btn {
	display: inline-block;
	height: 62px;
	padding: 0 26px;
	background: var(--cfc-btn-bg) !important;
	color: var(--cfc-btn-text) !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-family: var(--cfc-input-font);
	font-size: 20px;
	font-weight: 700;
	line-height: 62px;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.1s ease;
}
.cfc-form-wrapper .cfc-submit-btn:hover { opacity: 0.9; }
.cfc-form-wrapper .cfc-submit-btn:active { transform: translateY(1px); }
.cfc-form-wrapper .cfc-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

@media (max-width: 600px) {
	.cfc-row-2 { flex-direction: column; gap: 22px; }
	.cfc-form-wrapper .cfc-field input[type="text"],
	.cfc-form-wrapper .cfc-field input[type="email"] { height: 56px; }
	.cfc-form-wrapper .cfc-submit-btn { height: 56px; line-height: 56px; }
}

/* ---------------- Admin ---------------- */
.cfc-admin-wrap .cfc-filter-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 16px 0;
}
.cfc-admin-wrap .cfc-color-field-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 32px;
	margin: 10px 0 14px;
}
.cfc-admin-wrap .cfc-color-field { display: flex; flex-direction: column; gap: 6px; }
.cfc-admin-wrap .cfc-color-field label { font-weight: 600; }
