/* =======================================================
   SCQCP Public Stylesheet
   Organization: Global → Components → Stepper → Steps 1–5 → Responsive
   Note: Comments added only; cascade preserved to avoid UI/UX changes.
   ======================================================= */

.scqcp-container,
.scqcp-container * {
    font-family: inherit;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

form#scqcpForm {
    max-width: 100% !important;
    width: 100%;
}

/* Select2 — Base + Dropdown: align widget with SCQCP UI */
.select2-container--default .select2-results>.select2-results__options {
    padding: 4px;
}

.scqcp-select2 .select2-container {
    width: 100% !important;
}

/* Select2: base styling for visible selection box */
.scqcp-select2 .select2-container--default .select2-selection--single {
    font-size: 14px !important;
    border: 1px solid #dce0e5 !important;
    border-radius: calc(0.75rem - 2px) !important;
    /* background-color: #11c4d4 !important; vehicle type, year, make */
}

/* Select2: padding for rendered text inside selection */
/* .scqcp-select2 .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 8px 12px !important;
  font-size: 14px !important;
} */
.scqcp-select2 .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: normal !important;
}


/* Ensure arrow aligns with taller padding */
.scqcp-select2 .select2-container--default .select2-selection--single .select2-selection__arrow {
    /* height: 100% !important; */
}

/* Dropdown panel styling for these Select2s */
.scqcp-select2-dropdown {
    border: 1px solid #dce0e5 !important;
    border-radius: calc(0.75rem - 2px) !important;
}

/* Dropdown options font size */
.scqcp-select2-dropdown .select2-results__option {
    font-size: 14px !important;
}

/* Fallback scope via form wrapper to out-specify theme rules */
.SCQCP .select2-container--default .select2-selection--single {
    font-size: 14px !important;
    border: 1px solid #dce0e5 !important;
    border-radius: calc(0.75rem - 2px) !important;
    /* background-color: #11c4d4 !important; */
}

/* .SCQCP .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 8px 12px !important;
  font-size: 14px !important;
} */
.SCQCP .select2-container--default .select2-selection--single .select2-selection__arrow {
    /* height: 100% !important; */
}

.SCQCP .select2-container--default .select2-dropdown,
.SCQCP .scqcp-select2-dropdown {
    border: 1px solid #dce0e5 !important;
    border-radius: calc(0.75rem - 2px) !important;
}

.SCQCP .select2-container--default .select2-results__option,
.SCQCP .scqcp-select2-dropdown .select2-results__option {
    font-size: 14px !important;
}

/* Font size for the selected text (the visible part of the select) */
.scqcp-select2 .select2-results__option .select2-results__option--selectable .select2-results__option--highlighted {
    font-size: 16px !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #11c4d4;
    border-radius: calc(0.75rem - 2px) !important;
    color: white;
}

/* Layout: page wrapper and primary card spacing */
.SCQCP-wrap {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
}

/* Stepper */
.SCQCP-stepper {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 24px 16px;
    background: #ffffff;
    border-bottom: solid;
    border-bottom-width: 1px;
    border-color: #dce0e5;
}

.SCQCP .SCQCP-stepper-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    flex-direction: column;
}

/* .SCQCP-stepper-item:not(:first-child)::before{content:"";position:absolute;left:-14px;right:calc(100% - 14px);top:21px;height:2px;background:#e6ebf2} */

.SCQCP-stepper-item:last-child {
    flex: 0 0 auto;
}

.SCQCP-circle {
    border: solid;
    border-width: 2px;
    border-color: #dce0e5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: #627084;
    font-weight: 600;
}

.SCQCP-circle.SCQCP-active {
    border: solid;
    border-width: 2px;
    border-color: #11c4d4;
    background: #00c2c7;
    color: #fff;
}

.SCQCP-circle.SCQCP-done {
    background: #0e2e63;
    color: #fff;
}

.SCQCP-step-label {
    font-size: 14px;
    color: #5e6b7a;
    font-weight: 500;
}

/* Cards / layout */
.SCQCP-card {
    background: transparent;
    padding: 32px 12px;
}

h1 {
    margin: 0 0 8px;
    font-size: 32px;
    letter-spacing: -0.3px;
}

.SCQCP-sub {
    margin: 0 0 28px;
    color: #5e6b7a;
    font-size: 16px;
}

