/*
 * ROI Calculator — shared EU / US styling.
 */

.roi-tool {
	--roi-primary: #0095c3;
	--roi-primary-hover: #007fa8;
	--roi-text: #232323;
	--roi-muted: rgba(49, 35, 34, 0.55);
	--roi-border: rgba(49, 35, 34, 0.12);
	--roi-radius: 4px;
	--roi-font: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	color: var(--roi-text);
	font-family: var(--roi-font);
}

.roi-tool .step {
	display: none;
}

.roi-tool .sticky-top {
	top: 150px !important;
	z-index: 2;
}

.roi-tool .step .form-group {
	position: relative;
	margin-bottom: 1.25rem;
}

.roi-tool .gap-2 {
	gap: 1rem;
}

.roi-tool .gap-3 {
	gap: 1.2rem;
}

.roi-tool .form-range {
	width: 100%;
	padding: 0 10px;
}

.roi-tool .step label.btn {
	padding: 10px 16px;
}

.roi-tool .step label.btn:before,
.roi-tool .btn:before,
.roi-tool button:before {
	display: none !important;
}

.roi-tool .step input[type="radio"].btn-check,
.roi-tool .step input[type="checkbox"].btn-check {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.roi-tool .step input[type="radio"].btn-check:checked + label,
.roi-tool .step input[type="checkbox"].btn-check:checked + label {
	background-color: var(--roi-primary) !important;
	border-color: var(--roi-primary) !important;
	color: #fff !important;
}

.roi-tool .step.active {
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	.roi-tool .step.active {
		display: flex;
		flex-direction: row;
	}

	.roi-tool .step_vragen {
		width: 750px;
	}

	.roi-tool .step_intro {
		max-width: 750px !important;
	}
}

/* Language switch ------------------------------------------------------ */
.roi-tool .languageSwitch {
	display: inline-flex;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.roi-tool .btn.btn-switch {
	align-items: center;
	background: transparent;
	border: 1px solid var(--roi-primary);
	border-radius: var(--roi-radius);
	color: var(--roi-primary) !important;
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 600;
	justify-content: center;
	line-height: 1.2;
	min-width: 52px;
	padding: 0.55rem 0.9rem;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.roi-tool .btn.btn-switch:hover,
.roi-tool .btn.btn-switch:focus {
	background: rgba(0, 149, 195, 0.08);
	color: var(--roi-primary) !important;
	text-decoration: none;
}

.roi-tool .btn.btn-switch.active,
.roi-tool .btn.btn-switch.active:hover {
	background: var(--roi-primary) !important;
	border-color: var(--roi-primary);
	color: #fff !important;
	pointer-events: none;
}

/* Primary action buttons (Next / Start / Submit) ----------------------- */
.roi-tool .btn.btn-success,
.roi-tool button.btn-success {
	align-items: center;
	background: var(--roi-primary) !important;
	border: 1px solid var(--roi-primary) !important;
	border-radius: var(--roi-radius);
	box-shadow: none;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	font-family: var(--roi-font);
	font-size: 1rem;
	font-weight: 600;
	gap: 0.5rem;
	justify-content: center;
	line-height: 1.3;
	margin-top: 0.5rem;
	min-height: 48px;
	padding: 0.75rem 1.5rem !important;
	position: relative;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.roi-tool .btn.btn-success *,
.roi-tool button.btn-success * {
	color: #fff !important;
}

.roi-tool .btn.btn-success:hover,
.roi-tool button.btn-success:hover,
.roi-tool .btn.btn-success:focus,
.roi-tool button.btn-success:focus {
	background: var(--roi-primary-hover) !important;
	border-color: var(--roi-primary-hover) !important;
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-1px);
}

.roi-tool .btn.btn-success:focus-visible,
.roi-tool button.btn-success:focus-visible {
	outline: 2px solid var(--roi-primary);
	outline-offset: 3px;
}

.roi-tool .btn.btn-outline-dark {
	border-color: var(--roi-border);
	border-radius: var(--roi-radius);
	color: var(--roi-text);
	font-weight: 500;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.roi-tool .btn.btn-outline-dark:hover {
	border-color: var(--roi-primary);
	color: var(--roi-primary);
}

/* Form fields ---------------------------------------------------------- */
.roi-tool .form-label {
	color: var(--roi-text);
	font-size: 0.9375rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
}

.roi-tool .form-control {
	border: 1px solid var(--roi-border);
	border-radius: var(--roi-radius);
	color: var(--roi-text);
	font-family: var(--roi-font);
	font-size: 1rem;
	min-height: 48px;
	padding: 0.65rem 0.9rem;
	width: 100%;
}

.roi-tool .form-control:focus {
	border-color: var(--roi-primary);
	box-shadow: 0 0 0 3px rgba(0, 149, 195, 0.15);
	outline: none;
}

/* Privacy checkbox + label side by side -------------------------------- */
.roi-tool .form-group--privacy {
	align-items: flex-start;
	display: flex;
	gap: 0.75rem;
	margin: 1.25rem 0 1.5rem;
}

.roi-tool .form-group--privacy input[type="checkbox"] {
	accent-color: var(--roi-primary);
	cursor: pointer;
	flex: 0 0 auto;
	height: 1.15rem;
	margin: 0.2rem 0 0;
	opacity: 1;
	pointer-events: auto;
	position: static;
	width: 1.15rem;
}

.roi-tool .form-group--privacy label {
	color: var(--roi-text);
	cursor: pointer;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.45;
	margin: 0;
}

.roi-tool .form-group--privacy label a {
	color: var(--roi-primary);
	text-decoration: underline;
}

.roi-tool .form-group--privacy label a:hover {
	color: var(--roi-primary-hover);
}

.roi-tool .step_intro h2,
.roi-tool .step_vragen h3,
.roi-tool .step_vragen h4 {
	color: var(--roi-primary);
	font-weight: 700;
}

.roi-tool .step_intro .lead,
.roi-tool .step_intro p {
	color: var(--roi-text);
	line-height: 1.6;
}
