.gf_hidden {
    display: none !important;
}

.gform-body.gform_body {
    font-family: "Helvetica", sans-serif;
}

div#contact-us-ppage h2.gform_title {
    display: none;
}

input#gform_submit_button_3,
input#gform_submit_button_5,
input#gform_submit_button_8 {
    background-color: #000;
    border-radius: 7px;
}

div#popup-class-cst .gform_footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

div#popup-class-cst .gform_footer input[type="submit"] {
    margin: 10px 0;
}

div#popup-class-cst .gform_heading {
    display: flex;
    flex-direction: column;
    align-items: center;
}

div#popup-class-cst .gform_heading h2.gform_title {
    font-size: 32px;
    font-family: "Helvetica", Sans-serif;
}

div#popup-class-cst span.gfield_required.gfield_required_text {
    color: #FAB429;
}

div#popup-class-cst .gform_button.button {
    position: relative;
    background-color: black;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

div#popup-class-cst .gform_button.button:hover {
    background-color: #333;
}

div#contact-us-ppage span.gfield_required.gfield_required_text {
    color: #FAB429;
}

h2.gform_title {
    text-align: left;
    padding-bottom: 35px;
    font-family: helvetica;
    font-size: 42px;
}

span.gfield_required {
    color: #F0B74B;
}

.newsletterform_wrapper label.gfield_label.gform-field-label {
    color: #fff;
    padding-top: 10px;
    padding-right: 11px;
}

.newsletterform_wrapper input#gform_submit_button_1 {
    margin-right: 11px !important;
}

div#gform_wrapper_5 {
    display: block !important;
}

div#gform_fields_1 {
    display: inline;
    width: 80%;
    float: left;
    margin: 0px auto;
    padding: 0;
    font-family: helvetica;
}

div#gform_wrapper_8 h2.gform_title {
    display: none;
}

input#gform_submit_button_9 {
    display: none;
}

#gform_wrapper_9 .gform_heading h2.gform_title {
    display: none;
}

#gform_wrapper_9 {
    padding-top: 30px;
}

div#gform_wrapper_10 {
    display: block !important;
}

div#gform_wrapper_16 {
    display: block !important;
}

.get-customer-form .gf_progressbar_wrapper {
    display: flex;
    flex-flow: column-reverse;
    margin: 0 0 30px;
}

.get-customer-form .gf_progressbar_wrapper .gf_progressbar_title {
    margin: 20px 0 0;
    font-size: 18px;
    color: #383A3F;
    font-family: "Helvetica", sans-serif;
}

.get-customer-form .gf_progressbar_wrapper .gf_progressbar.gf_progressbar_blue .gf_progressbar_percentage {
    background-color: #F59E0B;
}

.get-customer-form .gform-body .gform_fields {
    grid-gap: 20px;
}

.get-customer-form .gform-body .gfield input,
.get-customer-form .gform-body .gfield select {
    height: 54px;
    border: 1px solid #5B6066;
    border-radius: 7px;
    box-shadow: none;
    outline: none;
    font-size: 18px;
    background-color: #fff;
}

.get-customer-form .gform_page_footer {
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
    flex-flow: column;
}

.get-customer-form .gform_page_footer input[type="button"],
.get-customer-form .gform_page_footer input[type="submit"] {
    width: 100%;
    height: 54px !important;
    font-size: 20px !important;
    background-color: #000 !important;
    border-radius: 7px !important;
    color: #fff !important;
}

.get-customer-form .gform_page_footer input[type="button"].gform_previous_button {
    display: none !important;
}

.gform_confirmation_message .container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.gform_confirmation_message .heading {
    font-size: 50px;
    font-weight: bold;
    margin: 30px 0 20px;
}

.gform_confirmation_message .thank-you-message {
    font-size: 28px;
    margin: 15px 0 30px;
}

.gform_wrapper.gravity-theme .gf_progressbar_percentage.percentbar_blue {
    background-color: #FAB429;
    color: #fff;
}

#gform_16 .gform-body .gfield select {
    padding-block: 0;
}

#gform_16 .gfield_validation_message {
    padding: 0;
    border: 0;
}

#gform_16 .gform-body .gfield input[type="file"] {
    border: 0;
    padding: 0;
    height: auto;
}

#gform_16 .gfield--type-textarea.gfield textarea {
    height: 150px;
}

.gform_wrapper.gravity-theme .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_message {
    padding: 0;
    border: 0;
}


/* modal css */


.custom-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7);
    /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    max-width: 600px;
    position: absolute;
    /* Change to absolute */
    top: 0;
    /* Align to the top */
    left: 50%;
    /* Center horizontally */
    transform: translateX(-50%);
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 361px) {
    .close-button {
        position: absolute !important;
        right: 0 !important;
        font-size: 21px !important;
        /* Adjust font size */
        padding-top: 5px !important;
        /* Adjust top padding for better alignment */
        top: -8px !important;
        padding-right: 5px;
    }
}


/* ------------------------------------------------------------
   Gravity Forms: moved from style.css + my-account.css
   ------------------------------------------------------------ */

.woocommerce-account .gform_wrapper.gravity-theme .gfield.gfield--width-half.gfield {
    text-align: left;
}

.gform_wrapper.gravity-theme div.step-2-cst {
    position: relative;
    text-align: left;
}

.gform_wrapper.gravity-theme div.step-2-cst .gform_previous_button {
    position: static !important;
}

.gform_wrapper.gravity-theme .gfield input:not([type="radio"]):not([type="checkbox"]),
.gform_wrapper.gravity-theme .gfield select {
    max-width: 100%;
    height: 54px;
    border: 1px solid #5b6066;
    border-radius: 7px;
    box-shadow: none;
    outline: none;
    font-size: 18px !important;
    line-height: 53px;
    background-color: #fff;
}

