/* Nav */

.nav-title {

  color: #317D4F;
  font-weight: bold;

}

.nav-separator {
  font-weight: bold;
}

/* Container */

.main-section {
  margin-top: var(--s4);
}

/* Forms and Progress */

.input {
  flex: 1;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  width: 100%;
}

.progress {
  --progress-height: 1rem;
  background-color: #e9ecef;
  border-radius: var(--radius);
  height: var(--progress-height);
  width: 100%;
  overflow: hidden;
}

.progress .bar {
  background-color: var(--accent);
  height: 100%;
  width: var(--progress-percent, 0%);
  transition: width 0.3s ease;
  text-align: center;
  color: white;
  font-size: 0.8rem;
  line-height: var(--progress-height);
}

/* Search Results */

.searchbar {
  width:90%;
  flex: 1;
  margin: 1rem;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius, 0.25rem);  
}

.searchbutton {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background: var(--accent, #0d6efd);
  color: white;
  border: none;
  border-radius: var(--radius, 0.25rem);
  cursor: pointer;  
}

.sr-result {
  padding: var(--s1);
  border-bottom: 1px solid #ddd;
}

.sr-title {
  color: #317D4F;
  font-size: 1.1rem;
  font-weight: bold;
}

.sr-url {
  color: var(--text);
  font-size: 0.8rem;
  word-break: break-all;  
}

.sr-highlight,
.sr-description {
  color: var(--text);
  font-size: 0.95rem;
  margin-top: 10px;
}

/* Search Bar */
.autocomplete {
  position: absolute;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #ddd;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.autocomplete div {
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.autocomplete div:hover,
.autocomplete div.selected {
  background-color: rgba(22, 88, 22, 0.1);
}