.answerAction svg path, .clearChatBtn, .clearChatBtn svg path, .refreshTempPrompts svg path, .sendPromptBtn {
    transition: .2s
}

.answerAction, .singlePrompt, button {
    cursor: pointer
}
.inputHead {
 padding: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    column-gap: 12px;
    border-bottom: unset;
}
.headIcon {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    background: #1F2123;
    border-radius: 8px;
}
.inputHead .headIcon img {
    display: block;
    max-width: 34px;
    width: 100%;
    max-height: 34px;
    height: 100%;
}
.ml-auto{
    margin-left: auto;
}
.headText h1 {
    font-size: 19px;
    font-weight: 600;
    line-height: 25.27px;
    color: #fff;
    padding-bottom: 3px;
}
.headText p {
    font-size: 15px;
    font-weight: 400;
    line-height: 19.95px;
    color: #9FA7AF;
}
button {
    appearance: none;
    background: 0 0;
    border: none
}

.essayWriterWrapper {
    max-width:100%;
    width: 100%;
    margin-left: auto;
    padding: 26px 25px 23px;
    min-height: calc(100vh - 61px);
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    background: #191A1C;
    margin-top: 60px;
}
.highlight {
    background-color: yellow;
    color:#000;
}
.chatScreenWrapper {
    flex-grow: 1;
    position: relative;
    padding-bottom: 50px
}
.chatHead{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #34363A;
  
    position: fixed;
    width: 100%;
    max-width: 1280px;
    top: 60px;
    padding-top: 50px;
    margin: 0 auto;
    background-color: #191A1C;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
}
.zeroScreenChat {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}
 .zeroScreenChat h1 {
    font-weight: 700;
    font-size: 25px;
    line-height: 33px;
    color: #fff;
    margin: 16px 0 12px
}
#searchTool, .requestBtn {
    max-width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    border: 1px solid #565A60;
    position: relative;
    border-radius: 7px;
    background-color: #171717;
    color: #fff;
}
 
.searchWrapper {
    width: 100%;
    max-width: 159px;
    position: relative;
}
#searchTool {
    width: 100%;
    max-width: 159px;
    flex: 0 0 159px;
    padding-left: 32px;
    outline: none;
}
.searchWrapper label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 14px;
}
#searchTool:hover,
.requestBtn:hover {
    border: 1px solid transparent;
    background: linear-gradient(to right, #171717, #171717), linear-gradient(81.22deg, #1862ff -14.08%, #7731ff 29.91%, #d012ff 77.88%);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
}
#searchTool:focus{
    border: 1px solid #fff;
}
.zeroScreenChat p {
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #9FA7AF;
    max-width: 325px;
    margin: 22px auto 0
}

.preWrittenPrompts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px 11px;
}

.singlePrompt {
    padding: 5px 12px;
    background: #191a1c;
    border: 1px solid #b318ff;
    border-radius: 100px;
}
.singlePrompt:hover{
    border: 1px solid #9C27B0;
    color: #fff;
    background: #9C27B0;
}
.singlePrompt p {
    font-weight: 400;
    font-size: 13px;
    line-height: 17px;
    color: #e2dfdf;
}
.singlePrompt:hover p{
    color:#fff;
}
.answerAction:hover svg path, .refreshTempPrompts:hover svg path {
    fill: #0F172A
}

.inputGroup {
    margin-top: 20px
}

.inputGroup textarea {
    display: block;
    padding: 12px 15px;
    width: 100%;
    background: #fff;
    border: 1px solid #565A60;
    border-radius: 5px;
    outline: 0;
    color: #fff;
    font-size: 14px;
    line-height: 150%;
    position: relative;
    --webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 45px;
    resize: none;
    overflow-y: hidden;
    background-color: #191A1C;
    padding-right: 84px;
}

.inputGroup textarea::placeholder {
    color: #858585;
}

.inputGroup textarea:hover {
    box-shadow: 0 0 6px -4px rgba(0, 0, 0, .5);
    border: 1px solid #fff;
}

.inputGroup textarea:focus {
    border: 1px solid #fff
}

.clearChatBtn:disabled {
    pointer-events: none
}

.formActionsWrapper {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 20px
}

.clearChatBtn {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 13px;
    line-height: 17px;
    color: #b3b4bb;
    padding: 7px 12px;
    border-radius: 5px;
    margin-right: 10px;
}

.clearChatBtn:hover {
    background: #f1f5f9;
    color: #64748b
}

.clearChatBtn:hover svg path {
    fill: #64748B
}