.SCQCP-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 820px) {
    .SCQCP-grid {
        grid-template-columns: 1fr;
    }
}

.SCQCP-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
}

.SCQCP-field .SCQCP-hint {
    font-weight: 400;
    color: #5e6b7a;
}

.SCQCP-error {
    margin-top: 8px;
    font-size: 12px;
    color: #b42318;
    display: none;
}

textarea.scqcp-textarea {
    /* width: 100%; */
    padding: 8px 12px;
    background-color: white;
    border: #dce0e5 1px solid;
    border-radius: calc(0.75rem - 2px);
    resize: none;
}

.SCQCP-show-error .SCQCP-error {
    display: block;
}

input[type="text"].scqcp-input,
input[type="email"].scqcp-input,
input[type="tel"].scqcp-input,
textarea.scqcp-input {
    /* width: 95%; */
    /* max-width: 419px; */
    /* height: 40px; */
    border-radius: calc(0.75rem - 2px);
    border: 1px solid #dce0e5;
    background: #fff;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

textarea.scqcp-input {
    height: 100px;
    resize: vertical;
    padding: 14px 16px;
}

input::placeholder.scqcp-input,
textarea::placeholder.scqcp-input {
    color: #98a4b3;
}

input.scqcp-input:focus,
textarea.scqcp-input:focus {
    border-color: #214ea6;
    box-shadow: 0 0 0 3px rgba(33, 78, 166, 0.15);
}

/* Trim field slightly emphasized like screenshot */
.SCQCP-trim input {
    border-color: #b4c4de;
    box-shadow: inset 0 0 0 2px rgba(11, 59, 143, 0.15);
    width: auto;
}

.SCQCP-field {
    display: flex;
    flex-direction: column;
}

/* Actions */
.SCQCP-actions {
    margin-top: 28px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.scqscp-first-step-btn {
    display: flex;
    flex-direction: row-reverse;
}

button.SCQCP-btn {
    height: 44px;
    padding: 0 32px;
    border: none;
    border-radius: 10px;
    background: #0a3776;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.25rem;
    cursor: pointer;
    transition: transform 0.04s, background 0.15s;
}

button.SCQCP-btn:hover {
    background: #0a3776e6;
}

button.SCQCP-btn:active {
    transform: translateY(1px);
}

button.SCQCP-btn-secondary {
    background: transparent;
    color: #1c2635;
    border: 1px solid #dce0e5;
    padding: 8px 16px;
    border-radius: calc(0.75rem - 2px);
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    cursor: pointer;
}

button.SCQCP-btn-secondary:hover {
    background: #ffffff;
    color: #1c2635;
    border-color: #1c2635;
}

/* Option cards (Condition / Ownership) */
.SCQCP-pill-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.SCQCP-option-card {
    border: 2px solid #11c4d4;
    border-radius: 12px;
    padding: 16px 18px;
    background: #f2fbfd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.SCQCP-option-card .SCQCP-title {
    font-weight: 600;
    user-select: none;
}

.SCQCP-option-card .SCQCP-chip {
    background: #0e3d8f;
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
}
/* =======================================================
   STEP 1 — Vehicle Details
   Purpose: select rows/boxes for type/year/make/model/trim.
   ======================================================= */
.SCQCP-select-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    margin-top: 16px;
}

.SCQCP-select-box {
    border: 2px solid #bfe7ef;
    border-radius: 12px;
    padding: 18px;
    background: #fff;
    cursor: pointer;
    transition: box-shadow 0.15s, border-color 0.15s;
    text-align: center;
}

.SCQCP-select-box .SCQCP-head {
    font-weight: 600;
    margin-bottom: 4px;
}

.SCQCP-select-box .SCQCP-desc {
    font-size: 13px;
    color: #667588;
}

.SCQCP-select-box:hover {
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
}

.SCQCP-select-box.SCQCP-selected {
    border-color: #00c2c7;
    box-shadow: 0 0 0 2px rgba(0, 194, 199, 0.25) inset;
    background: #f2fbfd;
}

.SCQCP-tile-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* Missing parts rows */
.SCQCP-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e6ebf2;
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    margin-top: 14px;
}

