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

.list-header h1 {
  font-size: 2rem;
  color: #1b4332;
  margin: 0 0 0.3rem;
}

.subtitle {
  color: #6c757d;
  margin: 0;
}

.filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 200px;
  padding: 0.6rem 1rem;
  border: 1.5px solid #b7e4c7;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: #52b788;
}

.category-select {
  padding: 0.6rem 1rem;
  border: 1.5px solid #b7e4c7;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  cursor: pointer;
  outline: none;
}

.category-select:focus {
  border-color: #52b788;
}

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

.recipe-card {
  background: #fff;
  border: 1.5px solid #d8f3dc;
  border-radius: 12px;
  padding: 1.4rem;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.recipe-card:hover {
  box-shadow: 0 6px 20px rgba(45, 106, 79, 0.15);
  transform: translateY(-3px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-badge {
  background: #d8f3dc;
  color: #2d6a4f;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
}

.rating .star {
  color: #f4a522;
  font-size: 1rem;
}

.card-title {
  font-size: 1.2rem;
  color: #1b4332;
  margin: 0;
}

.card-desc {
  color: #555;
  font-size: 0.92rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  font-size: 0.85rem;
  color: #888;
}

.card-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.btn {
  padding: 0.45rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.85; }

.btn-primary { background: #2d6a4f; color: #fff; }
.btn-secondary { background: #b7e4c7; color: #1b4332; }
.btn-danger { background: #e63946; color: #fff; }
.btn-outline {
  background: transparent;
  border: 1.5px solid #adb5bd;
  color: #495057;
}

.status-msg {
  text-align: center;
  padding: 2rem;
  color: #555;
}

.status-msg.error { color: #e63946; }

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #888;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
