/*
 * 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.
 */

/* Ajustes do Leaflet exigidos pela etapa 2 (alvos de 44px e foco visível). */
.leaflet-container {
  font-family: inherit;
}

.leaflet-control-zoom a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  line-height: 1;
  font-size: 20px;
}

.leaflet-popup-content {
  margin: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
}

.leaflet-control a:focus-visible,
.leaflet-marker-icon:focus-visible,
.leaflet-popup-close-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.map-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
}

.map-marker__dot {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  border: 3px solid var(--color-white);
  background-color: var(--color-primary);
}

@media (prefers-reduced-motion: reduce) {
  .leaflet-pane,
  .leaflet-control,
  .leaflet-zoom-animated,
  .leaflet-fade-anim .leaflet-popup {
    animation: none !important;
    transition: none !important;
  }
}
