/* MVP Mobile-First Styles */

/* Prevent iOS zoom */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

/* 44px minimum touch targets */
.cta-button,
button,
a[role="button"],
input[type="button"],
input[type="submit"] {
  min-height: 44px;
  min-width: 44px;
}

/* Simple responsive grid */
.dinner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Toast notifications */
.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: #1f2937;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 50;
  font-size: 0.875rem;
  max-width: 300px;
}

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 0.75rem;
  display: flex;
  justify-content: space-around;
}

.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #6b7280;
  font-size: 0.75rem;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
}

.mobile-nav a.active {
  color: #2563eb;
}

/* Recipe card optimizations */
.recipe-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.recipe-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* Progress indicators */
.progress-bar {
  width: 100%;
  background-color: #e5e7eb;
  border-radius: 9999px;
  height: 0.5rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #2563eb;
  transition: width 0.3s ease;
}

/* Checkbox styling for shopping list */
input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #2563eb;
}

/* Error states */
.error-state {
  text-align: center;
  padding: 3rem 1rem;
}

.error-state h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #dc2626;
}

.error-state p {
  color: #6b7280;
  margin-bottom: 2rem;
}

/* Empty states */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-state h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.empty-state p {
  color: #6b7280;
  margin-bottom: 2rem;
}

/* Loading states */
.loading-spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 3px solid #e5e7eb;
  border-radius: 50%;
  border-top-color: #2563eb;
  animation: spin 1s ease-in-out infinite;
}

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

/* Responsive breakpoints */
@media (min-width: 768px) {
  .dinner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .dinner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}