.shadowBox {
    overflow: visible !important;
}

.rBtns {
    font-size: 16px !important;
}

label {
    margin: unset !important;
}

.tool__wrapper {
    border: 1px solid #e2e2e2;
    background: #fff;
    border-radius: 8px;
    position: relative;
}

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

.modes__wrapper {
    border-bottom: 1px solid #e2e2e2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 8px;
}

.mode {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 5px;
    padding: 6px 10px;
    min-width: 100px;
    cursor: pointer;
}

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

.mode__text {
    color: #7F8384;
    font-size: 14px;
    line-height: 20px;
}

.mode.active .mode__text {
    color: #000;
}

.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: 10px;
    border: 0;
    max-height: 340px;
    overflow-y: scroll;
    word-break: break-word;
    font-size: 16px;
}

#outputBox b {
    line-height: 22px;
    color: #F26839 !important;
    font-weight: 400 !important;
}

/* #outputBox {
    height: 320px !important;
    max-height: 320px !important;
} */

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

#cloudflare_container {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 100;
}

/* Custom scrollbar styling */
.left_action {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    transition: all 4s ease;
    min-height: 32px;
}

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

.humanize_btn {
    display: flex;
    align-items: center;
    gap: 2px;
    display: inline-block;
    border-radius: 6px;
    padding: 6px 12px;
    background: #000000;
    color: white;
    font-size: 16px;
}

.humanize_btn_beta {
    background: #3acd99 !important;
}

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

.upload__doc {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    gap: 7px;
    font-weight: 400;
    color: #000;
    /* background: #F4F8F9; */
    /* border-radius: 6px; */
}

.upload__doc img {
    filter: brightness(0);
}

.word__counter {
    min-width: 90px;
}

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

.word__counter .exceed {
    color: red;
}

.cursor-pointer {
    cursor: pointer;
}

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

.sample_text,
.paste_text {
    width: 120px;
    min-height: 74px;
    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;
    color: #9da0a1;
    line-height: 18px;
    text-align: center;
}

.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;
    flex-wrap: wrap;
}

.width-100 {
    width: 100%;
}

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

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

.download__copy span {
    display: inline-block;
    padding: 6px;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    text-align: center;
    font-size: 16px;
}

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

@media (width<=992px) {

    .tool__area {
        flex-direction: column;
    }

    .bottom_action__wrapper {
        border-bottom: none !important;
    }

    .output_area {
        display: none;
    }
}

@media(width<=500px) {
    .bottom_action__wrapper {
        flex-direction: column;
        gap: 8px;
        height: unset;
        align-items: start;
    }

    .humanize_btn {
        width: 100%;
        padding: 6px 8px;
        text-align: center;
    }

    .right__btn {
        width: 100%;
    }

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

@media(width<=375px) {
    .download__copy {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
}

html[lang="en"] .improved::before {
    content: "";
    width: 42px;
    height: 12px;
    position: absolute;
    top: -13px;
    right: 5px;
    background: url("/web_assets/frontend/img/improved.svg") no-repeat center;
}

.pro-popup {
    position: absolute;
    top: 42px;
    left: 176px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    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-weight: 700;
        text-align: center;
        width: max-content;
        align-self: flex-end;
    }
}