/* =====================================================
   LeadFlow Pro — front-end styles
===================================================== */
.leadflow-embed { max-width: 460px; }

.leadflow-form {
	--lf-accent: #2563eb;
	--lf-accent-dark: #1d4ed8;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 26px;
	box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
	font-family: inherit;
	color: #1e293b;
}
.leadflow-form-title { margin: 0 0 6px; font-size: 1.35rem; line-height: 1.2; color: #0f172a; }
.leadflow-form-sub { margin: 0 0 18px; font-size: 0.92rem; color: #64748b; }

.leadflow-field { margin-bottom: 14px; }
.leadflow-field label {
	display: block; font-size: 0.8rem; font-weight: 600;
	margin-bottom: 5px; color: #334155; letter-spacing: 0.2px;
}
.leadflow-req { color: #ef4444; margin-left: 2px; }

.leadflow-field input,
.leadflow-field textarea {
	width: 100%; box-sizing: border-box;
	padding: 11px 13px; font-size: 0.95rem; font-family: inherit;
	border: 1px solid #cbd5e1; border-radius: 9px;
	background: #f8fafc; color: #0f172a;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.leadflow-field input:focus,
.leadflow-field textarea:focus {
	outline: none; border-color: var(--lf-accent);
	background: #fff; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.leadflow-field textarea { resize: vertical; min-height: 76px; }

.leadflow-consent {
	display: flex; gap: 9px; align-items: flex-start;
	font-size: 0.8rem; color: #475569; margin: 4px 0 16px; cursor: pointer; line-height: 1.45;
}
.leadflow-consent input { margin-top: 2px; flex-shrink: 0; }

/* Honeypot — hidden from real users. */
.leadflow-hp { position: absolute !important; left: -9999px !important; top: -9999px !important; height: 0; overflow: hidden; }

.leadflow-btn {
	width: 100%; padding: 13px 20px; border: none; cursor: pointer;
	background: linear-gradient(135deg, var(--lf-accent), var(--lf-accent-dark));
	color: #fff; font-size: 1rem; font-weight: 700; font-family: inherit;
	border-radius: 9px; transition: transform .12s, box-shadow .12s, opacity .12s;
}
.leadflow-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35); }
.leadflow-btn:disabled { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }

.leadflow-alert {
	padding: 11px 14px; border-radius: 9px; font-size: 0.88rem; margin-bottom: 16px;
	border-left: 4px solid transparent;
}
.leadflow-alert.is-error   { background: #fef2f2; color: #b91c1c; border-color: #ef4444; }
.leadflow-alert.is-success { background: #f0fdf4; color: #15803d; border-color: #22c55e; }

/* =====================================================
   POPUP
===================================================== */
.leadflow-popup-overlay {
	position: fixed; inset: 0; z-index: 99999;
	background: rgba(15, 23, 42, 0.62); backdrop-filter: blur(3px);
	display: flex; align-items: center; justify-content: center; padding: 20px;
	opacity: 0; transition: opacity .25s ease;
}
.leadflow-popup-overlay.is-open { opacity: 1; }
.leadflow-popup {
	position: relative; width: 100%; max-width: 440px;
	transform: translateY(14px) scale(0.98); transition: transform .25s ease;
}
.leadflow-popup-overlay.is-open .leadflow-popup { transform: none; }
.leadflow-popup .leadflow-form { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.leadflow-popup-close {
	position: absolute; top: -12px; right: -12px; z-index: 1;
	width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
	background: #0f172a; color: #fff; font-size: 22px; line-height: 34px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.leadflow-popup-close:hover { background: #1e293b; }

/* =====================================================
   FLOATING WHATSAPP BUTTON
===================================================== */
.leadflow-wa-float {
	position: fixed; bottom: 22px; right: 22px; z-index: 99998;
	width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
	transition: transform .15s;
}
.leadflow-wa-float:hover { transform: scale(1.08); color: #fff; }

@media (max-width: 520px) {
	.leadflow-form { padding: 20px; }
	.leadflow-popup-close { top: 4px; right: 4px; background: rgba(15,23,42,0.75); }
}
