/* src/styles/MealPlannerPage.css */

.meal-planner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: linear-gradient(to right, #38a169, #2b6cb0);
  min-height: 100vh;
}

.meal-planner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.meal-planner-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.filter-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.filter-section h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

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

.meal-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.meal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.meal-card.selected {
  border: 2px solid #3b82f6;
}

.meal-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.meal-info p {
  font-size: 0.875rem;
  color: #64748b;
}

.summary-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.summary-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.nutrition-summary {
  background-color: #f8fafc;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.nutrition-summary h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.nutrition-summary div {
  font-size: 0.875rem;
  color: #475569;
  display: flex;
  justify-content: space-between;
}