.dcc-map-wrapper,
.dcc-map-wrapper * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.dcc-map-wrapper {
  --dcc-font-family: 'Outfit', sans-serif;
  --dcc-font-feature-settings: 'liga' off, 'clig' off;
  --dcc-primary-purple: #9430FF;
  --dcc-primary-white: #ffffff;
  --dcc-dark-blue: #19193C;
  --dcc-navy: #1B1A3B;
  --dcc-page-bg: #F8F4F4;
  --dcc-loader-bg: rgba(255, 255, 255, 0.95);
  --dcc-mobile-control-gap: 0px;
  /* --dcc-mobile-viewport-height and --dcc-mobile-browser-bottom are set on <html> by script.js (fallbacks used in place) */
  
  /* Z-index layers */
  --dcc-z-controls: 10;
  --dcc-z-loader: 20;
  --dcc-z-popup: 30;
}

.dcc-map-wrapper {
  background: var(--dcc-page-bg);
  font-family: var(--dcc-font-family);
  position: relative;
  padding: 16px 24px 40px;
}

/* â”€â”€ Map title & description â”€â”€ */
/* Spacing & type per Figma: Desktop/H3 title, 32px gap, Desktop/Body M intro (528px wide), 32px gap to the tabs */
.dcc-map-wrapper .dcc-map-header {
  max-width: 639px;
  padding-top: 24px;
  margin-bottom: 32px;
}

/* Desktop/H3 - Outfit */
.dcc-map-wrapper .dcc-map-title {
  color: var(--dcc-dark-blue);
  font-feature-settings: var(--dcc-font-feature-settings);
  font-size: 48px;
  font-weight: 700;
  line-height: 44px;
  text-transform: uppercase;
}

/* Desktop/Body M - Outfit */
.dcc-map-wrapper .dcc-map-intro {
  max-width: 528px;
  margin-top: 32px;
  color: var(--dcc-dark-blue);
  font-feature-settings: var(--dcc-font-feature-settings);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.dcc-map-wrapper .dcc-map-intro a {
  color: inherit;
  text-decoration: underline;
}

/* â”€â”€ Region toggle â”€â”€ */
.dcc-map-wrapper .dcc-region-tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  margin-bottom: 32px;
  background: var(--dcc-navy);
  border-radius: 999px;
}

.dcc-map-wrapper .dcc-region-tabs[hidden] {
  display: none;
}

/* â”€â”€ Tab content (per region, below the tabs) â”€â”€ */
/* Optional logo box on the left, text on the right (Figma: flex, flex-start, 16px gap; 646 Ã— 76 with logo) */
.dcc-map-wrapper .dcc-region-panel {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 42px;
}

.dcc-map-wrapper .dcc-region-panel-body {
  flex: 1;
  min-width: 0;
  max-width: 528px;
}

.dcc-map-wrapper .dcc-region-panel-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Figma: 20px padding around a 62 Ã— 36 image â†’ 102 Ã— 76 box */
  width: 102px;
  height: 76px;
  padding: 20px;
  background: var(--dcc-primary-white);
}

.dcc-map-wrapper .dcc-region-panel-logo img {
  display: block;
  width: 62px;
  height: 36px;
  object-fit: contain;
}

.dcc-map-wrapper .dcc-region-panel[hidden] {
  display: none;
}

.dcc-map-wrapper .dcc-region-panel-title {
  color: var(--dcc-primary-purple);
  font-feature-settings: var(--dcc-font-feature-settings);
  font-size: 18px;
  font-weight: 500;
  line-height: 23px;
  text-transform: uppercase;
}

.dcc-map-wrapper .dcc-region-panel-text {
  color: var(--dcc-dark-blue);
  font-feature-settings: var(--dcc-font-feature-settings);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.dcc-map-wrapper .dcc-region-panel-title + .dcc-region-panel-text {
  margin-top: 8px;
}

.dcc-map-wrapper .dcc-region-panel-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 16px;
}

.dcc-map-wrapper .dcc-region-panel > .dcc-region-panel-image:first-child {
  margin-top: 0;
}

.dcc-map-wrapper .dcc-region-tab {
  padding: 7px 13px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--dcc-primary-white);
  font-family: var(--dcc-font-family);
  font-feature-settings: var(--dcc-font-feature-settings);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dcc-map-wrapper .dcc-region-tab:hover:not(.dcc-active) {
  color: #C9A3FF;
}

