.shadowBox {
    overflow: visible !important;
}

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

.tool__wrapper {
    border: 1px solid #e2e2e2;
    background: #f4f8f9;
    border-radius: 8px;
    /* overflow: hidden; */
    position: relative;
}

.tool__area {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.modes__wrapper {
    background-color: #f4f8f9;
    border-bottom: 1px solid #e2e2e2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 16px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.mode {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border-radius: 5px;
    padding: 6px 8px;
    cursor: pointer;
    transition: background-color 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}

.mode.active {
    box-shadow: 0px 4px 4px 0px #0000000f;
    background-color: #ffffff;
}

.mode__text {
    font-weight: 400;
    font-size: 14px;
    color: #000000;
    line-height: 20px;
}

.mt-3 {
    margin-top: 10px !important;
}

.opacity {
    opacity: 0.5;
}

.col-md-12 {
    width: 100%;
}

.d-flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.bg-white {
    background-color: #ffffff;
}

.write__text_div,
#outputBox {
    display: inline-block;
    width: 100%;
    resize: none;
    height: 340px;
    outline: none;
    padding: 16px;
    border: 0;
    max-height: 340px;
    overflow-y: scroll;
    word-break: break-word;
    font-size: 16px;
}

.input_area {
    border-right: 1px solid #e2e2e2;
    position: relative;
}

.bottom_action__wrapper {
    height: 52px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-top: 1px solid #E2E2E2
}

/* Custom scrollbar styling */


.left_action {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    transition: all 4s ease;
}

.rewrite_btn {
    display: flex;
    align-items: center;
    gap: 2px;
    display: inline-block;
    border-radius: 6px;
    padding: 6px 12px;
    /* background: #000000; */
    background: #3ACD99;
    color: white;
    font-size: 16px;
    line-height: 24px;
}

.dummy_text {
    font-size: 16px;
    font-weight: 400;
    color: #c1c1c1;
    line-height: 20px;
}

.uperSelectBoxLang::-webkit-scrollbar {
    width: 13px;
}

.uperSelectBoxLang::-webkit-scrollbar-track {
    background-color: #f2f7f9;
}

.uperSelectBoxLang::-webkit-scrollbar-thumb {
    background-color: #00b698;
    border-radius: 2px;
    border: 3px solid transparent;
    background-clip: content-box;
}

.langSelectBox ul li,
select.langAbs option {
    padding: 6px 10px 6px 6px;
    cursor: pointer;
    display: inline-block;
    width: 105px;
    float: left;
    border-bottom: 1px solid #00b698;
}

.langSelectBox ul li:hover,
select.langAbs option:hover {
    background: #eee;
}

ul.langAbs {
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 12;
    overflow: overlay;
    bottom: 30px;
    right: 0px;
    display: none;
    height: 12.4em;
    background: #fff;
    -webkit-box-shadow: rgb(60 64 67 / 30%) 0 1px 2px 0,
        rgb(60 64 67 / 15%) 0 2px 6px 2px;
    box-shadow: rgb(60 64 67 / 30%) 0 1px 2px 0,
        rgb(60 64 67 / 15%) 0 2px 6px 2px;
    width: 118px;
    max-height: 18em;
    overflow-y: scroll;
    overflow-x: hidden;
}

.active.uperSelectBoxLang {
    display: table;
}

.langAbs {
    -webkit-margin-end: 10px;
    margin-inline-end: 10px;
    height: auto;
    border: none;
    outline: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    appearance: none;
    background: #fff !important;
    background-color: #fff !important;
}

.langAbs:focus-visible {
    outline: 0;
}

.langSelectBox {
    display: inline-block;
    position: relative;
    padding: 4px 10px 2px 6px;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    width: 93px;
    height: 30px;
    cursor: pointer;
    background: #fff;
    line-height: 1.5;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-margin-end: 5px;
    margin-inline-end: 5px;
    font-size: 13px;
}

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

