.tool__div__section .tool__wrapper__design,
body .tool__wrapper__design {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 auto;
    width: 100%;

    @media (width <= 768px) {
        padding: 0 16px;
    }
}
.flex-col:not(.sidebar__stick__ads, .sticky_ad, .main_box, .tool__wrapper__design) {
    width: 76%;
}

.tool-section-container {
    width: 70%;
    margin: 0 auto;

    @media screen and (max-width: 768px) {
        width: 95%;
    }
}

.flex-row-centered {
    margin: 0rem auto;
}

.gpt-tools-content {
    position: relative;
    margin: 40px auto;
}

.content-main-col {
    width: 76%;

    @media screen and (max-width: 768px) {
        width: 100%;
    }
}

#input__topic {
    padding: 16px;
    border: 1px solid var(--dark-border-green);
    border-radius: 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--dark-border-green);
    resize: none;
}

.tool__wrapper__design::before,
.feedback_expression {
    background: #FBFDFD !important;
}

.feedback_expression {
    margin-top: 20px !important;
}

/* Result Section Styles */
.ep__tool__result {
    width: 100%;
    outline: none;
    border: none;
    border-radius: 16px;
    border: 1px solid var(--dark-border-green);
    background-color: var(--color-light);
    /* overflow: hidden; */
    /* &:not(.show-result)>#result {
        pointer-events: none;
    } */
}

.js-sticky-header {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 16px;
    background-color: var(--color-light);
    border-radius: inherit;
}

.ql-container.ql-snow {
    border: none;
    height: auto;
}

.ep__tool__result__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ep__tool__result__topbar .tool-features button {
    padding: 8px;
    border-radius: 2rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-light);
    border: 1px solid #D5DBDF;
    cursor: pointer;
}

.ep__tool__result__topbar .tool-features button:hover {
    background-color: var(--color-light-gray-accent);
}

#toolbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding: 0 !important;
    border: 0 !important;
}

.toolbar-container-tools {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ql-snow.ql-toolbar:after,
.ql-snow .ql-toolbar:after {
    display: none !important;
}

.result__actionbar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #022F36CC;
}

.ql-toolbar.ql-snow .ql-formats {
    margin-right: 0 !important;
}

#result {
    font-size: 16px;
    min-height: 388px;
    padding: 0 16px;

    .ql-editor {
        padding-inline: 0 !important;
        padding-bottom: 12px !important;
        /* min-height: 388px; */
        /* max-height: 420px; */
        /* overflow-y: auto; */
    }

    h1 {
        font-size: 28px !important;
        margin: 4px 0 12px;
    }

    h2 {
        font-size: 24px !important;
        margin: 4px 0 12px;
    }

    h3 {
        font-size: 22px !important;
        margin: 4px 0 12px;
    }

    h4 {
        font-size: 20px !important;
        margin: 4px 0 12px;
    }

    h5 {
        font-size: 18px !important;
        margin: 4px 0 12px;
    }

    h6 {
        font-size: 16px !important;
        margin: 4px 0 12px;
    }

    p, ul, ol {
        margin-bottom: 12px;
    }

    @media (max-width:1024px) {
        max-height: calc(100vh - 250px);
        overflow-y: auto;
    }
}

.ep__tool__result::-webkit-scrollbar-track {
    margin: 10px 0 16px;
}

#input__topic::-webkit-scrollbar-track {
    margin-block: 10px;
}

.toolbar-container-tools,
.toolbar-container-tools>div {
    display: flex;
    flex-wrap: wrap;
}

.main-btn {
    margin: 32px auto 0;
    min-width: 180px;
}

.ep__tool__result {
    margin-top: 32px;
}

.input__inner__box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.bottom-bar,
.result__bottombar,
.action-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background-color: var(--color-light);
}

.bottom-bar {
    padding: 16px;
    border-radius: inherit;
    position: sticky;
    bottom: 0;
    transition: bottom 0.2s ease-in-out;
    z-index: 10;
}

body:has(#floorad-wrapper:not([style*="display:none"])) .bottom-bar {
    bottom: 100px;
}

.result__bottombar {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--light-border-green);
}

.action-btns {
    gap: 8px;
}

@media screen and (max-width:768px) {
    #toolbar-container {
        flex-direction: column;
        align-items: start;
        justify-content: center;
        gap: 16px;
    }

    .result__actionbar {
        margin: 0 auto;
    }

    .toolbar-container-tools,
    .toolbar-container-tools>div {
        justify-content: center;
    }
    
    .bottom-bar {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width:480px) {
    .ep__tool__result__topbar {
        flex-direction: column;
    }
}