/* a {
  font-style: italic;
  color: #007bff;
  text-decoration: none;
} */
/* p {
  font-size: 1.25em;
  color: rgba(50, 63, 74, 0.95);
  font-family: "freight-text-pro", serif;
  line-height: 1.45;
  margin-top: 0;
  margin-bottom: 1em;
} */
/* h2 {
  font-family: "freight-text-pro", serif;
  font-size: 1.95em;
  margin-top: 0;
  margin-bottom: 0;
  color: #323f4a;
}
h4 {
  font-family: "europa", sans-serif;
  font-size: 24px;
  margin: 1em 0;
  color: #323f4a;
} */
/* h2 .search-result-title {
  color: #323f4a;
  font-style: normal;
} */
.spinner-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  width: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
  margin: 0;
  background-color: #f0f0f0a4;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 8px solid #ffde75; /* Light color */
  border-top: 8px solid #245dae; /* Dark color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loading-bar-container {
  /* z-index: 1000; */
  width: 100%;
  height: 20px;
  background-color: #ffde75; /* Light yellow background */
  overflow: hidden;
  position: relative;
  margin-bottom: 5px;
  /* position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px; */
}

.loading-bar-container-2 {
  width: 70%;
  height: 20px;
  background-color: #ffde75; /* Light yellow background */
  overflow: hidden;
  position: relative;
  margin-bottom: 5px;
}

.loading-bar-container-3 {
  width: 40%;
  height: 20px;
  background-color: #ffde75; /* Light yellow background */
  overflow: hidden;
  position: relative;
  margin-bottom: 5px;
}

/* The loading bar itself */
.loading-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #245dae 25%, #ffde75 50%, #245dae 75%);
  background-size: 200% 100%;
  animation: loadingAnimation 2s infinite linear;
  border-radius: 5px;
}

@keyframes loadingAnimation {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.hidden {
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.ai-search-input-field {
  flex-grow: 1;
  padding: 0.5rem;
  margin-right: 2px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1.2rem;
  transition: border-color 0.3s;
  font-family: "europa", sans-serif;
}

.ai-search-input-field:focus {
  border-color: #245dae;
  outline: none;
}

.confirm-button {
  width: 14%;
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
  background-color: #245dae;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.confirm-button:hover {
  background-color: #1e4a8a;
}

.confirm-button:active {
  background-color: #163d72;
}

.ai-search-form {
  display: flex;
  flex-direction: row;
}

.ai-search-container {
  margin-top: 2rem;
  min-height: 100vh;
}

.result-item {
  margin: 0.5rem 0;
  padding: 0.75rem;
  /* border: 1px solid #e9e9e9; */
  border-radius: 5px;
  /* background-color: #ececec33; */
}
.search-result-title {
  border-bottom-width: 0;
  margin-top: 1px;
  color: #323f4a;
  font-style: normal;
}
#search-summary {
  width: 100%;
  padding: 2rem;
  margin: 1.5rem 0.5rem;
  background-color: #ecececc4;
}

/* on mobile and tablets */
@media (max-width: 768px) {
  .result-item {
    margin: 0.2rem 0;
    padding: 0.1rem;
    /* border: 1px solid #e9e9e9; */
    border-radius: 5px;
    /* background-color: #ececec33; */
  }
  .search-result-title {
    border-bottom-width: 0;
    margin-top: 1px;
    color: #323f4a;
    font-style: normal;
  }
  #search-summary {
    width: 100%;
    padding: 0.2rem;
    margin: 0.55rem 0;
    background-color: #ecececc4;
  }
}