.langSelectBox:after {
    content: ">";
    cursor: pointer;
    font: 17px monospace;
    color: #333;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    right: 8px;
    padding: 0 0 2px;
    /* border-bottom: 1px solid #999; */
    position: absolute;
    pointer-events: none;
    right: 8px;
    top: 1px;
}

.boxPlaceholder {
    display: block;
    position: absolute;
    bottom: 25%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    font-size: 18px;
    font-family: sans-serif;
    text-transform: capitalize;
    color: #dbd8d8 !important;
    margin: 0;
    font-weight: 400;
    text-align: center;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.upload__doc {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    gap: 4px;
    font-weight: 400;
    color: #000;
    margin: unset;
}

.upload__doc img {
    width: 20px;
    height: 20px;
    filter: brightness(0);
}

.upload__doc,
.word__counter {
    min-width: 90px;
}

.word__counter span {
    font-weight: 500;
    font-size: 14px;
    color: #7f8384;
    line-height: 20px;
}

.cursor-pointer {
    cursor: pointer;
}

.input__area_abs {
    position: absolute;
    top: 30%;
    display: flex;
    align-items: center;
    gap: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.sample_text,
.paste_text {
    width: 120px;
    min-height: 72px;
    max-width: 300px;
    display: flex;
    gap: 4px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E2E2;
    padding: 6px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 16px;
    color: #9da0a1;
    text-align: center;
}

.sample_text:hover,
.paste_text:hover {
    scale: 1.01;
}

.loading-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.loading-overlay .lds-dual-ring {
    top: unset !important;
}

.p-relative {
    position: relative;
}

#btnDiv {
    /* position: absolute; */
    /* bottom: 0; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 8px 10px;
    border-top: 1px solid #E2E2E2;
    background-color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.skeleton-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    height: 1em;
    position: relative;
    overflow: hidden;
    background-color: #2525251c;
    border-radius: 4px/6.7px;
}

.skeleton-box::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(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: -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: 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: "";
    -webkit-animation: straightLoading 1.5s infinite linear;
    animation: straightLoading 1.5s infinite linear;
}

.synonyms-box {
    position: absolute;
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.synonyms-box ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.synonyms-box ul li {
    padding: 5px 0;
    cursor: pointer;
}

.synonyms-box ul li:hover {
    background-color: #f0f0f0;
}

.tooltip_innerbox {
    background: unset;
    /* border: 1px solid #e2e2e2; */
    /* display: flex; */
    width: 100px;
    max-width: 200px;
    min-width: 160px;
    padding: 1px;
    max-height: 80px;
    overflow-y: scroll;
}

#suggestion {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    padding: 10px;
}

#sugest ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    padding: 2px 6px;
}

#sugest li:hover {
    background: #f7f7f7;
}

#sugest li {
    list-style-type: none;
    cursor: pointer;
    color: #333;
    padding: 1px 4px;
}

.tooltip_main {
    left: 200px;
    top: 500px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 3px 6px;
    background: #ffffff;
    width: fit-content;
    max-width: 250px;
    box-shadow: 0px 2px 30px 0px #00000012;
    padding: 12px 5px;
}

.tooltip_innerbox .word {
    color: #333;
}

.tooltip_innerbox .word:hover {
    color: unset;
}

.tooltip_top {
    display: flex;
    border-bottom: 1px solid #e2e2e2;
    height: unset;
    flex-direction: column;
    align-items: flex-start;
}

#synonym_heading {
    font-size: 14px;
    line-height: 35px;
    color: #9da0a1;
}

#heading_span {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
}

.goProTxt {
    position: absolute;
    top: 38px;
    right: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    width: 210px;
    justify-content: center;
    align-items: end;
    border-top: 1px solid #1fafa8;
    background: white;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0px 2px 30px 0px #00000012;
}


.width-100 {
    width: 100%;
}

.justify-content-between {
    justify-content: space-between;
}

@media (max-width: 1200px) {
    .hreffs {
        display: flex;
        order: 2;
    }

    /* #btnDiv {
        flex-direction: column;
        gap: 5px;
    } */

    .download__copy {
        text-align: right;
        margin-right: 12px;
    }

    .sample_text,
    .paste_text {
        width: 122px;
    }
}