.dcc-map-wrapper .dcc-region-tab.dcc-active {
  background: var(--dcc-primary-purple);
}

.dcc-map-wrapper .dcc-region-tab:focus-visible {
  outline: 2px solid var(--dcc-primary-purple);
  outline-offset: 2px;
}

.dcc-map-wrapper .dcc-map-container {
  position: relative;
  width: 100%;
  height: 526px;
  background: #ffffff;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.dcc-map-wrapper .dcc-chartdiv {
  width: 100%;
  height: 100%;
  cursor: default;
}

.dcc-map-wrapper .dcc-popup-card,
.dcc-map-wrapper .dcc-popup-card * {
  user-select: text;
  -webkit-user-select: text;
  cursor: default;
}

/* â”€â”€ Custom zoom controls â”€â”€ */
.dcc-map-wrapper .dcc-zoom-controls {
  position: absolute;
  bottom: 0px;
  right: 0px;
  display: flex;
  gap: 0;
  z-index: var(--dcc-z-controls);
  display:none;
}

.dcc-map-wrapper .dcc-zoom-btn {
  display: flex;
  width: 34px;
  height: 34px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.5s ease;
}

.dcc-map-wrapper .dcc-zoom-btn:hover {
  filter: brightness(0.95);
}

.dcc-map-wrapper .dcc-zoom-btn:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 2px;
}


.dcc-map-wrapper .dcc-zoom-out {
  background: #F8F4F4;
  color: #19193C;
}

.dcc-map-wrapper .dcc-zoom-in {
  background: #9430FF;
  color: #ffffff;
}

.dcc-map-wrapper .dcc-zoom-btn:hover {
  filter: none;
}

.dcc-map-wrapper .dcc-zoom-in:hover {
  background: var(--dcc-primary-white);
  color: var(--dcc-primary-purple);
}

.dcc-map-wrapper .dcc-zoom-out:hover {
  background: var(--dcc-primary-purple);
  color: var(--dcc-primary-white);
}

/* â”€â”€ Popup wrapper â”€â”€ */
/* Tooltip sits above the marker (card on top, arrow below); .dcc-flipped puts it below */
.dcc-map-wrapper .dcc-popup-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--dcc-z-popup);
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(27, 26, 59, 0.15));
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

.dcc-map-wrapper .dcc-popup-wrapper.dcc-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Arrow pointing at the marker */
.dcc-map-wrapper .dcc-popup-arrow {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
  flex-shrink: 0;
}

.dcc-map-wrapper .dcc-popup-wrapper.dcc-flipped {
  flex-direction: column;
}

.dcc-map-wrapper .dcc-popup-wrapper.dcc-flipped .dcc-popup-arrow {
  border-top: 0;
  border-bottom: 8px solid #fff;
}

/* Card â€” spacing per Figma: 10/14 padding for text-only cards, 16/20 when logos are shown */
.dcc-map-wrapper .dcc-popup-card {
  display: inline-flex;
  width: max-content;
  min-width: 0;
  max-width: 300px;
  padding: 10px 14px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #fff;
  border-radius: 3px;
  pointer-events: auto;
  position: relative;
}

.dcc-map-wrapper .dcc-popup-card.dcc-has-logos {
  padding: 16px 20px;
}

.dcc-map-wrapper .dcc-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.dcc-map-wrapper .dcc-popup-title {
  color: #00272B;
  font-feature-settings: var(--dcc-font-feature-settings);
  font-family: var(--dcc-font-family);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
  text-transform: inherit;
}

/* Title-only card: lighter, tighter title */
.dcc-map-wrapper .dcc-popup-card.dcc-title-only .dcc-popup-title {
  font-weight: 400;
  line-height: 20px;
}

.dcc-map-wrapper .dcc-popup-subtitle {
  color: var(--dcc-primary-purple);
  font-feature-settings: var(--dcc-font-feature-settings);
  font-family: var(--dcc-font-family);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 23px;
  margin-top:8px;
}

.dcc-map-wrapper .dcc-popup-subtitle:empty {
  display: none;
}

.dcc-map-wrapper .dcc-popup-description:empty {
  display: none;
}

/* Brand logos */
.dcc-map-wrapper .dcc-popup-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 40px;
  /* 8px card gap + 16px = 24px between the text and the logos */
  margin-top: 16px;
}

.dcc-map-wrapper .dcc-popup-logos:empty {
  display: none;
}

