body {
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  gap: 30px;
  padding: 24px;
  background-color: #f9fafc !important;
}

#errorModal {
  .modal-dialog {
    background: white;
    border-radius: 20px;

    .modal-body {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      display: flex;
      margin: 20px;

      .text-error {
        color: #dc3545;
      }

      .close-error-button {
        cursor: pointer;
        margin-top: 24px;
        margin-bottom: 10px;
        width: 25%;
        border-radius: 6px;
        border: none;
        background-color: #ff9966;
        color: white;
      }
    }
  }
}

.button-style {
  margin-top: 10px;
  cursor: pointer;
  background-color: rgb(121 215 152);
  border: 0px;
  padding: 16px 32px 16px 32px;
  border-radius: 8px;
}

/* Plugin CSS */
@font-face {
  font-family: "proxima-nova";
  src: url("../fonts/proxima/proxima-nova-regular/proxima-nova-regular.woff2")
      format("woff2"),
    url("../fonts/proxima/proxima-nova-regular/proxima-nova-regular.woff")
      format("woff"),
    url("../fonts/proxima/proxima-nova-regular/proxima-nova-regular.otf")
      format("otf");
}

* {
  font-family: "proxima-nova", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
}

/* Base Size Caculation

 1px = 0.077 rem
 5px = 0.385 rem
 10px = 0.769 rem

*/

/* width */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  border-radius: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(225, 225, 225);
  border-radius: 8px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(205 199 199);
}

/* Custom Utils */
.gap-8 {
  gap: 8px !important;
}
/* Body Style */
#page-wrapper {
  /* border: 3px solid #000; */
  border: 4px solid #dbe5ed;
  border-radius: 20px;
  background: #f9fafc;
}

/* Hide arrows from input numbers fields */
/* Chrome, Safari, Edge, Opera */
input#orgId::-webkit-outer-spin-button,
input#orgId::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Placeholder color */
input::placeholder {
  color: #b1b1b1;
}

/* Hide arrows from input numbers fields */
/* Firefox */
input#orgId[type="number"] {
  -moz-appearance: textfield;
}

.loader {
  display: flex;
  position: fixed;
  background: rgba(25, 25, 25, 0.5);
  width: 100%;
  height: 100%;
  opacity: 0.5;
  z-index: 99999;
  justify-content: center;
  align-items: center;
}
.chat-container {
  height: 58vh;
}

.ibox-content {
  padding: 20px;
}

.chat-container {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  max-height: 100%;
  overflow-y: auto;
}

.chat-message {
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  position: relative;
}

.user-message {
  margin-right: 10px;
  /* background-color: #e2e2e2; */
  align-self: flex-start;
}

.bot-message {
  margin-right: 10px;
  /* background-color: #1ab394;
    color: #fff; */
  align-self: flex-start;
}

.message-text {
  word-wrap: break-word;
  width: fit-content;
}

.user-message-icon,
.bot-message-icon {
  /* width: 40px; */
  /* height: 26px; */
  width: 24px;
  height: 24px;
  border-radius: 20px;
  /* padding: 14px; */
}

.bot-message-icon {
  padding: 0px;
}

.bot-message-icon img {
  /* margin: 7px; */
  width: 24px;
  aspect-ratio: 1 / 1;
}

.user-message-icon,
.bot-message-icon {
  text-align: center;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 2px solid #fff; */
}

.user-message-icon {
  font-size: 20px;
  color: #f4f5f8;
  /* background: slateblue; */
}

.bot-message-icon {
  color: #55c0a0;
  /* background-color: #2A3847; */
}

