/**
 * Instant Quote — Lead Capture CTA Styles
 *
 * @package FliserRent
 * @since   1.5.0
 */

/* ─── Lead Panel Box ───────────────────────────────── */
.iq-lead-box {
	border: 2px solid hsl(141, 71%, 48%); /* Bulma success */
	border-radius: 8px;
	position: relative;
	overflow: hidden;
}

.iq-lead-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, hsl(141, 71%, 48%), hsl(171, 100%, 41%));
}

/* ─── Price Banner ─────────────────────────────────── */
.iq-lead-price-banner {
	padding: 1rem;
	margin: -1.25rem -1.25rem 1.25rem -1.25rem;
	background: linear-gradient(135deg, rgba(72, 199, 142, 0.08), rgba(0, 209, 178, 0.08));
	border-bottom: 1px solid rgba(72, 199, 142, 0.2);
}

.iq-lead-price-banner .is-size-2 {
	line-height: 1.2;
	letter-spacing: -0.02em;
}

/* ─── Form Styling ─────────────────────────────────── */
.iq-lead-panel .input.is-medium {
	border-radius: 6px;
}

.iq-lead-panel .input:focus {
	border-color: hsl(141, 71%, 48%);
	box-shadow: 0 0 0 3px rgba(72, 199, 142, 0.15);
}

.iq-lead-panel .button.is-success.is-medium {
	font-size: 1.15rem;
	font-weight: 700;
	padding: 1.25rem 2rem;
	border-radius: 8px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.iq-lead-panel .button.is-success.is-medium:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(72, 199, 142, 0.35);
}

/* ─── Success State ────────────────────────────────── */
#iq-lead-success {
	padding: 2rem 1rem;
}

#iq-lead-success .icon .fa-circle-check {
	animation: iq-lead-pop 0.4s ease;
}

@keyframes iq-lead-pop {
	0%   { transform: scale(0); opacity: 0; }
	60%  { transform: scale(1.15); }
	100% { transform: scale(1); opacity: 1; }
}

/* ─── Dark Mode ────────────────────────────────────── */
[data-theme="dark"] .iq-lead-box,
.dark-mode .iq-lead-box {
	background: #1a1d2e;
	border-color: hsl(141, 71%, 38%);
}

[data-theme="dark"] .iq-lead-price-banner,
.dark-mode .iq-lead-price-banner {
	background: linear-gradient(135deg, rgba(72, 199, 142, 0.05), rgba(0, 209, 178, 0.05));
	border-bottom-color: rgba(72, 199, 142, 0.15);
}

[data-theme="dark"] .iq-lead-panel .input,
.dark-mode .iq-lead-panel .input {
	background: #252836;
	border-color: #3a3d52;
	color: #e2e8f0;
}

[data-theme="dark"] .iq-lead-panel .input:focus,
.dark-mode .iq-lead-panel .input:focus {
	border-color: hsl(141, 71%, 48%);
}

[data-theme="dark"] .iq-lead-panel .label,
.dark-mode .iq-lead-panel .label {
	color: #cbd5e1;
}

/* ─── Mobile ───────────────────────────────────────── */
@media screen and (max-width: 768px) {
	.iq-lead-price-banner .is-size-2 {
		font-size: 1.75rem !important;
	}

	.iq-lead-panel .button.is-success.is-medium {
		font-size: 1rem;
		padding: 1rem 1.5rem;
	}
}