.dcc-map-wrapper .dcc-popup-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.dcc-map-wrapper .dcc-popup-description {
  color: var(--dcc-dark-blue);
  font-feature-settings: var(--dcc-font-feature-settings);
  font-family: var(--dcc-font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

/* â”€â”€ Mobile-only controls (hidden on desktop) â”€â”€ */
.dcc-map-wrapper .dcc-location-select,
.dcc-map-wrapper .dcc-popup-close {
  display: none;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Mobile (â‰¤ 768px)  */
/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
  /* Spacing per Figma (mobile): 40px top / 20px sides, 30px title â†’ intro, 40px intro â†’ tabs */
  .dcc-map-wrapper {
    padding: 40px 20px 16px;
  }

  .dcc-map-wrapper .dcc-map-header {
    padding-top: 0;
    margin-bottom: 40px;
  }

  /* Mobile/H3 - Outfit */
  .dcc-map-wrapper .dcc-map-title {
    font-size: 26px;
    line-height: 26px;
  }

  .dcc-map-wrapper .dcc-map-intro {
    max-width: none;
    margin-top: 30px;
  }

  /* Region toggle spans the full width, tabs share it equally */
  .dcc-map-wrapper .dcc-region-tabs {
    display: flex;
    width: 100%;
    padding: 8px;
    gap: 0;
    margin-bottom: 24px;
  }

  .dcc-map-wrapper .dcc-region-panel {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
  }

  .dcc-map-wrapper .dcc-region-panel-body {
    max-width: none;
  }

  .dcc-map-wrapper .dcc-region-tab {
    flex: 1;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
  }

  /* â”€â”€ Location dropdown â”€â”€ */
  .dcc-map-wrapper .dcc-location-select {
    display: block;
    position: relative;
    margin-bottom: 12px;
    z-index: calc(var(--dcc-z-popup) + 1);
    font-family: var(--dcc-font-family);
  }

  .dcc-map-wrapper .dcc-location-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 16px;
    background: #fff;
    border: 1px solid #DADADA;
    border-radius: 4px;
    color: var(--dcc-dark-blue);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    cursor: pointer;
  }

  .dcc-map-wrapper .dcc-location-toggle:focus-visible {
    outline: 2px solid var(--dcc-primary-purple);
    outline-offset: 2px;
  }

  .dcc-map-wrapper .dcc-location-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dcc-map-wrapper .dcc-location-select:not(.dcc-has-value) .dcc-location-value {
    color: #A0A0A0;
  }

  .dcc-map-wrapper .dcc-location-chevron {
    flex-shrink: 0;
    color: #757575;
    transition: transform 0.2s ease;
  }

  /* Open: field joins the list, underlined in navy */
  .dcc-map-wrapper .dcc-location-select.dcc-open .dcc-location-toggle {
    border-color: transparent;
    border-bottom-color: var(--dcc-dark-blue);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .dcc-map-wrapper .dcc-location-select.dcc-open .dcc-location-chevron {
    color: #111;
    transform: rotate(180deg);
  }

  .dcc-map-wrapper .dcc-location-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    list-style: none;
    background: #fff;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .dcc-map-wrapper .dcc-location-list[hidden] {
    display: none;
  }

  .dcc-map-wrapper .dcc-location-option {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    background: #fff;
    color: #505050;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    cursor: pointer;
  }

  .dcc-map-wrapper .dcc-location-option:hover,
  .dcc-map-wrapper .dcc-location-option:focus-visible,
  .dcc-map-wrapper .dcc-location-option[aria-selected="true"] {
    background: #F8F4F4;
    color: var(--dcc-dark-blue);
    outline: none;
  }

  .dcc-map-wrapper .dcc-map-container {
    height: 439px;
  }

  .dcc-map-wrapper .dcc-zoom-controls {
    position: absolute;
    right: calc(env(safe-area-inset-right, 0px) + var(--dcc-mobile-control-gap));
    bottom: calc(env(safe-area-inset-bottom, 0px) + var(--dcc-mobile-browser-bottom, 0px) + var(--dcc-mobile-control-gap));
  }

  /* Card sits inside the top of the map (9px inset); left/top/width are set in script.js */
  .dcc-map-wrapper .dcc-popup-wrapper {
    flex-direction: column;
    align-items: stretch;
    filter: none;
  }

  .dcc-map-wrapper .dcc-popup-wrapper.dcc-flipped {
    flex-direction: column;
  }

  /* No arrow on mobile */
  .dcc-map-wrapper .dcc-popup-arrow {
    display: none;
  }

  .dcc-map-wrapper .dcc-popup-card,
  .dcc-map-wrapper .dcc-popup-card.dcc-has-logos {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 16px 20px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.1);
    border-radius: 0;
  }

  /* Leave room for the close button */
  .dcc-map-wrapper .dcc-popup-header {
    padding-right: 24px;
  }

  .dcc-map-wrapper .dcc-popup-title,
  .dcc-map-wrapper .dcc-popup-card.dcc-title-only .dcc-popup-title {
    color: var(--dcc-dark-blue);
    font-weight: 500;
    line-height: 30px;
  }

  .dcc-map-wrapper .dcc-popup-subtitle {
    line-height: 28px;
  }

  .dcc-map-wrapper .dcc-popup-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 11px;
    right: 12px;
    width: 15px;
    height: 15px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
  }

  .dcc-map-wrapper .dcc-popup-close * {
    cursor: pointer;
  }

  .dcc-map-wrapper .dcc-popup-close:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
  }
}

