/* Gruvbox Light theme colors for search page */
.search-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fbf1c7;
  min-height: 100vh;
  font-family: 'Courier New', monospace;
  color: #3c3836;
}

.search-container h1 {
  color: #9d0006;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 1px solid #d5c4a1;
  padding-bottom: 10px;
}

.search-input-container {
  position: relative;
  margin-bottom: 20px;
}

#search-input {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #d5c4a1;
  border-radius: 0;
  box-sizing: border-box;
  background-color: #f9f5d7;
  color: #3c3836;
  font-family: 'Courier New', monospace;
}

#search-input:focus {
  outline: none;
  border-color: #b57614;
  background-color: #fbf1c7;
}

.search-loading {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #7c6f64;
  font-size: 14px;
  font-family: 'Courier New', monospace;
}

.search-filters {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-group label {
  font-size: 14px;
  font-weight: bold;
  color: #3c3836;
  font-family: 'Courier New', monospace;
}

.filter-group select {
  padding: 6px 10px;
  border: 1px solid #d5c4a1;
  border-radius: 0;
  font-size: 14px;
  background-color: #f9f5d7;
  color: #3c3836;
  font-family: 'Courier New', monospace;
}

.filter-group select:focus {
  outline: none;
  border-color: #b57614;
  background-color: #fbf1c7;
}

.search-results-count {
  margin-bottom: 20px;
  font-size: 14px;
  color: #7c6f64;
  font-family: 'Courier New', monospace;
}

.search-result {
  border: 1px solid #d5c4a1;
  border-radius: 0;
  padding: 15px;
  margin-bottom: 16px;
  background-color: #f9f5d7;
  transition: background-color 0.2s ease;
}

.search-result:hover {
  background-color: #fbf1c7;
}

.result-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  font-family: 'Courier New', monospace;
}

.result-title a {
  color: #076678;
  text-decoration: none;
}

.result-title a:hover {
  color: #458588;
  text-decoration: underline;
}

.result-meta {
  font-size: 12px;
  color: #7c6f64;
  margin-bottom: 12px;
  font-family: 'Courier New', monospace;
}

.result-excerpt {
  font-size: 14px;
  line-height: 1.4;
  color: #3c3836;
  margin-bottom: 12px;
  font-family: 'Courier New', monospace;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background-color: #ebdbb2;
  color: #3c3836;
  padding: 2px 6px;
  border-radius: 0;
  font-size: 11px;
  font-weight: normal;
  font-family: 'Courier New', monospace;
  border: 1px solid #d5c4a1;
}

.tag.highlight {
  background-color: #b57614;
  color: #fbf1c7;
  border-color: #b57614;
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  color: #7c6f64;
  font-family: 'Courier New', monospace;
  background-color: #f9f5d7;
  border: 1px solid #d5c4a1;
  border-radius: 0;
}

.highlight {
  background-color: #fabd2f;
  color: #3c3836;
  font-weight: bold;
}

.search-error {
  background-color: #fdf4c1;
  border: 1px solid #d79921;
  border-radius: 0;
  padding: 20px;
  margin: 20px 0;
  color: #b57614;
  font-family: 'Courier New', monospace;
}

.search-error h3 {
  margin-top: 0;
  color: #b57614;
  font-family: 'Courier New', monospace;
  font-weight: bold;
}

@media (max-width: 600px) {
  .search-filters {
    flex-direction: column;
    gap: 15px;
  }
  
  .filter-group {
    width: 100%;
  }
  
  .filter-group select {
    width: 100%;
  }
}