@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
:root {
  --bs-primary: #ffffff;
  --bs-secondary: #6c757d;
  --bs-info: #17a2b8;
}

._dash-loading {
  margin: auto;
  color: transparent;
  width: 100vw;
  height: 100vh;
  text-align: center;
  position: absolute;
  top: 30vh;
  left: 0;
}

._dash-loading::after {
  content: "";
  display: block;
  width: 30vw;
  height: auto;
  aspect-ratio: 16 / 9;
  background: url(/assets/tursio_loader.gif) center center / cover no-repeat;
  margin: 0 auto;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  color: #424242 !important;
  background-color: #ffffff !important;
  overflow: auto !important;
}

.string-list-item {
  margin-bottom: 0.5em !important;
}

* {
  scrollbar-width: none !important;
  font-family: "Open Sans" !important;
  line-height: 25px;
  caret-color: #0d6efd !important;
}

*::-webkit-scrollbar {
  display: none;
}

.modal {
  z-index: 12001;
}

.modal-backdrop {
  z-index: 12000;
}

.modal-footer {
  border-top: none;
}

.radio-button {
  height: 3.5em;
  text-align: center;
  padding: 0.2em 1.4em;
  white-space: 0;
  display: flex;
  margin: 1px;
  align-items: center;
  justify-content: center;
  border-color: #64645e;
  color: #000;
  font-weight: 600;
  overflow-x: scroll;
}

.sidebar-open .toggle-button-container {
  display: flex;
  height: 3rem;
  width: 13rem;
  position: relative;
  align-items: center;
  justify-content: flex-end;
}

.sidebar-close .toggle-button-container {
  display: flex;
  width: fit-content;
  position: absolute;
  bottom: 4rem;
  justify-content: center;
  margin: 10px auto;
  align-items: center;
}

.btn-outline-primary {
  --bs-btn-color: #64645e;
  margin: 1px;
  --bs-btn-border-color: #64645e;
  --bs-btn-hover-color: #64645e;
  --bs-btn-hover-bg: #64645e;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #64645e;
  --bs-btn-active-border-color: #0d6efd;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #0d6efd;
  --bs-gradient: none;
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
  color: #fff;
  background-color: #64645e;
  border-color: #64645e;
  font-weight: 600;
}

.btn-check:disabled + .btn,
.btn-check[disabled] + .btn {
  opacity: 0.45;
  font-weight: 400;
}

.custom-datalist {
  height: 100px !important;
  max-height: 200px !important;
  overflow-y: "scroll";
  background-color: "#eeeeee" !important;
  color: #616161 !important;
}

.container {
  background-color: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: auto;
  box-sizing: border-box;
}

.card {
  background-color: transparent;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  border: none;
}

.card-body {
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.img {
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.sidebar-open .img {
  margin: 0 16px 0 0;
}

.sidebar-open .img-20 {
  width: 20px;
  height: 20px;
  justify-content: center;
  align-items: center;
  margin: 0 16px 0 0;
}

.sidebar-close .img-20 {
  width: 20px;
  height: 20px;
  justify-content: center;
  align-items: center;
  margin: 16px;
}

.circle-btn {
  border-radius: 50% !important;
  width: 32px;
  height: 32px;
  padding: 0;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 15px;
  top: 50%;
  background-color: none;
  transform: translate(20%, -50%);
}

.circle-btn-nav {
  border-radius: 50% !important;
  width: 10px;
  height: 10px;
  padding: 0;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translate(20%, -70%);
}

.search-mode-tabs {
  display: flex !important;
  flex-direction: row !important;
  border-radius: 12px !important;
}

/* Hide all radio inputs in the tabs */
.search-mode-tabs input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

/* Style all the custom radio labels like tabs */
.search-mode-tabs label {
  padding: 2px 10px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 12px;
  color: #7a807e;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  user-select: none;
}

.tooltip-container:has(.react-select__menu) .tooltiptext {
  visibility: hidden !important;
}

/* Style for active tab (when radio is checked) */
.search-mode-tabs label:has(input[type="radio"]:checked) {
  background-color: #ffffff !important;
  transition: left 0.25s ease;
  color: #0c6efd;
  /* if you also want to change the text color */
  border: 1px solid #0c6efd;
  /* optional: highlight the selected tab */
}

/* Container for the tab label with icon */
.tab-label-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.search-mode-tabs label:has(input[type="radio"]:checked) .tab-icon {
  filter: invert(23%) sepia(87%) saturate(4300%) hue-rotate(208deg)
    brightness(92%) contrast(101%);
}

/* Icon in the tab */
.tab-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  filter: invert(53%) sepia(5%) saturate(266%) hue-rotate(159deg)
    brightness(92%) contrast(86%);
}

/* Fix for Dash RadioItems specific structure */
.search-mode-tabs .dash-radio-items {
  display: flex;
  width: 100%;
}

/* Make each radio item container a flex item */
.search-mode-tabs .radio-item {
  display: flex;
  align-items: center;
}

.input-group .model-dropdown-container {
  z-index: 1002;
  width: 32px;
  height: 32px;
  background-color: transparent;
  border: none;
  position: absolute;
  right: 3.6em;
  bottom: 0.5em;
}

.tooltip {
  z-index: 20000 !important;
  background-color: #424242 !important;
  --bs-tooltip-bg: #424242 !important;
  font-size: 12px !important;
  margin: 0.5rem !important;
}

.model-dropdown-alias {
  z-index: 1001;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  background-color: transparent;
  border-radius: 8px !important;
  position: absolute;
  right: 3.6em;
  bottom: 0.7em;
}

/* .input-group:has(.smart-dropdown:hover) */
/* .model-dropdown-alias:hover{
    z-index: 1001;
    width: 32px;
    height: 32px;
    background-color: #efefef !important;
    border-radius: 8px !important;
    position: absolute;
    right: 3.6em;
    bottom: 0.5em;
} */

.body:has(.smart-dropdown-collapsible-open) .modal-tip {
  display: none !important;
}

.input-group .smart-dropdown .option-label {
  color: #424242;
  font-size: 0.8em;
  font-weight: 500;
}

.input-group .smart-dropdown .react-select__menu {
  width: 203px;
}

.input-group .smart-dropdown img {
  width: 24px;
}

.nlp-web-button img {
  width: 19px;
}

.nlp-web-button {
  background-color: transparent !important;
  padding: 0;
  text-align: center !important;
}

.nlp-web-button:hover {
  background-color: #efefef !important;
  border-radius: 8px !important;
  padding: 0;
}

body:has(.ctx-applied) .nlp-web-button {
  background-color: #d3e2ff !important;
  border-radius: 8px !important;
}

body:has(.ctx-applied) .nlp-web-button img {
  filter: invert(23%) sepia(87%) saturate(4300%) hue-rotate(208deg)
    brightness(92%) contrast(101%);
}

.tab-label a {
  padding: 0.3em;
  color: #7a807e;
  font-size: 0.6em;
}

p {
  margin: 0;
  color: #424242;
  font-weight: 500;
  line-height: 1.75;
}

.collapsible-details p {
  color: #0d6efd;
}

.alert {
  font-size: small;
}

.custom-input {
  background-color: #eeeeee;
  color: #424242;
  padding: 0;
  border: none;
  display: flex;
}

.nlp-result {
  width: 100% !important;
  align-self: start;
  margin-bottom: 5rem;
}

.mobile-nlp-result {
  width: 100% !important;
  align-self: start;
  padding-left: 6% !important;
  padding-right: 6% !important;
}

#mobile-nlp-form {
  overflow-y: scroll;
  position: absolute;
}

