.wrapper-sidebar--history{
  display: none;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2001;
  transition: 0.3s;
}

.wrapper-sidebar--history .sidebar-history--overlay{
  background-color: rgba(0, 0, 0, 0.6);
  flex-grow: 1;
  height: 100vh;
	opacity: 0;
	visibility: hidden;
	transition: all .5s ease-in-out;
  pointer-events: none;
}

.wrapper-sidebar--history.sidebar-history--active .sidebar-history--overlay{
  opacity: 1;
	visibility: visible;
  pointer-events: auto;
}

.sidebar-history--chatbot{
  position: fixed;
  top: 0px;
  bottom: 0px;
  right: -300px;
  height: 100vh;
  z-index: 1001;
  width: 100%;
  max-width: 300px;
  background-color: rgb(245, 245, 245);
  box-shadow: 0px 3px 5px rgba(100, 100, 100, 0.19);
  display: flex;
  flex-direction: column;
  border-radius: 10px 0px 0px 10px;
  transition: 0.3s;
}

.wrapper-sidebar--history.sidebar-history--active .sidebar-history--chatbot{
  right: 0px;
}


/* HEADER */
.history-chatbot--header{
  padding: 25px 20px;
}

/* Trigger section */
.sidebar-history--chatbot .history-chatbot--header .chat-header--trigger{
  display: flex;
  align-items: center;
  gap: 10px;
}

.history-chatbot--header .chat-header--trigger .header-trigger--icon{
  cursor: pointer;
}

.history-chatbot--header .chat-header--trigger .header-trigger--label{
  font-size: 16px;
  font-weight: 400;
}

/* BODY */
.history-chatbot--body{
  padding: 0px 10px 10px 10px;
  transition: .3s;
  overflow-y: auto;
}

.history-chatbot--body::-webkit-scrollbar {
  width: 8px;
}

.history-chatbot--body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

/* Group Menu */
.history-chatbot--body .body-group--content{
  display: flex;
  flex-direction: column;
}

.history-chatbot--body .body-group--content .group-content--label{
  font-size: 12px;
  font-weight: 400;
  color: #605B5B;
  padding: 3px 10px;
}

.history-chatbot--body .body-group--content .group-content--item{
  font-size: 14px;
  font-weight: 400;
  padding: 10px;
  color: #444444;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px;
}

.body-group--content .group-content--item:hover {
  background-color: rgba(0, 93, 164, 0.1);
}

.body-group--content .group-content--item:hover .session-title {
  color: #005DA4;
}

.history-chatbot--body .body-group--content .group-content--item .session-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hide delete button by default */
.history-chatbot--body .body-group--content .group-content--item .delete-btn {
  background: white;
  color: #e74c3c;
  cursor: pointer;
  transition: color 0.2s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  visibility: hidden;
}

.history-chatbot--body .body-group--content .group-content--item .delete-btn i{
  font-size: 14px;
}

/* Show on parent hover */
.body-group--content .group-content--item:hover .delete-btn {
  visibility: visible;
}

.wrapper-modal--history {
    z-index: 2002;
}

.wrapper-modal--history .modal-body .modal-body--description{
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.wrapper-modal--history .modal-footer .btn{
  font-size: 14px;
  font-weight: 400;
  padding: 14px 24px;
  border-radius: 8px;
}

.wrapper-modal--history .modal-footer .btn-gray{
  background-color: #A3A4A5;
}