.SCQCP-row .SCQCP-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.SCQCP-badge {
    display: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: none;
    place-items: center;
    background: #fff;
    border: 1px solid #d9e1ea;
    color: #667;
}

.SCQCP-counter {
    display: flex;
    align-items: center;
    gap: 14px;
}

.SCQCP-counter button.SCQCP-btn-ctr {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e7f1;
    border-radius: 10px;
    background: #fff;
    font-size: 20px;
    line-height: 0;
    cursor: pointer;
    padding: unset;
    color: #000000;
}

.SCQCP-muted {
    color: #667588;
    font-size: 12px;
    margin-top: 2px;
    user-select: none;
}

/* Custom dropdown */
/* select.SCQCP-dd {
    position: absolute !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important
} */

.SCQCP-dd-wrap {
    position: relative;
}

.SCQCP-dd-btn {
    width: 100%;
    height: 40px;
    border-radius: calc(0.75rem - 2px);
    border: 1px solid #dce0e5;
    background: transparent;
    font-size: 0.875rem;
    text-align: left;
    padding: 12px 8px;
    line-height: 1.25rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.SCQCP-dd-btn:focus {
    border-color: #214ea6;
    box-shadow: 0 0 0 3px rgba(33, 78, 166, 0.15);
}

.SCQCP-dd-placeholder {
    color: #98a4b3;
}

.SCQCP-dd-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.SCQCP-dd.SCQCP-open .SCQCP-dd-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.SCQCP-dd-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
    padding: 4px;
    margin: 0;
    list-style: none;
    display: none;
    z-index: 40;
}

.SCQCP-dd.SCQCP-open .SCQCP-dd-list {
    display: block;
}

.SCQCP-dd-option {
    padding: 6px 8px 6px 32px;
    font-size: 0.875rem;
    line-height: 1.25rem;
    cursor: pointer;
}

.SCQCP-dd-option:hover {
    background: #f2fafb;
}

.SCQCP-dd-option[aria-selected="true"] {
    border-radius: calc(0.75rem - 4px);
    background: #00c2c7;
    color: #fff;
}

/* Steps visibility */
.SCQCP-step {
    display: none;
}

.SCQCP-step.SCQCP-active {
    display: block;
}


/* icon design css */
.SCQCP-cp-icon {
    display: flex;
    max-width: max-content;
    padding: 8px;
    background-color: #f0f2f4;
    border-radius: 0.75rem;
    flex-direction: column;
    justify-content: center;
}

.SCQCP-svg-second-step {
    /* fill: white; */
    stroke: white;
}

.SCQCP-cp-icon-box {
    display: flex;
    gap: 0.75rem;
}

.SCQCP-yes-class-of-cp-icon-box {
    .SCQCP-cp-icon {
        background-color: #11c4d4;
    }

    .SCQCP-svg-second-step {
        /* fill: white; */
        stroke: white;
    }

    .SCQCP-option-card {
        border-color: #11c4d4;
        background-color: #11c4d40d;
        
    }
}

.SCQCP-yes-class-of-cp-icon-box-1 {
    .SCQCP-cp-icon {
        background-color: #11c4d4;
    }

    .SCQCP-svg-second-step {
        /* fill: white; */
        stroke: white;
    }

    .SCQCP-option-card {
        border-color: #11c4d4;
        background-color: #11c4d40d;
    }
}

.SCQCP-no-class-of-cp-icon-box {
    .SCQCP-svg-second-step {
        stroke: black;
    }

    .SCQCP-option-card {
        border-color: #dce0e5;
        background-color: white;
    }
}

.SCQCP-no-class-of-cp-icon-box-1 {
    .SCQCP-svg-second-step {
        stroke: black;
    }

    .SCQCP-option-card {
        border-color: #dce0e5 !important;
        background-color: white !important;
    }
}

/* your existing base styles can stay */

/* from your snippet (flattened so it works in plain CSS) */
.SCQCP-cp-icon {
    display: flex;
    max-width: max-content;
    padding: 8px;
    background-color: #f0f2f4;
    border-radius: 0.75rem;
    flex-direction: column;
    justify-content: center;
}

.SCQCP-svg-second-step {
    stroke: white;
}

