.zsiq_floatmain,
#signup_section {
    display: none !important;
}

#plusheat_breakdown_form {
    position: relative;
    background: transparent;
    padding: 0;
    margin: 0;
    max-width: none;
}

#plusheat_breakdown_form .form {
    display: none;
}

#plusheat_breakdown_form .form.active-question {
    display: flex !important;
}

.form {
    max-width: var(--section_answers_width);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: auto;
    padding: 6px 24px 10px;
    --section_answers_width: 90%;
}

.form-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-white);
    border-radius: 22px;
    padding: 14px 24px;
    margin: 0 0 30px;
}

.form-back {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F3F3F3;
    cursor: pointer;
}

.form-back:hover {
    opacity: .8;
}

.form-back img {
    width: 9px;
    height: auto;
    display: block;
}

ul.form-list {
    width: 100%;
    padding: 0;
    margin: 30px 0 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

ul.form-list li {
    position: relative;
    display: block;
    background: #fff;
    border-radius: 16px;
    color: var(--color-heading);
    font-weight: var(--font-medium);
    padding: 16px 20px 16px 72px;
}
ul.form-list li .fl-title { display: block; font-weight: var(--font-medium); color: var(--color-heading); font-size: var(--font-md); line-height: 1.3; }
ul.form-list li .fl-sub { display: block; font-weight: var(--font-regular); color: var(--color-grey-dark); font-size: var(--font-xs); margin-top: 2px; line-height: 1.35; }

ul.form-list li::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-secondary) url('/wp-content/uploads/2026/10/tick-primary.svg') center / 12px no-repeat;
}

.section_heading {
    font-size: var(--font-md);
    font-weight: var(--font-medium);
    color: var(--color-heading);
    margin: 0 auto;
}

h2.section_heading {
    width: 100%;
    font-size: 28px;
    font-weight: var(--font-semibold);
    color: var(--color-heading);
    line-height: 1.15;
    margin: 10px 0 0;
}

#reporting_start h2.section_heading {
    font-size: var(--font-xl);
    border-bottom: none;
    margin-bottom: 0;
}

.section_subtitle {
    width: 100%;
    font-size: var(--font-md);
    font-weight: var(--font-regular);
    margin-top: 10px;
}

.section_subheading {
    width: 100%;
    font-size: var(--font-md);
    font-weight: var(--font-regular);
    margin-top: 10px;
}

#reporting_start .section_subheading {
    font-size: var(--font-sm);
    margin-top: 0;
}

.section_question {
    width: 100%;
    font-size: var(--font-md);
    font-weight: var(--font-medium);
    color: var(--color-heading);
    margin: 20px 0 10px;
}

.section_question_sm {
    font-size: var(--font-md);
    font-weight: var(--font-medium);
    border-bottom: none;
    padding-bottom: 0;
}

#additional_details_section + .form > .section_question {
    font-size: var(--font-xl);
    margin-bottom: 30px;
}

.section_question span {
    display: block;
    font-size: var(--font-xs);
    font-weight: var(--font-regular);
    color: var(--color-grey-dark);
    margin-top: 2px;
}

.section_question:has(span) {
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 20px;
    margin-bottom: 0;
}

.section_question > span {
    border-top: 1px solid var(--color-border-light);
    padding-top: 10px;
    margin: 5px 0 10px;
}

.section_answers {
    width: 100%;
}

.section_answer,
.api_answer_text,
.section_answers textarea {
    font-family: inherit;
    font-size: var(--font-sm);
    line-height: 1.5;
    color: var(--color-text);
    font-weight: var(--font-regular);
    background: var(--color-white);
    border: 2px solid #F6F6F6;
    border-radius: 20px;
    padding: 16px 20px;
    margin-bottom: 10px;
}

.section_answer,
.api_answer_text {
    cursor: pointer;
}

.section_answer:hover,
.api_answer_text:hover,
.section_answer_active {
    border-color: var(--color-primary);
}

.section_answers_box:not(.section_answers_box_full) .section_answer {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 18px 20px 18px 58px;
    border-radius: 16px;
}

.section_answers_box:not(.section_answers_box_full) .section_answer_active {
    border-color: var(--color-primary);
}

.section_answers_box:not(.section_answers_box_full) .section_answer::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid #BFBFBF;
    border-radius: 50%;
    background: #fff;
}

