html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0px 5px 0px 5px
}

main {
    display: block
}

[hidden] {
    display: none
}

img {
    border-style: none
}

button,input,optgroup,select,textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button,input {
    overflow: visible
}

button,select {
    text-transform: none
}

textarea {
    overflow: auto
}

.mdatachat_response_final {
  font-weight: normal;
  color: orange;
}

.mdatachat_answer {
  margin-bottom: 20px;
}

.mchat-container {
    font-size: 16px;
    font-family: var(--mchat-font);
    opacity: 1;
    z-index: 2147483647;
    height: 100%;
    line-height: 24px;
    transition: opacity .5s;
    display: flex;
    position: relative;
    bottom: 0;
    padding-top: 35px;
}

.mchat {
    border-radius: var(--mchat-radius);
    width: 408px;
    margin-left: 30px;
    margin-top: 0px;
    margin-bottom: 32px;
    margin-right: 32px;
    width: 100%;
    height: fit-content;
}

/* collapsed document buttons */
.mchat .mchat-button {
    background-color: lightslategray;
}

#container {
    height: 100%;
    width: 100%;
    font-size: 0; /* Remove whitespace between inline-block elements */
}

#zero, #one, #two, #three, #four {
    display: inline-block;
    *display: inline; /* For older browsers like IE7 */
    zoom: 1;
    vertical-align: top;
    font-size: 12px; /* Reset font size for child elements */
    vertical-align: bottom;
}

#zero {
    width: 10%;
    /*background: blue;*/
}

#one {
    width: 26%;
    /*background: red;*/
}

#two {
    width: 8%;
    /*background: green;*/
}

#three {
    width: 24%;
    /*background: yellow;*/
}

#four {
    width: 28%;
    /*background: orange;*/
}

/** samples panel related */
#mchatDivContainer {
    width: 100%;
    /*background-color: violet;*/
}

#samplesDiv {
    display: inline-block;
    width: 15%;
    vertical-align: top;
    margin-top: 32px;
    font-size: 11px;
    /*background-color: yellow;*/
}

#samplesDiv a {
    display: inline-block;
    margin-bottom: 3px;
}

#samplesDiv a:hover {
    color: #eeeeee;
}

#mchatDiv {
    display: inline-block;
    width: 83%;
    vertical-align: top;
    /*background-color: pink;*/
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: #252e42;
  height: 100vh;
}

.button {
    cursor: pointer;
}

.container {
  margin: 0px 0px 0px 0px;
  padding: 0px
/*  width: 1170px; */
}

@media screen and (max-width: 1200px) {
  .container {
    width: 100%;
    max-width: 1000px;
    padding: 0 2rem !important;
  }
}

.demo-page {
  display: flex;
  justify-content: left;
  align-items: left;
}

#collections {
  min-width: 300px;
}

#text_query {
  width: 80%;
}

.result_table {
  display: table;
  border-collapse: separate;
  border-spacing: 5px;
  font-family: courier;
}

.heading_row {
  display: table-row;
  font-weight: bold;
  text-transform: capitalize;
}

.result_row {
  display: table-row;
}

.result_row_odd {
  display: table-row;
  background-color: #252e42;
}

.result_row_even {
  display: table-row;
  background-color: #002233;
}


.result_cell {
  display: table-cell;
  padding-left: 2em;
  padding-right: 2em;
}

.orange {
  color: #faa847;
}

.demo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  color: white;
}

.demo-section {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

.demo > * {
  color: white;
  text-align: left;
}

.demo__logo {
  height: 70px;
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
}

.demo__logo-name {
  font-weight: normal;
  text-align: center;
}

.demo__logo-img {
  height: 100%;
  align-items: left;
}

.project__logo-img {
  align-items: left;
}

#audio-file-section {
  display: none;
}

#real-time-stop {
  display: none;
}

#login_div {
  float: right;
}

.popup {
  position: absolute;
  left: 50%;
  width: 386px;
  padding: 20px 30px;
  background: white;
  box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  top: 40%;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.popup .form h2 {
  text-align: center;
  color: #222;
  margin: 10px 0px 20px;
  font-size: 25px;
}

.popup .form .form-element {
  margin: 15px 0px;
}

.popup .form .form-element label {
  font-size: 14px;
  color: #222;
}

.popup .form .form-element input[type="text"],
.popup .form .form-element input[type="password"] {
  margin-top: 5px;
  display: block;
  width: 100%;
  padding: 10px;
  outline: none;
  border: 1px solid #aaa;
  border-radius: 5px;
}

.popup .form .form-element button {
  width: 100%;
  height: 40px;
  border: none;
  outline: none;
  font-size: 16px;
  background: #faa847;
  color: #f5f5f5;
  border-radius: 10px;
  cursor: pointer;
}

.popup .form .form-element a {
  display: block;
  text-align: right;
  font-size: 15px;
  color: #1a79ca;
  text-decoration: none;
  font-weight: 600;
}

#user-div {
  float: right;
}

#cur_user_name {
  margin-top: 0.5em;
  float: right;
}

#logout-button {
  float: right;
  /*width: 70px;*/
  color: #252e42;
  text-decoration: none;
  background-color: white;
  padding: 0.5em;
  border-radius: 0.5em;
  margin-left: 0.5em;
}

#restart-button {
  float: right;
  /*width: 70px;*/
  color: #252e42;
  text-decoration: none;
  background-color: white;
  padding: 0.5em;
  border-radius: 0.5em;
  margin-right: 0.5em;
}

#error_msg {
  background-color: indianred;
  color: white;
  display: flex;
}

#export_btn {
  float: right;
}

.hidden {
    display: none
}

@keyframes button-loading-spinner {
  from {
    transform: rotate(0turn);
  }

  to {
    transform: rotate(1turn);
  }
}

.btn {
  outline: 0;
  color: #AAA;
  display: inline;
  margin-left: -1px;

}

.btn:focus {
  outline: none;
}

.green {
  color: green;
}

.red {
  color: red;
}

#thumbs-rating-div {
    margin-top: 2px;
}

#submitTextFeedback {
    margin-left: 15px
}

.category {
    margin: 10px 0;
}

label {
    font-weight: bold;
}

.star {
    cursor: pointer;
    margin-right: 5px;
}

.star.selected {
    color: gold; /* Selected star color */
}

.star.cannot-judge {
    cursor: pointer;
    margin-right: 5px;
    font-style: italic;
}

.category-label {
    width: 0.1%;
    white-space: nowrap;
    padding-right: 2em;
}

.feedback-label {
    padding-right: 2em;
}

.feedback-bottom {
    margin-top: 1em;
}

.display-mode-container {
    float: right;
    display: flex;
    align-items: center;
}

#display-mode-label {
    display: inline-block;
    margin-right: 5px;
}

#display_mode {
    margin-left: 5px;
    margin-right: 5px;
}

.section-name {
    color: #d1c5fc;
}

.option {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    white-space: nowrap; /* Prevent text from wrapping to the next line */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Display ellipsis (...) for overflowed text */
}

.option:hover {
    background-color: #f2f2f2;
}

.option input {
    margin-right: 8px;
}

a {
    color: #0d6efd;
    text-decoration: underline;
}

a:active {
    color: #0d4edd;
}