.SCQCP-cp-icon-box {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* YES state applied directly on .SCQCP-option-card */
.SCQCP-option-card.SCQCP-yes-class-of-cp-icon-box .SCQCP-cp-icon {
    background-color: #11c4d4;
}

.SCQCP-option-card.SCQCP-yes-class-of-cp-icon-box .SCQCP-svg-second-step {
    stroke: white;
}

.SCQCP-option-card.SCQCP-yes-class-of-cp-icon-box {
    border-color: #11c4d4;
    background-color: #11c4d40d;
}

/* NO state */
.SCQCP-option-card.SCQCP-no-class-of-cp-icon-box .SCQCP-svg-second-step {
    stroke: black;
}

.SCQCP-option-card.SCQCP-no-class-of-cp-icon-box {
    border-color: #dce0e5;
    background: white;
}

/* smooth chip transition (optional) */
.SCQCP-chip {
    transition: all 0.2s ease;
}

/* === Catalytic Converter Alert + Card === */
.SCQCP-alert-destructive {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    animation: fade-in 0.18s ease-out;
    margin-bottom: 18px;
}

.SCQCP-alert-destructive .SCQCP-alert-text {
    font-size: 14px;
    line-height: 1.45;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.SCQCP-cat-card {
    border: 2px solid #e6ebf2;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: box-shadow 0.15s, border-color 0.15s, background 0.15s;
    outline: none;
    margin-top: 14px;
}

.SCQCP-cat-card:focus {
    box-shadow: 0 0 0 3px rgba(33, 78, 166, 0.18);
}

.SCQCP-cat-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.SCQCP-cat-card-title {
    font-weight: 600;
    cursor: pointer;
    display: block;
}

.SCQCP-cat-card-sub {
    margin: 2px 0 0;
    font-size: 12px;
    color: #667588;
}

.SCQCP-cat-chip {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    /* pill (100%) */
    border: 1px solid #dce0e5;
    /* default: Present */
    padding: 2px 10px;
    /* per request */
    font-size: 12px;
    font-weight: 600;
    background: transparent;
    /* default state */
    color: #1c2635;
    /* readable on light bg */
}

.SCQCP-cat-card.SCQCP-missing {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.SCQCP-cat-card.SCQCP-missing .SCQCP-text-destructive {
    color: #ef4444;
}

/* Selected (Missing): white text on red pill */
.SCQCP-cat-card.SCQCP-missing .SCQCP-cat-chip {
    background: #f04242;
    color: #fff;
    border-color: #f04242;
    padding: 2px 10px;
    /* keep same size */
    border-radius: 999px;
}

/* === PROGRESS STEPPER (filled done, colored active, muted upcoming) === */
.SCQCP-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 32px 0 8px;
    padding: 0 12px;
}

.SCQCP-progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.SCQCP-progress-step:last-child {
    flex: 0 0 auto;
}

.SCQCP-progress-step .SCQCP-label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #1c2635;
}

.SCQCP-progress-step.SCQCP-upcoming .SCQCP-label {
    color: #96a1ae;
}

/* node */
.SCQCP-progress-step .SCQCP-node {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 2px solid #d7dee8;
    background: #fff;
    color: #96a1ae;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}

.SCQCP-progress-step .SCQCP-icon-check {
    display: none;
}

.SCQCP-progress-step .SCQCP-num {
    display: block;
    font-weight: 700;
    font-size: 14px;
}

/* bar after node (except the very last) */
.SCQCP-progress-step .SCQCP-bar {
    position: absolute;
    top: 20px;
    left: 56px;
    right: -28px;
    height: 2px;
    background: #e6ebf2;
}

.SCQCP-progress-step:last-child .SCQCP-bar {
    display: none;
}

.SCQCP-progress-step .SCQCP-bar .SCQCP-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #0e3d8f;
    transition: width 0.4s ease;
}

/* DONE (✓) */
.SCQCP-progress-step.SCQCP-done .SCQCP-node {
    background: #0e3d8f;
    border-color: #0e3d8f;
    color: #ffffff;
}

.SCQCP-progress-step.SCQCP-done .SCQCP-num {
    display: none;
}

.SCQCP-progress-step.SCQCP-done .SCQCP-icon-check {
    display: block;
    color: #fff;
    stroke: #fff;
}

.SCQCP-progress-step.SCQCP-done .SCQCP-bar .SCQCP-fill {
    width: 100%;
}

.SCQCP-progress-step.SCQCP-done .SCQCP-label {
    color: #1c2635;
}

/* ACTIVE (number on accent pill) */
.SCQCP-progress-step.SCQCP-active .SCQCP-node {
    background: #11c4d4;
    border-color: #11c4d4;
    color: #ffffff;
}

.SCQCP-progress-step.SCQCP-active .SCQCP-label {
    color: #1c2635;
}

/* UPCOMING (default) */
.SCQCP-progress-step.SCQCP-upcoming .SCQCP-node {
    background: #ffffff;
    border-color: #d7dee8;
    color: #96a1ae;
}

/* === Stepper alignment fixes: bars & labels centered between nodes === */

/* ensure consistent node size and centered */
#scqcp-progress .SCQCP-progress-step {
    position: relative;
    flex: 1 1 0;
}

