/* engine type bot design changes start */
.chatbot-content-inner {
  position: relative !important;
}

.custom-opt-selected .chat-main-cnt,
.custom-opt-selected .chat-input-cnt {
  display: flex !important;
}

.engine-opt-selected .chat-main-cnt,
.engine-opt-selected .chat-input-cnt {
  display: none !important;
}

.chatbot-content-inner .engine-models {
  display: block !important;
}

.chatbot-content-inner .engine-models-loading {
  display: none !important;
}

.chatbot-content-inner.hbloading .engine-models-loading {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-content-inner .hb-common-chatbot .ChatScreen {
  position: absolute !important;
  z-index: 5 !important;
}

.chatbot-content-inner .hb-common-chatbot .ChatScreen .hbchat-side-panel {
  display: none !important;
}

.chatbot-content-inner
  .hb-common-chatbot
  .ChatScreen
  .hbchat-right-panel
  .hbchat-chat-box-top {
  left: 0 !important;
  position: relative !important;
}

.chatbot-content-inner .hb-common-chatbot .ChatScreen .hbchat-chat-sec {
  margin-top: 10px !important;
  margin-bottom: 60px !important;
}

/* .custom-opt-selected .connect-btn {
  display: block;
}
.engine-opt-selected .connect-btn {
  display: none;
} */
.hb-chatbot-page .chatbot-content-panel .chatbot-content-inner {
  height: 100vh;
  padding: 0;
  max-width: 100%;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  .search-result-content {
  width: calc(100% - 50px) !important;
}

/* engine type bot design changes end */
/* designer changes start */
.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  .search-result-content
  .conversation-cnt
  ul
  li.user-side {
  margin-left: auto;
  background: #171717;
  padding: 10px 20px;
  border-radius: 20px;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  .search-result-content
  .conversation-cnt
  ul
  li.user-side
  p {
  margin: 0;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  .search-result-content
  .conversation-cnt
  ul
  li.user-side
  .profile-pic {
  display: none;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  .search-result-content
  .conversation-cnt
  ul
  li.user-side
  .user-statement {
  width: calc(100% - 0px);
}

.hb-chatbot-page .chatbot-content-panel .chatbot-content-inner .chat-input-cnt {
  width: calc(100% - 50px);
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner
  .chat-input-cnt
  .input-wrapper {
  border: 0px solid #fff;
  border-radius: 15px;
  background: #fff;
  padding: 0px 20px;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner
  .chat-input-cnt
  .input-wrapper
  .side-btn
  a {
  background: #fff;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner
  .chat-input-cnt
  .input-wrapper
  input {
  background: #fff;
  color: #000;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner
  .chat-input-cnt
  .input-wrapper
  .side-btn
  a:hover {
  background: #fff;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  .search-result-content
  .conversation-cnt
  ul
  li.system-side {
  background: transparent;
  border-radius: 0;
  border: 0;
  padding: 0;
}

.hb-chatbot-page {
  background: #131314;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  .search-result-content
  .conversation-cnt
  ul
  li.user-side
  .chat-title {
  display: none;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  .search-result-content
  .conversation-cnt
  ul
  li
  .profile-pic {
  border: 1px solid #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  h1 {
  margin: 25px 10px;
  font-size: 1.145rem;
  font-weight: 400;
  margin-top: 10px !important;
}

.connect-btn {
  top: 20px;
  z-index: 6;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  .search-result-content
  .conversation-cnt
  ul
  li.system-side
  .system-response-cnt
  .chat-title {
  display: none;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  .search-result-content
  .conversation-cnt
  ul
  li
  p {
  margin: 8px 0 10px;
}

.feedback-button label,
.feedback-button .radio_group label {
  background: transparent;
}

.feedback-button {
  gap: 0;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner
  .chat-main-cnt
  .predefined-suggestion-blocks
  ul {
  background: transparent;
  border-radius: 0;
  box-shadow: inherit;
  gap: 14px;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner
  .chat-main-cnt
  .predefined-suggestion-blocks
  h3 {
  display: none;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner
  .chat-main-cnt
  .predefined-suggestion-blocks
  ul
  li {
  border-radius: 42px;
  width: auto;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner
  .chat-main-cnt
  .predefined-suggestion-blocks
  ul
  li
  .suggestion-question {
  background: transparent;
  padding: 10px 25px;
  border-radius: 42px;
  border: 1px solid #fff;
}

.hb-chatbot-page .chatbot-content-panel .chatbot-content-inner .chat-main-cnt {
  position: relative;
  padding: 0px;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner
  .chat-main-cnt
  .predefined-suggestion-blocks {
  width: 100%;
  padding: 0;
  margin: auto;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner
  .chat-main-cnt
  .predefined-suggestion-blocks
  ul
  li
  .suggestion-question:hover {
  background: #e3e3e3;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner
  .chat-main-cnt
  .predefined-suggestion-blocks
  ul
  li
  .suggestion-question:hover
  a {
  text-decoration: none;
  color: #000;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  .search-result-content
  .conversation-cnt
  ul
  li
  .system-response-cnt
  .response-details
  .search-table-wrapper {
  background: #181d1f;
  padding: 0;
  border-radius: 0;
  border: 1px solid #68686e;
  margin-top: 30px;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  .search-result-content
  .conversation-cnt
  ul
  li
  .system-response-cnt
  .response-details
  .search-table-wrapper
  .table-scroll-cnt
  table.search-content-table
  td {
  background: #181d1f;
  border-bottom: 1px solid #68686e;
  padding: 8px;
  font-size: 14px;
}

.hb-chatbot-page
  .chatbot-content-panel
  .chatbot-content-inner.search-result-wrapper
  .chat-main-cnt
  .search-result-content
  .conversation-cnt
  ul
  li
  .system-response-cnt
  .response-details
  .search-table-wrapper
  .table-scroll-cnt
  table.search-content-table
  th {
  padding: 8px;
  background: #222628;
  border-bottom: 1px solid #68686e;
  font-weight: 500 !important;
}

.hb-chatbot-page .chatbot-sidepanel .mode-list a.add-custom-topic.btn {
  padding: 4px !important;
}

.leftpanel-menu {
  top: 14px;
  left: 14px;
}

.hb-common-chatbot .hbchat-chat-sec {
  height: calc(100vh - 190px);
}

.hb-common-chatbot .ChatScreen .hbchat-chat-footer {
  bottom: 30px !important;
}

.ag-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: row !important;
  min-height: 0;
  max-height: 320px;
  overflow-y: auto;
}

.hb-common-chatbot .hbchat-chip-card ul li {
  border-radius: 12px;
}

/*
.hb-common-chatbot .hbchat-chip-card ul li{border-radius: 12px;
  min-width: 470px;
  width: auto;
  border: 1px solid #3B3B3B;
  color: var(--chatHeadingTitle);
  box-sizing: border-box;
  border-radius: 6px;
  height: auto;
  cursor: pointer;
  margin-bottom: 20px;
  padding: 14px 20px;
  margin: 0 20px 20px 0;
  max-width: 470px;
  display: flex;
  align-items: center;
  min-height: 70px;
}
*/
/* designer changes end */
.chart-dropdown-list {
  border: 1px solid #fff;
}

.chart-dropdown-list div button {
  display: inline-block;
}

.chart-dropdown-list div div:first-child button {
  border-radius: 6px 6px 0 0 !important;
}

.chart-dropdown-list div div:last-child button {
  border-radius: 0 0 6px 6px !important;
}

.Header_shake-icon,
.mob-show-icon {
  display: none;
}

.Header_shake-notification,
.mob-hide-icon {
  display: inline-block;
}

.hb-chatbot-page .chatbot-sidepanel .mode-list .refresh {
  top: 0;
  right: 0;
}

@media screen and (min-width: 300px) and (max-width: 800px) {
  .chatbot-sidepanel {
    transform: translateX(-100%);
  }

  .chatbot-sidepanel.show {
    width: 80%;
    display: block;
    transform: translateX(0%);
  }

  .mobile-wrap {
    position: fixed;
    left: 0;
    right: 0;
    height: 100vh;
    top: 0;
    z-index: 10;
    display: none;
  }

  .mobile-wrap.show {
    display: block;
    background-color: #00000082;
    transition: width 2s infinite;
  }

  .hb-chatbot-page .chatbot-sidepanel .mode-list a.add-custom-topic.btn {
    padding: 4px !important;
    position: fixed;
    bottom: 46px;
    width: 239px;
  }

  .hb-chatbot-page .chatbot-sidepanel .mode-list ul {
    margin: 0 20px;
  }

  .hb-chatbot-page .chatbot-sidepanel .mode-list ul li a .topic-title {
    font-size: 20px;
    padding-right: 0;
  }

  .chatbot-sidepanel {
    box-shadow: none;
  }

  .modal .modal-container {
    width: 90%;
    max-width: 600px;
  }

  .modal .modal-container .modal-content .btn.btn-secondary.close {
    line-height: 40px;
  }
}

.hb-common-chatbot .hbchat-profile-pic.cs-logo img {
  /* max-width: 200px !important; */
  display: none !important;
}

.hb-common-chatbot .hbchat-chip-card,
.hb-common-chatbot .hbchat-right-panel,
.hb-common-chatbot .hbchat-chat-data,
.hb-common-chatbot .hbchat-chat-user-box {
  max-width: 100% !important;
}

/* .hbchat-question-icon {
  display: none !important;
} */
@media screen and (max-width: 767px) {
  .hb-common-chatbot .hbchat-chip-card ul li {
    border-radius: 15px !important;
  }

  .hb-common-chatbot .hbchat-profile-pic {
    width: 100% !important;
  }

  .datums-bot .hbchat-profile-pic svg {
    width: 140px !important;
    display: table !important;
    margin: 0 auto !important;
  }

  .Header_shake-icon,
  .mob-show-icon {
    display: block !important;
  }

  .Header_shake-notification,
  .mob-hide-icon {
    display: none !important;
  }

  .connect-btn {
    top: 15px !important;
  }

  .hb-common-chatbot .hbchat-chat-sec {
    height: calc(100vh - 160px) !important;
    margin-top: 70px !important;
  }

  .hb-common-chatbot .hbchat-msg-send {
    width: calc(100% - 0px) !important;
    margin: 0px auto !important;
    border-radius: 0 !important;
  }

  .hb-common-chatbot .hbchat-cmn-que p {
    font-size: 14px !important;
  }

  .hbchat-chat-poweby {
    display: none !important;
  }

  .hb-common-chatbot .ChatScreen .hbchat-chat-footer {
    bottom: 0px !important;
    position: fixed !important;
    z-index: 1000 !important;
  }

  .chatbot-content-inner
    .hb-common-chatbot
    .ChatScreen
    .hbchat-right-panel
    .hbchat-chat-box-top {
    left: 0 !important;
    position: fixed !important;
    background: #131314 !important;
    z-index: 1000 !important;
  }

  .chatbot-content-inner .hb-common-chatbot .ChatScreen .hbchat-chat-sec {
    margin-top: 100px !important;
    margin-bottom: 0px !important;
  }

  .hb-chatbot-page .chatbot-sidepanel .mode-list a.add-custom-topic.btn {
    display: none !important;
  }

  .hb-common-chatbot .hbchat-chip-card ul li:last-child {
    margin-right: 15px !important;
  }

  .hb-common-chatbot .hbchat-profile-pic h4 {
    margin: 0;
  }

  .hb-app-title {
    display: block !important;
  }

  .hb-common-chatbot .hbchat-profile-pic.cs-logo h4 {
    justify-content: center;
  }

  .hb-common-chatbot .hb-chat-generated-query pre {
    white-space: normal !important;
    word-break: break-all;
  }

  .hb-common-chatbot .hbchat-chip-card {
    max-width: 100% !important;
  }

  .hbchat-question-icon svg {
    display: none !important;
  }

  .hb-common-chatbot .hbchat-right-panel,
  .hb-common-chatbot .hbchat-chat-data {
    max-width: 100% !important;
  }
}

.hb-app-title {
  display: none !important;
  text-align: center;
  font-family: "gilroymedium" !important;
  font-weight: 500 !important;
  font-size: 20px;
}

.last-que-btn {
  display: none !important;
}

.hb-common-chatbot .hbchat-chat-sec img {
  margin: 0 auto !important;
}

.chatbot-content-inner .msg-section-circle {
  align-self: baseline;
  background: #030015;
  border: 1px solid #413a44;
}

.hb-chatbot-page .chatbot-sidepanel .brand-cnt {
  padding: 20px 30px 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hb-chatbot-page .chatbot-sidepanel .brand-cnt img {
  /* max-width: 150px; */
  max-height: 40px;
  max-width: 100%;
}

.hb-chatbot-page .chatbot-sidepanel .mode-list {
  height: calc(100vh - 150px);
  margin: 0;
}

.leftpanel-menu a.show-close-panel {
  display: block;
  padding-top: 5px;
  border: none;
  cursor: pointer;
}

.leftpanel-menu a.show-panel {
  display: block;
  padding-top: 5px;
  border: none;
  cursor: pointer;
  background: none;
}

.leftpanel-menu a.show-close-panel.opened {
  display: none;
}

.hb-common-chatbot .hbchat-msg-send {
  max-width: 94% !important;
}

.leftpanel-menu a.close-panel {
  display: none;
}

.hb-chatbot-page .chatbot-content-panel {
  width: 100%;
}

.hb-common-chatbot .hbchat-buttons button.send-btn {
  background-color: transparent !important;
}

.leftpanel-menu a.show-panel {
  background: transparent !important;
}

.hb-chatbot-page .chatbot-sidepanel .mode-list ul li a .topic-title {
  padding-right: 0 !important;
}

.hb-common-chatbot .hbchat-chat-sec .loader-en.cs-logo {
  .loader-svg {
    padding: 0;
    width: 0;
  }
  img {
    padding: 9px;
    background: #030015;
    border: 1px solid #413a44;
    width: 53px;
    height: 53px;
    border-radius: 50%;
    line-height: 53px;
    height: auto;
    width: 26px;
  }
}

.loader-margin {
  margin-top: -64px;
  margin-left: 75px !important;
}

.hb-chatbot-page .chatbot-sidepanel .mode-list ul li a .option-desc {
  font-size: 16px !important;
}

.msg-actions .actn-btns,
.chart-dropdown-list.iccon button {
  min-height: inherit !important;
}

.chart-dropdown-list {
  box-shadow: inherit !important;
}

.hb-common-chatbot .hbchat-chat-sec img {
  margin-right: 0;
  max-width: inherit;
  max-height: inherit;
  height: auto;
  width: 26px;
}

/*---csv popup css start--*/
.modal .modal-container {
  margin: 0 auto;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  right: 0;
  background: #212121;
  border: 1px solid #3b3b3b;
  border-radius: 6px;
  padding: 30px;
}

.modal-footer {
  margin-bottom: 0;
}

.modal-header,
.modal-content {
  padding: 0;
}

.modal-header {
  height: 40px;
  margin-bottom: 10px;
}

.modal-footer-lt {
  float: left;
}

.modal-footer-rt {
  float: right;
}

.modal-container .upload-help-text {
  padding: 10px 0 0px 0;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.modal-container .upload-cnt {
  border: 1px dashed #3b3b3b !important;
  background: #171717 !important;
  border-radius: 6px !important;
  height: 160px !important;
  text-align: center;
  margin-bottom: 6px !important;
}

.upload-icon em {
  display: block;
  color: #fff;
  font-style: normal;
}

.upload-icon {
  opacity: 1;
}

.btn-text {
  color: #fff !important;
}

.modal {
  background: #00000099;
  width: auto;
  /* left:301px;    */
}

.modal .modal-container .modal-content a {
  color: #fff;
}

.modal .modal-container .modal-content a:hover {
  text-decoration: none;
}

.modal-footer button,
.btn-text {
  min-width: 160px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  border-radius: 6px !important;
  font-size: 18px;
  font-weight: 500;
}

.btn-primary:hover {
  background: transparent;
}

.modal-header h3 {
  font-size: 18px;
  font-size: 600;
  color: #fff;
}

.modal-container .form-group .form-control {
  background: #171717;
  padding: 0 20px;
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
}

.modal-header a.close {
  background: transparent;
  width: 40px;
  height: 40px;
  padding: 0;
  position: absolute;
  top: 30px;
  right: 30px;
}

.upload-type-file {
  color: #3b3b3b;
  font-size: 14px;
  font-size: 500;
}

/*---csv popup css end--*/
.modal-container .form-group .form-control {
  padding: 5px 15px 5px 10px;
}

.modal-container .form-group textarea.form-control {
  min-height: 60px;
}

&::-webkit-input-placeholder {
  font-family: "gilroymedium";
}

&::-moz-placeholder {
  font-family: "gilroymedium";
}

&:-ms-input-placeholder {
  font-family: "gilroymedium";
}

&:-moz-placeholder {
  font-family: "gilroymedium";
}

.hb-chatbot-page .chatbot-sidepanel .mode-list a.add-custom-topic.btn {
  flex-direction: row;
  padding: 5px 10px !important;
  display: flex;
  width: 85%;
  margin: auto;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}

.hb-chatbot-page .chatbot-sidepanel .mode-list a.add-custom-topic.btn svg {
  margin-right: 10px;
}

.btn-primary.add-custom-topic:hover {
  color: inherit !important;
}

.progress-inside-bar {
  display: block;
  width: 60%;
  height: 30px;
  background: #848484;
  margin: 0 auto;
  position: relative;
}

.progress-bar .txt {
  width: 60%;
  margin-top: 10px;
  text-align: center;
}

.progress-bar .txt span {
  font-size: 24px;
}

.progress-outside-bar {
  display: block;
  height: 30px;
  background: #458964;
  margin: 0 auto;
  position: absolute;
}

.upload-type-file {
  color: inherit;
  font-size: 14px;
  font-size: 500;
  padding-left: 0px;
  margin-bottom: 0;
  max-height: 135px;
  overflow: auto;
}

.upload-type-file li {
  list-style-type: none;
  /* border: 1px solid; */
  margin-bottom: 5px;
  padding: 5px 20px;
  border-radius: 6px;
  display: flex;
  background: #171717;
  width: calc(100% - 50px);
  overflow: hidden;
  align-items: center;
}

.upload-type-file li .remove-csvf {
  cursor: pointer;
}

.upload-type-file li span {
  display: inline-block;
  width: calc(90% - 15px);
  margin-left: 15px;
}

.upload-type-file li span p {
  margin: 0;
  font-size: 16px;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-type-file li span em {
  font-style: normal;
  font-size: 10px;
  color: #999999;
}

.progress-bar {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
  display: flex;
  align-items: end;
  justify-content: center;
  background: #2f2f2f;
}

.refresh-loader {
  width: 100%;
  /* height: 50%; */
  position: absolute;
  left: 0;
  top: calc(50% - 100px);
  z-index: 9;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  background: #2f2f2f;
  filter: opacity(0.9);
  flex-direction: column;
}

/* #upload-form .loader-wrapper{
  width: 80%;
  padding: 0 10%;
} */
.modal-container .form-group .form-control {
  margin-bottom: 10px;
}

.modal-container .upload-cnt + span {
  color: #5c5c5c;
  font-size: 14px;
}

.modal-left {
  left: 301px;
}

.disable-click {
  pointer-events: none;
  opacity: 0;
}

.enable-side-panel .hbchat-right-panel {
  width: 100% !important;
}

.progress-outside-bar-fail {
  display: block;
  height: 30px;
  background: #8d251e;
  margin: 0 auto;
  position: absolute;
}

.dashboard-block {
  padding: 0 5px;
}
.dashboard-frame {
  width: 100%;
  height: calc(100vh - 75px);
  border: 0;
}
.chatbot-icon {
  position: absolute;
  bottom: 5px;
  right: 15px;
  z-index: 10;
}
.tab-container {
  display: inline-flex;
  background-color: #2b2b2b;
  margin-right: 10px;
}
.tab-container .tab {
  border: none;
  outline: none;
  background: transparent;
  color: #777;
  font-size: var(--font16);
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: auto;
  min-width: 120px;
}
.tab-container .tab.active {
  background-color: #3a3a3a;
  color: #fff;
}
.tab-container .tab:hover:not(.active) {
  color: #ccc;
}
.title-block {
  position: fixed;
  left: 315px;
  top: 25px;
  z-index: 10;
  font-size: 18px;
  color: #fff;
}
.sidebar-collapse .title-block {
  left: 60px;
  top: 22px;
}

/* Modal styles */
.modall {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
  overflow: auto;
}

.modall-content {
  color: white;
  padding: 20px;
  width: 400px;
  margin: 15% auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.download-btn {
  background-color: #4caf50; /* Green */
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
}

.download-btn:hover {
  background-color: #45a049;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Loader container */
.loader-dashboard {
  position: absolute;
  top: 70px;
  width: 100%;
  height: calc(100vh - 70px);
  background-color: #131314;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Spinner element */
.loader-dashboard .spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-dashboard .spinner-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0.5;
  height: 100%;
  position: fixed;
  width: 100%;

  .donut {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;

    &::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      border: 0.3rem solid rgba(151, 159, 208, 0.3);
      border-top-color: #979fd0;
      -webkit-animation: 1.5s spin infinite linear;
      animation: 1.5s spin infinite linear;
    }
  }
}

/* Spin animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Base styles for the popover (Dark Theme) */
.custom-popover {
  display: none;
  position: absolute; 
  z-index: 1060;
  width: 280px; 
  background-color: #2c2c2c; 
  color: white; 
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
  margin-top: 8px; 
}


.popover-body {
  padding: 15px; 
  border-bottom: 1px solid #444; 
  line-height: 1.4;
}

.popover-footer {
    padding: 10px 15px 15px; 
    text-align: center; 
}

/* Styling for the Download Button */
.download-button {
    width: 100%;
    padding: 10px 15px;
    background-color: #007bff; 
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.download-button:hover {
    background-color: #0056b3;
}

/* CSS for the Arrow (Triangle) - Adjusted for Dark Theme */
.popover-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent #2c2c2c transparent; 
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}
.custom-popover::before { /* Border of the arrow */
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 11px 11px 11px;
    border-color: transparent transparent rgba(255, 255, 255, 0.1) transparent; 
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.info-icon-block {
  margin: 5px;
  margin-left: 10px;
}

.hb-chatbot-page .chatbot-sidepanel .mode-list ul li a .option-sec {
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hb-chatbot-page .chatbot-sidepanel .mode-list ul li:last-child {
  margin-bottom: 0px;
}

