body:not(:has(.scanning-loader.d-none)) .tool-header {
    cursor: pointer;
    pointer-events: none;
}
.tool_name_heading_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 0px;
    padding-bottom: 16px;
}

.tool_name_heading {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #022F36;
    margin: 0 !important;
}

.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;
    }
}

.flex-col:not(.sidebar__stick__ads, .sticky_ad, .main_box, .tool__wrapper__design) {
    width: 76%;
}

.tool-section-container {
    width: calc(100% - 16px);
    max-width: 1100px;
    margin: 0 auto;
}

.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%;
    }
}

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

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

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

/* Tool Container Layout */
.tool-container {
    border: 1px solid var(--dark-border-green);
    border-radius: 16px;
    background-color: var(--color-light);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tool-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    row-gap: 20px;
    border-bottom: 1px solid var(--dark-border-green);
}

.tool-header-left,
.tool-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-header-left {
    gap: 16px;
}

.header-label {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--dark-border-green);
}

.tool-body {
    display: flex;
    flex-direction: row;
    min-height: 400px;
}

.tool-input-section,
.tool-output-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 50%;
}

.tool-output-section {
    border-left: 1px solid var(--dark-border-green);
}

.ep-dropdown_wrapper.ep-dropdown_theme2:has(.ep-dropdown[style*="display"])>div:nth-child(1) {
    border-radius: 99px !important;
}

.ep-dropdown_wrapper {
    &.ep-dropdown_theme2 p {
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        color: var(--light-border-green);
        text-wrap: nowrap;
    }

    .ep-dropdown_active {
        align-items: center;
        gap: 6px;
    }
}

.ep-dropdown_theme2>div:nth-child(1) {
    padding: 4px 8px 4px 16px;
    min-height: 36px;
}

.ep-dropdown_theme2 button {
    border-color: var(--light-green-border) !important;
}

.input-area,
.output-area {
    position: relative;
    padding: 16px;
    display: flex;
    flex-direction: column;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #022F36;
    height: 396px;
    overflow-y: auto;
    overflow-x: hidden;
}

.input-area {
    position: relative;
    padding: 0 !important;

    #essay_input {
        padding: 16px;
    }
}

#essay_input,
#result {
    flex: 1;
    border: none;
    resize: none;
    background: transparent;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #022F36;
}

#essay_input::placeholder {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-green-light-bg);
}

#essay_input:focus,
#result:focus {
    outline: none;
}

.input-action-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 12px;
}

.sample-btn,
.paste-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 24px;
    border: 1px solid var(--dark-border-green);
    background: var(--color-light);
    color: var(--dark-border-green);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.sample-btn:hover,
.paste-btn:hover {
    background: var(--color-light-green);
}

.pane-footer {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-top: 1px solid var(--dark-border-green);
}

.tool-input-section .pane-footer {
    padding-block: 8px;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-right {
    gap: 10px;
}

.default-btn,
.action-btn {
    padding: 6px 16px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: transparent;
    color: var(--color-dark);
    font-size: 14px;
    cursor: pointer;
}

.default-btn:hover,
.action-btn:hover {
    background: inherit;
    /* no hover effect or standard one */
    opacity: 0.8;
}

.action-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 10px;
    background: #FFFFFF;
    border: 1px solid rgba(2, 47, 54, 0.3);
    border-radius: 1000px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #022F36;
}

.action-btn {
    border-color: #9b51e0;
    color: #9b51e0;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.word-count {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #022F36CC;
}

.word-count .bold {
    font-weight: 500;
    color: #022F36;
}

.main-btn#main_tool_btn {
    margin: 0 !important;
    min-width: unset;
    padding: 8px 20px;
    border-radius: 24px;
}

.footer-left .default-btn.clear-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    gap: 4px;
    min-height: 30px;
    border: 1px solid #D5DBDF;
    border-radius: 6px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: rgba(2, 47, 54, 0.8);
}

.footer-left .default-btn.upload-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 4px;
    border: none !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #022F36;
}

div:has(> :is(.paste__button, .sample__button, .upload__button, .ep__laoder__wrapper)) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.paste__button,
.sample__button {
    position: static;
    display: flex;
    align-items: center;
    flex-direction: row;
    padding: 8px 16px;
    gap: 4px;
    background: var(--color-light);
    border: 1px solid #022F36;
    border-radius: 999px;
    min-height: 36px;
}

.paste__button span,
.sample__button span {
    font-weight: 400;
    font-size: 14px !important;
    line-height: 20px;
    text-align: center;
    color: #022F36;
}

.paste__button img,
.sample__button img {
    width: 20px;
    height: 20px;
}

.ep-dropdown_theme2>div:nth-child(1) {
    padding: 6px 16px;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}

.selected-option.ep-dropdown_active {
    background: #F9F2FF !important;
    border-color: #8649E1 !important;
}


@media screen and (max-width: 768px) {

    .tool-output-section {
        display: none;
    }

    .tool-body {
        flex-direction: column;
    }

    .tool-input-section,
    .tool-output-section {
        width: 100%;
    }

    .tool-output-section {
        border-left: none;
        border-top: 1px solid var(--dark-border-green);
    }

    .tool-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .header-label {
        text-wrap: nowrap;
    }

    .tool-header-left,
    .tool-header-right,
    .ep-dropdown_wrapper {
        width: 100%;
    }

   
}

@media screen and (max-width: 370px) {
    .tool-header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .tool-input-section .pane-footer {
        padding-inline: 10px;
    }

    .tool-input-section .pane-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .tool-input-section .pane-footer>div {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .main-btn#main_tool_btn {
        width: 100%;
    }
}