#scqcp-progress .SCQCP-progress-step .SCQCP-node {
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

/* hide the old internal .SCQCP-bar element (we'll draw bars with ::after) */
#scqcp-progress .SCQCP-progress-step .SCQCP-bar {
    display: none !important;
}

/* neutral connector drawn from the RIGHT edge of this node to the LEFT edge of next node */
#scqcp-progress .SCQCP-progress-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    /* vertically centered to node */
    left: calc(50% + 28px);
    /* node center (50%) + node radius (20px) */
    height: 2px;
    width: calc(93% + 28px - 40px);
    /* this step’s width + gap(28) – node diameter(40) */
    background: #e6ebf2;
    /* neutral bar color */
}

/* color the connector for COMPLETED steps */
#scqcp-progress .SCQCP-progress-step.SCQCP-done:not(:last-child)::after {
    background: #0e3d8f;
    /* filled bar color */
}

/* ACTIVE step’s previous connector is already colored by the previous .SCQCP-done step */

/* LABELS: place between current node and the next node */
#scqcp-progress .SCQCP-progress-step .SCQCP-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

/* Last step label stays centered under its own node */
#scqcp-progress .SCQCP-progress-step:last-child .SCQCP-label {
    /* position: absolute;
  left: 50%;
  width: auto;
  transform: translateX(-50%); */
}

/* Optional: tighten small screens */
@media (max-width: 640px) {
    #scqcp-progress {
        gap: 20px;
    }

    #scqcp-progress .SCQCP-progress-step:not(:last-child)::after {
        width: calc(100% + 20px - 40px);
    }

    /* #scqcp-progress .SCQCP-progress-step .SCQCP-label {
    width: calc(100% + 20px - 40px);
  } */
}

/* === Step 3: Ownership & Title cards === */
.SCQCP-title-status-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.SCQCP-title-card {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
}

.SCQCP-title-card.SCQCP-selected {
    .SCQCP-icon-bg {
        background: #11c4d4;
    }

    .SCQCP-cp-icon-white {
        stroke: white;
    }

    border-color: #11c4d4;
    background: #11c4d40f;
}

.SCQCP-icon-bg {
    background: #f1f5f9;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.SCQCP-icon-bg.SCQCP-alert {
    background: #f0f2f4;
}

.SCQCP-icon-bg svg {
    stroke: #0f172a;
}

.SCQCP-title-card label {
    font-weight: 600;
    display: block;
}

.SCQCP-title-card p {
    font-size: 12px;
    color: #667588;
    margin: 2px 0 0;
}

.SCQCP-title-card .SCQCP-selected-badge {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    background: #0e3d8f;
    color: #fff;
    border-radius: 999px;
    padding: 2px 10px;
}

.SCQCP-animate-fade-in {
    animation: fade-in 0.25s ease forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* alert banners */
.SCQCP-alert-info,
.SCQCP-alert-warning {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.4;
}

.SCQCP-alert-info {
    background: rgba(17, 196, 212, 0.08);
    border-color: rgba(17, 196, 212, 0.25);
    color: #0e3d8f;
}

.SCQCP-alert-warning {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.25);
    color: #92400e;
}

.SCQCP-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
}

/* === Step 4: Contact & Location (match reference) === */
.SCQCP-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Labels */
.SCQCP-label-sm {
    font-size: 14px;
    font-weight: 600;
}

.SCQCP-hint {
    font-weight: 400;
    color: #5e6b7a;
}

