/* CSS styles for the tool */
.shadowBox {
    overflow: unset;
    padding-bottom: 4rem;
}

.tool-span {
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 1rem;
    background-color: #F4F8F9;
}

label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    /* cursor: pointer; */
}

.text-area-info {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px
}

.border-set {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
}

.word-counter {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 13px;
    color: #999;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 10;
    font-weight: 500;
}

.word-counter.over-limit {
    color: #e74c3c;
    font-weight: 600;
}

.border-set.output {
    border: 1px solid #e2e2e2 !important;
    display: flex;
    flex-direction: column;
    height: 260px;
}

.box-title {
    background: transparent;
    padding: 12px 6px;
}

.action__bottom.output-box {
    border-top: 1px solid #e2e2e2;
    display: flex;
    justify-content: space-between;
    height: 52px;
    align-items: center;
    padding: 0px 16px;
}

.js-word-outer {
    display: flex;
    gap: 2px;
    color: #7F8384;
    font-size: 14px;
    font-weight: 500;
}

.cursor-pointer {
    cursor: pointer;
}

#cloudflare_container {
    position: absolute;
    width: 100%;
    bottom: 30px;
}

.setting_options {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-converter {
    margin-top: 12px;
    position: relative;
}


.heading-text {
    max-width: 70%;
    margin: 0 auto;
}

.cursor-pointer {
    cursor: pointer !important;
}

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

.title__copy__button {
    cursor: pointer;
}

textarea {
    width: 100%;
    min-height: 92px;
    max-width: 100%;
    border: none;
    outline: none;
    resize: none;
    padding: 8px 16px;
    border-radius: inherit;
    font-size: 16px;
}

.option_wrapper {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-top: 12px;
    /* padding: 0 8px; */
}

.custom-select {
    position: relative;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

.selected-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 103%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 5px 5px;
    background-color: #fff;
    background: #fff;
    z-index: 999;
    /* transition: all ease 0.3s; */
    max-height: 130px;
    min-height: 130px;
    height: 100%;
    overflow-y: auto;
}

.dropdown-item {
    padding: 10px;
    flex: 1 1 33%;
}

.flex-wrap-wrap {
    flex-wrap: wrap;
}

.dropdown-item:hover {
    background-color: #f4f4f4;
}

.selected {
    color: #0796b6;
    background-color: #f0f9fb;
}

.fa-check {
    margin-right: 5px;
    color: #0796b6;
}

.select-separator {
    border-left: 1px solid #e2e2e2;
    padding: 0px 10px;
}


input,
.output-div {
    border-radius: 10px;
}

.output-div:focus {
    outline: none;
}

.dropdown-item:hover {
    background-color: #f4f4f4;
}



.text-align-center {
    text-align: center;
}

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

.essay-topic-result {
    display: none;
    position: relative;
}

#output {
    outline: none;
    border: none;
    padding: 8px 16px;
    min-height: 150px;
}

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

.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: 100%;
    /* margin-top: 30px; */
    z-index: 1111;
}

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


.wordsCount {
    font-size: 14px;
    color: #9e9da1;
    gap: 5px;
    display: none;
}

#generate_btn {
    height: 40px;
}

@media (width<=550px) {
    .col-md-4 {
        width: 100%;
    }

    .main-wrapper-tool {
        flex-direction: column;
        gap: 10px;
    }

    label {
        text-align: start !important;
    }

    .loading-overlay {
        top: 0px;
    }

    .wordsCount {
        flex-wrap: wrap;
    }

    label {
        text-align: center;
        width: 100%;
    }

    .btn-converter {
        width: 100%;
    }

    .option_wrapper {
        justify-content: center;
        flex-direction: column;
    }

    .gap-2 {
        gap: 10px;
    }

    .heading-text {
        max-width: 100%;
    }


    .output-footer {
        flex-direction: column;
        gap: 10px;
    }

    #generate_btn {
        width: 100%;
    }

    .cloudflare_container {
        left: 0;
        right: 0;
    }
}

@media(width >=550px) {
    .col-md-4 {
        width: 33.333%;
    }
}