/* CSS styles for the tool */
.essay-writer-tool {
    display: flex;
    padding: 10px 10px;
    gap: 10px;
}

textarea {
    resize: none;
}

input,
.output-div {
    border-radius: 10px;
    border: 1px solid #e2e2e2;
}

.essay-writer-tool>.left__essay-writer {
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* max-width: 40%; */
    /* margin: 0 auto; */
}

.left__essay-writer,
.right__essay-writer {
    flex: 1;
}

.left__essay-writer>div {
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
}



.right__essay-writer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    /* margin: auto; */
}

.output-div {
    background-color: #fff;
    flex: 1;
    padding: 10px;
    overflow: auto;
    height: 280px;
    border-bottom: none;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.skeleton-box {
    display: inline-block;
    height: 1em;
    position: relative;
    overflow: hidden;
    background-color: #f8f8f8;
    border-radius: 4px/6.7px;
}

.skeleton-box::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    background-image: -webkit-gradient(linear,
            left top,
            right top,
            color-stop(0, rgba(255, 255, 255, 0)),
            color-stop(20%, rgba(255, 255, 255, 0.2)),
            color-stop(60%, rgba(255, 255, 255, 0.5)),
            to(rgba(255, 255, 255, 0)));
    background-image: -o-linear-gradient(left,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0.2) 20%,
            rgba(255, 255, 255, 0.5) 60%,
            rgba(255, 255, 255, 0));
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0.2) 20%,
            rgba(255, 255, 255, 0.5) 60%,
            rgba(255, 255, 255, 0));
    content: "";
}

.shadowBox {
    overflow: visible;
}

.loading-overlay {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    top: 0;
    height: 90%;
    margin-top: 36px;
    z-index: 1111;
}

.lds-dual-ring {
    top: 0;
}

@media (max-width: 768px) {
    .generate-btn {
        width: 100%;
        margin-bottom: 20px;
    }
}

#output::-webkit-scrollbar {
    width: 13px;
    cursor: pointer;
}

#output::-webkit-scrollbar-track {
    background-color: #0000;
    cursor: pointer;
}

#output::-webkit-scrollbar-thumb {
    background-color: #00b698;
    border-radius: 30px;
    border: 4px solid transparent;
    background-clip: content-box;
    cursor: pointer;
}

.main-outputdiv {
    flex: 1;
}

.output-footer {
    background-color: #fff;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: none !important;
    border: 1px solid #e2e2e2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
}

.box-icon {
    width: 30px;
    height: 30px;
    background-color: #efeeee;
    border-radius: 3px;
    color: #3c5057;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-margin-end: 10px;
    margin-inline-end: 10px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
}

.wordsCount {
    font-size: 16px;
    color: #3c5057;
    gap: 5px;
    display: none;
}

.tool-box-icon {
    display: flex;
    display: none;
}

.ad-btn-row {
    margin: 0;
}

.option__row {
    flex-direction: row !important;
}

.option__row .option__row_2,
.option__row .option__row_1 {
    width: 100%;
}

.rollover__div {
    max-width: 35% !important;
}

.rollover__div .option__row {
    flex-direction: column !important;
}

.main-div-tool {
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    margin-bottom: 10px;
    gap: 20px;
    position: relative;
    flex-direction: column;
    background: #F4F8F9;
}

.no-essay-topic {
    margin: 0 auto;
    align-items: center;
    display: flex;
    /* flex-direction: column; */
    color: #707070;
}

.no-essay-topic span {
    width: 230px;
    text-align: center;
}

.text-sec {
    background: 0 0;
}

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


.essay-topic-result {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.essay-length-options,
.essay-type-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.js-essay-length-item,
.js-easy-type-item {
    min-width: fit-content;
    border-radius: 5px;
    padding: 7px 20px;
    border: 1px solid #e2e2e2;
    font-weight: 400;
    color: #9e9da1;
    cursor: pointer;
    transition: all ease 0.2s;
}

.js-essay-length-item.active,
.js-easy-type-item.active {
    border: 1px solid #0796b6;
    background-color: #f0f9fb;
    color: #0796b6;
}

.cloudflare_container {
    position: absolute;
    bottom: 0;
    z-index: 99999;
    left: 0;
    right: 0;
    text-align: center;
}

.output-div {
    outline: none;
}

.text-sec {
    float: unset;
}



@media only screen and (max-width: 992px) {
    #usBoxTop {
        padding: 20px 2px !important;
        min-height: 250px;
    }
}

@media (width <=768px) {
    .essay-writer-tool {
        flex-direction: column;
    }

    .essay-writer-tool>.left__essay-writer {
        max-width: unset !important;
        margin: unset !important;
    }

    .option__row {
        flex-direction: column !important;
        flex-wrap: wrap;
    }



    .right__essay-writer {
        margin: unset;
    }
}