.mt-offerte-wizard {
--mt-offerte-accent: #1a56db;
--mt-offerte-text: #1f2937;
--mt-offerte-border: #d1d5db;
--mt-offerte-bg: #ffffff;
--mt-offerte-bg-muted: #f3f4f6; width: 100%;
min-width: 0; margin: 0 auto;
font-family: inherit;
color: var(--mt-offerte-text);
box-sizing: border-box; container-type: inline-size;
container-name: mt-offerte;
}
.mt-offerte-wizard *,
.mt-offerte-wizard *::before,
.mt-offerte-wizard *::after {
box-sizing: border-box;
}
.mt-offerte-inner {
position: relative;
background: var(--mt-offerte-bg);
border: 1px solid var(--mt-offerte-border);
border-radius: 12px;
padding: 24px;
overflow-wrap: break-word;
}
.mt-offerte-header h2 {
margin: 0 0 6px;
font-size: 1.4em;
overflow-wrap: break-word;
}
.mt-offerte-header p {
margin: 0 0 16px;
color: #4b5563;
overflow-wrap: break-word;
}
.mt-offerte-hp {
position: absolute;
left: -9999px;
width: 1px;
height: 1px;
overflow: hidden;
}
.mt-offerte-visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.mt-offerte-progress {
margin-bottom: 20px;
}
.mt-offerte-stepper {
display: flex;
align-items: flex-start;
}
.mt-offerte-stepper-item {
position: relative;
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
min-width: 0;
}
.mt-offerte-stepper-item:not(:last-child)::after {
content: '';
position: absolute;
top: 14px;
left: 50%;
width: 100%;
height: 2px;
background: var(--mt-offerte-border);
z-index: 0;
}
.mt-offerte-stepper-item.is-complete:not(:last-child)::after {
background: var(--mt-offerte-accent);
}
.mt-offerte-stepper-circle {
position: relative;
z-index: 1;
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
flex-shrink: 0;
border-radius: 50%;
background: var(--mt-offerte-bg);
border: 2px solid var(--mt-offerte-border);
color: #6b7280;
font-size: 0.8em;
font-weight: 600;
}
.mt-offerte-stepper-item.is-complete .mt-offerte-stepper-circle,
.mt-offerte-stepper-item.is-current .mt-offerte-stepper-circle {
background: var(--mt-offerte-accent);
border-color: var(--mt-offerte-accent);
color: #fff;
}
.mt-offerte-stepper-label {
margin-top: 6px;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 0.75em;
color: #6b7280;
}
.mt-offerte-stepper-item.is-current .mt-offerte-stepper-label {
color: var(--mt-offerte-text);
font-weight: 600;
}
.mt-offerte-error {
background: #fef2f2;
border: 1px solid #fecaca;
color: #b91c1c;
padding: 10px 14px;
border-radius: 8px;
margin-bottom: 16px;
font-size: 0.9em;
}
.mt-offerte-step h3 {
margin: 0 0 16px;
font-size: 1.1em;
}
.mt-offerte-field-group + .mt-offerte-field-group {
margin-top: 20px;
}
.mt-offerte-field-group-title {
margin: 0 0 10px;
padding-bottom: 6px;
border-bottom: 1px solid var(--mt-offerte-border);
font-size: 0.95em;
font-weight: 600;
color: #4b5563;
overflow-wrap: break-word;
}
.mt-offerte-service-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
gap: 12px;
}
.mt-offerte-service-card {
text-align: left;
background: var(--mt-offerte-bg);
border: 2px solid var(--mt-offerte-border);
border-radius: 10px;
padding: 14px;
min-height: 44px;
min-width: 0; max-width: 100%;
overflow: hidden;
cursor: pointer;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 4px; white-space: normal !important;
overflow-wrap: break-word;
word-break: break-word;
transition: border-color 0.15s ease, background-color 0.15s ease;
}
.mt-offerte-service-card:hover {
border-color: var(--mt-offerte-accent);
}
.mt-offerte-service-card.is-selected {
border-color: var(--mt-offerte-accent);
background: color-mix(in srgb, var(--mt-offerte-accent) 8%, white);
}
.mt-offerte-service-title {
display: block;
width: 100%;
font-weight: 600;
white-space: normal !important;
overflow-wrap: break-word;
word-break: break-word;
}
.mt-offerte-service-desc {
display: block;
width: 100%;
font-size: 0.85em;
color: #6b7280;
white-space: normal !important;
overflow-wrap: break-word;
word-break: break-word;
} .mt-offerte-field-grid {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 14px;
}
.mt-offerte-field {
display: flex;
flex-direction: column;
gap: 6px;
font-size: 0.9em;
min-width: 0;
max-width: 100%;
overflow-wrap: break-word;
}
.mt-offerte-field-full {
grid-column: 1 / -1;
} .mt-offerte-field-w25 {
grid-column: span 3;
}
.mt-offerte-field-w33 {
grid-column: span 4;
}
.mt-offerte-field-w50 {
grid-column: span 6;
}
.mt-offerte-field-w100 {
grid-column: span 12;
}
.mt-offerte-field input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.mt-offerte-field select,
.mt-offerte-field textarea {
padding: 9px 10px;
border: 1px solid var(--mt-offerte-border);
border-radius: 6px; font-size: 16px;
font-family: inherit;
width: 100%;
max-width: 100%;
min-height: 44px;
}
.mt-offerte-field textarea {
min-height: 0;
}
.mt-offerte-field-checkbox input[type="checkbox"] {
width: 20px;
height: 20px;
flex-shrink: 0;
}
.mt-offerte-field.is-invalid input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.mt-offerte-field.is-invalid select,
.mt-offerte-field.is-invalid textarea,
.mt-offerte-field-checkbox.is-invalid input[type="checkbox"] {
border-color: #dc2626;
}
.mt-offerte-field-error {
color: #dc2626;
font-size: 0.85em;
}
.mt-offerte-consent-wrap.is-invalid .mt-offerte-field-checkbox {
outline: 1px solid #dc2626;
outline-offset: 4px;
border-radius: 4px;
}
.mt-offerte-field input:not([type="radio"]):not([type="range"]):focus,
.mt-offerte-field select:focus,
.mt-offerte-field textarea:focus {
outline: none;
border-color: var(--mt-offerte-accent);
} fieldset.mt-offerte-field {
border: 0;
padding: 0;
margin: 0;
min-width: 0;
}
.mt-offerte-field-radio legend {
padding: 0;
margin: 0 0 6px;
width: 100%;
font-size: inherit;
font-weight: inherit;
color: inherit;
white-space: normal;
}
.mt-offerte-radio-group {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.mt-offerte-radio-pill {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 44px;
padding: 8px 16px;
border: 1px solid var(--mt-offerte-border);
border-radius: 999px;
cursor: pointer;
font-size: 0.9em;
transition: border-color 0.15s ease, background-color 0.15s ease;
}
.mt-offerte-radio-pill input[type="radio"] {
width: 16px;
height: 16px;
margin: 0;
accent-color: var(--mt-offerte-accent);
flex-shrink: 0;
}
.mt-offerte-radio-pill.is-selected {
border-color: var(--mt-offerte-accent);
background: color-mix(in srgb, var(--mt-offerte-accent) 8%, white);
}
.mt-offerte-field-radio.is-invalid .mt-offerte-radio-pill {
border-color: #dc2626;
} .mt-offerte-slider-wrap {
display: flex;
flex-direction: column;
align-items: stretch;
gap: var(--mt-offerte-slider-wrap-gap, 6px);
padding-top: 4px;
}
.mt-offerte-slider-value {
align-self: center;
font-size: 1.1em;
font-weight: 600;
color: var(--mt-offerte-accent);
}
.mt-offerte-field-slider input[type="range"] {
-webkit-appearance: none;
appearance: none;
width: 100%;
height: var(--mt-offerte-slider-track-height, 6px);
margin: 10px 0;
background: transparent;
cursor: pointer;
}
.mt-offerte-field-slider input[type="range"]:focus {
outline: none;
} .mt-offerte-field-slider input[type="range"]::-webkit-slider-runnable-track {
height: var(--mt-offerte-slider-track-height, 6px);
border-radius: var(--mt-offerte-slider-track-radius, 999px);
background: linear-gradient(
to right,
var(--mt-offerte-slider-fill-color, var(--mt-offerte-accent)) var(--mt-offerte-slider-percent, 50%),
var(--mt-offerte-slider-track-color, var(--mt-offerte-bg-muted)) var(--mt-offerte-slider-percent, 50%)
);
}
.mt-offerte-field-slider input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: var(--mt-offerte-slider-thumb-size, 20px);
height: var(--mt-offerte-slider-thumb-size, 20px);
margin-top: calc((var(--mt-offerte-slider-track-height, 6px) - var(--mt-offerte-slider-thumb-size, 20px)) / 2);
border-radius: 50%;
background: var(--mt-offerte-slider-thumb-color, #ffffff);
border: var(--mt-offerte-slider-thumb-border-width, 2px) solid var(--mt-offerte-slider-thumb-border-color, var(--mt-offerte-accent));
box-shadow: var(--mt-offerte-slider-thumb-shadow, 0 1px 3px rgba(0, 0, 0, 0.25));
cursor: pointer;
}
.mt-offerte-field-slider input[type="range"]:focus::-webkit-slider-thumb {
box-shadow: var(--mt-offerte-slider-thumb-shadow, 0 1px 3px rgba(0, 0, 0, 0.25)), 0 0 0 4px color-mix(in srgb, var(--mt-offerte-slider-fill-color, var(--mt-offerte-accent)) 25%, transparent);
}
.mt-offerte-field-slider input[type="range"]::-moz-range-track {
height: var(--mt-offerte-slider-track-height, 6px);
border-radius: var(--mt-offerte-slider-track-radius, 999px);
background: var(--mt-offerte-slider-track-color, var(--mt-offerte-bg-muted));
}
.mt-offerte-field-slider input[type="range"]::-moz-range-progress {
height: var(--mt-offerte-slider-track-height, 6px);
border-radius: var(--mt-offerte-slider-track-radius, 999px);
background: var(--mt-offerte-slider-fill-color, var(--mt-offerte-accent));
}
.mt-offerte-field-slider input[type="range"]::-moz-range-thumb {
width: var(--mt-offerte-slider-thumb-size, 20px);
height: var(--mt-offerte-slider-thumb-size, 20px);
border-radius: 50%;
background: var(--mt-offerte-slider-thumb-color, #ffffff);
border: var(--mt-offerte-slider-thumb-border-width, 2px) solid var(--mt-offerte-slider-thumb-border-color, var(--mt-offerte-accent));
box-shadow: var(--mt-offerte-slider-thumb-shadow, 0 1px 3px rgba(0, 0, 0, 0.25));
cursor: pointer;
}
.mt-offerte-field-slider input[type="range"]:focus::-moz-range-thumb {
box-shadow: var(--mt-offerte-slider-thumb-shadow, 0 1px 3px rgba(0, 0, 0, 0.25)), 0 0 0 4px color-mix(in srgb, var(--mt-offerte-slider-fill-color, var(--mt-offerte-accent)) 25%, transparent);
}
.mt-offerte-field-checkbox {
flex-direction: row;
align-items: center;
gap: 8px;
}
.mt-offerte-consent {
margin-top: 16px;
font-size: 0.85em;
color: #4b5563;
align-items: flex-start;
}
.mt-offerte-nav {
display: flex;
justify-content: space-between;
margin-top: 22px;
}
.mt-offerte-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 10px 20px;
border-radius: 8px;
border: none;
font-size: 0.95em;
cursor: pointer;
font-weight: 600;
}
.mt-offerte-btn-primary {
background: var(--mt-offerte-accent);
color: #fff;
margin-left: auto;
}
.mt-offerte-btn-primary:disabled {
opacity: 0.6;
cursor: default;
}
.mt-offerte-btn-secondary {
background: var(--mt-offerte-bg-muted);
color: var(--mt-offerte-text);
}
.mt-offerte-result {
text-align: center;
}
.mt-offerte-result-quote-number {
font-size: 0.85em;
color: #9ca3af;
}
.mt-offerte-success-message {
margin-top: 12px;
font-weight: 500;
}
.mt-offerte-summary {
margin-top: 24px;
padding-top: 16px;
border-top: 1px solid var(--mt-offerte-border);
text-align: left;
}
.mt-offerte-summary-heading {
margin: 0 0 14px;
font-size: 1em;
text-align: center;
}
.mt-offerte-summary-group + .mt-offerte-summary-group {
margin-top: 16px;
}
.mt-offerte-summary-service-title {
margin: 0 0 6px;
padding-bottom: 4px;
border-bottom: 1px solid var(--mt-offerte-border);
font-size: 0.95em;
font-weight: 600;
color: #4b5563;
overflow-wrap: break-word;
}
.mt-offerte-summary-rows {
display: flex;
flex-direction: column;
gap: 4px;
}
.mt-offerte-summary-row {
display: flex;
justify-content: space-between;
gap: 12px;
padding: 4px 0;
font-size: 0.9em;
}
.mt-offerte-summary-label {
flex-shrink: 0;
color: #6b7280;
}
.mt-offerte-summary-value {
min-width: 0;
overflow-wrap: break-word;
word-break: break-word;
text-align: right;
font-weight: 500;
}  @media (max-width: 700px) {
.mt-offerte-field-w25,
.mt-offerte-field-w33 {
grid-column: span 6;
}
}
@media (max-width: 480px) {
.mt-offerte-inner {
padding: 16px;
}
.mt-offerte-header h2 {
font-size: 1.25em;
}
.mt-offerte-nav {
flex-direction: column-reverse;
gap: 10px;
}
.mt-offerte-btn {
width: 100%;
}
.mt-offerte-btn-primary {
margin-left: 0;
} .mt-offerte-stepper-label {
display: none;
}
.mt-offerte-stepper-circle {
width: 22px;
height: 22px;
}
.mt-offerte-stepper-item:not(:last-child)::after {
top: 11px;
}
.mt-offerte-summary-row {
flex-direction: column;
gap: 2px;
}
.mt-offerte-summary-value {
text-align: left;
}
.mt-offerte-field-w25,
.mt-offerte-field-w33,
.mt-offerte-field-w50 {
grid-column: span 12;
}
}
@media (max-width: 360px) {
.mt-offerte-inner {
padding: 12px;
}
} @container mt-offerte (max-width: 700px) {
.mt-offerte-field-w25,
.mt-offerte-field-w33 {
grid-column: span 6;
}
}
@container mt-offerte (max-width: 480px) {
.mt-offerte-inner {
padding: 16px;
}
.mt-offerte-header h2 {
font-size: 1.25em;
}
.mt-offerte-nav {
flex-direction: column-reverse;
gap: 10px;
}
.mt-offerte-btn {
width: 100%;
}
.mt-offerte-btn-primary {
margin-left: 0;
}
.mt-offerte-stepper-label {
display: none;
}
.mt-offerte-stepper-circle {
width: 22px;
height: 22px;
}
.mt-offerte-stepper-item:not(:last-child)::after {
top: 11px;
}
.mt-offerte-field-w25,
.mt-offerte-field-w33,
.mt-offerte-field-w50 {
grid-column: span 12;
}
.mt-offerte-summary-row {
flex-direction: column;
gap: 2px;
}
.mt-offerte-summary-value {
text-align: left;
}
}
@container mt-offerte (max-width: 360px) {
.mt-offerte-inner {
padding: 12px;
}
}