:root {
    --rm-input-padding-y: 6px;
    --rm-input-padding-x: 10px;
    --rm-input-border-color: 128, 128, 128;
    --rm-input-border-opacity: 0.5;
    --rm-input-font-size: 13px;
    --rm-input-bg-opacity: 0.33;
    --rm-input-bg-color: 255, 255, 255;
    --rm-input-border-radius: 3px;
    --tst-color-purple: #7c26df;
}

input,
input:focus {
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-right-width: 1px;
    border-left-width: 1px;
    border-width: 1px;
}

.rmformui {
    font-size: 20px;
}

.rm-form-page-name {
    font-weight: 700;
}

.rmformui .rmform-row {
    margin-bottom: 10px;
}

.rmformui .rmform-row .rmform-field .rmform-label sup.rmform-req-symbol,
.rmformui .rmform-row .rmform-field .rmform-label span.rmform-req-symbol {
    font-size: 1em;
}

#rmagic-progressbar li span.rm-progressbar-counter:before {
    font-weight: 700;
    background: #999;
    font-size: 1.6rem;
    color: #fff;
}

#rmagic-progressbar li.active span.rm-progressbar-counter:before {
    background: var(--tst-color-purple);
    font-size: 1.6rem;
}

#rmagic-progressbar li .rm-form-page-name {
    color: #999;
}

#rmagic-progressbar li.active .rm-form-page-name {
    color: var(--tst-color-purple);
}

.rmformui .rmform-row .rmform-row-heading {
    font-size: 1em;
    color: var(--tst-color-purple);
}

.rmformui .rmform-row .rmform-field .rmform-check input[type="radio"],
.rmformui .rmform-row .rmform-field .rmform-check input[type="checkbox"] {
    margin-top: 3px;
    margin-left: -1em;
    width: 15px;
    height: 15px;
}

.rmformui
    .rmform-row
    .rmform-field
    input[type="text"]:not(
        :where(
                .rmform-ui.rmform-custom-form[data-design="matchmytheme"]
                    .rmform-row
                    .rmform-field
                    input[type="text"]
            )
    ),
.rmformui
    .rmform-row
    .rmform-field
    input[type="password"]:not(
        :where(
                .rmform-ui.rmform-custom-form[data-design="matchmytheme"]
                    .rmform-row
                    .rmform-field
                    input[type="password"]
            )
    ),
.rmformui
    .rmform-row
    .rmform-field
    input[type="email"]:not(
        :where(
                .rmform-ui.rmform-custom-form[data-design="matchmytheme"]
                    .rmform-row
                    .rmform-field
                    input[type="email"]
            )
    ),
.rmformui
    .rmform-row
    .rmform-field
    input[type="url"]:not(
        :where(
                .rmform-ui.rmform-custom-form[data-design="matchmytheme"]
                    .rmform-row
                    .rmform-field
                    input[type="url"]
            )
    ),
.rmformui
    .rmform-row
    .rmform-field
    input[type="file"]:not(
        :where(
                .rmform-ui.rmform-custom-form[data-design="matchmytheme"]
                    .rmform-row
                    .rmform-field
                    input[type="file"]
            )
    ),
.rmformui
    .rmform-row
    .rmform-field
    input[type="tel"]:not(
        :where(
                .rmform-ui.rmform-custom-form[data-design="matchmytheme"]
                    .rmform-row
                    .rmform-field
                    input[type="tel"]
            )
    ),
.rmformui
    .rmform-row
    .rmform-field
    input[type="number"]:not(
        :where(
                .rmform-ui.rmform-custom-form[data-design="matchmytheme"]
                    .rmform-row
                    .rmform-field
                    input[type="number"]
            )
    ),
.rmformui
    .rmform-row
    .rmform-field
    textarea:not(
        :where(
                .rmform-ui.rmform-custom-form[data-design="matchmytheme"]
                    .rmform-row
                    .rmform-field
                    textarea
            )
    ),
.rmformui
    .rmform-row
    .rmform-field
    select:not(
        :where(
                .rmform-ui.rmform-custom-form[data-design="matchmytheme"]
                    .rmform-row
                    .rmform-field
                    select
            )
    ) {
    font-size: 0.9em;
    height: 42px;
}

.rmform-error-message {
    color: red;
}

#rm-checkbox-76 span.rmform-label:first-child {
    display: none;
}

#rm-form-next-btn,
#rm-form-submit-btn {
    border-radius: 0;
    border: 0;
    background: var(--tst-color-purple);
    color: #fff;
    font-weight: 700;
}

#rmagic-progressbar li .rm-progressbar-counter {
    background-color: var(--tst-color-purple);
}

#rmagic-progressbar li.active .rm-progressbar-counter:after {
    top: 30%;
}

.rm_form_submit_msg.rm-form-submit-wrap + p {
    display: none;
}

.rmformui
    .rmform-row
    .rmform-field
    .rmform-terms-checkbox
    input[type="checkbox"] {
    margin-top: 9px;
    width: 15px;
    height: 15px;
}

.rmformui .rmform-row input[type="checkbox"]:disabled::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px; 
    background-color: #e0e0e0;
    border-radius: 4px;
}

.rmformui .rmform-row div[id^="rm-checkbox-"] .rmform-field .rmform-check {
    padding-left: 1.2em;
}

#rm_form_submit_button {
    margin-top: 30px;
}
