.pvi-quote-form {
	--pvi-quote-accent: #ef5c27;
	--pvi-quote-accent-soft: rgba(239, 92, 39, 0.04);
	--pvi-quote-ink: #111111;
	--pvi-quote-muted: #7a7a7a;
	--pvi-quote-border: rgba(15, 23, 42, 0.1);
	--pvi-quote-card: #f7f4f2;
	--pvi-quote-white: #ffffff;
	color: var(--pvi-quote-ink);
	font-family: inherit;
	margin: 18px 0 24px;
	max-width: 560px;
	width: 100%;
}

.pvi-quote-form *,
.pvi-quote-form *::before,
.pvi-quote-form *::after {
	box-sizing: border-box;
}

.pvi-quote-form__shell {
	display: grid;
	gap: 16px;
}

.pvi-quote-form__progress[hidden],
.pvi-quote-steps[hidden],
.pvi-quote-success[hidden],
.pvi-quote-form__feedback[hidden] {
	display: none;
}

.pvi-quote-form__progress {
	display: grid;
	gap: 8px;
}

.pvi-quote-form__progress-label {
	color: var(--pvi-quote-ink);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.1;
	margin: 0;
}

.pvi-quote-form__progress-bar {
	background: rgba(15, 23, 42, 0.08);
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
}

.pvi-quote-form__progress-bar span {
	background: var(--pvi-quote-accent);
	display: block;
	height: 100%;
	transition: width 0.25s ease;
	width: 0;
}

.pvi-quote-step {
	display: none;
}

.pvi-quote-step.is-current {
	display: grid;
	gap: 16px;
}

.pvi-quote-step__fields {
	display: grid;
	gap: 16px;
}

.pvi-quote-field {
	background: transparent;
	border: 0;
	border-radius: 0;
	display: grid;
	gap: 8px;
	padding: 0;
}

.pvi-quote-field[hidden] {
	display: none;
}

.pvi-quote-field.has-error {
	padding-bottom: 2px;
}

.pvi-quote-field__label-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.pvi-quote-field__label-row label {
	align-items: center;
	color: var(--pvi-quote-ink);
	display: inline-flex;
	font-size: 0.94rem;
	font-weight: 700;
	gap: 1px;
	line-height: 1.3;
}

.pvi-quote-field__required {
	color: var(--pvi-quote-accent);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1;
	margin-left: 1px;
}

.pvi-quote-field__control {
	background: var(--pvi-quote-white);
	border: 1px solid rgba(15, 23, 42, 0.14);
	border-radius: 18px;
	box-shadow: none;
	color: var(--pvi-quote-ink);
	display: block;
	font: inherit;
	min-height: 48px;
	padding: 12px 14px;
	width: 100%;
}

.pvi-quote-field textarea.pvi-quote-field__control {
	min-height: 110px;
	resize: vertical;
}

.pvi-quote-field__control:focus {
	border-color: rgba(239, 92, 39, 0.36);
	outline: none;
}

.pvi-quote-field__help,
.pvi-quote-field__error,
.pvi-quote-form__feedback,
.pvi-quote-success {
	font-size: 0.86rem;
	line-height: 1.5;
}

.pvi-quote-field__help {
	color: var(--pvi-quote-muted);
	margin: 0;
}

.pvi-quote-field__error {
	color: #dc2626;
	margin: 0;
	min-height: 1.35em;
}

.pvi-quote-choice-group {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pvi-quote-choice-card {
	cursor: pointer;
}

.pvi-quote-choice-card input {
	display: none;
}

.pvi-quote-choice-card span {
	align-items: center;
	background: var(--pvi-quote-white);
	border: 1px solid var(--pvi-quote-border);
	border-radius: 22px;
	display: flex;
	font-size: 0.94rem;
	font-weight: 600;
	justify-content: center;
	min-height: 52px;
	padding: 10px 12px;
	text-align: center;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.pvi-quote-choice-card.is-selected span,
.pvi-quote-choice-card input:checked + span {
	background: var(--pvi-quote-accent-soft);
	border-color: rgba(239, 92, 39, 0.2);
}

.pvi-quote-step__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.pvi-quote-prev,
.pvi-rental-prev {
	margin-right: auto;
}

.pvi-quote-button {
	align-items: center;
	background: var(--pvi-quote-white);
	border: 1px solid var(--pvi-quote-border);
	border-radius: 999px;
	color: var(--pvi-quote-ink);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	text-align: center;
	transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pvi-quote-button[hidden] {
	display: none !important;
}

.pvi-quote-button:hover {
	border-color: rgba(239, 92, 39, 0.28);
}

.pvi-quote-button:disabled {
	cursor: not-allowed;
	opacity: 0.58;
}

.pvi-quote-button--primary {
	background: var(--pvi-quote-accent);
	border-color: var(--pvi-quote-accent);
	color: #ffffff;
}

.pvi-quote-button--ghost {
	background: var(--pvi-quote-white);
}

.pvi-quote-form__feedback,
.pvi-quote-success {
	background: var(--pvi-quote-white);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 22px;
	margin: 0;
	padding: 12px 14px;
}

.pvi-quote-form__feedback.is-loading {
	border-color: rgba(239, 92, 39, 0.18);
	color: var(--pvi-quote-ink);
}

.pvi-quote-form__feedback.is-error {
	border-color: rgba(220, 38, 38, 0.18);
	color: #b91c1c;
}

.pvi-quote-form__feedback.is-success,
.pvi-quote-success {
	border-color: rgba(239, 92, 39, 0.18);
	color: var(--pvi-quote-ink);
}

.pvi-quote-success p {
	margin: 0;
}

@media (max-width: 640px) {
	.pvi-quote-form {
		margin: 16px 0 22px;
		max-width: none;
	}

	.pvi-quote-choice-group {
		grid-template-columns: 1fr;
	}

	.pvi-quote-step__actions {
		flex-direction: column-reverse;
	}

	.pvi-quote-button {
		width: 100%;
	}
}