#Is_the_issue_constant_or_intermittent .section_answer::before {
    margin-top: 3px;
}

.section_answers_box:not(.section_answers_box_full) .section_answer_active::before {
    border-color: var(--color-primary);
    background: var(--color-primary,#F27B05) url('/wp-content/uploads/2026/10/tick.svg') center / 12px no-repeat;
}

.section_answers textarea {
    width: 100%;
    min-height: 120px;
    font-weight: var(--font-regular);
    margin-bottom: 0;
    outline: none;
    box-sizing: border-box;
}

.section_disclaimer {
    width: 100%;
    font-size: var(--font-xs);
    font-weight: var(--font-regular);
    margin: 5px 0;
}

.section_answer > img,
.section_answer_round_image {
    display: none !important;
}

.section_answer h4 {
    font-size: var(--font-lg);
    font-weight: var(--font-regular);
    color: var(--color-heading);
    text-transform: none;
    margin: 0;
}

.section_answer .subtitle {
    font-size: var(--font-sm);
    font-weight: var(--font-regular);
    text-transform: none;
}

.section_notice {
    width: calc(100% - 48px);
    font-weight: var(--font-medium);
    background-color: #fff6ed;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 30px;
}

.section_notice ul {
    padding: 0 20px;
}

.form-notice {
    display: flex;
    align-items: normal;
    gap: 10px;
    background-color: #FFF3E7;
    border: 2px solid var(--color-primary-dark);
    border-radius: 24px;
    padding: 24px;
    margin: 5px 0 20px;
}

.form-notice.form-notice-green {
    background-color: var(--color-highlight-light);
    border-color: var(--color-highlight);
}

.form-notice.important-notice {
    margin: 20px 0 0;
}

.form-notice-icon img {
    width: 28px;
    min-width: 24px;
    height: auto;
    object-fit: contain;
}

.form-notice-title {
    font-size: var(--font-lg);
    color: var(--color-heading);
    font-weight: var(--font-medium);
    margin: 0;
}

.form-notice p {
    font-size: var(--font-sm);
    font-weight: var(--font-regular);
    margin-top: 5px;
    margin-bottom: 0;
}

.form-notice p:first-child {
    margin-top: 0;
}

.form-notice p a {
    font-weight: var(--font-bold);
}

.form-notice .button:not(.button-outline) {
    display: block;
    text-align: center;
    font-size: var(--font-md);
    font-weight: var(--font-bold);
    line-height: 1;
    border-radius: 14px;
    padding: 18px 24px;
    margin-top: 10px;
}

.form-notice .button:not(.button-outline):not(.button-highlighted) {
    background: var(--color-primary) !important;
}

.form-notice .button:not(.button-outline):hover,
.form-notice .button:not(.button-outline):focus {
    background: var(--color-primary-dark) !important;
}

.form-notice .button.button-outline {
    display: block;
    width: 100%;
    text-align: center;
    font-size: var(--font-md);
    font-weight: var(--font-bold);
    line-height: 1;
    color: var(--color-primary) !important;
    background: var(--color-white) !important;
    border-radius: 14px;
    border: 2px solid var(--color-primary);
    padding: 16px 24px;
    margin-top: 10px;
}

.form-notice .button.button-outline:hover,
.form-notice .button.button-outline:focus {
    color: var(--color-white) !important;
    background: var(--color-primary) !important;
}

.form-notice .link {
    display: inline-block;
    color: var(--color-primary);
    font-weight: var(--font-thin);
    text-decoration: underline;
    margin: 10px auto 0;
}

.form-notice .link:hover,
.form-notice .link:focus {
    color: var(--color-text);
}

.form-notice-appointments { 
    border-width: 1px;
    padding: 15px 20px;   
    margin-bottom: 0;
}

.form-notice-appointments p {
    font-size: var(--font-xxs);
}

.select_boiler_information {
    width: 100%;
}

.select_boiler_model {
    width: 100%;
    margin-bottom: 10px;
}

.boiler_information.hide {
    display: none;
}

.submit_button_section {
    width: 100%;
}

.reporting-start-button,
.section_okay_button,
.policy_okay_button,
.select_property_button,
.select_sub_property_button,
.preferred_date_button,
.submit_button {
    width: 100%;
    font-size: var(--font-md);
    font-weight: var(--font-bold);
    line-height: 1;
    color: var(--color-white);
    background: var(--color-primary);
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 18px 24px;
    margin-top: 26px;
    cursor: pointer;
}

.section_okay_button:first-child {
    margin-top: 0;
}

.reporting-start-button:hover,
.section_okay_button:hover,
.policy_okay_button:hover,
.select_property_button:hover,
.select_sub_property_button:hover,
.preferred_date_button:hover,
.submit_button:hover {
    background: var(--color-primary-dark);
}

.section_okay_button:not(.button-visible) {
    display: none;
}

.preferred_date_button:not(.button-visible) {
    display: none;
}

.section_answers input[type="text"],
.section_answers input[type="email"],
.section_answers input[type="tel"],
.section_answers input[type="date"],
.section_answers select,
.bootstrap-select>.dropdown-toggle {
    width: 100%;
    min-height: 54px;
    font-family: inherit;
    font-size: var(--font-sm);
    line-height: 1.5;
    font-weight: var(--font-regular);
    color: var(--color-heading);
    background: var(--color-white);
    border: 2px solid #E8E8E8;
    border-radius: 14px;
    padding: 15px 18px;
    text-align: left;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.section_answers .field-error {
    border-color: var(--color-red);
}

div.error-message,
div.invalid-policy,
div.field_empty_msg {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-size: var(--font-xs);
    font-weight: var(--font-medium);
    line-height: 1.35;
    color: #B42318;
    background: #FEF3F2;
    border: 1px solid #FDA29B;
    border-radius: 10px;
    padding: 10px 14px;
    text-align: left;
    margin: 10px 0 16px;
}


/* select box */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
    border-width: 0 2px 0 2px;
    border-style: solid;
    border-color: #394a6d;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    font-size: 20px;
    font-weight: 300;
    color: #3b3b3b;
    height: 60px;
    line-height: 60px;
    background: #ffffff;
    cursor: pointer;
    border-width: 2px 0 2px 0;
    border-style: solid;
    border-color: #394a6d;
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 2px solid #394a6d;
    border-top: 0;
    background: var(--color-white);
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-option {
    position: relative;
    display: block;
    padding: 0 22px 0 22px;
    font-size: 22px;
    font-weight: 300;
    color: #3b3b3b;
    line-height: 60px;
    cursor: pointer;
    transition: all 0.5s;
}

.custom-option:hover {
    cursor: pointer;
    background-color: #b2b2b2;
}

.custom-option.selected {
    color: #ffffff;
    background-color: #305c91;
}

.btn-group.bootstrap-select.required {
    padding: 0;
}

button.btn.dropdown-toggle.btn-default {
    border: none;
    background-color: transparent;
    border-radius: 0;
    outline: none !important;
    color: #56504d;
    font-size: 1.5rem;
    z-index:1;
}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    position: relative;
    width: 100% !important;
}

.dropdown-menu {
    width: 100%;
    z-index: 99;
    top: calc(100% - 10px) !important;
    transform: none !important;
}

.dropdown-menu.open {
    padding: 0;
    border: none;
    box-shadow: none;
    margin-top: 1px;
}

ul.dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-option {
    font-family: inherit;
    font-size: var(--font-sm);
    font-weight: var(--font-regular);
    color: var(--color-heading);
    text-transform: initial;
}
/* Placeholder (no value selected) stays grey, like input placeholders */
.bootstrap-select > .dropdown-toggle.bs-placeholder .filter-option {
    color: #8a8f98;
}

.bootstrap-select>.dropdown-toggle {
    width: 100%;
    margin-bottom: 10px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItY2hldnJvbi1kb3duIj48cG9seWxpbmUgcG9pbnRzPSI2IDkgMTIgMTUgMTggOSI+PC9wb2x5bGluZT48L3N2Zz4=');
    background-repeat: no-repeat;
    background-position-x: calc(100% - 16px);
    background-position-y: 50%;
    background-size: 20px;
    cursor: pointer;
}

.bootstrap-select.show .dropdown-toggle {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.bootstrap-select:not(.show) .dropdown-menu {
    display: none;
}

.bootstrap-select.show .inner {
    overflow-x: hidden;
    scrollbar-width: thin;
    border: 2px solid #E8E8E8;
    border-top: 0;
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
}

.bootstrap-select.show ul.dropdown-menu.inner {
    max-height: 250px !important;
    background-color: var(--color-white);
    border: none;
    font-weight: var(--font-thin);
    list-style: none;
    padding: 0;
    margin: 0;
    scrollbar-width: none;
}

.dropdown-menu > li > a {
    display: block;
    padding: 5px 20px;
    cursor: pointer;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: var(--color-white);
    background-color: var(--color-primary);
    outline: none;
}

.bootstrap-select .dropdown-toggle:focus {
    outline: none !important;
}

.bootstrap-select.open > .dropdown-toggle.btn-default {
    background-color: transparent !important;
}

.section_answers input:-webkit-autofill,
.section_answers textarea:-webkit-autofill,
.section_answers select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
}

.datepicker-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.datepicker-wrapper img.ui-datepicker-trigger {
    position: absolute;
    right: 20px;
    bottom: calc(50% - 8px);
    width: 16px;
    height: auto;
    object-fit: contain;
    cursor: pointer;
}

#ui-datepicker-div {
    z-index: 999 !important;
}

