/*
 * 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;
}

.golf-map {
  min-height: 20rem;
}

.golf-map-pin {
  align-items: center;
  background: #047857;
  border: 2px solid #ffffff;
  border-radius: 9999px 9999px 9999px 0;
  box-shadow: 0 8px 20px rgb(15 23 42 / 0.25);
  display: flex;
  height: 28px;
  justify-content: center;
  transform: rotate(-45deg);
  width: 28px;
}

.golf-map-pin::after {
  background: #ffffff;
  border-radius: 9999px;
  content: "";
  height: 10px;
  width: 10px;
}

@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: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}
