.search-results-page {
  min-height: calc(100vh - 200px);
}

.search-header {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.search-header-content {
  width: 100%;
  padding: 0 1rem;
}

.search-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.search-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 1rem;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-toggle:hover {
  border-color: #cbd5e0;
  background: #f7fafc;
}

.filter-toggle.active {
  background: #2c5282;
  color: white;
  border-color: #2c5282;
}

.filter-badge {
  background: #e53e3e;
  color: white;
  font-size: 0.75rem;
  padding: 0.125rem 0.375rem;
  border-radius: 1rem;
  font-weight: 500;
}

.search-content {
  width: 100%;
  padding: 0 1rem;
}

.search-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.search-layout.with-filters {
  grid-template-columns: 300px 1fr;
}

.filter-sidebar {
  position: sticky;
  top: 1rem;
  height: fit-content;
  max-height: calc(100vh - 100px);
}

.results-header {
  margin-bottom: 1.5rem;
}

.results-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.search-query {
  color: #718096;
  font-style: italic;
}

.results-loading,
.results-error {
  text-align: center;
  padding: 3rem;
  color: #718096;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e2e8f0;
  border-top-color: #2c5282;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.result-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.result-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  border-color: #e6f3ff;
}

.result-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.result-icon {
  width: 48px;
  height: 48px;
  background: #e6f3ff;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #2c5282;
  flex-shrink: 0;
}

.result-info {
  flex: 1;
}

.result-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}

.result-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #718096;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.meta-divider {
  color: #cbd5e0;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f7fafc;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-label {
  font-size: 0.813rem;
  color: #718096;
}

.stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.stat-value.utilization-high {
  color: #22543d;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.stat-value.utilization-medium {
  color: #c05621;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.stat-value.utilization-low {
  color: #c53030;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.no-results {
  text-align: center;
  padding: 3rem;
  background: #f7fafc;
  border-radius: 0.75rem;
  color: #718096;
}

.no-results p {
  margin: 0.5rem 0;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: #f7fafc;
  border-color: #cbd5e0;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  color: #718096;
  font-size: 0.875rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .search-layout.with-filters {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    display: none;
  }

  .filter-sidebar.mobile-show {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
  }

  .result-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .stat-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}