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

.button {
    cursor: pointer;
}

.container {
  margin: 0 auto;
  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: 452px;
}

#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;
}

.logo_container {
  height: 130px;
  width: 100%;
  text-align: center;
}

.mama__logo {
  display: inline-block;
  width: 200px
}

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

.demo2__logo {
  display: inline-block;
  font-size: 0.75rem;
}

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

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

.actum__logo-img {
  height: 45px;
  align-items: left;
}

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

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

.demo__source {
  margin: 0 auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.audio__source {
  padding: 0 15%;
}

.audio__source__processing {
  display: block;
  visibility: hidden;
  margin-top: 1rem;
}

.mic__source-button {
  display: flex;
  flex-direction: column;
  height: 120px;
  width: 120px;
  align-items: center;
  border: 2px solid white;
  border-radius: 50% 50% 50% 50%;
}

.mic__source-button svg {
  height: 70%;
  width: 70%;
}

.demo__table > th,
td {
  width: 50%;
}

.demo__table--inactive {
  filter: blur(2px);
  opacity: 0.5;
}

.search_btn {
  background-color: white;
  position: relative;
  padding: 4px 8px;
  border: none;
  outline: none;
  border-radius: 5px;
}

.search_btn__text {
  transition: all 0.2s;
}

.search_btn--loading .search_btn__text {
  visibility: hidden;
  opacity: 0;
}

.search_btn--loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border: 4px solid transparent;
  border-top-color: #faa847;
  border-radius: 50%;
  animation: button-loading-spinner 1s ease infinite;
}

#login_div {
  float: right;
}

.login_button {
  width: 80px;
  color: #252e42;
  text-decoration: none;
  background-color: white;
  padding: 0.5em;
  border-radius: 0.5em;
}

.login_button:hover {
  color: #faa847;
}

.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;
}

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

#export_btn {
  float: right;
}

.hidden {
    display: none
}

.passage {
    background-color: yellow;
    font-style: italic;
}

@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;
}



 .multiselect {
     width: 200px;
     position: relative;
     color: black;
     background: white;
     float: right;
     margin-right: 5px;
     font-size: 0.8rem;
 }

.select-box {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 4px;
     border: 1px solid #ccc;
     cursor: pointer;
 }

.options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    max-height: 300px;
    background-color: #fff;
    z-index: 1;
    overflow: auto;
    overflow-y: auto;
}

.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;
}