.sendPromptBtn {
    padding: 12px 24px;
    background: linear-gradient(265.4deg, #1e43ff -20.86%, #b318ff 95.76%);
    border-radius: 3px;
    max-height: 45px;
    display: flex;
    align-items: center
}

.sendPromptBtn:hover {
    background: linear-gradient(249.34deg, #516eff -11.47%, #b44dff 101.07%)
}

.chatWrapper {
    display: flex;
    flex-direction: column;
    gap: 46px;
    margin-top: 114px;
    height: 573px;
    overflow-y: auto;
    padding: 0 15px;
}

.chatWrapper p {
    padding: 13px 15px;
    border-radius: 17px;
    max-width: 749px;
    font-size: 13px;
    line-height: 19px;
    width: max-content;
    background: #232323;
    border: 1px solid #403c3c;
    position: relative;
    color: #fff;
}

.chatA {
    white-space: pre-wrap
}

.answerActionsWrapper {
    display: flex;
    margin-top: 15px;
    justify-content: end;
    gap: 15px
}

.chatAText {
    flex-grow: 1;
    display: block;
    width: 100%
}

.chatWrapper .chatQ {
    font-weight: 600;
    background: #432295;
    color: #fff;
    margin-left: auto;
    border-color: #432295;
}

.initials {
    position: absolute;
    bottom: -35px;
    right: 0;
    padding: 4px 4px 5px;
    background: #c615ff;
    border-radius: 50%;
    aspect-ratio: 1;
    width: 28px;
    text-align: center;
    text-transform: uppercase
}

.chatWrapper .chatA::before {
    position: absolute;
    content: '';
    width: 26px;
    height: 26px;
    background: url(../../images/chat_answer.svg) 0 0/cover no-repeat;
    bottom: -35px;
    left: 0
}

.preWrittenPrompts::-webkit-scrollbar {
    width: 6px;
    height: 4px;
    display: none
}
.chatGroup{
    position: relative;
}
.formActionsWrapper{
    position: absolute;
    right: 0;
    top: 0;
}
.actionsWrapper,
.chatScreenWrapper{
    max-width: 1276px;
    width: 100%;
    margin: 0 auto;
}
.chatWrapper::-webkit-scrollbar-thumb {
    background: #464646;
    border-radius: 8px;
}
.chatWrapper::-webkit-scrollbar-track {
    background: #323131;
    border-radius: 8px;
}
@media (max-width:1281px) {
    
.chatHead {
    
    max-width: calc(100% - 30px);
     
}
}
@media (max-height:800px) {
    .chatWrapper {
       
        margin-top: 114px;
        min-height: 282px;
         
    } 
}
@media (max-width:1169px) {
   
    .preWrittenPrompts {
        flex-wrap: nowrap;
        overflow-x: scroll
    }

    .singlePrompt {
        min-width: max-content
    }
}

@media (max-width:767px) {
  

    .chatWrapper p {
        padding: 9px 13px;
        max-width: 249px
    }

    .chatWrapper {
        gap: 20px
    }

    .chatWrapper .chatA::before, .initials {
        display: none
    }

    .zeroScreenChat {
        width: 100%
    }

  .zeroScreenChat h1 {
        font-size: 20px;
        line-height: 27px;
        margin: 16px 0
    }

    .zeroScreenChat p {
        font-size: 14px;
        max-width: 100%
    }

    .inputGroup {
        margin-top: 10px;
        margin-bottom: 15px
    }

    .inputGroup textarea {
        height: 113px
    }

    .zeroScreenChat>img {
        max-width: 114px;
        max-height: 92px
    }

    .sendPromptBtn {
        max-height: 38px
    }

    .chatScreen h1 {
        margin-top: 0
    }
}

@media (max-width:575px) {
    .essayWriterWrapper {
        overflow-y: unset;
        margin-top: 0;
    }
    
    .chatHead {
         
        flex-wrap: wrap;
    }
    .mobnav {
        display: block;
        width: 100%;
        position: fixed;
        z-index: 1;
    }
   .chatScreenWrapper {
        max-width: 1276px;
        width: 100%;
        margin: 72px auto 0;
    }
    .zeroScreenChat {
    
        top: 58%;
       
    }
    .chatWrapper {
        margin-top: 181px;
        min-height: 282px;
    }
    .headText{
        max-width: 306px;
        margin-bottom: 17px;
    }
    .chatHead {
        max-width: 100%;
        padding: 54px 15px 15px;
    }
    .inputHead {
        align-items: start;
    }
    .chatWrapper {
        margin-top: 181px;
        height: 338px;
        min-height: unset;
        overflow-y: auto;
        position: relative;
    }
    .ml-auto {
        margin-left: unset;
        order:1;
    }
    .mr-auto {
        margin-right: auto;
    }
}