form:not(.add-meal-plan-profile-form, .add-products-form, .meal-plan-tips, .meal-plan-recommendations, .document-upload-form) {
    max-width: 700px !important;
}    
form:not(.filter_date) {
    gap: 24px;
}
form {
    input,
    select, 
    button {
        padding: 16px 12px;
    }
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="url"],
    input[type="number"],
    select {
        border-top: 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid #C1C7CD;
        background-color: #F2F4F8;
    }
    input[type="text"],
    input[type="number"],
    input[type="url"] {
        width: 100%;
    }
    input[type="text"]:not(#user_login, #first_name, #last_name),
    input[type="number"],
    input[type="url"] {
        max-width: 300px;
    }
    input[type="textarea"] {
        width: 100%;
    }
    .vertical-separator {
        background-color: #DDE1E6;
        width: 100%;
        height: 1px;
        @media screen and (min-width: 767px) {
            width: 1px;
            min-height: 90px;
            height: 100%;
        }
    }
}

.acf-form-submit {
    @media screen and (max-width: 991px) {
        margin-top: 24px;
    }
}

#user-details-form {
    max-width: 620px;
    .d-flex {
        gap: 8px;
    }
}

#client-details-form {
    .client-name {
        gap: 24px;
    }
    input[type="text"] {
        max-width: 100%;
    }
}

.document-upload-form,
.tools-upload-form,
.lives-upload-form,
.add-products-form,
.add-meal-plan-profile-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    .document-upload-form__wrapper {
        gap: 16px;
        border: 1px solid rgba(0,0,0,0.1);
        border-radius: 5px;
        padding: 20px;
        margin: auto;
    }
    .document-upload-form__content,
    .tools-upload_content,
    .lives-upload_content {
        gap: 16px;
        h2 {
            color: #FC6134;
            font-size: 16px;
        }
    }
    button {
        margin: auto;
    }
}

.add-products-form,
.add-meal-plan-profile-form {
    background: #EBE5DA;
    .d-lg-grid {
        grid-template-columns: 2fr repeat(2, 1fr);
        grid-template-rows: 1fr 0;
        grid-column-gap: 16px;
        grid-row-gap: 0px;
    }
    #product_name,
    #product_appointments,
    #product_price {
        width: 100%;
    }
}


#programas,
.product_select,
.meal_plan_profiles_select {
    background-color: #F2F4F8;
    border: 1px solid #C1C7CD;
    padding: 15px;
    select {
        border: 1px solid #000000;
    }
}

#programas {
    padding: 0;
    .programas_header {
        background-color: #F2F4F8;
        text-transform: capitalize;
        padding: 10px 18px;
    }
    .programas_body {
        background-color: #fff;
        padding: 8px 12px;
        > div {
            border-bottom: 1px solid #DDE1E6;
        }
    }
}

.visual-cue {
    width: 100%;
    height: 48px;
    background-color: #AE85C2;
    border: 1px solid #AE85C2;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
textarea {
    min-height: 300px;
    border: 1px solid #EBE5DA;
}

#loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9;
    .spinner {
        width: 50px;
        height: 50px;
        border: 6px solid #fff;
        border-top: 6px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    #upload-result {
        background-color: #fff;
        border-radius: 24px;
        max-width: 600px;
        width: 100%;
        max-height: 300px;
        height: 100%;
    }
}

.vision-board-form {
    border-radius: 25px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 16px;
    label {
        padding: 0 16px;
        font-size: 16px;
        color: #FC6134;
    }
}

.client-success-stories .acf-form {
    max-width: 100% !important;
    .acf-fields {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        @media screen and (min-width: 767px) {
            grid-template-columns: 1fr 1fr;
        }

        @media screen and (min-width: 1200px) {
            grid-template-columns: repeat(4, 1fr);
            gap: 16px 8px;
        }

        .acf-field {
            background-color: rgb(235,229,218);
            margin: 0 !important;
            border: 0;
            .acf-label {
                display: block !important;
            }
            .acf-image-uploader,
            .acf-file-uploader,
            .acf-basic-uploader {
                max-width: 250px;
                input {
                    padding: 0;
                }
            }
        }
    }
}

.client-meal-plan {
    .acf-field {
        padding: 0 !important;
    }
    .acf-fields.-border {
        border: 0;
    }
    .acf-field-clone {
        padding: 0 !important;
        margin: 0 !important;
        > .acf-label {
            display: none;
        }
    }
    .meal_form_data {
        th:not(.acf-row-handle), th:not(.acf-row-handle) label {
            display: block !important;
        }
        .acf-repeater {
            table {
                background:unset;
                width: 100%;
            }
        }
        .acf-row {
            margin: 0 0 12px 0;
            /* display: grid; */
        }
    }    
}

.client-view {
    .acf-field >  .acf-label,
    .acf-repeater .acf-row-handle {
        display: none;
    }
}

.billing form {
    max-width: 100% !important;
    background-color: #EBE5DA;
    padding: 20px;
    border-radius: 5px;
    .acf-fields {
        margin-bottom: 24px;
        @media screen and (min-width: 767px) {
            display: flex;
        }

        .acf-field {
            padding: 0;
            border: 0;
            width: 100%;
            .acf-label {
                display: block !important;
            }
            input {
                height: 55px !important;
                max-width: 100%;
            }
        }
    }
    
}

.measurement-chart {
    > .acf-field > .acf-label {
        display: none;
    }
}

.client-size-chart {
    .acf-clone-fields {
        @media screen and (max-width: 767px) {
            flex-direction: column;
        }
    }
}

div[data-name="consulta_1"],
div[data-name="consulta_2"],
div[data-name="consulta_3"],
div[data-name="consulta_4"],
div[data-name="consulta_5"],
div[data-name="consulta_6"],
div[data-name="consulta_7"],
div[data-name="consulta_8"],
div[data-name="consulta_9"],
div[data-name="consulta_10"],
div[data-name="consulta_11"],
div[data-name="consulta_12"] {
    > .acf-label label {
        font-weight: 700;

    }
    .acf-fields {
        display: flex;
        justify-content: space-between;
    }
}

.home-work, .calories-gpt {
    .acf-form {
        background-color: #EBE5DA;
        .acf-field-repeater {
            
        }
        .acf-label {
            display: block !important;
        }
        input[type="url"] {
            max-width: unset;
        }
        .acf-button {
            float: unset !important;
            display: inline-block;
            margin-top: 24px;
        }

        td.acf-fields {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: start;
            gap: 12px;
            .acf-field {
                width: 100%;
                margin: 0 !important;
                padding: 0;
                @media screen and (min-width: 767px) {
                    display: flex;
                    align-items: center;
                    height: 48px;
                }

                .acf-input {
                    height: 100%;
                    div {
                        height: 100%;
                    }
                    .acf-icon.-globe {
                        top: 50%;
                        transform: translateY(-50%);
                    }
                    input {
                        width: 100%;
                        padding: 0;
                        height: 100%;
                        min-height: 48px;
                    }
                }
            }
            .acf-field.acf-field-image {
                height: unset;
            }
        }
        .acf-form-submit {
            padding: 16px;
        }
    }
}

div[data-name="tabela_de_medidas"] {
    background-color: #fff;
    margin-bottom: 1rem !important;
    .tabela-de-medidas {
        thead {
            th {
                display: table-cell;
                background-color: transparent;
            }
        }
        tbody {
            td {
                border: 1px solid #DDE1E6 !important;
            }
        }
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.acf-form-client-view .acf-input .acf-label {
    display: block !important;
}