.unepccc-map-container {
  font-family: sans-serif;
  text-align: center;
  padding: 20px 0;
}

.map-header {
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.map-filters-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.filter-label {
  font-size: 12px;
  font-weight: 800;
  color: #333;
}

.map-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.filter-item {
  position: relative;
  display: inline-block;
}
.filter-item select {
  max-width: 150px;
  min-width: 100px;
  padding: 0 15px;
}

.map-filter {
  appearance: none; /* Removes native dropdown arrow */
  -webkit-appearance: none;
  background: transparent;
  border: none;
  font-size: 14px;
  color: #333;
  padding: 5px 25px 5px 0;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.map-filter:hover {
  border-bottom: 1px solid #ccc;
}

/* Custom Arrow Icon using CSS borders */
.filter-arrow {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
  pointer-events: none;
}

.search-country-text-wrapper {
  width: 100%;
  text-align: left;
  margin-bottom: 0.5rem;
}

.search-label {
  display: block;
  font-weight: bold;
  vertical-align: middle;
  line-height: 2.5rem;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: #333;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 2.5rem; /* Space on left for icon */
  border: 1px solid #000;
  font-size: 0.75rem;
  outline: none;
}

.search-input::placeholder {
  color: #888;
}

.btn-reset-filters {
  /* Remove default button styling */
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  /* Layout and Typography */
  display: flex;
  align-items: center;
  font-family: inherit;
  font-size: 14px;
  color: #333;
}

.reset-icon {
  margin-right: 6px;
  display: flex;
  align-items: center;
}

.btn-reset-filters:hover {
  color: #000;
}

.highcharts-map-canvas {
  height: 500px;
  width: 100%;
  background: #f9f9f9;
}

.map-description-wrapper {
  text-align: left;
  font-size: 2rem;
}

.block-unepccc-highcharts-map-block h2.subtitle {
  text-align: center;
}

.unepccc-map-container .map-filters label {
  padding: 0.5rem 0.75rem;
}
.unepccc-map-container .map-phase-filter {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border: none;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
}

.unepccc-map-container .map-phase-filter:checked::after {
  content: '✔';
  color: white;
  font-size: 10px;
  display: block;
  text-align: center;
  line-height: 12px;
}
