/* ===== CHAT ===== */


.talentcheck-chat{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    background-color: #fff;
    border: 0px solid #fff;
    border-radius: 1rem ;
    Height:51.125rem;
    overflow-y: hidden;
}

.dialog{
  height: 90%;
}

.chat-btn-row {
    position: sticky;
    bottom: 0;
    background-color: #fff; 
  }

  .chatwindow{
    height: 80%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column-reverse;
 } 

.chat-list{
    height: 100%;
    overflow-y: scroll;
}

  .chat-bubble-left,
  .chat-bubble-right {
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    max-width: 70%;
    word-wrap: break-word;
  }
  
  .chat-bubble-left {
    background-color: #E5E8FF;
    border-radius: 1rem 1rem 1rem 0rem;

  }
  
  .chat-bubble-right {
    background-color: #3344DB;
    border-radius: 1rem 1rem 0rem 1rem;
    color: #fff;
  }
  
  .chat-btn-row {
    border-top: 1px solid #ccc; 
    
  }
  
  .chat-btn{
    width: 100%;
}

 .typing-indicator{
    color: #666;
 }

 .chat-message {
    display: flex;
    flex-direction: column;
  }
  
  .username {
    font-size: 0.8em; 
    color: #666; 
    margin-top: 0.5em; 
  }
  
  .chat-bubble-left .chat-bubble, .chat-bubble-right .chat-bubble {
    max-width: 80%; 
    padding: 10px; 
    border-radius: 15px; 
    margin-bottom: 0.5em; 
  }
  
  .btn-group{
    /* position: absolute;
    bottom: 7.15% !important;
    left: 1%;
    width: 98%; */
  }

  .answer-btns {
    height: fit-content;
  }

  .row-gap {
    row-gap: 18px;
  }

  @media (min-width: 768px) {
    .chat-btn-row {
      flex-direction: row;  
      justify-content: space-between;
    }

    .dialog {
      height: 100%;
    }

    .talentcheck-chat{
        position: relative;
        background-color: #fff;
        border: 0px solid #fff;
        border-radius: 1rem ;
        max-Height:100svh;
    }

    .chat-list{
        height: 100%;
        overflow-y: scroll;
        padding-bottom:0px;
        margin-bottom: 0!important;
    }

    .chat-list:last-child li {
      margin-bottom: 0!important;
    }
  }

@media (min-width: 1200px) {
  .talentcheck-chat {
    height: 41rem;
  }
}

.chatwindow::-webkit-scrollbar, .chat-list::-webkit-scrollbar {
    width: 0px;
}

.amswer-btns {
  height: fit-content;
}

.chatwindow::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 20px;
    border: #3344DB solid 2px;
}

.chatwindow::-webkit-scrollbar-thumb:hover {
    background: #3344DB;
}

.back-btn{
  z-index: 1000;
  background-color: #fff;
  border: 0px solid #3344DB;
  border-radius: 50%;
  width: 42px;
  height: 42px;
}
.result-header {
  background: #3344DB;
  padding: 24px;
  text-align: center;
  color: white;
  font-size: 28px;
  font-weight: bold;
  border-radius: 8px;
  margin-top: 15px;
}

#reset-btn {
  width: fit-content;
}