.dfx-places-activity-swatch {
  background: #ffe3cc;
}

.dfx-places-place-marker.is-daily,
.dfx-places-activity-swatch.is-daily {
  background: #ff4d00;
}

.dfx-places-place-marker.is-weekly,
.dfx-places-activity-swatch.is-weekly {
  background: #ff7a29;
}

.dfx-places-place-marker.is-monthly,
.dfx-places-activity-swatch.is-monthly {
  background: #ffa05c;
}

.dfx-places-place-marker.is-idle,
.dfx-places-activity-swatch.is-idle {
  background: #ffc48f;
}

.dfx-places-place-marker.is-none,
.dfx-places-activity-swatch.is-none {
  background: #ffe3cc;
}

.dfx-places-place-marker {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #d23b3b;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.dfx-places-activity-swatch {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.dfx-places-map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  position: relative;
  z-index: 3;
  margin-top: 1.5rem;
}

.dfx-places-symbol-filter {
  position: relative;
}

.dfx-places-symbol-filter-value {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-sizing: border-box;
  min-width: 7.5rem;
  height: 38px;
  margin: 0;
  padding: 0 1.15rem 0 0;
  border: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23272b38' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 12px 8px;
  color: #272b38;
  font-family: Barlow, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.01em;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.dfx-places-symbol-filter:hover .dfx-places-symbol-filter-value,
.dfx-places-symbol-filter:focus-within .dfx-places-symbol-filter-value {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232231ef' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.dfx-places-symbol-filter-value:focus {
  outline: none;
}

.dfx-places-symbol-filter-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dfx-places-symbol-filter-mark {
  display: inline-flex;
  flex: none;
  align-items: center;
}

.dfx-places-symbol-filter-mark[hidden] {
  display: none;
}

.dfx-places-symbol-filter-icon {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.dfx-places-symbol-filter-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 100%;
  max-height: 16rem;
  margin: 0;
  padding: 0.35rem;
  overflow: auto;
  border: 1px solid #ced1da;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 39, 0.12);
}

.dfx-places-symbol-filter-menu[hidden] {
  display: none;
}

.dfx-places-symbol-filter-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  margin: 0;
  padding: 0.4rem 0.65rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #272b38;
  font-family: Barlow, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.01em;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.dfx-places-symbol-filter-option:hover,
.dfx-places-symbol-filter-option:focus-visible,
.dfx-places-symbol-filter-option[aria-selected="true"] {
  background: #f4f5f8;
}

.dfx-places-symbol-filter-option:focus-visible {
  outline: 2px solid #2231ef;
  outline-offset: -2px;
}

@media screen and (max-width: 767px) {
  .dfx-places-symbol-filter-value {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
}

.dfx-places-tech-provider {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.75rem;
  box-sizing: border-box;
  max-width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 0.9rem 0 1rem;
  border: 1px solid #ced1da;
  border-radius: 20px;
  background: #fff;
  color: #272b38;
  font-family: Barlow, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: border-color 0.2s;
}

.dfx-places-tech-provider:hover {
  border-color: #272b38;
}

.dfx-places-tech-provider:focus-within {
  border-color: #2231ef;
  outline: 2px solid #2231ef;
  outline-offset: 2px;
}

.dfx-places-tech-provider-label {
  flex: none;
  padding-right: 0.75rem;
  border-right: 1px solid #e5e6eb;
  color: #272b38;
  font-family: Barlow, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.01em;
}

.dfx-places-tech-provider select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 0;
  border: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23272b38' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 12px 8px;
  padding: 0 1.15rem 0 0;
  height: 38px;
  min-width: 7.5rem;
  color: #272b38;
  font-family: Barlow, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.dfx-places-tech-provider:hover select,
.dfx-places-tech-provider:focus-within select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232231ef' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.dfx-places-tech-provider select:focus {
  outline: none;
}

@media screen and (max-width: 767px) {
  .dfx-places-tech-provider {
    width: 100%;
    justify-content: space-between;
  }

  .dfx-places-tech-provider select {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
}

.dfx-places-stores-csv {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.75rem 1rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid #e5e6eb;
  border-radius: 0.75rem;
  background: #fff;
  color: #272b38;
  font-family: Barlow, sans-serif;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

#dfx-places-table-wrap {
  display: block;
  margin-top: 2.75rem;
  overflow-x: auto;
  border: 1px solid #e5e6eb;
  border-radius: 1.25rem;
  background: #fff;
}

#dfx-places-table-wrap[hidden] {
  display: none;
}

#dfx-places-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  color: #272b38;
  font-family: Barlow, sans-serif;
  font-size: 16px;
  line-height: 24px;
}

#dfx-places-table-wrap th,
#dfx-places-table-wrap td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e6eb;
  text-align: left;
  vertical-align: top;
}

#dfx-places-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

#dfx-places-table-wrap th {
  background: #f7f8fa;
  font-weight: 600;
  white-space: nowrap;
}

.dfx-places-activity-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dfx-places-activity-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #272b38;
  line-height: 0;
  cursor: pointer;
}

.dfx-places-activity-help:hover,
.dfx-places-activity-help:focus-visible {
  color: #2231ef;
}

.dfx-places-activity-help:focus-visible {
  outline: 2px solid #2231ef;
  outline-offset: 2px;
  border-radius: 50%;
}

.dfx-places-activity-help-panel {
  inset: auto;
  width: min(18rem, calc(100vw - 1.5rem));
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid #e5e6eb;
  border-radius: 0.75rem;
  background: #fff;
  color: #272b38;
  font-family: Barlow, sans-serif;
  font-size: 14px;
  line-height: 20px;
  box-shadow: 0 8px 24px rgba(16, 24, 39, 0.12);
}

.dfx-places-activity-help-panel dl {
  margin: 0;
}

.dfx-places-activity-help-panel dt {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.dfx-places-activity-help-panel dd {
  margin: 0 0 0.55rem;
}

.dfx-places-activity-help-panel dd:last-child {
  margin-bottom: 0;
}

.dfx-places-activity-help-panel p {
  margin: 0.75rem 0 0;
}

#dfx-places-table-wrap td:first-child {
  min-width: 16rem;
  white-space: normal;
}

#dfx-places-table-wrap td:not(:first-child) {
  white-space: nowrap;
}

#dfx-places-table-wrap td:nth-child(2),
#dfx-places-table-wrap td:last-child {
  white-space: normal;
}

.dfx-places-place-popup {
  color: #272b38;
}

.dfx-places-place-popup img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.dfx-places-place-popup a,
.dfx-places-place-popup strong {
  color: #272b38;
  font-weight: 600;
}

.dfx-places-view-switch {
  flex-basis: 100%;
}

.dfx-places-view-switch-pill {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  height: 40px;
  padding: 3px;
  border: 1px solid #ced1da;
  border-radius: 20px;
  background: #fff;
  color: #272b38;
  font-family: Barlow, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.01em;
}

.dfx-places-view-switch-pill:focus-within {
  outline: 2px solid #2231ef;
  outline-offset: 2px;
}

.dfx-places-view-switch-choice {
  display: inline-flex;
  align-items: center;
  height: 32px;
  margin: 0;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #272b38;
  font-family: Barlow, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.dfx-places-view-switch-choice:focus {
  outline: none;
}

.dfx-places-view-switch-choice[aria-pressed="true"] {
  background: #272b38;
  color: #fff;
}

#dfx-places-map-wrap[hidden],
#dfx-places-table-wrap[hidden],
#dfx-places-status[hidden] {
  display: none;
}

#dfx-places-status {
  position: static;
  margin: 1rem 0 0;
}