.second-preferred {
    margin-top: 50px;
}

.datepicker-wrapper .section_heading {
    margin-bottom: 5px;
}

.preferred-time {
    display: none;
    margin-top: 30px;
}

.preferred-time.show {
    display: block !important;
}

.preferred-time .time-slot {
    position: relative;
    text-align: center;
    font-size: var(--font-sm);
    font-weight: var(--font-regular);
    background: var(--color-white);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.preferred-time .time-slot.active {
    border-color: var(--color-primary);
    background: var(--color-secondary);
    color: var(--color-primary-dark);
    font-weight: var(--font-semibold);
}

.preferred-time .time-slot span {
    display: block;
}

@media screen and (max-width: 576px) {
    .preferred-time.show {
        display: block !important;
    }
    .preferred-time > div:not(:last-child) {
        margin-bottom: 10px;
    }
}

.close_field, .add_new {
    display: block;
    background-color: #f3861a;
    margin-top: 15px;
    padding: 10px 20px;
    border-radius:15px;
    cursor: pointer;
    color:  var(--color-white);
    font-size: 1rem;
    font-weight: 700;
}

.section_add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dotted var(--color-border-light);
    border-radius: var(--border-radius-sm);
}

input[type="file"] {
    display: flex;
    justify-content: flex-start;
    border: none;
    margin-bottom: 15px;
    margin-top:15px;
}

