.multistep-dealer-form-container .btn-section .step1-btns {
    display: none; /* Hide the Step 1 button by default */
}

/* CONTAINER */
.multistep-dealer-form-container form.dealer-form {
    background-color: #fff;
}
form.dealer-form:before {
    background-image: url(https://roofmaxxtesting.us/dealers/wp-content/uploads/2025/10/roof-maxx-icon-light-bg.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    content: "";
    /* display: block; */
    position: absolute;
    width: 100%;
    height: 200px;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
}
.multistep-dealer-form-container {
    width: 100%;
    max-width: 375px;
    min-height: 610px;
    margin: 0 auto;
    padding: 10px 10px 0px 10px;
}
@media (max-width: 576px) {
    .multistep-dealer-form-container {
        padding: 10px 10px 0px 10px;
    }
}

/* FORM WRAPPER */
.multistep-dealer-form-container{
    position: relative;
    overflow: hidden;
}
.multistep-dealer-form-container {
    width: 100%;
    margin: 0 auto;
}

/* FORM TITLE SUBTITLE */
.form-title-subtitle {
    background-color: var(--e-global-color-primary);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 10px 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
.form-title-subtitle .form-title {
    color: #fff;
    display: block;
    text-align: center;
    font-size: 1.5em;
    line-height: 1.2em;
    font-weight: 600;
}
@media (max-width: 576px) {
    .form-title-subtitle .form-title {
        font-size: 1.4em;
    }
}
.form-title-subtitle .form-subtitle {
    color: #fff;
    font-size: 1em;
    line-height: 1em;
    text-align: center;
}
@media (max-width: 576px) {
    .form-subtitle {
        font-size: 1.1em;
    }
}
/* /FORM TITLE SUBTITLE */

/* PROGRESS BAR */
.progressbar-container {
    background-color: var(--e-global-color-66849f6); /* Same orangeLight background as before */
}

.multistep-dealer-form-container .progressbar {
    margin: 0;
    padding: 0;
    text-align: center;
    counter-reset: step; /* CSS counter to number the steps */
    display: flex;
    height: 10px;
}
.multistep-dealer-form-container .progressbar li {
    list-style-type: none;
    width: 20%;
    position: relative;
}
/* Step number (invisible by default) */
.multistep-dealer-form-container .progressbar li:before {
    transition: 0.8s;
    content: counter(step);
    counter-increment: step;
    width: 100%;
    line-height: 25px;
    color: transparent;
}
/* Active/Completed states */
.multistep-dealer-form-container .progressbar li.active,
.multistep-dealer-form-container .progressbar li.completed {
    background-color: var(--e-global-color-accent);
}
/* Show step number on the active step */
.multistep-dealer-form-container .progressbar li.active:before {
    position: absolute;
    top: -8px;
    right: 5px;
    z-index: 1;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    width: 25px;
    height: 25px;
    background-color: var(--e-global-color-secondary);
    border-radius: 50%;
    transition: 0s;
}
/* /PROGRESS BAR */

/* FORM STEPS */
.multistep-dealer-form-container .form-step {
    width: 100%;
    background: #ffffff;
    border: 0 none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 20px 1em;
    margin-bottom: 33px;
    box-sizing: border-box;
    min-height: 400px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    transition: 0s;
}
@media (max-width: 576px) {
    .multistep-dealer-form-container .form-step {
        padding: 20px 1em;
    }
}
.multistep-dealer-form-container .form-step hr {
    background-color: #f3efe8;
    height: 2px;
    width: 100%;
    border: 0;
    margin: 10px auto;
    opacity: 1;
}

/* ACTIVE STEP */
.multistep-dealer-form-container .form-step.active-Step {
    position: relative;
    box-shadow: 0px 30px 35px -35px rgba(0, 0, 0, 0.5);
}

/* FIELD SECTIONS */
.multistep-dealer-form-container .form-step .fields-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}
.multistep-dealer-form-container .form-step .fields-section .error {
    color: #f05023;
    font-size: 0.9em;
    font-weight: bold;
    margin: 5px auto 0px;
    width: 100%;
    text-align: left;
}
.multistep-dealer-form-container .form-step .fields-section .options-title {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.3em;
    color: var(--e-global-color-text);
    font-weight: bold;
}
.centered-label {
    text-align: center;
}
@media (max-width: 576px) {
    .multistep-dealer-form-container .form-step .fields-section .options-title {
        font-size: 1.2em;
    }
}
.multistep-dealer-form-container .optional {
    color: #5b7e96;
    font-size: 0.8em;
    line-height: 1em;
    margin-bottom: 10px;
}

/* FORM FIELDS */
.multistep-dealer-form-container .form-step .fields-section .form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}
.multistep-dealer-form-container .form-step .fields-section .form-field input,
.multistep-dealer-form-container .form-step .fields-section .form-field select {
    min-height: 40px;
    height: 40px;
    margin-bottom: 0px;
    outline: none;
    color: #232323;
    border: 2px solid var(--e-global-color-secondary);
    padding: 5px;
    font-size: 14px;
    box-sizing: border-box;
    transition: 0.3s;
}
.multistep-dealer-form-container .form-step .fields-section .form-field textarea {
    margin-bottom: 0px;
    outline: none;
    border: 2px solid var(--e-global-color-secondary);
    padding: 5px;
    font-size: 1em;
    box-sizing: border-box;
    transition: 0.3s;
}
/* Focus / Hover states */
.multistep-dealer-form-container .form-step .fields-section .form-field input:focus,
.multistep-dealer-form-container .form-step .fields-section .form-field input:hover,
.multistep-dealer-form-container .form-step .fields-section .form-field select:focus,
.multistep-dealer-form-container .form-step .fields-section .form-field select:hover,
.multistep-dealer-form-container .form-step .fields-section .form-field textarea:focus,
.multistep-dealer-form-container .form-step .fields-section .form-field textarea:hover {
    border: 2px solid var(--e-global-color-secondary);
}
/* Error */
.multistep-dealer-form-container .form-step .fields-section .form-field input.error,
.multistep-dealer-form-container .form-step .fields-section .form-field select.error {
    border: 2px solid #f05023;
}

