/*
 * Florida Injury Value – public styles
 * Scoped to plugin components (calculator + CTA + footer line).
 */

.fiv-calculator {
	--fiv-primary: #004a99;
	--fiv-accent: #ff9900;
	--fiv-bg: #f4f7f6;
	--fiv-text: #333;
	--fiv-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

	background: var(--fiv-bg);
	color: var(--fiv-text);
	padding: 40px 20px;
	border-radius: 12px;
	margin: 1.5rem 0;
}

.fiv-calculator * {
	box-sizing: border-box;
}

.fiv-calculator [hidden] {
	display: none !important;
}

.fiv-card {
	background: #fff;
	padding: 35px;
	border-radius: 12px;
	box-shadow: var(--fiv-shadow);
}

.fiv-eyebrow {
	text-align: center;
	font-size: 0.8rem;
	color: var(--fiv-primary);
	font-weight: 800;
	margin: 0 0 6px 0;
	letter-spacing: 0.02em;
}

.fiv-title {
	text-align: center;
	margin: 0 0 30px 0;
	font-size: 2rem;
	line-height: 1.15;
}

.fiv-form-group {
	margin-bottom: 20px;
}

.fiv-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
	color: #444;
}

.fiv-form-group select,
.fiv-form-group input,
.fiv-form-group textarea {
	width: 100%;
	padding: 14px;
	border: 2px solid #eee;
	border-radius: 8px;
	font-size: 1rem;
	outline: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
	background: #fff;
	color: inherit;
}

.fiv-form-group select:focus,
.fiv-form-group input:focus,
.fiv-form-group textarea:focus {
	border-color: var(--fiv-primary);
}

.fiv-calc-btn {
	background: var(--fiv-primary);
	color: #fff;
	border: none;
	padding: 18px;
	width: 100%;
	border-radius: 8px;
	font-size: 1.2rem;
	font-weight: 800;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.12s ease;
}

.fiv-calc-btn:hover {
	background: #003366;
	transform: scale(1.01);
}

.fiv-calc-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.fiv-ad-slot {
	margin-top: 18px;
	min-height: 90px;
}

.fiv-result-box {
	margin-top: 30px;
	background: #eef6ff;
	padding: 25px;
	border-radius: 10px;
	border: 2px solid var(--fiv-primary);
	text-align: center;
}

.fiv-result-title {
	margin: 0 0 10px 0;
}

.fiv-price-range {
	font-size: 2.4rem;
	color: var(--fiv-primary);
	font-weight: 900;
	margin: 10px 0;
}

.fiv-result-sub {
	margin: 0;
}

.fiv-lead-box {
	background: #fff;
	border: 2px solid var(--fiv-accent);
	padding: 25px;
	border-radius: 10px;
	margin-top: 25px;
	text-align: left;
}

.fiv-lead-box h4 {
	margin-top: 0;
	color: var(--fiv-accent);
}

.fiv-accent-btn {
	background: var(--fiv-accent);
	color: #fff;
	border: none;
	padding: 15px;
	width: 100%;
	border-radius: 6px;
	font-weight: 800;
	cursor: pointer;
	font-size: 1.1rem;
	margin-top: 10px;
	transition: background 0.2s ease;
}

.fiv-accent-btn:hover {
	background: #e68a00;
}

.fiv-honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.fiv-consent {
	margin-top: 12px;
}

.fiv-consent label {
	font-size: 0.92rem;
	color: #555;
}

.fiv-lead-status {
	margin-top: 12px;
	font-weight: 700;
}

.fiv-lead-status.is-error {
	color: #b00020;
}

.fiv-lead-status.is-success {
	color: #0b6b2a;
}

.fiv-legal-disclaimer {
	font-size: 0.7rem;
	color: #999;
	margin: 20px auto 0;
	text-align: center;
	max-width: 70ch;
}

/* Global CTA box */
.fiv-cta {
	--fiv-primary: #004a99;
	--fiv-accent: #ff9900;

	background: #eef6ff;
	border: 2px solid var(--fiv-primary);
	padding: 22px;
	border-radius: 10px;
	margin: 1.75rem 0;
}

.fiv-cta__heading {
	margin: 0 0 10px 0;
}

.fiv-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background: var(--fiv-primary);
	color: #fff;
	padding: 14px 18px;
	border-radius: 8px;
	font-weight: 800;
}

.fiv-cta-btn:hover {
	background: #003366;
	color: #fff;
}

/* Footer trust line */
.fiv-footer-line {
	text-align: center;
	font-size: 0.85rem;
	opacity: 0.85;
	margin: 1.5rem 0 0.75rem 0;
	padding: 0 1rem;
}

.fiv-footer-sep {
	margin: 0 0.4rem;
	opacity: 0.7;
}

@media (max-width: 520px) {
	.fiv-card {
		padding: 22px;
	}
	.fiv-title {
		font-size: 1.6rem;
	}
	.fiv-price-range {
		font-size: 2rem;
	}
}
