.meal-planner-page { max-width: 1400px; margin: 0 auto; padding: 2rem; } .meal-planner-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; } .meal-planner-header h1 { margin: 0; color: #2d5016; } .view-toggle { display: flex; gap: 0; border: 2px solid #ddd; border-radius: 8px; overflow: hidden; } .view-toggle button { padding: 0.5rem 1.5rem; border: none; background: #e8e8e8; color: #333; cursor: pointer; transition: all 0.2s; font-weight: 500; } .view-toggle button:hover { background: #d0d0d0; } .view-toggle button.active { background: #2e7d32; color: white; } .view-toggle button:not(:last-child) { border-right: 1px solid #ddd; } .btn-shopping-list { padding: 0.75rem 1.5rem; background: #2196f3; color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; transition: background 0.2s; } .btn-shopping-list:hover { background: #1976d2; } .navigation-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding: 1rem; background: #f5f5f5; border-radius: 8px; } .nav-btn { padding: 0.5rem 1rem; background: #e8e8e8; color: #333; border: 1px solid #bbb; border-radius: 6px; cursor: pointer; transition: all 0.2s; font-weight: 500; } .nav-btn:hover { background: #d0d0d0; border-color: #999; } .date-range { display: flex; align-items: center; gap: 1rem; } .date-range h2 { margin: 0; font-size: 1.5rem; color: #333; } .btn-today { padding: 0.5rem 1rem; background: #2e7d32; color: white; border: none; border-radius: 6px; cursor: pointer; font-size: 0.9rem; transition: background 0.2s; font-weight: 500; } .btn-today:hover { background: #27632a; } .loading, .error { text-align: center; padding: 2rem; font-size: 1.1rem; } .error { color: #d32f2f; background: #ffebee; border-radius: 8px; } /* Responsive */ @media (max-width: 768px) { .meal-planner-page { padding: 1rem; } .meal-planner-header { flex-direction: column; align-items: stretch; } .view-toggle { width: 100%; } .view-toggle button { flex: 1; } .navigation-bar { flex-direction: column; gap: 1rem; } .date-range { flex-direction: column; text-align: center; } }