body,
h1 {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

.header {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0.5rem 1rem;
  background-image: linear-gradient(284deg, #4f93ce, #285f8f);
  color: #fff;
  margin-bottom: 1rem;
}

.header a {
  color: #fff;
  text-decoration: none;
}

.header-title {
  font-size: 2rem;
  font-weight: normal;
}

.header-title::after {
  content: ' ▸ ';
  padding: 0 0.5rem;
}

.header-subtitle {
  font-size: 1.2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: flex-start;
}

.search-panel {
  display: flex;
  width: 100%;
}

.facet-header {
  font-size: 1.2rem;
  font-weight: normal;
  margin-bottom: 1rem;
}

.search-panel__filters {
  flex: 1;
  margin-right: 1rem;
}

.search-panel__results {
  flex: 3;
}

.ais-Highlight-highlighted {
  background-color: yellow;
  color: inherit;
  font-size: inherit;
}

#searchbox {
  margin-bottom: 2rem;
}

.instruction {
  color: #777; /* Set the text color to a shade of grey */
  margin-bottom: 0.5rem; /* Add some space between the instruction and the search box */
}

#pagination {
  margin: 2rem auto;
  text-align: center;
}

.facet-block {
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  margin-bottom: 1rem;
  padding: 1rem;
  text-align: left;
}

.boolean-search {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.boolean-search input,
.boolean-search select {
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  font-size: 14px;
  padding: 0.4rem;
  outline: none;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.boolean-search select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5' fill='none'%3E%3Cpath d='M2 3.5L.5 1h3L2 3.5z' fill='%23777'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 8px) 50%;
  background-size: 12px;
  padding-right: 24px;
}

.boolean-search #searchButton {
  background-color: #4f93ce;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  padding: 0.4rem 1rem;
  transition: background-color 0.2s;
  margin-left: 5px;
}

/* maybe delete this */
.boolean-search input[type="button"]:hover {
  background-color: #285f8f;
}

.search-button {
  background-color: #4f93ce;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  padding: 0.4rem 1rem;
  transition: background-color 0.2s;
  display: block;
  margin: 1rem 0;
}

.search-button:hover {
  background-color: #285f8f;
}