.new_fields_added {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.overlay {
    position: absolute;
    top: 0;
    left:0;
    z-index: 100;
    width: 100%;
    height:100%;
    display: none;
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px var(--color-grey-light) dashed;
    border-top: 4px var(--color-primary) dashed;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
   }
}

.section_holder_name, .section_additional_contact {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
}

.section_holder_name > input[type="text"],
.section_additional_contact > input[type="text"] {
    width: calc(50% - 5px);
    margin-bottom: 10px;
}

.report-breakdown-popup,
.manual-popup {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(240, 229, 222, 0.8);
    z-index: 99999;
}

.report-breakdown,
.manual-report {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: calc(90vh - 80px);
    background-color: #FEF2EB;
    border-radius: 30px;
    padding: 40px 30px 30px;
    overflow-y: scroll;
}

.manual-report {
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.report-breakdown::-webkit-scrollbar,
.manual-report::-webkit-scrollbar {
    width: 0;
}

.report-breakdown-popup-inner,
.manual-popup-inner {
    max-width: 450px;
    margin: auto;
}

.report-breakdown .close,
.manual-report .close {
    position: absolute;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 10px;
    top: 10px;
    opacity: 1;
    text-align: center;
}

.report-breakdown .close > img,
.manual-report .close > img {
    width: 10px;
}

.report-breakdown-popup-title,
.manual-popup-title {
    font-family: 'Baloo Thambi 2', sans-serif !important;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800 !important;
    color: #56504D;
    margin-top: 0;
    margin-bottom: 20px;
}

.report-breakdown p {
    font-family: 'Baloo Thambi 2', sans-serif !important;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 400;
    color: #87817E;
    margin-bottom: 20px;
}

.manual-report p {
    font-family: 'Baloo Thambi 2', sans-serif !important;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-primary);
}

.report-breakdown a,
.manual-report a {
    display: block;
    font-weight: 600;
    color: #87817E;
    margin-top: 6px;
    text-decoration: underline;
}

