#input-text {
  height: 50vh;
  width: 80vw;
  min-width: 80vw;
  text-align: left !important;
}
.CodeMirror {
  height: 55vh !important;
}

.CodeMirror.cm-s-default.CodeMirror-wrap {
  font-family: 'Open Sans', sans-serif;
}

#summary_text, #chat_text, #ollama_chat_text {
  margin: 10px;
  font-weight: 700;
}

#get_chat, #ollama_get_chat, #get_summary, #dimensionalityReduction{
 height: calc(3.5rem + calc(var(--bs-border-width) * 2));
 width: 110px;
 margin-right: 20px;
}

table {
  table-layout: auto;
  margin: 0 auto;
}
th,
td {
  word-wrap: break-word;
  max-width: 50%;
  text-align: center;
}

.table-bordered {
  border: none;
}

#output-table > tbody > tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.table .table {
  background-color: transparent;
}

.highlight-first {
  background-color: rgb(0, 255, 81);
}

.highlight-second {
  background-color: rgb(135, 255, 153);
}

.highlight-third {
  background-color: rgb(190, 253, 190);
}

.highlight-select {
  background-color: orange;
}

#loading {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

#progressBar {
  height: 25px;
  width: 100%;
}

#query-text {
  height: 75%;
  min-width: 80%;
}


.submit-button {
  height: 75%;
  white-space:normal;
  text-align: center; /* this seems to break when page size is too small */
}


#formGroupCenter {
  width: 100%;
}

.CodeMirror {
  font-size: 15px;
}

#results {
  height: 70vh;
  overflow-y: auto;
}

.card {
  width: 100%;
  transition: background-color 0.3s ease;
}

.card:hover {
  background-color: #f8f9fa;
}

/*.nav-button {*/
/*  width: 60px; !* adjust this to the size you want *!*/
/*  margin-right: 1px; !* adds space between buttons *!*/
/*}*/

#submitGroup {
  margin-top: 2vh; /* adjust this value as needed */
}

/*
  see: https://github.com/twbs/bootstrap/issues/33871
 */
.form-floating > label { z-index: 3; }

#advancedFeaturesHeader .accordion-button:hover {
  text-decoration: underline;
}

.accordion-button::after {
  display: none;
}

.card-title {
  font-size: 0.9em;
}
.card-subtitle {
  font-size: 0.8em;
}

#SemanticFinderLogo{
  display: block;
  margin: 0 auto;
  max-width: 250px;
}

@media (min-width: 992px) {
  #introContainer {
    display: inline-flex;
  }
  #introContentDiv{
    padding-left: 20px;
  }
}

@media (max-width: 992px) {
  .col-sm-9  {
    width: 100% !important;
  }
  #results{
    height: unset !important;
  }
  .col-sm-3  {
    width: 100% !important;
  }
  ul {
    padding-left: 0 !important;
  }
}

.toast {
  display: none;
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white !important;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 1000;
  width: 250px !important;
  font-size: 20px !important;
}


#closeToastButton{
  cursor: pointer;
  right: -47px;
  position: relative;
}

/* Style for the point labels 
.point-label {
  display: none;
  position: absolute;
  background-color: #ffffff;
  padding: 8px;
  border: 2px solid #4a90e2;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #333333;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  pointer-events: none;
  z-index: 100000000000000000000;
  opacity: 1 !important;
}

/* Style for the tooltip 
.tooltip {
  position: absolute;
  text-align: center;
  width: auto;
  height: 36px;
  padding: 6px;
  font-family: 'Open Sans', sans-serif;
  background: #4a90e2;
  color: #ffffff;
  border: 0px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 100000000000000000000;
  opacity: 1 !important;
}*/

#plot-container {
  max-height: 700px;
  height: 0;
}

#deckgl {
  position: relative !important;
}

#tooltip {
  position: absolute;
  opacity: 1000;
  font-size: 20px;
  border-radius: var(--bs-border-radius);
  background-color: #f5f8ffcf;
  outline: 2px solid #dfebff;
  padding: 8px;
  max-width: 500px;
}