.form-group {
    border: 1px solid #1e1f23;
    padding: 20px;
}

#generate_poem {
    color: white;
    background: #000;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    line-height: 28px;
    box-sizing: border-box;
    transition: 0.3s ease;
    gap: 16px;
}

#generate_poem:hover img {
    transform: translateX(3px) scale(0.9);
}

.top_heading {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    margin: 0px !important;
}

.content h1,
.content h2,
.content h3,
.content h4 {
    margin: 10px 0px;
    line-height: 1.5;
}

.content ul {
    margin-left: 16px;
}

.heading {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #000;
}

.form-input {
    border: 1px solid #e1e4ea;
    background: #fff;
    width: 100%;
    padding: 10px 6px;
    margin-top: 10px;
    font-size: 16px;
}

.topic_field {
    height: 100px;
    resize: none;
}

.poem-and-essay-tool {
    width: 900px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.de-main-container-aiessay {
    width: 1360px;
    max-width: 100%;
    margin: 0 auto;
}

.de-main-container-aiessayresult {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 20px;
}

#result {
    text-align: left !important;
}

.form-div {
    margin-top: 12px;
}

.flex-d-c {
    flex-direction: column;
}

.form-div>div {
    padding: 0 10px;
}

.w-33 {
    width: 33%;
}

.width {
    width: 100%;
    align-items: center;
    gap: 10px;
}

.button_div {
    padding: 0px 10px;
}

.left {
    width: 40%;
    margin-top: 12px;
}

.right {
    width: 100%;
}

.result_div {
    /* border: 1px solid #e1e4ea; */
    height: 100%;
    min-height: 280px;
    max-height: 280px;
    overflow: auto;
}

.actions_copy_download {
    display: flex;
    align-items: center;
}

.actions_copy_download_xs {
    display: none;
}

.actions_copy_download>img,
.actions_copy_download>span {
    padding: 8px;
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.07px;
    text-align: right;
}

.actions_copy_download>img:hover {
    cursor: pointer;
    background: #f3f5f9;
}

.option_div {
    gap: 10px;
    margin-top: 20px;
}

.option_div input {
    cursor: pointer;
}

.result_count {
    font-size: 14px;
    font-weight: 600;
    line-height: 19.07px;
    text-align: right;
}

.mb_div {
    margin-right: 8px;
}

.flex-wrap-column {
    display: flex;
    flex-wrap: wrap;
}

input[type="radio"] {
    accent-color: #1e1f23;
    transition: all 0.3s ease-in-out;
}

.option_div div {
    display: flex;
    align-items: center;
    gap: 4px;
}

textarea.form-input {
    height: 120px;
    resize: none;
}

.form-input:hover {
    cursor: pointer;
    border: 1px solid #989ba2;
}

.loading_aiessay {
    left: 47%;
    top: 34%;
}

.captcha_main_aiessay {
    left: 0px;
}

.res_show_div {
    display: none;
}

.essay__types button {
    border: none;
    outline: none;
    text-align: left;
    padding: 5px 8px;
    background-color: transparent;
    font-size: 16px;
    cursor: pointer;
    border-bottom: 1px solid #e4e6e8;
    display: flex;
    align-items: center;
    gap: 4px;
    width: 50%;
}

.essay__type__active {
    border: 1px solid #E1E4EA;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-top: 8px;
}

.opactive_div {
    position: relative;
}

.essay__type__active.active_poem_selection img {
    transform: rotate(180deg);
}

.preminum-check {
    display: flex;
    align-items: center;
    gap: 6px;
}

.premium-check {
    display: flex;
    gap: 6px;
    align-items: start;
}

.essay__types {
    position: absolute;
    /* right: 74%; */
    transform: translateX(4%);
    width: 92%;
    /* width: 300px; */
    flex-wrap: wrap;
    display: flex;
    /* flex-direction: column; */
    position: absolute;
    top: -92px;
    max-height: 120px;
    overflow-y: scroll;
    /* overflow-x: hidden; */
    border: 1px solid #000;
    background-color: #fff;
    z-index: 10000;
}

.essay__types button:hover {
    background: #f6f6f6 !important;
}

.word_div {
    min-width: unset;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: var(--colors-placeholder-disable, #8F8F91);
    position: absolute;
    right: 22px;
    bottom: 8px;
    text-align: right;
    background-color: #fff;
    display: none;
}

.word_counter_div.text-red {
    color: red !important;
}

.word_counter_div {
    line-height: unset !important;
}

@media (width < 820px) {
    .essay__types {
        right: 95%;
        padding: 3px;
    }
}

@media (width < 640px) {
    .essay__types {
        padding: 3px;
        max-height: 170px;
        width: 245px;
        top: -103px;
        right: 72%;
    }
}


@media (width < 560px) {
    .word_div {
        right: 8px;
    }

    .w-33 {
        width: 100%;
    }

    .loading_aiessay {
        top: 22%;
    }

    .de-main-container-aiessayresult {
        flex-direction: column;
    }

    .left {
        width: 100%;
    }

    .essay__types {
        padding: 3px;
        right: 7%;
        max-height: 170px;
        width: auto;
        top: -125px;
    }

    .essay__type__active {
        padding: 8px;
    }

    .option_div {
        gap: 10px;
    }

    .form-group {
        padding: 10px;
    }

    .textarea_div {
        padding: 0px;
    }


    .actions_copy_download_xs {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        padding: 8px 6px;
        border-top: 1px solid #dee7ee;
    }
}



@media (max-width: 425px) {

    .popup-container-feedback,
    .conformation_container {
        left: 50%;
        transform: translateX(-50%);
    }

    .actions_div {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 4px;
    }
}

@media (max-width: 400px) {
    .mb_div {
        display: flex;
        align-items: center;
    }

    .loading_aiessay {
        top: 20%;
        left: 42%;
    }

    .option_div {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .option_div>div {
        width: 48%;
    }


    .actions_copy_download {
        align-self: flex-end;
    }

    .actions_copy_download>img {
        padding: 3px;
    }



    .result_div {
        padding: 10px;
    }

    .res_show_div {
        padding: 1px;
    }

}