.shadowBox {
    overflow: visible !important;
}

hr {
    margin: 0 !important;
}

label {
    margin-bottom: unset;
    font-weight: unset;
}

p {
    margin: unset;
}

.d-none {
    display: none !important;
}

.tool__wrapper {
    background: #F4F8F9;
    border-radius: 16px;
    position: relative;
    margin-top: 12px;
    padding: 10px;
    margin-top: 12px;
}

.tool__area {
    border: 1px solid #E2E2E2;
    border-radius: inherit;
}

.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,
.result_html {
    width: 100%;
    height: 320px;
    outline: none;
    padding: 16px;
    border: 0;
    max-height: 320px;
    overflow-y: scroll;
    word-break: break-word;
    font-size: 16px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    position: relative;
}

.input_area {
    width: 100%;
    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-width: 100px;
}

.reset-tool-sec {
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

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

.action_btn {
    display: flex;
    align-items: center;
    gap: 2px;
    display: inline-block;
    border-radius: 6px;
    padding: 6px 12px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.action_btn.check_grammar {
    background: #3acd99;
}

.action_btn.check_again {
    color: #000;
    background: #EFF3F4 !important;
}

.action_btn.solAll {
    display: none;
    background: linear-gradient(90deg, #37CC99 0%, #1EAEA9 100%);
}

.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 span,
.outputWords {
    font-weight: 500;
    font-size: 14px;
    color: #7f8384;
    line-height: 20px;
}


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

.output_area {
    max-width: 360px;
    background-color: #f4f8f9;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: sans-serif;
    border-left: 1px solid #E2E2E2;
}

.output-card {
    width: 100%;
    background-color: #fff;
    padding: 12px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.output-card.score {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
}

.score-text {
    font-size: 22px;
    line-height: 32px;
    font-weight: 600;
    color: #000;
}

.score-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background-color: #3acd99;
}

.score-desc {
    font-size: 14px;
    line-height: 20px;
    color: #7f8384;
}

.section-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    margin-bottom: 8px;
    display: inline-block;
}

.content-text {
    display: inline-block;
    width: min(220px, 90vw);
    font-size: 14px;
    line-height: 20px;
    color: #333;
    border-right: 1px solid #E2E2E2;
}

.content-percent {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    text-align: end;
    color: #333;
    flex-grow: 1;
}

.box-icon {
    width: 32px;
    height: 32px;
    border-radius: 3px;
    color: #3c5057;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
}

.box-icon img {
    width: 20px;
    height: 20px;
}

.box-icon:hover {
    background-color: #F4F8F9;
}

@media (width<=992px) {

    .tool__area {
        flex-direction: column;
    }

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

    .output_area {
        max-width: unset;
        border-left: unset;
    }
}

@media(width<=425px) {
    .bottom_action__wrapper {
        height: unset;
        flex-wrap: wrap;
        gap: 8px;
    }

    .left_action,
    .reset-tool-sec {
        min-width: 50px;
    }

    .right__btn {
        order: 3;
        width: 100%;
    }

    .action_btn {
        flex: 1;
        text-align: center;
    }

}

.grammer-input-textarea.result-box {
    position: relative;
    outline: none;
}

.top_bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.grammar_issues {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    color: #7F8384;
    font-size: 14px;
    line-height: 20px;
}

/*  */

.error_text {
    color: #000;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 20px !important;
    text-align: left;
    padding: 6px 0 0 6px;
    text-decoration: underline;
    text-decoration-color: #e15a5e
}

.gram_dot {
    background-color: #e15a5e
}

.spell_dot {
    background-color: #f2b24c
}

.punct_dot {
    background-color: #2280ff
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 100%
}

.head_dropdown {
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #7f8384
}

.tooltip_main p,
.tooltip_main strong {
    line-height: 1;
    margin: 0;
    font-size: 12px;
    white-space: break-spaces
}

.grammarCheck_new {
    cursor: pointer
}

.tooltip_main {
    position: absolute;
    min-width: 140px;
    max-width: 140px;
    max-height: 175px;
    z-index: 6000;
    box-shadow: 0 6px 20px 0 #00000014;
    background: #fff;
    padding: 8px;
    white-space: nowrap !important;
    border-radius: 12px;
    cursor: default !important
}

.tooltip_main b {
    font-weight: 0;
    font-size: 14px;
    cursor: pointer
}

.tooltip_main::-webkit-scrollbar {
    width: 5px;
    background-color: #f5f5f5
}

.tooltip_main::-webkit-scrollbar-thumb {
    background-color: #fff;
    background-image: -webkit-gradient(linear, 40% 0, 75% 84%, from(#0bd2aa), to(#0bd2aa), color-stop(.6, #0bd2aa))
}

.tooltip_main>span {
    cursor: pointer;
    color: #8172d5 !important
}

.tooltip_main>.line {
    float: left;
    width: 140px;
    height: 20px;
    margin-top: 12px;
    background-image: linear-gradient(90deg, #f4f4f4 0, rgba(229, 229, 229, .8) 40px, #f4f4f4 80px);
    background-size: 600px;
    animation: 2s ease-out infinite shine-lines
}

.tooltip_main .line {
    width: 100%
}

.tooltip_main .line~.line {
    background-color: #ddd
}

@keyframes shine-lines {
    0% {
        background-position: -100px
    }

    40%,
    100% {
        background-position: 140px
    }
}

@keyframes shine-avatar {
    0% {
        background-position: -32px
    }

    40%,
    100% {
        background-position: 208px
    }
}

p.ignore_text {
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    color: #7f8384;
    display: flex;
    align-items: center
}

p.new_Gram_correct {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    color: #333 !important;
    padding: 4px 8px;
    margin-bottom: 8px
}

p.new_Gram_correct:hover {
    background: #f4f8f9;
    border-radius: 4px;
    cursor: pointer
}

.addition,
.deletion {
    background-color: #fdeeee;
    text-decoration: solid underline #eb5757 3px
}

.spelling {
    background-color: #fef7ed;
    text-decoration: solid underline #f2b24c 3px
}

.modified {
    background-color: #e8e6ff;
    text-decoration: solid underline #8f7fff 3px
}