/* RADIO FIELDS */
.multistep-dealer-form-container .form-step .fields-section .multi-radio-check-fields-container {
    display: flex;
    flex-direction: column;
}
.multistep-dealer-form-container .form-step .fields-section .multi-radio-check-fields-container .multi-radio-field {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
}
/* Radio labels */
.multistep-dealer-form-container .form-step .fields-section .multi-radio-check-fields-container .multi-radio-field .radio-field label {
    padding: 10px 5px;
    background-color: var(--e-global-color-22f5f8e);
    border: 2px solid var(--e-global-color-secondary);
    color: var(--e-global-color-text);
    transition: 0.2s;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: center;
}
/* Hover + Checked */
.multistep-dealer-form-container .form-step .fields-section .multi-radio-check-fields-container .multi-radio-field .radio-field label:hover {
    background-color: var(--e-global-color-secondary);
    color: #fff;
}
.multistep-dealer-form-container .form-step .fields-section .multi-radio-check-fields-container .multi-radio-field input[type="radio"]:checked ~ .field-title {
    background-color: var(--e-global-color-secondary);
    border-color: var(--e-global-color-secondary);
    color: #fff;
}
/* Hide radio input itself */
.multistep-dealer-form-container .form-step .fields-section .multi-radio-check-fields-container .multi-radio-field input[type="radio"] {
    position: absolute;
    left: -9999px;
}

/* BUTTONS */
.multistep-dealer-form-container .btn-section .step1-btns{
    display: none; 
}
.multistep-dealer-form-container .btn-section {
    margin-bottom: 5px;
    display: flex;
    gap: 5px;
    justify-content: center;
}
.multistep-dealer-form-container .btn-section button {
    cursor: pointer;
    border: 2px solid var(--e-global-color-accent);
    background-color: var(--e-global-color-accent);
    padding: 10px 10px;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    width: 100%;
    margin: 0 auto 20px;
    border-radius: 5px;
    transition: 0.2s;
}
.multistep-dealer-form-container .btn-section .btn-step.prev {
    opacity: 0.8;
}
.multistep-dealer-form-container .btn-section .btn-step.prev:hover {
    opacity: 0.9;
}
.multistep-dealer-form-container .btn-section button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.multistep-dealer-form-container .btn-section button:hover {
    transform: scale(0.97);
    background-color: var(--e-global-color-66849f6);
}
.multistep-dealer-form-container .btn-section button:focus,
.multistep-dealer-form-container .btn-section button:focus-visible {
    outline: none;
    border-color: var(--e-global-color-text);
}

/* TEXT BLOCKS: Employment + Privacy */
.multistep-dealer-form-container .employment-oport {
    text-align: center;
    font-weight: bold;
    /*margin-top: 15px;*/
    font-size: 0.9rem;
    line-height: 1.2rem;
    color: var(--e-global-color-text);
}
.multistep-dealer-form-container .privacy {
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.2rem;
    color: var(--e-global-color-text);
}
/*.multistep-dealer-form-container .privacy .terms {*/
/*    font-size: 0.8em;*/
/*}*/
/*@media (max-width: 576px) {*/
/*    .multistep-dealer-form-container .privacy {*/
/*        font-size: 75%;*/
/*    }*/
/*}*/

/* FINAL STEP (Message) */
.multistep-dealer-form-container .step-msg .fields-section {
    align-items: center;
}
.multistep-dealer-form-container .step-msg .fields-section .msg {
    text-align: center;
    line-height: 1.3em;
    font-size: 1.3em;
    margin-bottom: 10px;
}
.multistep-dealer-form-container .step-msg .fields-section progress {
    background-color: #f3efe8;
    border-radius: 3px;
    color: red;
    width: 100%;
}
/* WebKit / Chrome progress bar */
.multistep-dealer-form-container .step-msg .fields-section progress::-webkit-progress-bar {
    background-color: var(--e-global-color-22f5f8e);
    border-radius: 3px;
}
.multistep-dealer-form-container .step-msg .fields-section progress::-webkit-progress-value {
    background-color: var(--e-global-color-accent) !important;
    border-radius: 15px;
}
/* Firefox progress bar */
.multistep-dealer-form-container .step-msg .fields-section progress::-moz-progress-bar {
    background-color: var(--e-global-color-22f5f8e) !important;
    border-radius: 15px;
}

.multistep-dealer-form-container .step-msg .fields-section .timeRem {
    font-size: 1em;
    margin-top: 10px;
    color: var(--e-global-color-text);
}