/* Inputs */
input[type=email].SCQCP-form-input,
input[type=tel].SCQCP-form-input,
input[type=text].SCQCP-form-input {
    width: 100%;
    /* max-width: 419px; */
    /* height: 40px; */
    border: 1px solid #d0d7e2;
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

/* .SCQCP-form-input.SCQCP-lg {
    height: 40px;
} */

/* zip matches reference compact height */
.SCQCP-form-input:focus {
    border-color: #214ea6;
    box-shadow: 0 0 0 2px rgba(33, 78, 166, 0.15);
}

/* Grid like the reference: name full width, then phone/email two columns */
.SCQCP-contact-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.SCQCP-contact-grid .SCQCP-full {
    grid-column: 1 / -1;
}

@media (max-width: 780px) {
    .SCQCP-contact-grid {
        grid-template-columns: 1fr;
    }

    .SCQCP-contact-grid .SCQCP-full {
        grid-column: auto;
    }
}

/* Consent row (custom checkbox button) */
.SCQCP-consent-row {
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f6f7fb;
    border-radius: 12px;
    padding: 14px;
    flex-direction: row;
}

button.SCQCP-consent-toggle {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #d0d7e2;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
    margin-top: 5px;
    padding: unset;
}

button.SCQCP-consent-toggle:hover {
    border-color: #0e3d8f;
    background-color: #ffffff;
}

button.SCQCP-consent-toggle[aria-checked="true"] {
    background: #0e3d8f;
    border-color: #0e3d8f;
}

button.SCQCP-consent-toggle[aria-checked="true"]::after {
    content: "✓";
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.SCQCP-consent-copy {
    flex: 1;
    font-size: 14px;
    line-height: 1.45;
    color: #1c2635;
}

.SCQCP-consent-label {
    font-weight: 500;
    cursor: pointer;
    display: block;
}

.SCQCP-link {
    color: #0e3d8f;
    text-decoration: none;
}

.SCQCP-link:hover {
    text-decoration: underline;
}

.SCQCP-rel {
    position: relative;
}

.SCQCP-field .SCQCP-error {
    margin-top: 6px;
}

/* Buttons already styled in your file; nothing to change there */

/* === Step 5: Review look (cards + edit buttons) === */
.SCQCP-review-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.SCQCP-review-group {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
}

.SCQCP-review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.SCQCP-review-title {
    font-weight: 700;
    font-size: 16px;
    color: #1c2635;
}

.SCQCP-review-spacer {
    flex: 1;
}

button.SCQCP-review-edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #d0d7e2;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #000000;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

button.SCQCP-review-edit:hover {
    background: #f5f7fb;
    color: #0e3d8f;
    border-color: #0e3d8f;
}

.SCQCP-review-rows {
    display: flex;
    flex-direction: column;
}

.SCQCP-review-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid #eef2f6;
}

.SCQCP-review-key {
    color: #5e6b7a;
}

.SCQCP-review-val {
    font-weight: 700;
}

.SCQCP-review-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
}

/* === Step 5: Offer Range + Price Breakdown === */
.SCQCP-offer-card {
    border-radius: 12px;
    padding: 24px;
    background: linear-gradient(135deg,
            rgba(14, 61, 143, 0.06),
            rgba(17, 196, 212, 0.06));
    border: 2px solid rgba(14, 61, 143, 0.2);
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
}

.SCQCP-offer-center {
    text-align: center;
}

.SCQCP-offer-kicker {
    font-size: 12px;
    color: #667588;
    margin-bottom: 6px;
}

.SCQCP-offer-amount {
    font-size: 40px;
    font-weight: 800;
    color: #0e3d8f;
}

.SCQCP-offer-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.15s;
}

.SCQCP-offer-chip:hover {
    transform: scale(1.05);
}

.SCQCP-chip-primary {
    background: rgba(14, 61, 143, 0.1);
    color: #0e3d8f;
    border-color: rgba(14, 61, 143, 0.2);
}

.SCQCP-chip-bad {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border-color: rgba(239, 68, 68, 0.2);
}

.SCQCP-chip-good {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    border-color: rgba(34, 197, 94, 0.2);
}

.SCQCP-offer-break {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e6ebf2;
}

.SCQCP-offer-break h6 {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #1c2635;
}