.chat-message.user-message {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

.user-message .message-text {
  /* background: #EDEDED; */
  background: #afbbc6;
  /* color: #fff; */
  color: #2a3847;
  padding: 15px 20px;
  border-radius: 10px;
}

.chat-message.bot-message {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* gap: 10px; */
  gap: 6px;
  /* color: #2A3847;
  background: #fff; */
}

.chat-message .bot-message-text {
  color: #2a3847;
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
}

.bot-message-text details ul li {
  word-break: break-word;
}
.bot-message-text details ul li a {
  word-break: break-all;
}

/* Bot message feedback */
.bot-message-feedback {
  display: flex;
  flex-direction: row;
  /* right: 12px;
  top: 30px; */
  transition: all ease-in-out;
  gap: 8px;
}

/* Bot message doc refrence source */
.response-source {
  position: absolute;
  right: 11px;
  bottom: 11px;
  transition: all ease-in-out;
}

.bot-message-feedback .positive,
.bot-message-feedback .negative {
  display: flex;
  /* width: 24px;
  height: 24px; */
  cursor: pointer;
  /* padding: 10px; */
  /* background: #fafafa; */
  color: #afbbc6;
  /* border-radius: 50%; */
  text-align: center;
  vertical-align: middle;
  align-items: center;
  align-self: center;
  justify-content: center;
  /* box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); */
  /* border: 1px solid #fafafa; */
}

.bot-message-feedback .positive i:hover,
.bot-message-feedback .negative i:hover {
  /* border: 1px solid #2A3847; */
  color: #212121;
}

.feedback-sent i {
  color: #212121 !important;
}

/* .bot-message-feedback .positive{
  margin-right: 5px;
} */

.response-source-icon {
  cursor: pointer;
  /* padding: 5px 10px; */
  background: #fafafa;
  border-radius: 20px;
  color: #afbbc6;
  /* border: 1px solid #fafafa; */
  /* box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); */
}

.response-source-icon:hover {
  /* border: 1px solid #2A3847; */
  color: #212121;
}

#user-input-message::placeholder {
  font-size: 14px;
  /* padding-top: 10px;
  padding-left: 6px; */
}

#user-input-message {
  font-size: 14px;
  padding-top: 18px;
  padding-left: 22px;
  padding-right: 52px;
  height: 60px;
  resize: none;
  /* border-end-start-radius: 12px;
    border-end-end-radius: 12px; */
  border-radius: 30px;
  overflow-x: hidden;
}

#sendMessage {
  /* border-end-end-radius: 12px; */
  border-radius: 30px;
  width: 46px;
  height: 46px;
  background-color: #55c0a0;
  color: #ffffff;
  bottom: 7px;
  right: 7px;
}

.modal {
  z-index: 2050 !important; /* Ensure it's higher than the Select2 dropdown */
}

#roomContainer,
#loginContainer {
  border: 4px solid #dbe5ed;
  border-top: none;
  border-radius: 16px;
  background-color: #f4f5f8;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-left: none;
  border-right: none;
}

#loginContainer h1 {
  font-size: 18px;
  font-weight: 600;
}

#page-wrapper {
  overflow: hidden;
}

#orgIdContainer {
  height: 100%;
  overflow: hidden;
}

.loginContainer-body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.loginContainer-body--form #pluginLoginForm label {
  margin-bottom: 8px;
}

.loginContainer-body--form #pluginLoginForm .pluginLoginForm-btn-conatiner {
  margin-top: 25px;
}

.login-divider {
  margin-top: 25px;
  display: flex;
  flex-direction: row;
  text-transform: uppercase;
  border: none;
  font-size: 13px;
  font-weight: 400;
  margin: 0;
  padding: 24px 0 0;
  align-items: center;
  justify-content: center;
  vertical-align: baseline;
  gap: 8px;
}

.login-divider:before,
.login-divider:after {
  content: "";
  border-bottom: 1px solid #c2c8d0;
  flex: 1 0 auto;
}

.loginContainer-body--img {
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.loginContainer-body--img h2 {
  margin: 0px;
  font-size: 25px;
  color: #454545;
  font-weight: 600;
}

.loginContainer-body--img p {
  font-size: 16px;
  text-align: center;
}

.loginContainer-body--form {
  width: 260px;
}

.loginContainer-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.loginContainer-footer ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  text-align: center;
  padding: 0px;
  color: #676a6c;
}

.loginContainer-footer ul li a,
.loginContainer-footer ul li a:active,
.loginContainer-footer ul li a:visited {
  text-decoration: none;
  color: #676a6c;
}

/* roomHistoryOptionContainer css */
.roomHistorySelect2Content,
.newRoomSelect2Content {
  width: 100%;
  background: #f9fafc;
  height: 100%;
  border: none;
}

.custompopupwindow {
  position: absolute;
  width: 100%;
  background: #f9fafc;
  height: 100%;
  border: none;
  z-index: 9999;
}

.custompopupwindowCloseContainer_text {
  font-size: 1.077rem;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  align-items: center;
  display: flex;
  justify-content: center;
}

.custompopupwindowCloseContainer_icon i {
  font-size: 2.462rem;
  cursor: pointer;
}

.roomHistoryConatainer ul,
.newHoomHistoryConatainer ul {
  list-style: none;
  margin: 0rem;
  padding: 0rem;
  display: flex;
  flex-direction: column;
  gap: 0.154rem;
  min-height: 60vh;
  max-height: 70vh;
  overflow-y: auto;
}