.report-breakdown a:hover,
.report-breakdown a:focus,
.report-breakdown a:active,
.manual-report a:hover,
.manual-report a:focus,
.manual-report a:active {
    color: #F27B05;
}

@media (max-width: 768px) {
    .form {
        max-width: 100%;
        padding-inline: 10px;
    }

    .hero__content,
    .hero__container-mobile {
        display: none;
    }

    .form-heading {
        margin-bottom: 30px;
    }

    .section_question,
    h2.section_heading,
    #reporting_start h2.section_heading {
        font-size: var(--font-lg);
    }

    .section_holder_name > input[type="text"],
    .section_additional_contact >  input[type="text"] {
        width: 100%;
    }

    .report-breakdown,
    .manual-report {
        max-width: 85%;
    }

    .report-breakdown-popup-title,
    .manual-popup-title {
        font-size: 25px;
    }

    .report-breakdown p,
    .manual-report p {
        font-size: 16px;
    }
}


/* ================= Booking wizard: new elements (Figma) ================= */
/* Hero background behind the booking card */
body.page-template-breakdown-reporting #primary.content-area,
body.page-template-templatesbreakdown-reporting-php #primary.content-area,
body.page-template-template-service-request #primary.content-area {
    background: url('/wp-content/uploads/2026/10/Book-a-service-bg.jpg') center top / cover no-repeat;
    padding: 56px 16px 90px;
}

/* Grey rounded card panel */
body.page-template-breakdown-reporting .form_body.container,
body.page-template-template-service-request .form_body.container {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    background: #F6F6F6;
    border-radius: 32px;
    padding: 24px 24px 48px;
    box-shadow: 0 24px 70px rgba(22, 22, 22, 0.14);
    box-shadow: -1px 0px 70px rgba(22, 22, 22, 0.14);
    box-sizing: border-box;
}

/* Pill header extras */
.rf-header .rf-header-center { flex: 1 1 auto; text-align: center; min-width: 0; }
.rf-header .section_heading { font-size: 20px; line-height: 1.2; font-weight: var(--font-medium); color: var(--color-heading); margin: 0; }
.rf-step-counter { font-size: var(--font-xs); font-weight: var(--font-regular); color: var(--color-text); margin-top: 2px; }
.rf-step-counter:empty { display: none; }
.rf-header .rf-close {
    flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: #F3F3F3;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none;
}
.rf-header .rf-close::before { content: "\00d7"; font-size: 24px; line-height: 1; color: var(--color-heading); }
.rf-header.rf-intro .form-back, .rf-header.rf-intro .rf-close { visibility: hidden; }
/* First screen: the step-title pill ("Request a service") looks like a button and isn't needed
   here. Hide the whole header bar on the intro step so the content moves up; the header + progress
   bar still show on every later step. */
.rf-header.rf-intro { display: none; }
/* Smooth entrance when the header + progress bar first appear (leaving the intro step on Start),
   instead of popping in from display:none. */
