/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.opens-filters-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.opens-filters-form > fieldset {
  min-width: 0;
}

@media (min-width: 1024px) {
  .opens-filters-form {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr)
      minmax(0, 1.5fr)
      minmax(0, 2fr);
    align-items: end;
  }

  .opens-filters-date-grid {
    grid-template-columns: minmax(0, 9rem) minmax(0, 1fr);
    gap: 0.75rem;
  }
}