.roomHistoryConatainer ul li,
.newHoomHistoryConatainer ul li {
  font-size: 1rem;
  padding: 0.462rem;
  background-color: #fff;
  cursor: pointer;
  color: #676a6c;
}

.roomHistoryConatainer ul li span,
.newHoomHistoryConatainer ul li span {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.roomHistoryConatainer ul li span .check {
  display: none;
}

.roomHistoryConatainer ul li span .trash-icon {
  position: relative;
  right: 0.354rem;
}

.roomHistoryConatainer ul li:hover,
.newHoomHistoryConatainer ul li:hover {
  background-color: #f4f5f8;
}

.roomHistoryConatainer_selected .check {
  display: block !important;
  position: relative;
  right: 0.354rem;
  color: #55c0a0;
}

/* .roomHistorySelect2Content .select2-dropdown,
.newRoomSelect2Content .select2-dropdown {
  width: 308px !important;
  border: none;
  background-color: #F9FAFC;
} */

/* #responseModal .modal-content{
  border: 3px solid #DBE5ED;
  border-radius: 20px;
}

#responseModal .modal-header{
  border-bottom: 3px solid #DBE5ED;
} */

/* .select2-container--bootstrap4 .select2-results > .select2-results__options {
  max-height: 30em;
  overflow-y: auto;
} */

.bot-message-icon {
  width: fit-content;
  /* padding: 0px 12px; */
  /* background: #5facffbd; */
  /* background: #34dbaabd; */
  /* background: #55C0A0; */
  /* color: #313131; */
  color: #fff;
}

.bot-message-icon span,
.user-message-icon span {
  display: inline-flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #f9fafc;
}

.user-message-icon {
  border: none;
  width: fit-content;
  padding: 0px 10px;
  /* background: #2A3847; */
  /* height: 24px; */
  font-size: 13px;
}

.user-message-icon {
  width: fit-content;
  padding: 0px 12px 0px 0px;
  /* background-color: #3498db52; */
  /* background-color: #34d5dbbd; */
  /* color: #313131; */
  color: #fff;
}

.user-message-icon .icon {
  width: 26px;
  height: 26px;
  /* background: #7b99ff; */
  /* background: #7be7ff; */
  background: #6a5acd;
  padding: 3px 11px;
  border-radius: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-message-icon .text {
  height: 26px;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  vertical-align: middle;
}

.user-message-icon .text,
.bot-message-icon .text {
  color: #212121;
  font-size: 11px;
  font-weight: 600;
}

.user-message-timestamp,
.bot-message-timestamp {
  font-size: 10px;
}

.bot-message-icon .icons {
  width: 24px;
  height: 24px;
  /* display: flex;
  justify-content: center; */
  align-items: center;
  background: #55c0a0;
  border-radius: 100%;
  text-align: center;
}

.bot-message-text p {
  margin: 0;
}

/* For Source details */

.source-collapseable {
  margin-top: 1rem;
  color: rgb(42, 56, 71);
  background-color: rgb(255, 255, 255);
  /* padding: 15px 20px; */
  /* border-radius: 0px 0px 10px 10px; */
}

.source-collapseable {
  max-width: 100%;
  overflow-x: hidden;
}

.source-collapseable ul {
  padding-left: 20px;
}

.source-collapseable ul li {
  word-break: break-word;
}

.source-collapseable ul li a {
  word-break: break-all;
}

.source-collapseable-icon i {
  color: #afbbc6;
}

.tooltip {
  z-index: 99999;
}

.roomHistoryDeleteConatainer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  /* background-color: #FFF; */
  /* color: crimson; */
  gap: 2px;
  z-index: 99999;
}

.roomHistoryDeleteConatainer .trash-icon {
  z-index: inherit;
  cursor: pointer;
  width: 30px;
  height: 31.5px;
  transition: all ease-in-out 160ms;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  vertical-align: middle;
}

.roomHistoryDeleteConatainer .trash-icon:hover {
  transform: scale(1.1);
}

.roomHistoryDeleteConatainer .selected-option {
  opacity: 0;
}

.element-hidden {
  opacity: 0;
}

.element-show {
  opacity: 1;
}

#roomHistoryBtn {
  cursor: pointer;
}

#roomHistoryBtn i {
  padding-left: 0.385rem;
}

#roomHistoryBtn {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* For Tooltip */
.tooltip-inner {
  background-color: var(--bs-tooltip-bg);
}
.search {
  margin-bottom: 0.5rem;
}