.SCQCP-offer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.SCQCP-offer-notice {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #b91c1c;
    font-size: 14px;
    line-height: 1.4;
}

.SCQCP-offer-notice svg {
    flex: 0 0 18px;
}

/* === Stepper: connector with 10px gap from each node === */
#scqcp-progress {
    display: flex;
    gap: 28px;
}

/* adjust if your layout uses a different gap */

#scqcp-progress .SCQCP-progress-step {
    position: relative;
    flex: 1 1 0;
}

/* node size (used in math below) */
#scqcp-progress .SCQCP-progress-step .SCQCP-node {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border-radius: 999px;
}

/* hide the built-in bar; we’ll draw our own connector */
#scqcp-progress .SCQCP-progress-step .SCQCP-bar {
    display: none !important;
}

/* CONNECTOR (neutral) — from right edge of node +10px to left edge of next node -10px */
#scqcp-progress .SCQCP-progress-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    /* vertically center on node */
    left: calc(50% + 20px + 10px);
    /* node center + radius(20) + 10px gap */
    height: 2px;
    /* width = this step's span (100%) + inter-step gap(28) - node diameter(40) - 20px (10px gap on both ends) */
    width: calc(100% + 28px - 40px - 20px);
    background: #e6ebf2;
}

/* CONNECTOR (filled) for completed steps */
#scqcp-progress .SCQCP-progress-step.SCQCP-done:not(:last-child)::after {
    background: #0e3d8f;
}

/* LABELS — centered on the same span as the connector (between nodes) */
#scqcp-progress .SCQCP-progress-step .SCQCP-label {
    /* position:absolute; */
    /* top:56px;
  left:calc(50% + 20px + 10px);
  width:calc(100% + 28px - 40px - 20px); */
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #1c2635;
}

/* Step 5: Quote loader overlay */
#offerBox {
    position: relative;
}

.SCQCP-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    z-index: 20;
}

.SCQCP-loader[hidden] {
    display: none;
}

.SCQCP-spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid #dce0e5;
    border-top-color: #0e3d8f;
    animation: scqcp-spin 0.8s linear infinite;
}

@keyframes scqcp-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Last step's label stays under its node */
#scqcp-progress .SCQCP-progress-step:last-child .SCQCP-label {
    /* position:absolute; */
    left: 50%;
    width: auto;
    /* transform:translateX(-50%); */
    text-align: center;
}


.scqcp-select2 {
    .select2-container .select2-selection--single {
        height: unset;
    }
}

.scqcp-select2 .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 8px 12px !important;
}

.scqcp-select2-dropdown .select2-search.select2-search--dropdown {
    padding: 12px 12px 0px !important;
}

.scqcp-select2-dropdown .select2-results__options {
    padding: 0px 12px 12px !important;
}

.scqcp-select2-dropdown .select2-search__field {
    border-radius: calc(0.75rem - 2px);
    padding: 8px !important;
}

.scqcp-select2-dropdown .select2-search__field:focus {
    outline: unset !important;
    border-color: #214ea6;
    box-shadow: 0 0 0 3px rgba(33, 78, 166, 0.15);
}

.scqcp-select2-dropdown .select2-results__option {
    padding-left: 12px !important;
    padding-right: 12px !important;
}


/* Optional: responsive tweak if your gap reduces on small screens */
@media (max-width: 640px) {
    #scqcp-progress {
        gap: 20px;
    }

    #scqcp-progress .SCQCP-progress-step:not(:last-child)::after {
        width: calc(100% + 20px - 40px - 20px);
        /* recalc with gap=20px */
    }

    /* #scqcp-progress .SCQCP-progress-step .SCQCP-label{
    width:calc(100% + 20px - 40px - 20px);
  } */
}

/**
* Select2
*/

/* Font size for dropdown list items */
/* .select2-container--default .select2-results__option {
  font-size: 16px !important;
} */

/* Optional: adjust height if needed
.select2-container--default .select2-selection--single {
  height: 40px !important;
  line-height: 40px !important;
} */

/* =======================================================
   RESPONSIVE-ONLY OVERRIDES (desktop stays exactly the same)
   ======================================================= */

