/* Recebe Facil V46: accessible grouping for close condominium markers. */
.rf-map-mixed {
  --map-color: #0a3852;
  --map-tint: #edf6f8;
  --map-ink: #0a3852;
}

.rf-map-display-options {
  gap: 10px;
  flex-wrap: wrap;
}

.rf-map-view-all {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #bed8d3;
  border-radius: 13px;
  background: #e8f6f1;
  color: #00634f;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.rf-map-view-all:focus-visible,
.rf-map-group-item:focus-visible {
  outline: 3px solid #0a8470;
  outline-offset: 3px;
}

.rf-map-pin.rf-map-cluster:after {
  content: none;
}

.rf-map-cluster-count {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--map-color, #0a3852);
  color: #fff;
  font-size: 21px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 4px 12px #082d4459, 0 0 0 4px #ffffff65;
}

.rf-map-cluster.is-selected .rf-map-cluster-count {
  box-shadow: 0 0 0 3px #0a8470, 0 4px 12px #082d4459;
}

.rf-map-group-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 210px;
  width: min(280px, 68vw);
  max-height: 270px;
  overflow-y: auto;
  padding: 2px;
  color: #0a3047;
}

.rf-map-group-heading {
  padding: 8px 7px 9px;
  color: #143a48;
  font-size: 14px;
}

.rf-map-group-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e4edef;
  border-radius: 9px;
  padding: 10px 8px;
  background: #fff;
  color: #143a48;
  text-align: left;
  cursor: pointer;
}

.rf-map-group-item:hover,
.rf-map-group-item:focus-visible {
  background: #f0f7f5;
}

.rf-map-group-item i {
  display: block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--map-color, #64748b);
}

.rf-map-group-item span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.rf-map-group-item b {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.rf-map-group-item small {
  color: #64758a;
  font-size: 11px;
}

.rf-map-cluster-help {
  margin: 10px 7px 0;
  color: #5b7180;
  font-size: 12px;
  line-height: 1.4;
}

#rf-map-list-heading {
  scroll-margin-top: 100px;
}

@media (max-width: 767px) {
  .rf-map-display-options {
    justify-content: space-between;
  }
  .rf-map-view-all,
  .rf-map-names-toggle {
    font-size: 12px;
    padding-left: 11px;
    padding-right: 11px;
  }
}
