.formWrapper{
    height: calc(100vh - 232px);
    padding: 20px 20px 10px 20px;
    overflow: auto;
}
.essayWriterWrapper{
    width: 100%;
    padding: 17px 28px 19px 76px;
    margin: 0;
    background: #F8FAFC;

}
#history-tab, #new-outputs{
    min-height: calc(100vh - 215px);
    max-height: calc(100vh - 215px);
}
.toolStats{
    margin-bottom: 0;
}
.essayWriterWrapper > .essayWriterBody{
    margin: 0;
}
.outputHead{
    padding: 16px 26px 16px 13px;
}
.essayWriterInput, .essayWriterOutput{
    background: #fff;
}
.essayWriterWrapper *::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.essayWriterWrapper *::-webkit-scrollbar-track {
    background: #E7EDF2
}

.essayWriterWrapper *::-webkit-scrollbar-thumb {
    background: #CED8E2;
    border-radius: 8px
}

.essayWriterWrapper *::-webkit-scrollbar-thumb:hover {
    background: #555
}
.inputGroup .otherInput{
    margin-top: 10px;
    display: none;
}
.inputGroup.mt-10{
    margin-bottom: 10px;
}
.inputGroup.mt-15{
    margin-bottom: 15px;
}
.inputGroup.mt-20{
    margin-bottom: 25px;
}
.inputGroup.mt-25{
    margin-bottom: 25px;
}
.inputGroup.mt-35{
    margin-bottom: 35px;
}
.inputGroup.mt-0{
    margin-bottom: 0;
}
.dividerText{
    font-size: 16px;
    font-weight: 600;
    line-height: 19.36px;
    margin-bottom: 15px;
}
.characterCount{
    padding-top: 5px;
}
.doubleWrapperNew{
    display: flex;
    gap: 15px;
}
.doubleWrapperNew > *{
    width: 100%;
}
.multipleAllowed.hidden{
    display: none;
}
.multipleAllowed{
    position: relative;
}
.addAnotherDiv {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-top: -18px;
}
.addAnotherDiv a{
    display: flex;
    align-items: flex-end;
    gap: 3px;
    font-size: 12px;
    line-height: 14.52px;
    text-align: right;
    text-decoration: underline;
    color: #333638;
}
.addAnotherDiv a:hover{
    color: #05ada3;
}
.totalAllowedAndAdded{
    font-size: 12px;
    line-height: 14.52px;
    text-align: right;
    color: #64748B;
}
.removeInstance{
    position: absolute;
    display: flex;
    top: 0;
    right: 0;
    z-index: 1;
    transition: all ease .2s;
    display: none;
}
.removeInstance:hover{
    transform: scale(1.1);
}
.colorRed{
    color: red !important;
    font-weight: 600 !important;
}
.borderTop{
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #DFE5EC
}
.borderTop .aiSuggest{
    top: 59px;
}
.addFreeSpan li:nth-child(2)::after{
    display: none;
}
.textareaActionWrapper {
    position: absolute;
    display: flex;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    gap: 10px;
}

.textareaActionBtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 89px;
    padding: 12px 0 11px;
    border-radius: 5px;
    border: 0.5px solid #05ada3;
}

.textareaActionBtn span {
    color: #05ada3;
    font-size: 10px;
    font-style: italic;
}

.textareaActionBtn:hover {
    background: #f2fff8;
}
.inputGroup label .optional{
    color: #9198A1;
}
.textareaGroup .aiSuggest{
    bottom: 10px;
    top: unset;
}
.select2-search{
    color: #858585;
    font-size: 13px;
}
.select2-container--default .select2-selection--multiple{
    cursor: pointer;
    height: 40px;
    padding-bottom: 0;
    border: 1.5px solid #dadce0;
}
.select2-container--default.select2-container--focus .select2-selection--multiple{
    border-color: #05ada3;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
    background: transparent;
    padding: 1px 4px 2px 15px;
    border-color: #05ada3;
    height: 25px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display{
    font-size: 13px;
    color: #05ada3;
    transform: translateY(2px);
    position: relative;
    display: block;
}
.select2-container--default .select2-search--inline .select2-search__field{
    position: absolute;
    left: 0;
    margin: 0;
    display: flex;
    top: 12px;
    align-items: center;
    cursor: pointer;
    padding: 0 15px;
    pointer-events: none;
}
/* .select2-container--default .select2-search--inline .select2-search__field::placeholder{
    font-size: 13px;
} */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    height: 100%;
    border-right: none;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove span{
    padding-bottom: 2px;
    display: flex;
    color: #05ada3;
}
.select2-container .select2-selection--multiple .select2-selection__rendered{
    padding: 1.5px 0 0;
    display: flex;
    max-width: 95%;
}
.textareaGroup.aiSuggestGroup textarea{
    padding-bottom: 40px;
}
@media(max-width:1281px) and (min-width:1200px){
    .formWrapper{
        height: calc(100vh - 116px);
    }
    #history-tab, #new-outputs {
        min-height: calc(100vh - 99px);
        max-height: calc(100vh - 99px);
    }
    .doubleWrapperNew{
        flex-direction: column;
        gap: 30px;
    }
    .doubleWrapperNew .selectGroup:first-child{
        margin-bottom: 0;
    }
}
@media (max-width:575px) {
    .essayWriterWrapper{
        padding: 0 0 30px;
    }
    .formWrapper{
        padding: 30px 15px 10px;
        background: #F8FAFC;
        height: 100%;
    }
    .ewBtns{
        padding: 17px 15px;
    }
    #generate-essay-processing-btn {
        min-width: 94px;
    }
    .doubleWrapperNew{
        flex-direction: column;
        gap: 30px;
    }
    .doubleWrapperNew .inputGroup:first-child{
        margin-bottom: 0;
    }
    .select2-container .select2-selection--multiple .select2-selection__rendered{
        width: 92%;
    }
    .select2-container--default .select2-search--inline .select2-search__field{
        padding: 0 20px 0 15px;
    }

}