/* =====================
   Loader Overlay
====================== */
.dcc-map-wrapper .dcc-loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dcc-loader-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--dcc-z-loader);
  backdrop-filter: blur(4px);
  border-radius: 0;
}

.dcc-map-wrapper .dcc-loader-overlay.dcc-loader-hidden {
  display: none;
}

.dcc-map-wrapper .dcc-loader-overlay__content {
  text-align: center;
}

/* Concentric Spinner */
.dcc-map-wrapper .dcc-loader-spinner-concentric {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.dcc-map-wrapper .dcc-loader-ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid transparent;
  animation: dcc-spin-concentric 2s linear infinite;
}

.dcc-map-wrapper .dcc-loader-ring-outer {
  width: 80px;
  height: 80px;
  top: 0;
  left: 0;
  border-top: 3px solid var(--dcc-primary-purple);
  border-right: 3px solid var(--dcc-primary-purple);
  animation-duration: 2s;
}

.dcc-map-wrapper .dcc-loader-ring-middle {
  width: 60px;
  height: 60px;
  top: 10px;
  left: 10px;
  border-bottom: 3px solid var(--dcc-navy);
  border-left: 3px solid var(--dcc-navy);
  animation-duration: 1.5s;
  animation-direction: reverse;
}

.dcc-map-wrapper .dcc-loader-ring-inner {
  width: 40px;
  height: 40px;
  top: 20px;
  left: 20px;
  border-top: 3px solid var(--dcc-primary-purple);
  border-right: 3px solid var(--dcc-primary-purple);
  animation-duration: 1s;
}

/* Tablet & Mobile */
@media (max-width: 768px) {
  .dcc-map-wrapper .dcc-loader-spinner-concentric {
    width: 60px;
    height: 60px;
  }

  .dcc-map-wrapper .dcc-loader-ring {
    border-width: 2px;
  }

  .dcc-map-wrapper .dcc-loader-ring-outer {
    width: 60px;
    height: 60px;
    border-top-width: 2px;
    border-right-width: 2px;
  }

  .dcc-map-wrapper .dcc-loader-ring-middle {
    width: 45px;
    height: 45px;
    top: 7.5px;
    left: 7.5px;
    border-bottom-width: 2px;
    border-left-width: 2px;
  }

  .dcc-map-wrapper .dcc-loader-ring-inner {
    width: 30px;
    height: 30px;
    top: 15px;
    left: 15px;
    border-top-width: 2px;
    border-right-width: 2px;
  }
}

/* Extra Small Screens */
@media (max-width: 480px) {
  .dcc-map-wrapper .dcc-loader-spinner-concentric {
    width: 50px;
    height: 50px;
  }

  .dcc-map-wrapper .dcc-loader-ring-outer {
    width: 50px;
    height: 50px;
  }

  .dcc-map-wrapper .dcc-loader-ring-middle {
    width: 37px;
    height: 37px;
    top: 6.5px;
    left: 6.5px;
  }

  .dcc-map-wrapper .dcc-loader-ring-inner {
    width: 24px;
    height: 24px;
    top: 13px;
    left: 13px;
  }
}

/* Animations */
@keyframes dcc-spin-concentric {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


.dcc-map-section_v2{
	z-index: 1; 
}
@media (max-width: 768px) { 
  .dcc-map-container{
    pointer-events: none;
  }
}