/* Zestful Recipe Search Styles */

/* Container holds the search form and results */
.zrs-search-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

/* Header with logo */
.zrs-search-header {
  margin-bottom: 1rem;
}
.zrs-search-logo {
  height: 50px;
  width: auto;
}

/* Search form layout */
.zrs-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}
.zrs-search-label {
  font-size: 0.875rem;
  color: #1E5A3E;
  margin-right: 0.25rem;
}
.zrs-search-input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid rgba(9, 166, 109, 0.15);
  border-radius: 4px;
  font-size: 0.875rem;
  color: #19232E;
  background: #ffffff;
}
.zrs-search-button {
  background-color: #09A66D;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
}
.zrs-search-button:hover,
.zrs-search-button:focus {
  background-color: #0b8855;
}
.zrs-search-reset {
  background: none;
  border: none;
  color: #09A66D;
  font-size: 0.875rem;
  margin-left: 0.5rem;
  cursor: pointer;
  text-decoration: underline;
}
.zrs-search-reset:hover,
.zrs-search-reset:focus {
  color: #0b8855;
}

/* Notice and empty messages */
.zrs-search-note,
.zrs-search-empty {
  font-size: 0.85rem;
  color: #5B6776;
  margin-bottom: 1rem;
}

/* Results list */
.zrs-search-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Individual result card */
.zrs-search-card {
  background-color: #ffffff;
  border: 1px solid rgba(9, 166, 109, 0.15);
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.zrs-search-title {
  margin: 0;
  font-size: 1.1rem;
  color: #19232E;
  line-height: 1.25;
}
.zrs-search-title a {
  color: inherit;
  text-decoration: none;
}
.zrs-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.zrs-search-tag {
  background-color: #EAF5F0;
  color: #1E5A3E;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.zrs-search-desc {
  margin: 0;
  font-size: 0.85rem;
  color: #5B6776;
}
.zrs-search-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #19232E;
}
.zrs-search-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.zrs-search-icon {
  font-size: 1rem;
}