.custom-input .Select-placeholder::before,
.custom-input .Select-value-label::before {
  content: url("/assets/db_icon.svg");
  margin-right: 8px;
}

.custom-input::placeholder {
  color: #64645e;
}

.dropdown-mobile {
  content: "▼";
  border: none;
  border-bottom: 2px solid black;
  border-radius: 0;
  margin-top: 10px;
  font-size: 16px;
}

/* Custom styles for the tabs */
.custom-tabs .nav-item.show .nav-link,
.custom-tabs .nav-link.active {
  color: #424242;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
  font-weight: bold;
  border-width: 0 0 3px 0;
  border-bottom-color: black;
}

.tab-outline {
  --bs-btn-color: #fff;
  margin: 1px;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #0d6efd;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #0d6efd;
  --bs-gradient: none;
  appearance: none;
}

.tab-check:checked + .tab,
.tab.active,
.tab.show,
.tab:first-child:active,
:not(.btn-check) + .tab:active {
  color: #424242;
  background-color: #fff;
  border: none;
  border-bottom: 2px solid black;
}

.custom-tabs .nav-link {
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  color: #424242;
}

.custom-tabs .nav-link.disabled {
  color: #6c757d;
}

.custom-input:focus {
  background-color: #eeeeee;
  color: #64645e;
  outline: none;
  box-shadow: none;
}

.upward-collapse-menu {
  position: absolute;
  bottom: 100%;
  width: 100%;
}

.sidebar-footer {
  margin-top: auto;
  position: relative;
}

.sidebar {
  display: flex !important;
  justify-content: start;
  align-items: start;
  background-color: #f6f8fa;
  padding: 16px;
}

.sidebar-close .sidebar {
  align-items: center;
}

.sidebar-open {
  height: 100vh;
  width: 15rem;
  padding: 0;
  margin: 0;
  transition: width 0.2s;
}

.sidebar-close {
  height: 100vh;
  width: 5.6rem;
  padding: 0;
  margin: 0;
  transition: width 0.15s;
}

.sidebar-close .logo {
  display: none;
}

.sidebar-close .collapse-logo {
  height: 3rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 1;
}

.sidebar-close .dataset-container {
  display: none;
}

.sidebar-open .logo {
  height: 3rem;
  background-size: contain;
  background-repeat: no-repeat;
  aspect-ratio: 3001/865;
}

.sidebar-open .collapse-logo {
  display: none;
}

.sidebar-open #sidebar-toggle {
  background-image: url("sidebar_close.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.sidebar-close #sidebar-toggle {
  background-image: url("sidebar_open.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.sidebar-close .nav_item p {
  display: none;
}

.sidebar-close #home-toggle {
  display: flex;
  justify-content: center;
}

.sidebar-close #setting-toggle {
  display: flex;
  justify-content: center;
}

.sidebar-close #user-toggle {
  display: flex;
  justify-content: center;
}

.sidebar-close #admin-toggle {
  display: flex;
  justify-content: center;
}

.sidebar-close #admin-collapse .nav_item {
  display: flex;
  justify-content: center;
}

.sidebar-close #admin-collapse {
  background: #cecece;
  margin: 0 10px 0 10px;
  border-radius: 10px;
}

.sidebar-close #sidebar-collapse-notch {
  display: flex;
  justify-content: center;
}

#sidebar-collapse-notch {
  display: none;
}

.sidebar-close #login-button span {
  display: none;
}

.sidebar-close #login-button img {
  margin-right: 13px;
}

.sidebar-close #logout-button img {
  margin-left: 13px;
}

.sidebar-close #login-button {
  display: flex;
  justify-content: center;
}

.sidebar-close #logout-button {
  display: flex;
  justify-content: center;
}

.sidebar-close #logout-button span {
  display: none;
  justify-content: center;
}

.sidebar-close .user-information {
  width: 57.6px !important;
  display: flex;
  justify-content: center;
}

.sidebar-open .user-information {
  width: 209px !important;
  display: flex;
  justify-content: center;
}

.sidebar-open .logo-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  margin: 0;
}

.sidebar-close .logo-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.sidebar-open .dataset-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 16px 0;
  margin: 0;
}

.sidebar-close .dataset-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0 16px 0;
  margin: 0 auto;
}

#sidebar-toggle {
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

#sidebar-toggle:hover {
  background-color: rgba(0, 0, 0, 0.1);
  /* Optional hover effect */
}

.display-4 {
  color: #fff;
  width: 90%;
  height: auto;
}

.Select.has-value.Select--single
  > .Select-control
  .Select-value
  .Select-value-label,
.Select.has-value.is-pseudo-focused.Select--single
  > .Select-control
  .Select-value
  .Select-value-label {
  color: #64645e !important;
  font-size: medium;
}

.nav-pills .nav-link {
  margin: 0%;
  font-weight: 400;
  color: #424242 !important;
  vertical-align: middle;
  width: 100%;
  align-items: center;
  padding: 0rem;
}

.nav-pills .nav-link span {
  margin: 0%;
  font-weight: 400;
  color: #424242 !important;
  vertical-align: middle;
  width: 100%;
  align-items: center;
  padding: 0rem;
}

.sidebar-open .nav_item {
  padding: 12px !important;
  align-self: center !important;
  font-size: 1rem;
}

.sidebar-close .nav-pills .nav-link {
  justify-content: center;
}

.nav-link.active,
.nav-pills .nav-link.active {
  background-color: #d3e2ff;
  font-weight: 500;
  display: flex;
  width: 100%;
  flex-direction: row;
  vertical-align: middle;
  align-items: center;
  border-radius: 0.75rem;
  border: none;
}

.nav-pills .nav-link:hover {
  background-color: #e2e8f0;
  border-radius: 0.75rem;
}

.nav-link.active img {
  filter: invert(23%) sepia(87%) saturate(4300%) hue-rotate(208deg)
    brightness(92%) contrast(101%);
}

.nav-link.active,
.nav-pills .nav-link.active p {
  color: #0d6efd !important;
}

.nav-pills {
  width: 100%;
  gap: 2px;
}

.nav_item {
  display: flex;
  justify-content: start;
  vertical-align: middle;
  vertical-align: middle;
  align-items: center;
  user-select: none;
}

.username {
  width: 100%;
}

.btn-primary {
  --bs-btn-color: #64645e !important;
  --bs-btn-bg: #0d6efd;
  --bs-btn-border-color: #0d6efd;
  --bs-btn-hover-color: #64645e;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #0a58ca;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #0d6efd;
  --bs-btn-disabled-border-color: #0d6efd;
  text-align: start;
}

.login-button {
  padding-left: 10%;
}

