.search-results-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
}

.search-results-box {
  background: white;
  border-radius: 15px;
  max-width: 800px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-results-header {
  padding: 20px 25px;
  border-bottom: 2px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #04aa60 0%, #038d4f 100%);
  border-radius: 15px 15px 0 0;
}

.search-results-header h3 {
  margin: 0;
  color: white;
  font-size: 20px;
  font-weight: 600;
}

.close-search {
  background: transparent;
  border: none;
  font-size: 32px;
  color: white;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-search:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.search-results-body {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(80vh - 80px);
}

.search-result-item {
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin-bottom: 10px;
}

.search-result-item:hover {
  background: #f5f5f5;
  transform: translateX(5px);
}

.search-result-item:last-child {
  border-bottom: none;
}

.result-type {
  display: inline-block;
  padding: 4px 12px;
  background: #04aa60;
  color: white;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.search-result-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.search-result-item h4 {
  margin: 8px 0 5px 0;
  color: #282a35;
  font-size: 18px;
  font-weight: 600;
}

.result-category {
  color: #666;
  font-size: 14px;
  margin: 5px 0;
}

.result-desc {
  color: #888;
  font-size: 14px;
  margin: 5px 0 0 0;
}

.no-results {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 18px;
}

@media (max-width: 768px) {
  .search-results-box {
    max-width: 95%;
    max-height: 90vh;
  }

  .search-results-header h3 {
    font-size: 16px;
  }

  .search-result-item h4 {
    font-size: 16px;
  }
}