.rf-header:not(.rf-intro) { animation: rf-header-in 0.35s ease both; }
@keyframes rf-header-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Progress bar */
.rf-progress { display: flex; gap: 10px; padding: 0 8px; margin: 0 0 22px; }
.rf-progress:empty { display: none; }
.rf-progress .rf-seg { flex: 1 1 0; height: 4px; border-radius: 4px; background: #E5E7EB; }
.rf-progress .rf-seg.rf-done { background: var(--color-primary); }

/* Hero title + input helper hints + footer help line */
.rf-hero { text-align: center; max-width: 860px; margin: 0 auto 30px; padding: 0 16px; }
.rf-hero h1 { font-size: 46px; line-height: 1.08; font-weight: var(--font-semibold); color: var(--color-heading); margin: 0 0 12px; }
.rf-hero .rf-hero-sub { color: var(--color-heading); font-weight: var(--font-regular); font-size: var(--font-md); margin: 0; }
.form_body .section_hint { width: 100%; font-size: var(--font-xs); font-weight: var(--font-regular); margin: 0 0 5px; }
.form_body .rf-help { text-align: center; color: var(--color-text); font-size: var(--font-sm); font-weight: var(--font-regular); margin: 24px 0 6px; }
.form_body .rf-help a { color: inherit; text-decoration: none; }
@media (max-width: 600px) { .rf-hero h1 { font-size: 32px; } }

/* Slot step layout */
.form_body .preferred-time.show { display: flex !important; flex-wrap: wrap; gap: 10px; }
.form_body .preferred-time .section_heading { flex: 1 0 100%; }
.form_body .preferred-time .time-slot { flex: 1 1 auto; }

/* Service / repair category cards - styled like the plan radio cards */
.form_body .section_answer_round_col { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.form_body .section_answers_round_box {
    position: relative;
    display: flex; align-items: center;
    background: #fff; border: 1px solid #E5E7EB; border-radius: 16px;
    padding: 18px 20px 18px 58px; cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
/* left radio indicator (matches the plan cards) */
.form_body .section_answers_round_box::before {
    content: ""; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid #D1D5DC; background: #fff;
    transition: border-color .15s ease, background .15s ease;
}
.form_body .section_answers_round_box .section_answer_round_image { display: none !important; }
/* flatten the label: left-aligned, no inherited input-box */
.form_body .section_answers_round_box .section_answer_round_text,
.form_body .section_answers_round_box .api_answer_text {
    background: none; border: none; border-radius: 0; padding: 0; margin: 0;
    text-align: left;
    font-weight: var(--font-medium); color: var(--color-heading);
    font-size: var(--font-md); line-height: 1.3;
}
/* selected: orange border + filled white-tick */
.form_body .section_answers_round_box:has(.section_answer_active) { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.form_body .section_answers_round_box:has(.section_answer_active)::before {
    border-color: var(--color-primary);
    background: var(--color-primary) url('/wp-content/uploads/2026/10/tick.svg') center / 12px no-repeat;
}
.form_body .section_answer_round_text.section_answer_active { color: var(--color-primary-dark); }

/* bootstrap-select dropdown menu */
.form_body .section_answers .bootstrap-select .dropdown-menu .dropdown-item.active,
.form_body .section_answers .bootstrap-select .dropdown-menu li.selected a { background: var(--color-secondary); color: var(--color-primary-dark); }

@media (max-width: 480px) {
    .form_body .preferred-time.show { flex-direction: column; }
}

/* Field descriptor rendered as a hint below the input */
.form_body .section_answers_hint::after {
    content: attr(data-hint);
    display: block;
    color: var(--color-text);
    font-size: var(--font-xs);
    font-weight: var(--font-regular);
    line-height: 1.35;
    margin-top: 2px;
    margin-bottom: 8px;
}

/* Footer curves over the hero background image on these templates */
body.page-template-breakdown-reporting .site-footer,
body.page-template-templatesbreakdown-reporting-php .site-footer,
body.page-template-template-service-request .site-footer {
    margin-top: -64px;
}

/* Desktop: cap each time-slot pill to a third of the row */
@media (min-width: 768px) {
    .form_body .preferred-time .time-slot { max-width: 33.33%; }
}

/* Spinner shown right after the clicked option's label while it loads */
.rf-inline-spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-left: 10px;
    vertical-align: -2px;
    border: 2px solid #E5E7EB;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: rf-spin 0.6s linear infinite;
}
@keyframes rf-spin { to { transform: rotate(360deg); } }
/* Lock the cards while a step is loading so repeat clicks do nothing */
.form.rf-step-loading .section_answers_round_box { pointer-events: none; }
/* While the next step's options are loading, hide Continue (keeps its space, so nothing jumps)
   so it can't skip ahead to an empty step. */
.form.rf-step-loading .section_okay_button { visibility: hidden; pointer-events: none; }

/* Initial-load spinner: shown until JS activates the first step (slow connections) */
.rf-init-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0 46px;
}
.rf-init-loader::before {
    content: "";
    width: 34px;
    height: 34px;
    border: 3px solid #E5E7EB;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: rf-spin 0.7s linear infinite;
}
#plusheat_breakdown_form:has(.form.active-question) .rf-init-loader { display: none; }

.form-notice-content {
    width: 100%;
}

@media (max-width: 767px) {
    .form-notice-icon {
        display: none;
    }
}

/* "Do you have a PlusHeat plan?" moves on as soon as an answer is chosen (request-form.js),
   so that step has no Continue button. */
#plusheat_breakdown_form .form:has(#policy_yes) .section_okay_button {
    display: none !important;
}