datalist {
  position: absolute;
  width: calc(100% - 2px);
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-top: none;
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

datalist option {
  padding: 8px;
  cursor: pointer;
  background-color: white;
}

datalist option:hover {
  background-color: #f8f8f8;
}

.Select__menu {
  background-color: #fff;
}

.Select__menu-list {
  background-color: #fff;
}

.Select__option {
  color: #ffffff;
}

.Select__option--is-selected {
  background-color: #555555;
}

.Select__option--is-focused {
  background-color: #444444;
}

.col-auto {
  width: 100%;
}

.smart-answer-section-header {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  font-size: 16px !important;
  color: #0d6efd !important;
}

.nsewdrag {
  fill: white !important;
}

.white-during-load .nlp-result:not(:empty) {
  color: white !important;
}

.white-during-load #collapsible-header[style*="display: flex"] {
  color: white !important;
}

._dash-loading-callback,
._dash-loading,
.dash-spinner {
  z-index: 10000 !important;
  position: relative;
}

._dash-loading-callback::after {
  z-index: 9999 !important;
}

.dash-default-spinner > div {
  background-color: #d3e2ff !important;
  border-radius: 10px !important;
}

.smart-answer-section-content:has(.dash-default-spinner) {
  padding-top: 32px !important;
  padding-bottom: 32px;
}

.smart-answer-section-content:has(pre .dash-default-spinner) {
  padding-top: 0 !important;
  padding-bottom: 0;
}

.smart-answer-section-content:has(pre .dash-default-spinner) pre {
  padding-top: 32px !important;
  padding-bottom: 32px;
}

/* assets/style.css */
@media (max-width: 768px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background-color: #343a40;
    /* or any color that matches your theme */
    z-index: 1025;
    /* Ensures it is above most other content */
  }

  .navbar-toggler {
    display: block;
    /* Ensure the toggler is always visible on small screens */
  }

  .Select-control {
    border: none;
  }
}

.tooltip {
  position: absolute;
  z-index: 20000 !important;
  padding: 0% !important;
  background-color: white !important;
  text-align: start !important;
  opacity: 100;
}

.hint-button {
  background-color: #fff !important;
  text-align: start !important;
}

.hint-button:hover {
  background-color: #f2e6fe !important;
}

.highlighted-word-style:hover {
  background-color: #d3e2ff;
}

.custom-button {
  background-color: transparent;
  border: 1px solid #c0c0c0;
  margin: 0.2rem;
  color: #424242;
  width: 100%;
  text-align: start;
  border-radius: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.login-button-updated {
  background-color: #fff !important;
  &:active {
    border-color: #0a58ca !important;
    color: #424242 !important;
    font-weight: 500 !important;
  }
}

.license-submit-button {
  background-color: #0c6efd;
  color: #fff !important;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  padding: 0.5rem;
  font-weight: 500 !important;
}

.license-submit-button:disabled {
  background-color: #cbd5e1;
  color: #84898d;
  border: none;
}

#login-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  min-width: 600px;
}

#login-modal .modal-content {
  background-color: #e8e8e8;
}

#mobile-login-modal .modal-content {
  background-color: #e8e8e8;
}

.license-label {
  text-align: start;
  width: 100%;
}

.login-modal-img {
  width: 216px;
  margin-bottom: 1rem;
}

#login-option a,
#mobile-login-option a {
  text-decoration: none;
}

.or-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 16px 0;
}

.custom-button:hover {
  background-color: #f0f0f0;
  color: #424242;
}

.custom-button:active {
  background-color: #a0a0a0;
  color: #f0f0f0;
}

a.custom-button {
  text-decoration: none;
}

.page-button {
  background-color: #eee;
  border: none;
  color: #424242;
  width: fit-content;
  text-align: center;
  border-radius: 3rem;
  padding: 0.5rem 2rem;
  font-weight: 500;
}

.input-placeholder::placeholder {
  color: #6c757d !important;
  opacity: 1;
}

.input-placeholder .Select-placeholder {
  color: #6c757d !important;
}

.page-button:hover {
  background-color: #202020;
  color: #eee;
}

.page-button:active {
  background-color: #a0a0a0;
  color: #f0f0f0;
}

.page-button:disabled {
  background-color: #424242;
  color: #eee;
}

a.page-button {
  text-decoration: none;
}

.page-submit-button {
  background-color: #2684ff;
  border: none;
  color: #fff;
  width: fit-content;
  text-align: center;
  border-radius: 3rem;
  padding: 0.5rem 2rem;
  font-weight: 500;
}

.page-submit-button:hover {
  background-color: #1f49c0;
  color: #eee;
}

.page-submit-button:active {
  background-color: #a0a0a0;
  color: #f0f0f0;
}

.page-submit-button:disabled {
  background-color: #424242;
  color: #eee;
}

a.page-submit-button {
  text-decoration: none;
}

#suggestions-container {
  max-height: 100px;
  overflow-y: auto;
  position: absolute;
  background: white;
  padding-top: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  top: 100% !important;
  border-top: none !important;
  border-radius: 0 0 12px 12px !important;
}

#nlp-user-question-container:has(
    #suggestions-container:not([style*="display: none"])
  )
  .pro-contact-form-message.combo.w-input {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-bottom-color: #0c6efd !important;
  border-bottom: 1px solid;
  transition:
    border-radius 0.2s ease,
    border-color 0.2s ease;
}

.suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px !important;
  font-size: 14px !important;
  cursor: pointer;
  border-radius: 12px;
  border: none;
  color: #7a807e !important;
  transition:
    color 200ms ease-in-out,
    background-color 200ms ease-in-out;
}

.suggestion:hover {
  color: #0d6efd !important;
  background-color: #efefef !important;
}

.suggestion__icon {
  width: 18px;
  height: 18px;
}

.suggestion:hover .suggestion__icon {
  filter: invert(23%) sepia(87%) saturate(4300%) hue-rotate(208deg)
    brightness(92%) contrast(101%);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.tab-check {
  appearance: none;
}

.tabs_style {
  display: flex;
  justify-content: start;
  background-color: #f3f4f9;
  border-radius: 5px;
  padding: 0;
  white-space: 0;
}

.tab_style {
  flex: 1;
  overflow-x: hidden;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  margin: 0 !important;
  background-color: #e0e0e0;
}

.active_tab_style {
  background-color: #007bff;
  color: #fff;
}

.row {
  --bs-gutter-x: 0;
}

#connection-table {
  width: 100%;
}

#connection-information > div {
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}

.tooltip-inner {
  text-align: left;
  line-height: 1.4;
}

.export {
  overflow: visible;
  position: relative;
  width: 30px;
  height: 30px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  z-index: 1400;
  margin-bottom: 15px;
  font-size: 0;
}

.export::before {
  content: "Result";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  padding-left: 10px;
  font-size: 16px;
  padding-left: 32px;
  font-weight: 600;
}