.gform-page-footer>input {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    height: 54px !important;
    font-size: 20px !important;
    background-color: #000 !important;
    box-shadow: none !important;
    outline: none !important;
    border: 0 !important;
    border-radius: 7px !important;
    transition: all .3s ease !important;
    color: #fff !important;
    cursor: pointer;
}

.cta-buttons.extra-btn .singleBtn {
    background-color: #fab429 !important;
    color: #fff !important;
    border: 2px solid #fab429;
    padding: 10px 20px;
    line-height: 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    font-size: 18px;
    width: 100%;
}

.cta-buttons.extra-btn .singleBtn:hover {
    color: #000 !important;
}

div#gform_fields_9 label {
    max-width: 150px;
}

input#gform_submit_button_9 {
    display: none;
}

#gform_wrapper_9 .gform_heading h2.gform_title {
    display: none;
}

#gform_wrapper_9 {
    padding-top: 30px;
}

#technicianNewServiceModal .gform_title,
#quoteServiceModalAdmin .gform_title {
    display: block;
    font-size: 36px;
    font-weight: 600;
}

div#technicianNewServiceModal #gform_wrapper_10 {
    display: block !important;
}

.gform_confirmation_message br {
    display: none !important;
}

.gform_confirmation_message .bar {
    height: 10px;
    background-color: #f0b74c;
    border-radius: 10px;
    margin: 0 0 40px;
}

.gform_confirmation_message .check-icon {
    font-size: 42px;
    background-color: #f0b74c;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 0 auto;
    animation: pop 2s ease-out;
}

span[data-js-spinner-id="gform-ajax-spinner"] {
    position: absolute !important;
}

@keyframes pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    75% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.gform_confirmation_message .cta-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.gform_confirmation_message .cta-buttons a {
    padding: 14px 20px;
    line-height: 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    font-size: 18px;
    white-space: nowrap;
}

.gform_confirmation_message .cta-buttons a:first-child,
.gform_confirmation_message .cta-buttons a.singleBtn {
    background-color: #FAB429 !important;
    color: #fff !important;
}

.gform_confirmation_message .cta-buttons a:first-child img {
    filter: invert(1);
}

.gform_confirmation_message .cta-buttons a:last-child {
    border: 2px solid #FAB429;
    color: #FAB429;
    white-space: nowrap;
    background-color: transparent;
}

.gform_confirmation_message .cta-buttons a:last-child img {
    filter: unset;
}

.gform_confirmation_message .logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gform_confirmation_message .logos img {
    max-width: 85px;
    flex: 1;
    object-fit: contain;
}

.gform_confirmation_message .close-button {
    margin-top: 20px;
    text-align: right;
    float: none;
}

.gform_confirmation_message .close-button button {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    outline: none !important;
    color: #444 !important;
    font-size: 20px !important;
    position: static !important;
}

.get-customer-form .gform-body .gfield textarea {
    min-block-size: auto;
    font-size: 18px;
    height: 55px;
}

.get-customer-form .gform-body .gfield.gfield--input-type-fileupload .gform-field-label {
    justify-content: space-between;
    padding-left: 35px;
    position: relative;
    margin-bottom: 15px;
}

.get-customer-form .gform-body .gfield.gfield--input-type-fileupload .gform-field-label::before {
    content: '\f0c9';
    font-family: 'FontAwesome';
    font-weight: 900;
    font-size: 21px;
    position: absolute;
    left: 0;
    top: 2px;
    line-height: 1;
}

#gform_16 .step-2-cst .gform_previous_button {
    position: absolute;
    border: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: #000 !important;
    left: 20px;
    font-size: 16px;
}

.step-2-cst {
    text-align: center;
}

#gravityFormModal .modal-content {
    padding: 40px 20px 20px;
    width: 90%;
}

#gravityFormModal .modal-content .close-button {
    position: absolute;
    right: 15px;
    top: -5px;
}

.gform-theme #gform_17 .gform_footer input {
    border: 2px solid #000 !important;
    box-shadow: none !important;
    background-color: #000 !important;
    font-size: 16px !important;
    padding: 15px 35px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.gform-theme #gform_17 .gform_footer input:hover {
    background-color: #fff !important;
    color: #000 !important;
}

/* Get customer form css end */

/* New Machine Condition page css */

.page-id-257253>.container {
    max-width: 1000px;
}

.page-id-257253>.container #content .entry-title {
    margin-bottom: 0;
    font-family: 'DM Sans';
    font-weight: 900;
    font-size: 3rem;
    text-transform: capitalize;
    letter-spacing: 0;
    line-height: 1;
}

.page-id-257253 form ul li .ginput_container ul li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-id-257253 form ul li .ginput_container ul li input {
    margin: 0 !important;
}

.page-id-257253 form * {
    color: var(--darkClr);
    font-family: 'Helvetica';
    letter-spacing: 0;
}

/* New Machine Condition page css End */

/* Fix the ugly full-width grey bar */
.gform_wrapper input[type="file"] {
    width: auto !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Style only the button part */
.gform_wrapper input[type="file"]::file-selector-button {
    background: #ffb329;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

/* Fix spacing */
.ginput_container_fileupload {
    display: flex;
    align-items: left
    ;
    gap: 10px;
}

/* Clean helper text */
.gform_fileupload_rules {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.gform_wrapper.gravity-theme .gform_fileupload_rules {
    padding-top: 0px !important;
    margin-top: 12px !important;
}