// Bordered box around the search criteria. .filter-box { border: 1px solid #d0d5dd; border-radius: 6px; padding: 4px 16px 16px; margin: 0 0.5rem 14px; legend { padding: 0 6px; font-weight: 600; width: auto; } } // Labels sit above their date pickers; the Preview button lines up with the pickers' bottom edge. .filter-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 24px; } .filter-field { display: flex; flex-direction: column; gap: 4px; width: 280px; label { font-weight: 600; } kendo-datepicker { width: 100%; } } .filter-action { margin-left: auto; } .grid-search { width: 280px; } .grid-count { margin-left: 12px; white-space: nowrap; } @media (max-width: 600px) { .filter-field, .grid-search { width: 100%; } .filter-action { margin-left: 0; } }