.clearText {
    display: none;
    position: absolute;
    right: 150px;
}

@media (max-width: 992px) {
    .hreffs {
        display: none;
    }

    .input__area_abs {
        gap: 10px;
    }

    .modes__wrapper {
        overflow: scroll;
        text-wrap: nowrap;
    }

    .popover_text {
        text-wrap: wrap;
    }

    .goProTxt {
        right: 60px;
    }
}

@media (max-width: 800px) {
    /* .bottom_action__wrapper {
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
        position: relative;
    } */

    .langSelectBox {
        position: absolute;
        bottom: -4px;
        left: 8px;
    }
}

@media (max-width: 550px) {
    .export-btn {
        order: 3;
    }

    #btnDiv {
        bottom: 0px;
        padding: 8px 2px;
        flex-wrap: wrap;
    }

}

@media (max-width: 500px) {
    .input_area {
        border-bottom: 1px solid #e2e2e2;
        margin-bottom: 10px;
    }

    .tool__area {
        flex-direction: column;
    }

    #outputBox {
        padding-bottom: 56px;
    }

    .word__counter {
        min-width: 100px;
    }

    .sample_text,
    .paste_text {
        padding: 5px 16px;
    }

    .clearText {
        top: 13px;
        right: 14px;
    }

    .bottom_action__wrapper {
        height: unset;
        flex-direction: column;
        gap: 12px;
    }

    .left_action {
        width: 100%;
    }

    .right__btn,
    .rewrite_btn {
        width: 100%;
        text-align: center;
    }

    .export-btn {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 16px;
    }

    .advance_options {
        font-size: 13px;
    }

    .result_after_btn {
        gap: 8px;
    }
}

@media (width<=1200px) {

    .tool__area {
        flex-direction: column;
    }

    .result_after_btn {
        display: none;
    }

    .modes__wrapper.after,
    .result_after_btn.after {
        display: flex;
        justify-content: center;
    }

    .output_area {
        display: none;
    }
}

@media (width<=1024px) {
    .pro-popup {
        left: 40% !important;
    }
}

.rBtns.icon {
    color: #000000;
    background-color: #F4F8F9 !important;
}

.rBtns.icon:hover {
    background-color: #3C5057 !important;
    color: #fff !important;
}

.right__btn {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.download__copy {
    display: flex;
    align-items: center;
    gap: 8px;
}

.download__copy div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: #F4F8F9;
    border-radius: 6px;
}

.download__copy div img {
    width: 20px;
    height: 20px;
}

.lang-dropdown {
    position: relative;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #E2E2E2;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.lang-dropdown-options {
    background-color: #fff;
    position: absolute;
    left: 0;
    bottom: 38px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    max-height: 168px;
    overflow-y: auto;
    padding: 4px;
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px #3C40434D;
    box-shadow: 0px 2px 6px 0px #3C404326;
}

.down-icon {
    display: inline-block;
    font-size: 20px;
    line-height: 16px;
    min-width: 20px;
    transform: rotate(180deg);
}

.js-change-lang {
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
}

.js-change-lang.active,
.js-change-lang:hover {
    background-color: #F4F8F9;
}

.pro-popup {
    position: absolute;
    top: 42px;
    left: 30%;
    z-index: 1000;
    display: flex;
    gap: 6px;
    flex-direction: column;
    justify-content: center;
    max-width: 185px;
    background: white;
    padding: 6px 8px;
    border-radius: 8px;
    box-shadow: 0px 12px 34px 0px #00000029;

    .popup-header {
        width: 100%;
    }

    .popup-header,
    .popup-header>div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
    }

    .popover_text {
        font-size: 12px;
        line-height: 16px;
    }

    .pro-btn {
        display: inline-block;
        color: #fff !important;
        background-color: #3acd99;
        padding: 6px 10px;
        border-radius: 6px;
        font-size: 14px;
        line-height: 20px;
        font-weight: 700;
        text-align: center;
        width: max-content;
        align-self: flex-end;
    }
}