.export::after {
  content: "";
  background-image: url("/assets/download_icon_black.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 2px;
  left: 0;
  width: 80%;
  height: 80%;
  z-index: 0;
  padding-left: 160px;
}

.custom-datepicker input {
  font-size: 12px;
}

.custom-datepicker .DateInput_input__focused {
  font-size: 12px;
}

.overview-custom-date-range button::before {
  content: none !important;
  display: none !important;
}

.overview-date-dropdown > div {
  width: 100% !important;
}

.sidebar-close .tooltip-container {
  position: relative;
  display: inline-block;
}

.sidebar-open .tursio-version-container {
  display: block;
}

.sidebar-close .tursio-version-container {
  display: none;
  content: "";
}

.tursio-version-hr {
  margin: 6px 0px 12px 0px !important;
  border: none;
  border-top: 1px solid #abbdcd;
  width: 100%;
}

.sidebar-close .tooltip-container .tooltiptext,
.sidebar-close .tooltip-container .toggletooltiptext {
  display: block !important;
  visibility: hidden;
  width: fit-content;
  padding: 5px 10px 5px 10px !important;
  white-space: nowrap;
  background-color: #424242;
  color: #fff !important;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 105%;
  z-index: 10000;
  font-size: 12px;
}

.sidebar-close .tooltip-container:hover .tooltiptext,
.sidebar-close .tooltip-container:hover .toggletooltiptext {
  visibility: visible;
}

.sidebar-open .tooltip-container {
  position: relative;
  display: flex;
}

.sidebar-open #sidebar-toggle .toggletooltiptext {
  display: block !important;
  visibility: hidden;
  width: fit-content;
  padding: 5px 10px 5px 10px !important;
  white-space: nowrap;
  background-color: #424242;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 105%;
  z-index: 10000;
  font-size: 12px;
}

.sidebar-open #sidebar-toggle:hover .toggletooltiptext {
  visibility: visible;
}

.sidebar-open .tooltiptext {
  display: none;
}

.react-select__menu {
  z-index: 10001 !important;
}

.dropdown-item {
  display: block;
}

.custom-dropdown-menu .dropdown-toggle::after {
  display: none;
  border: none !important;
  top: 0;
}

.custom-dropdown-menu {
  position: relative;
  display: inline-block;
}

.custom-dropdown-menu .dropdown-menu {
  display: none;
  border: none !important;
  position: absolute;
  top: 0;
  margin-top: 0;
  margin-left: 0;
  background-color: #fff;
  border-radius: 8px;
}

.custom-dropdown-menu:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  border: none !important;
}

.dropdown-group {
  display: none;
}

.dropdown-container:hover .dropdown-group {
  display: block;
}

.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  cursor: pointer;
  font-size: 1.5em;
}

.dropdown-group {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background-color: #fff;
  width: 200%;
}

.radio-items .dash-radioitems-container input[type="radio"] {
  display: none;
}

.radio-items .dash-radioitems-container label {
  background-color: #eee;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  margin: 0;
}

.radio-items .dash-radioitems-container label:hover {
  background-color: #ddd;
}

.radio-items .dash-radioitems-container input[type="radio"]:checked + label {
  background-color: #007bff;
  color: #fff;
}

.radio-items {
  position: relative;
  z-index: 10000;
  background-color: #eee;
  padding: 0.5em;
  border-radius: 2em;
  display: none;
}

.chart-selector:hover .radio-items,
.chart-selector:focus .radio-items,
.chart-selector:active .radio-items {
  display: block;
}

.chart-selector {
  position: relative;
  display: inline-block;
}

.chart-selector img {
  cursor: pointer;
  margin-left: 0;
}

.mobile-chart-selector {
  margin-right: 6%;
  margin-left: 6%;
}

.mobile-chart-selector {
  position: relative;
  display: inline-block;
}

.radio-items.chart-hidden {
  display: none;
  position: relative;
}

.radio-items.chart-display {
  display: block;
}

.result-display:has(.radio-items.chart-display) {
  position: relative !important;
}

.mobile-chart-selector img {
  cursor: pointer;
  margin-left: 0;
}

.chart-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: fit-content;
  height: fit-content;
}

.hover-text {
  display: none;
  font-weight: bold;
  font-size: 12px;
  font-weight: 500;
  color: "#000B3C";
  transition: display 0.3s ease;
}

.chart-option:hover .hover-text {
  display: flex;
}

.chart-icon {
  height: 24px;
  width: 24px;
  object-fit: cover;
}