/* ----- Tablet and down (≤ 768px) ----- */
@media (max-width: 768px) {

    /* Layout container spacing only (no desktop change) */
    .SCQCP-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Generic grid stacks into single column */
    .SCQCP-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Step 2: option cards stack */
    .SCQCP-pill-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .SCQCP-option-card {
        /* flex-direction: column; */
        align-items: flex-start;
        gap: 8px;
    }

    /* Step 3: title + lien groups stack */
    .SCQCP-select-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .SCQCP-tile-2 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .SCQCP-title-status-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .SCQCP-title-card {
        /* width: 100%; */
    }

    /* Step 4: contact inputs stack cleanly */
    .SCQCP-contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Actions: buttons stack vertically on small screens */
    .SCQCP-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .SCQCP-actions .SCQCP-btn,
    .SCQCP-actions .SCQCP-btn-secondary {
        width: 100%;
        min-height: 44px;
    }

    /* Inputs comfortable size on mobile (no desktop impact) */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    .SCQCP-form-input,
    .SCQCP-dd-btn {
        font-size: 14px;
        width: 100%;
    }

    /* Alerts & cat card wrap nicely */
    .SCQCP-alert-info,
    .SCQCP-alert-warning,
    .SCQCP-alert-destructive {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ----- Small phones (≤ 600px) ----- */
@media (max-width: 600px) {

    /* Stepper: allow wrap and slightly smaller nodes; adjust gaps only on mobile */
    #scqcp-progress {
        flex-wrap: wrap;
        gap: 20px;
        /* justify-content: center; */
    }

    #scqcp-progress .SCQCP-progress-step {
        /* flex: none; */
    }

    /* Node size downsized only on small screens */
    #scqcp-progress .SCQCP-progress-step .SCQCP-node {
        width: 34px;
        height: 34px;
    }

    /* Connector between nodes keeps your “10px gap” rule on mobile too */
    /* These override your desktop connector math only on small screens */
    #scqcp-progress .SCQCP-progress-step .SCQCP-bar {
        display: none !important;
    }

    .SCQCP-label {
        display: none !important;
    }

    /* we draw via ::after */
    #scqcp-progress .SCQCP-progress-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 17px;
        /* center vs 34px node */
        left: calc(50% + 17px + 10px);
        /* center + radius(17) + 10px gap */
        height: 2px;
        /* width = step span(100%) + gap(20px) - node(34px) - both ends gaps(20px total) */
        width: calc(100% + 20px - 34px - 20px);
        background: #e6ebf2;
    }

    #scqcp-progress .SCQCP-progress-step.SCQCP-done:not(:last-child)::after {
        background: #0e3d8f;
    }

    /* Labels readable and centered between nodes on mobile */
    #scqcp-progress .SCQCP-progress-step .SCQCP-label {
        position: absolute;
        top: 52px;
        left: calc(50% + 17px + 10px);
        width: calc(100% + 20px - 34px - 20px);
        text-align: center;
        font-size: 11px;
        font-weight: 600;
    }

    #scqcp-progress .SCQCP-progress-step:last-child .SCQCP-label {
        left: 50%;
        width: auto;
        transform: translateX(-50%);
        text-align: center;
    }

    /* Review rows: stack k/v for narrow screens */
    .SCQCP-review-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .SCQCP-review-key {
        font-size: 13px;
    }

    .SCQCP-review-val {
        font-size: 14px;
    }

    /* Offer card padding scales down */
    .SCQCP-offer-card {
        padding: 16px;
    }

    .SCQCP-offer-amount {
        font-size: 28px;
    }
}

/* ----- Very small phones (≤ 400px) ----- */
@media (max-width: 400px) {

    /* Prevent label overlaps on extra-narrow screens */
    #scqcp-progress {
        gap: 16px;
    }

    #scqcp-progress .SCQCP-progress-step .SCQCP-label {
        font-size: 10px;
        top: 50px;
    }

    /* Buttons stay tappable but compact */
    .SCQCP-actions .SCQCP-btn,
    .SCQCP-actions .SCQCP-btn-secondary {
        min-height: 42px;
    }

    /* Tighten general gaps */
    .SCQCP-grid,
    .SCQCP-select-row,
    .SCQCP-tile-2,
    .SCQCP-title-status-row,
    .SCQCP-pill-row,
    .SCQCP-contact-grid {
        gap: 10px;
    }
}

@media (max-width: 600px) {}
