.modes_div_top {
    border-radius: 10px;
    background: #f4f6fc;
    margin-bottom: 8px;
    padding: 4px;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 4px;
    display: flex;
}
.modes_div_top .radio-button {
    cursor: pointer;
    transition: background 0.3s;
    color: #8e93a6;
    font-size: var(--small-font);
    font-style: normal;
    font-weight: 400;
    align-items: center;
    text-align: center;
    pointer-events: none;
    width: 100%;
    padding: 2px 8px;
}
.modes_div_top .radio-button > span {
    cursor: pointer;
    color: #8e93a6;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    justify-content: center;
    align-items: center;
    text-wrap: nowrap;
    gap: 0.3rem;
    display: flex;
}
.modes_div_top .radio-button > span img {
    width: 20px;
    height: 20px;
}

.modes_div_top .radio-button.active {
    background: #fff;
    border-radius: 6px;
    color: #2e4168;
}

.modes_div_top .radio-button:hover,
.modes_div_top .radio-button.active > span {
    background: #fff;

    border-radius: 8px;
    color: #2e4168;
}
.modes_div_top .radio-button input[type="radio"] {
    display: none;
}

.tool__left {
    position: relative;
}
.select-container {
    align-items: center;
    justify-content: end;
    display: none;
}

.select-container label {
    font-size: 16px;
    font-weight: 400;
    color: #2e4168;
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 140px;
}

.custom-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 10px;
    background-color: #fff;
    cursor: pointer;
    font-size: 16px;
}

.custom-select::after {
    content: "";
    border: 5px solid transparent;
    border-top-color: #ccc;
    margin-left: 10px;
}

.custom-select-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: auto;
    min-width: 138px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-select-options div {
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.custom-select-options div img {
    margin-right: 10px;
}

.custom-select-options div span {
    margin-right: 32px;
}
.custom-select-options div:last-child {
    border-bottom: none;
}

.custom-select-options div:hover {
    background-color: #f1f1f1;
}
.suggestions {
    position: absolute;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 2px 4px #e2e7f3;
    z-index: 101;
    max-height: 300px;
    overflow: auto;
}
.suggestion-word {
    font-size: 14px;
}
.suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.suggestions ul li {
    padding: 5px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
}
.suggestions ul li:hover {
    background-color: #f4f6fc;
    color: #3761ed;
}
.tool__bottom__bar {
align-items: center;}

ol li {
    margin-left: 20px;
    padding: 5px 0;
}
h3 {
    margin-bottom: 12px;
}
.tool__bottom__bar #summarized_counter{
    min-width: 113px;
}
.tool__min__bar {
    display: flex;
}
/* #cal_btn {
    border-radius: 7px;
    cursor: pointer;
    padding: 6px 12px;
    background-color: #3761ed;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.03em;
    text-align: center;
    border: none;
    outline: none;
    transition: 0.3s ease;
}
#cal_btn:hover {
    background: #3358D4;
} */
.check_plag {
    border-radius: 7px;
    cursor: pointer;
    padding: 6px 12px;
    background-color: #3761ed;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.03em;
    text-align: center;
    border: none;
    outline: none;
    transition: all 0.2s ease;
}


#output-area:before {
    content: attr(placeholder);
    position: absolute;
    top: -3px;
    left: 0;
    font-weight: 400;
    color: #a7abbf;
    pointer-events: none;
    padding: 15px !important;
    font-size: 17px;
    text-align: left !important;
}
#output-area:empty:before {
    display: block;
}
#output-area:not(:empty):before {
    display: none;
}

@media screen and (max-width: 930px) {
    .tool__body__button {
        width: fit-content;
    }
    .tool__header {
        padding: 10px;
    }
}

.sample-btns {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
}
.sample-btns button {
    background: none;
    border: 1px solid #ecf0f5;
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 4px 6px;
    color: #8e93a6;
    font-size: 13px;
    gap: 4px;
    border-radius: 10px;
    text-wrap: nowrap;
}
.paste_img_div {
    min-width: 30px;
    max-height: 30px;
}
.sample_img_div {
    min-width: 30px;
    max-height: 30px;
}
.sample-btns button:hover {
    cursor: pointer;
    color: #2e4168;
}
.sample-btns button svg:hover {
    color: #2e4168;
}

@media (max-width: 670px) {
    .modes_div_top .radio-button {
        padding: 5px;
    }
    .tool__bottom__bar{
        padding: 6px;
    }
}

@media (max-width: 570px) {
    .select-container {
        display: flex !important;
        gap: 10px;
    }
    .modes_div_top {
        display: none;
    }
}
@media (max-width: 520px) {
    .upload__text {
        min-width: unset;
    }
    .tool__header {
        padding: 8px;
    }
    .custom-select {
        padding: 2px 8px;
    }
    .custom-select-wrapper {
        width: 115px;
    }
    .tool__bottom__bar .check_plag {
        padding: 1px 5px;
    }
}
@media (max-width: 430px) {
    .sample-btns button {
        padding: 5px !important;
        font-size: 16px;
        gap: 1px;
    }
    .sample-btns {
        flex-direction: column-reverse;
        gap: 10px;
    }
    .tool__min__bar {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #cal_text::placeholder {
        font-size: 16px;
    }
    #captchaLoad {
        bottom: 90px;
    }
    .tool__bottom__bar #summarized_counter {
        text-align: left;
        width: 100%;
    }
}