/* Apply styles specifically to this RadioItems */
.radio-items label {
  background-color: transparent;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

/* Style for the selected radio item */
.radio-items label:has(> input[type="radio"]:checked) {
  background-color: #fff !important;
  color: #424242 !important;
}

.graph-container .slice {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Only fade other slices if there is a hovered slice */
.graph-container :hover:has(.slice:hover) .slice:not(:hover) {
  opacity: 0.3 !important;
  transform: scale(0.8) tr;
}

/* Only apply stroke to the path of the hovered slice */
.graph-container:hover:has(.slice:hover) .slice:hover path {
  opacity: 1 !important;
}

/* Add initial animation to slices */
.pielayer .slice {
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
  animation: sliceAnimation 1s ease-out forwards;
}

/* Delay each slice animation for a staggered effect */
.pielayer .slice:nth-child(1) {
  animation-delay: 0.1s;
}

.pielayer .slice:nth-child(2) {
  animation-delay: 0.2s;
}

.pielayer .slice:nth-child(3) {
  animation-delay: 0.3s;
}

.pielayer .slice:nth-child(4) {
  animation-delay: 0.4s;
}

/* Keyframes for the slice appearance animation */
@keyframes sliceAnimation {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.pielayer .slicetext {
  font-size: 0.9em !important;
  /* Adjust the size as needed */
  font-weight: 500;
  /* Makes the text bold */
}

.graph-container .pielayer .slice path:hover {
  fill: currentColor;
  /* Ensure the slice's color remains unchanged */
  stroke: #000;
  /* Black outer stroke */
  stroke-width: 2px !important;
  /* Width of the stroke */
  stroke-dasharray: 100 0 !important;
  /* Stroke only the outer circumference */
  stroke-linecap: round !important;
  /* Smooth edges for the stroke */
}

.nlp-result-loader {
  display: none;
}

/* total fade cycle: 5 steps × 3s = 15s */
@keyframes fadeCycle {
  0%,
  3.33% {
    opacity: 0;
  }

  6.66%,
  20% {
    opacity: 1;
  }

  23.33%,
  100% {
    opacity: 0;
  }
}

/* shimmer the gradient across the letters */
@keyframes textShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.loader {
  position: absolute;
  width: 300px;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 0.8em;
  /* text-lg */
  font-weight: 500;
  /* font-medium */
  translate: 0 0.5em;
}

/* stack all steps in the same spot */
.loader .step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  /* for the reveal effect */
  opacity: 0;

  /* 1) make text transparent  2) clip a moving gradient to its glyphs */
  background: linear-gradient(
    90deg,
    #000 15%,
    /* your base blue */ #d3e2ff 30%,
    /* lighter */ #000 45% /* back to base */
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* fade + shimmer */
  animation:
    fadeCycle 15s linear infinite,
    textShimmer 2s linear infinite;
}

/* stagger each step’s fadeCycle by 3s */
.loader .step:nth-child(1) {
  animation-delay: 0s, 0s;
}

.loader .step:nth-child(2) {
  animation-delay: 3s, 0s;
}

.loader .step:nth-child(3) {
  animation-delay: 6s, 0s;
}

.loader .step:nth-child(4) {
  animation-delay: 9s, 0s;
}

.loader .step:nth-child(5) {
  animation-delay: 12s, 0s;
}

.step {
  font-style: italic;
}

.nlp-result-loader-container:has(.dash-spinner) .nlp-result-loader {
  display: flex;
  justify-content: start;
  align-items: center;
  height: fit-content;
  width: 100%;
}

.loading-component .dash-spinner {
  /* Remove default spinner appearance */
  background: none;
  border: none;
  box-shadow: none;
  width: 400px;
  /* Container width */
  height: fit-content;
  /* Height to accommodate three lines */
  position: relative;
  /* Centering the spinner */
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin-top: 0.5em !important;
}

/* Update widths for pseudo-elements */
.loading-component .dash-spinner::before,
.loading-component .dash-spinner::after {
  content: "";
  display: block;
  width: 0;
  /* Start from 0 width for left-to-right animation */
  height: 20px;
  margin-top: 10px;
  background: linear-gradient(
    to right,
    #d8d6d6 0%,
    #d3e2ff 20%,
    #d8d6d6 40%,
    #d8d6d6 100%
  );
  background-size: 1000px 100%;
  border-radius: 50px;
  animation:
    shimmer-animation 1.5s infinite linear,
    load-from-left 0.6s ease-out forwards;
  /* Add the animation */
}

/* Move the first line up to remove the margin on the first one */
.loading-component .dash-spinner::before {
  margin-top: 0;
  width: 0;
  /* Start from 0 width */
  height: 20px;
  animation:
    shimmer-animation 1.5s infinite linear,
    load-from-left 0.6s ease-out forwards;
  /* Add the animation */
  max-width: 400px;
}

.loading-component .dash-spinner::after {
  width: 0;
  /* Start from 0 width */
  height: 20px;
  animation:
    shimmer-animation 1.5s infinite linear,
    load-from-left 0.8s ease-out forwards;
  /* Slightly delay the second line */
  max-width: 250px;
  /* Make the second line shorter (80% of the container width) */
}

/* Shimmer animation keyframes */
@keyframes shimmer-animation {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

/* Left-to-right load animation keyframes */
@keyframes load-from-left {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
    /* Full width of the parent element */
  }
}

.loading-component .dash-default-spinner-rect1,
.loading-component .dash-default-spinner-rect2,
.loading-component .dash-default-spinner-rect3,
.loading-component .dash-default-spinner-rect4,
.loading-component .dash-default-spinner-rect5 {
  display: none !important;
}

.loading-component > div {
  justify-content: flex-start !important;
  /* Override default */
  align-items: flex-start !important;
}

.collapsible-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.description-success {
  color: #0d6efd;
  font-weight: bold;
}

.description-failure {
  color: red;
  font-weight: bold;
}

.toggle-arrow {
  font-size: 1.3em;
  color: #555;
  filter: invert(23%) sepia(87%) saturate(4300%) hue-rotate(208deg)
    brightness(92%) contrast(101%);
}

.collapsible-details {
  margin: 0.5em 0 0 0;
  padding: 0;
  list-style: disc;
  color: #1a53c6 !important;
}

.dash-table-container
  .dash-spreadsheet-container
  .dash-spreadsheet-inner
  table {
  border-collapse: collapse;
  --accent: black !important;
  --border: lightgrey;
  --text-color: #3c3c3c;
  --hover: #fdfdfd;
  --background-color-ellipses: #fdfdfd;
  --faded-text: #fafafa;
  --faded-text-header: #b4b4b4;
  --selected-background: rgba(255, 65, 54, 0.2);
  --faded-dropdown: #f0f0f0;
  --muted: #c8c8c8;
}

.my-custom-table .dash-header th {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* text on the left side, icon will move to the right */
}

.loading-parent > div {
  justify-content: start !important;
  position: relative !important;
}

.custom-modal-loading-spinner {
  z-index: 1500 !important;
}

.modal-m {
  max-width: 600px;
}

.sidebar-dataset-dropdown {
  width: 100%;
  height: 39px;
  align-items: center;
  display: flex;
}

.dataset-empty .css-qmdc2n-control {
  height: 110%;
  width: 100%;
  background-color: #f3eded;
  color: #64645e;
  border-color: red;
  border-width: 2px;
}

.dataset-filled .css-qmdc2n-control {
  height: 110%;
  width: 100%;
  background-color: #f3eded;
  color: #64645e;
  border-width: 2px;
}

.dataset-empty .select-control {
  height: 110%;
  width: 100%;
  background-color: #f3eded;
  color: #64645e;
  border-color: red;
  border-width: 2px;
}

.sidebar-close .react-select__menu {
  top: -3em;
  left: 75px;
  position: absolute;
  width: 12vw;
  z-index: 1000;
  background-color: rgb(255, 255, 255);
  border-radius: 4px;
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.1) 0px 4px 11px;
  margin-bottom: 8px;
  margin-top: 8px;
  box-sizing: border-box;
  max-height: 300px;
  min-width: max-content;
  overflow: scroll;
  animation: slideInFromRight 0.3s ease-out forwards;
}

@keyframes slideInFromRight {
  from {
    transform: translateX(10%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.smart-dropdown {
  width: 100%;
}

.sidebar .smart-dropdown {
  width: 100%;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
  max-width: 100%;
}

.sidebar .smart-dropdown * {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.sidebar .smart-dropdown .css-3kd8s5-control {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  min-width: 0 !important;
  max-width: 100%;
  text-overflow: ellipsis !important;
  overflow: hidden;
  align-items: center;
}

.sidebar .smart-dropdown img {
  width: 28px;
}

.model-tooltip {
  width: fit-content;
  padding: 5px 10px 5px 10px !important;
  white-space: nowrap;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  font-size: 12px;
}

.tooltip-container:hover .tooltip-content {
  display: block !important;
  position: fixed !important;
  max-width: 300px !important;
  height: fit-content !important;
  white-space: normal !important;
}

.qb-toggled .nlp-searchbox {
  display: none;
}

.qb-toggled .query-builder {
  display: block;
}

.nlp-toggled .nlp-searchbox {
  display: block;
}

.nlp-toggled .query-builder {
  display: none;
}

.ql-container {
  font-family: "Inter", serif !important;
}

.sw-app-main {
  padding: 80px 0;
  margin: 0px 10px;
}

/*.sw-select option {*/
/*    background-color: #ffffff;*/
/*}*/
/*.sw-select option:hover, .sw-select option:focus  {*/
/*    background-color: black !important;*/
/*    color: white !important;*/
/*    cursor: pointer !important;*/
/*}*/

.sw-quill-main {
  position: relative;
  border-radius: 12px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  padding: 1.2rem 3rem 4rem 1.2rem;
  min-height: 8rem;
}

/*.sw-quill-main .ql-editor {*/
/*  border-radius: 6px;*/
/*  border: 2px solid rgb(204, 204, 204);*/
/*  padding: 1.2rem 7rem 1.2rem 1.2rem;*/
/*}*/

.loading-parent {
  position: relative !important;
}

body:has(#nlp-result:not([style*="display: none"])) .loading-parent {
  position: relative !important;
  margin-top: 1em !important;
}

.loading-parent {
  margin-top: 1em !important;
}

.react-datepicker__year-wrapper {
  max-width: 200px !important;
}

.react-datepicker__year .react-datepicker__year-text {
  width: 6rem !important;
  padding: 6px 0px !important;
}

.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle {
  fill: #ffffff !important;
}

.sw-quill-main .ql-editor-disabled {
  border-radius: 6px;
  background-color: rgba(124, 0, 0, 0.2);
  transition-duration: 0.5s;
}

.sw-quill-main:has(.ql-editor:focus) {
  border-bottom: 1px solid #0d6efd !important;
}

.ql-editor {
  padding: 0px !important;
}

.sw-quill-main .ql-container.ql-snow {
  border: 0 !important;
  position: relative !important;
}

.sw-quill-main .ql-editor p {
  color: #888888;
}

.position-relative {
  position: relative !important;
}

.sw-btn-search {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0 !important;
}

.sw-quill-main .mention {
  color: #424242;
  background: transparent !important;
  letter-spacing: 0.5px;
  z-index: 11000;
}

.sw-quill-main .ql-editor p {
  line-height: 1;
  font-size: 16px;
  font-weight: 400;
}

.sw-datepicker-main {
  display: flex;
  gap: 14px;
}

.ql-mention-list-item.selected {
  background-color: #e2f0ff !important;
  z-index: 11000 !important;
}

.css-13cymwt-control:hover,
.css-13cymwt-control:focus {
  border-color: black !important;
}

.css-t3ipsp-control:hover,
.css-t3ipsp-control:focus {
  border-color: black !important;
}

.react-datepicker__input-container input {
  height: 30px;
  padding: 2px 10px;
  border: 1px solid #adadad;
  border-radius: 5px;
}

.sw-btn-search {
  font-size: 14px;
  cursor: pointer;
  border-radius: 25px;
  border: none;
  padding: 0 !important;
}

/* Disabled state */
.sw-btn-search:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.d-none {
  display: none;
}

.lbl-dp {
  display: block;
  font-weight: 600;
  color: #424242;
  margin-bottom: 4px;
  font-size: 14px;
}

.react-datepicker__day--selected {
  background-color: #000000 !important;
}

.react-datepicker__header {
  background-color: #ffffff !important;
}

.sw-limit-bycnt {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-bottom: 14px;
  gap: 14px;
}

.sw-limit-bycnt label {
  font-weight: 600;
}

.sw-limitby-count-dir {
  display: flex;
  gap: 8px;
}

.sw-limitby-count-dir input[type="radio" i] {
  margin-right: 0.5em;
}

.d-flex {
  display: flex;
}

.qb-box-container {
  padding: 14px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 2px 4px 10px 0px #ccc;
  margin-top: 8px;
}

.sw-select {
  width: 100% !important;
  height: 40px !important;
  border: 1px solid #b7b7b7 !important;
  padding: 5px 10px !important;
  color: #424242 !important;
  font-size: 15px !important;
  border-radius: 4px;
}

.react-datepicker__navigation-icon::before,
.react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  border-width: 2px 2px 0 0 !important;
  height: 8px !important;
  width: 8px !important;
}

.react-datepicker__day--selected,
.react-datepicker__day--in-selecting-range,
.react-datepicker__day--in-range,
.react-datepicker__month-text--selected,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--selected,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--selected,
.react-datepicker__year-text--in-selecting-range,
.react-datepicker__year-text--in-range {
  background-color: #0d6efd !important;
}

.react-datepicker__month .react-datepicker__month-text,
.react-datepicker__month .react-datepicker__quarter-text {
  padding: 8px 1px !important;
  width: 4rem !important;
}

.react-datepicker__day--keyboard-selected,
.react-datepicker__month-text--keyboard-selected,
.react-datepicker__quarter-text--keyboard-selected,
.react-datepicker__year-text--keyboard-selected {
  color: rgb(255 255 255) !important;
}

.sw-input {
  width: 50px;
  margin: 0px 8px;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.sw-label-main {
  font-weight: 600;
}

.sw-label-main input[type="checkbox" i] {
  margin-right: 0.5em;
}

select:focus-visible {
  outline: none;
}

.field-error {
  border: 1px solid red;
}

.sw-step-footer {
  padding: 14px 0px 40px 0;
}

.se-step-footer {
  text-align: end;
}

.sw-btn-next {
  padding: 8px 14px;
  background-color: #0d6efd;
  color: #eee;
  border: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 1em;
  margin-left: 0.5em;
  transition: background-color 0.3s ease;
}

.sw-btn-next:disabled {
  background-color: #9cdcff;
}

.sw-btn-skip {
  padding: 8px 14px;
  background: #cccccc;
  color: #242424;
  border: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 1em;
  margin-right: 0.5em;
}

.qb-box-container {
  position: absolute !important;
  background: #ffffff;
  width: 300px;
  border-radius: 8px;
  box-shadow: 2px 4px 10px 0px #ccc;
  margin-top: 8px;
  transition: all 0.2s ease;
  min-width: min-content;
}

.se-step-footer:empty {
  display: none;
}

.qb-box-container:has(> .se-step-footer:only-child:empty) {
  display: none;
}

.sw-quill-main .ql-mention-list-container {
  max-height: 270px;
  top: 50px !important;
  overflow: auto;
}

.ql-mention-list-container {
  background-color: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(30, 30, 30, 0.08);
  overflow: auto;
  width: 270px;
  z-index: 11000;
}

.ql-mention-loading {
  font-size: 16px;
  line-height: 44px;
  padding: 0 20px;
  vertical-align: middle;
}

.ql-mention-list {
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.ql-mention-list-item {
  cursor: pointer;
  font-size: 16px;
  line-height: 44px;
  padding: 0 20px;
  vertical-align: middle;
}

.ql-mention-list-item.disabled {
  cursor: auto;
}

.ql-mention-list-item.selected {
  background-color: #d3e1eb;
  text-decoration: none;
}

.mention {
  background-color: #d3e1eb;
  border-radius: 6px;
  height: 24px;
  margin-right: 2px;
  padding: 3px 0;
  user-select: all;
  width: 65px;
}

.mention > span {
  margin: 0 1px;
}

.mention > span:empty {
  display: none;
}

.dash-tooltip {
  font-size: 0.6em !important;
  white-space: normal;
  max-width: 40% !important;
}

.dash-tooltip .dash-table-tooltip {
  position: relative;
  background-color: #f6f6f6;
  max-width: 100% !important;
  min-width: 100% !important;
  padding: 2px 10px;
}

.switches-input .form-check-label {
  background: linear-gradient(to right, #0d6efd 50%, rgba(0, 0, 0, 0.4) 50%);
  background-size: 200% 100%;
  font-weight: 600;
  margin-bottom: 0.5em;
  background-position: right bottom;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition:
    background-position 0.5s ease,
    opacity 0.5s ease;
  opacity: 1;
}

.switches-input .form-check-input:checked ~ .form-check-label {
  background-position: left bottom;
}

.form-check-input:focus {
  outline: none !important;
  border-color: none !important;
  box-shadow: none !important;
}

.collapsible-details ul {
  margin-bottom: 0.2em !important;
}

.collapsible-details .line-break {
  margin-bottom: 0.2em !important;
}

/* Default (enabled) dropdown styling */
.Select .Select-control {
  background-color: white !important;
  color: #424242 !important;
  cursor: pointer;
}

/* Disabled dropdown styling */
.Select.is-disabled .Select-control {
  background-color: #e9ecef !important;
  cursor: not-allowed;
  color: #6c757d !important;
  opacity: 1;
}

.submit-button:disabled {
  filter: grayscale(1);
}

.dash-spinner-container {
  z-index: 9999 !important;
}

.smart-answer-section-header {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600 !important;
  font-size: 16px !important;
  color: #0d6efd !important;
}

.nsewdrag {
  fill: white !important;
}

.sr-container {
  width: 100%;
}

.sr-header {
  padding: 6px 0;
  margin-top: 2.4rem;
}

.sr-label-text {
  color: #64645e;
  font-weight: 600;
}

.sr-item:hover img {
  filter: invert(23%) sepia(87%) saturate(4300%) hue-rotate(208deg)
    brightness(92%) contrast(101%);
}

.sr-item:hover {
  color: #0d6efd;
  cursor: pointer;
}

.sr-item-text::first-letter {
  text-transform: uppercase;
}

.smart-answer-section-content pre {
  margin-bottom: 0 !important;
}

#nlp-form:has(.nlp-result > *) > .rec-slider-container {
  display: none;
}

@media screen and (max-width: 768px) {
  ._dash-loading::after {
    width: 100vw;
  }

  .gtitle {
    font-size: 12px !important;
  }

  .result-display {
    position: absolute;
  }

  .Select-menu-outer {
    z-index: 3000 !important;
  }

  .collapsible-container {
    width: 100%;
    margin: 1em 0 2em 0;
    z-index: 1;
  }

  .collapsed-logo {
    display: none;
  }

  .collapsible-details {
    margin: 0 6% !important;
  }

  .description-success {
    margin-left: 0 !important;
  }

  .description-failure {
    margin-right: 0 !important;
  }

  .sw-btn-clear {
    z-index: 11 !important;
  }

  .Select-control {
    border: none !important;
  }

  .chart-icon {
    z-index: 2;
  }

  .mobile-chart-selector {
    width: fit-content;
  }

  .collapsible-header {
    margin: 0 6%;
    width: fit-content;
  }

  .toggle-arrow {
    width: 16px !important;
  }

  .ql-mention-list-container {
    left: 0 !important;
    width: 100% !important;
  }

  .qb-box-container {
    left: 0 !important;
    width: 100% !important;
  }

  .dash-table-container {
    overflow: scroll;
  }

  .loading-component {
    align-self: start !important;
  }

  .loading-component .dash-spinner {
    /* Remove default spinner appearance */
    background: none;
    border: none;
    box-shadow: none;
    width: 100%;
    /* Container width */
    height: fit-content;
    /* Height to accommodate three lines */
    position: relative;
    /* Centering the spinner */
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  /* Update widths for pseudo-elements */
  .loading-component .dash-spinner::before,
  .loading-component .dash-spinner::after {
    content: "";
    display: block;
    width: 0;
    /* Start from 0 width for left-to-right animation */
    height: 10px;
    margin-top: 10px;
    background: linear-gradient(
      to right,
      #d8d6d6 0%,
      #f0f0f0 20%,
      #d8d6d6 40%,
      #d8d6d6 100%
    );
    background-size: 1000px 100%;
    border-radius: 50px;
    animation:
      shimmer-animation 1.5s infinite linear,
      load-from-left 0.6s ease-out forwards;
    /* Add the animation */
  }

  /* Move the first line up to remove the margin on the first one */
  .loading-component .dash-spinner::before {
    margin-top: 0;
    width: 0;
    /* Start from 0 width */
    height: 10px;
    animation:
      shimmer-animation 1.5s infinite linear,
      load-from-left 0.6s ease-out forwards;
    /* Add the animation */
    max-width: 400px;
  }

  .loading-component .dash-spinner::after {
    width: 0;
    /* Start from 0 width */
    height: 10px;
    animation:
      shimmer-animation 1.5s infinite linear,
      load-from-left 0.8s ease-out forwards;
    /* Slightly delay the second line */
    max-width: 250px;
    /* Make the second line shorter (80% of the container width) */
  }

  /* Shimmer animation keyframes */
  @keyframes shimmer-animation {
    0% {
      background-position: -1000px 0;
    }

    100% {
      background-position: 1000px 0;
    }
  }

  /* Left-to-right load animation keyframes */
  @keyframes load-from-left {
    0% {
      width: 0;
    }

    100% {
      width: 100%;
      /* Full width of the parent element */
    }
  }

  .loading-component .dash-default-spinner-rect1,
  .loading-component .dash-default-spinner-rect2,
  .loading-component .dash-default-spinner-rect3,
  .loading-component .dash-default-spinner-rect4,
  .loading-component .dash-default-spinner-rect5 {
    display: none !important;
  }

  .loading-component > div {
    justify-content: flex-start !important;
    /* Override default */
    align-items: flex-start !important;
  }

  #table-desc-render div {
    font-size: 1em !important;
  }

  #table-desc-full div {
    font-size: 1em !important;
  }

  .input-group .query-builder-container {
    min-height: 9rem;
  }

  .input-group #mobile-nlp-user-question {
    min-height: 9rem !important;
  }

  #login-modal {
    min-width: 95%;
  }
}

.nlp-searchbox .mt-md-0 {
  margin-top: 0 !important;
}

.white-during-load .mobile-nlp-result:not(:empty) {
  color: white !important;
}

.Select-menu-outer {
  display: block !important;
}

.suggestions__label-text {
  font-weight: 500;
  font-size: 12px;
  color: #000;
}

.suggestions__label-text-con {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.horizontal__divider-con {
  width: auto;
  flex: 1;
  height: 1px;
  margin: 0 12px;
  background-color: #c7c7c7;
}

.suggestion__label-icon {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  filter: brightness(0%) contrast(100%);
}

.tabs-tab-style {
  border: none;
  margin-right: 16px;
}

.tabs-tab-style:not(.tabs-tab-active-style) a {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.tabs-tab-style:not(.tabs-tab-active-style) a:hover,
.tabs-tab-style:not(.tabs-tab-active-style) a:focus,
.tabs-tab-style:not(.tabs-tab-active-style) a:active {
  border: none !important;
  color: #999;
  outline: none !important;
  box-shadow: none !important;
}

.tabs-tab-active-style a {
  border: none !important;
  border-bottom: 2px solid #0d6efd !important;
}

.tabs-label-style {
  color: #999;
  font-weight: 400;
  font-size: 16px;
}

.tabs-label-active-style {
  color: #424242 !important;
  font-weight: 500;
  font-size: 16px;
}

.tabs-container {
  margin: 0 0 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

@keyframes slideUpFadeIn {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/*measure css*/
.feedback-tabs-tab-style {
  border: none;
  margin-right: 16px;
  cursor: pointer;
}

.feedback-tabs-tab-style:not(.feedback-tabs-tab-active-style):not(
    .feedback-tab-measure-dropdown
  ) {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #999;
}

.feedback-tabs-tab-style:hover {
  color: #666;
}

.feedback-tabs-tab-active-style {
  border-bottom: 2px solid #39a7ff !important;
  position: relative;
  z-index: 1;
}

.feedback-tabs-label-style {
  color: #999;
  font-weight: 400;
  font-size: 16px;
  padding: 8px;
}

.feedback-tabs-label-active-style {
  color: #1e4ec4 !important;
  font-weight: 500;
  font-size: 16px;
}

.feedback-tabs-container {
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  z-index: 1;
}

.feedback-tab-measure-dropdown .dropdown-toggle {
  background-color: transparent !important;
  border: none !important;
  color: #999 !important;
  box-shadow: none !important;
}

.feedback-tab-measure-dropdown .dropdown-toggle:hover {
  color: #666 !important;
  background-color: transparent !important;
}

.feedback-tab-measure-dropdown .dropdown-toggle.feedback-tabs-tab-active-style {
  padding: 8px;
  color: black !important;
  font-weight: 500 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

.feedback-tab-measure-dropdown:has(
    .dropdown-toggle.feedback-tabs-tab-active-style
  ) {
  border-bottom: 2px solid #39a7ff !important;
}

.feedback-tab-measure-dropdown .btn {
  all: unset;
}

.measure_modal_input:disabled {
  background-color: #f2f2f2 !important;
  border-color: #e6e6e6 !important;
}

.dataset-container[style*="display: none"] ~ .nav {
  margin-top: 32px;
}

.username > .nav-link:hover {
  background-color: transparent !important;
}

.tabs-container .nav-link {
  border-radius: 0;
}

.user-information img {
  background-color: #cbd5e1;
  border-radius: 12px;
}

body:has(
    .input-group .model-dropdown-alias:hover .smart-dropdown-collapsible-closed
  )
  .modal-tip {
  display: block !important;
  translate: -1.5em 0 !important;
}

body:has(.input-group .model-dropdown-alias .smart-dropdown-collapsible-open)
  .model-dropdown-alias {
  background-color: #d3e2ff !important;
  border-radius: 8px !important;
}

body:has(.input-group .smart-dropdown-collapsible-closed)
  .model-dropdown-alias:hover {
  background-color: #efefef;
  border-radius: 8px !important;
  padding: 0;
}

.input-group .model-dropdown-alias .smart-dropdown-collapsible-open img {
  filter: invert(23%) sepia(87%) saturate(4300%) hue-rotate(208deg)
    brightness(92%) contrast(101%);
}

.modal-tip {
  display: none;
}

.react-flow__edge.flowing-edge path {
  stroke-dasharray: 12 6;
  animation: flow 0.5s linear infinite;
}

@keyframes flow {
  0% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -18;
  }
}

.react-flow__attribution {
  display: none !important;
}

.analyze-nlp-model {
  width: 100%;
  padding: 2px;

  .option-label {
    font-size: 0.8em;
    font-weight: 500;
  }
}

.analyze-nlp-model:has(.smart-dropdown-collapsible-open) {
  border-radius: 6px;
  background-color: rgb(211, 226, 255);
}

.analyze-nlp-model:has(.smart-dropdown-collapsible-open) img {
  filter: invert(23%) sepia(87%) saturate(4300%) hue-rotate(208deg)
    brightness(92%) contrast(101%);
}

.license-modal-content {
  overflow: visible !important;
}

.license-expiration-datepicker {
  display: inline-block;
  position: relative;
  width: fit-content;
  font-size: 14px;
}

/* Remove dashed input borders and style nicely */
.license-expiration-datepicker .DateInput_input {
  border: 1px solid #ced4da;
  border-radius: 6px;
  padding: 8px 12px;
  background-color: #f8f9fa;
  color: #212529;
  font-size: 14px;
  width: 101px;
  /* Optional: adjust width */
}

/* Improve hover/focus */
.license-expiration-datepicker .DateInput_input:focus {
  outline: none;
  border-color: #1f49c0;
  box-shadow: 0 0 0 2px rgba(31, 73, 192, 0.25);
}

.license-expiration-datepicker .SingleDatePickerInput {
  border: none;
}

.license-expiration-datepicker .DateInput {
  width: fit-content;
}

.login-back-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  border: none;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.login-back-img {
  width: 20px;
  transform: rotate(90deg);
  opacity: 0.6;
}

.login-back-btn:hover {
  background: none;
}

.login-back-btn:hover .login-back-img {
  opacity: 1;
}

.extractor-download {
  font-size: 14px;
  color: red;
  text-decoration: underline;
  cursor: pointer;
  width: fit-content;
}

.upload-feedback-container:has(.dash-spinner) .processing-text {
  display: block !important;
  visibility: visible;
  text-align: center;
}

.upload-feedback-container div > div:last-child {
  position: relative !important;
}

/* here is the updates styles for python component */

.modal-content {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.modal-header .btn-close {
  background-size: 12px;

  &:focus {
    box-shadow: none !important;
    border: 1px solid #0c6efd;
  }
}

.modal-footer > * {
  margin: unset;
}

.tursio-secondary-button,
.tursio-primary-button ,
.tursio-tertiary-button{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 170%;
    font-weight: 500;
    border-radius: 6px;
    padding: 8px 12px;
    min-width: 80px;
    justify-content: center;
    max-width: fit-content;
}

.tursio-secondary-button {
  color: #0f172a !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;

  &:hover {
    background-color: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
  }

  &:focus-visible {
    background-color: #f1f5f9 !important;
    box-shadow: unset !important;
    color: inherit !important;
  }
  &:active {
    font-weight: 500 !important;
  }
}

.tursio-primary-button {
  color: white !important;
  background-color: #0d6efd !important;
  border: 1px solid #0d6efd !important;

  &:hover {
    background-color: #1e4ec4 !important;
    color: #f8fafc !important;
  }
  &:focus {
    background-color: #0d6efd !important;
    color: white !important;
    box-shadow: unset !important;
  }
  &:active {
    font-weight: 500 !important;
  }
}

.tursio-tertiary-button{
    color:  #0D6EFD !important;
    background-color: white!important;
    border: 1px solid #E2E8F0 !important;

    &:hover{
        border-color:  #1E4EC4 !important;
    }
    &:focus{
        border-color: #0D6EFD !important;
        box-shadow: unset !important;
    }
    &:active{
        font-weight: 500 !important;
    }
}
.tursio-primary-button:disabled,
.tursio-secondary-button:disabled,
.tursio-tertiary-button:disabled{
    opacity: 0.5 !important;
    pointer-events: none !important;
}

.tursio-checkbox-input:checked {
  background-color: #0f172a;
  border-color: #0f172a;
  background-image: url("/assets/custom-checkbox-tick.svg");
}

.react-select__control {
  border: 1px solid #e2e8f0 !important;
  background-color: #fff;
}

.react-select__control{
    border: 1px solid #E2E8F0 !important;
    background-color: #fff;
}
.DateInput_input__focused{
    border-bottom: 2px solid #0C6EFD;
}

.CalendarDay__selected, .CalendarDay__selected:active, .CalendarDay__selected:hover{
    background: #0C6EFD;
    border: 1px double #0C6EFD;
    color: #fff;
}

.CalendarDay__selected_span:active, .CalendarDay__selected_span:hover{
    background: #0C6EFD;
    border: 1px double #0C6EFD;
    color: #fff;
}
.CalendarDay__selected_span {
    background: #D3E2FF4D;
    border: 1px double #0C6EFD;
    color: black;
}

.DayPickerKeyboardShortcuts_show__bottomRight{
    display: none;
}
