.search-page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.search-page-header h1 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 1rem;
}

.search-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  align-items: center;
}

.search-input-large {
  flex-grow: 1;
  max-width: 500px;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input-large:focus {
  border-color: #3b82f6;
}

.filter-select {
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  background-color: #ffffff;
  cursor: pointer;
}

.filter-select:focus {
  border-color: #3b82f6;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.sim-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
  overflow: hidden;
  height: 100%;
}

.sim-card:hover {
  transform: translateY(-4px);
}

.sim-card-image {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.sim-card-image.is-fallback {
  object-fit: contain;
  padding: 1rem;
}

.sim-card-content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-card-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.sim-card-desc {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sim-card-badge {
  align-self: flex-start;
  background-color: #e0e7ff;
  color: #4338ca;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.sim-card-task-badge {
  align-self: flex-start;
  background-color: #d1fae5;
  color: #065f46;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.no-results {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
  font-size: 1.2rem;
  grid-column: 1 / -1;
}

#results-count {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #4b5563;
}
