/* ===================================
tool input container css (START)
=================================== */
.tool__wrapper__design>.tool__row {
    max-width: 920px;
}

.main-tool-conatiner {
    display: block;
    padding: 20px;
    width: 57% !important;
    margin: 0 auto;
    margin-top: 20px !important;
    border: 1px solid var(--border-color) !important;

    @media (width < 580px) {
        padding: 20px 15px;
    }
}

.tool-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 4px;
    margin-bottom: 10px;

    .sample-container {
        position: relative;
    }

    label {
        color: #7f7f7f;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        font-weight: normal;
    }
}

.custom-align-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 6px;

    @media (width <=658px) {

        .main-btn,
        .js-submit-btn {
            width: 100%;
        }
    }

    .radio-field-selector {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 20px;

        @media (max-width:435px) {
            flex-wrap: wrap;
        }

        @media (width < 580px) {
            gap: 6px;

            .radio-container {
                padding: 4px 8px;

                .option-container {
                    line-height: 18px;
                }
            }
        }

        @media (width <=435px) {

            &>:nth-child(2),
            &>:nth-child(1) {
                width: 100%;
            }

            .ep-dropdown_wrapper>div:nth-child(1) {
                padding: 10px;
            }

            .radio-container {
                padding: 8px 24px;

                .option-container {
                    line-height: 22px;
                }
            }

            gap: 10px;
        }
    }
}

.pagesBtn img{
    width: 20px;
    height: 20px;
}

/* ============================
tool input container css (END)
============================== */

#alert-loader {
    position: absolute;
    width: 100%;
    max-width: 500px;
    transform: translateY(50%);
    left: 0px;
    right: 0px;
    padding: 12px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    margin: auto;
    top: 35%;
}

@media (width <= 435px) {
    .radio-field-selector {
        gap: 16px !important;
        margin-bottom: 10px;
    }
}

.tool__wrapper__design {
    margin-left: 0;
    margin-right: 0;
}

@media screen and (width > 900px) {
    .tool__wrapper__design>.tool__row {
        min-width: 920px;
    }
}

#rephrase__btn {
    margin-left: 185px;
    margin-top: 24px;
}

.ep-dropdown_wrapper {
    min-width: 158px;
}

@media (width > 1024px) {
    #result {
        min-height: 450px !important;
    }
}

.main-tool-conatiner:has(#main_tool_btn[disabled])::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    cursor: not-allowed;
}