@charset "UTF-8";
/**
 * @file
 * Minsait Map Spain — Velantis Figma-aligned styles.
 * Figma: Desktop 26:3310 "Mapa de ayuntamientos seguros" section.
 *
 * Province fill: #00466E (--vel-primary).
 * Province stroke: white, 1px.
 * Hover: #0085AC (--vel-secondary) with pointer cursor.
 * Active/highlighted: #00BDFB (--vel-accent).
 * Popup: white card with gradient, rounded 15px, deep shadow.
 */
/* SVG container */
.minsait-map-spain-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.mapa-svg-wrapper {
  text-align: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}

.mapa-svg-wrapper svg {
  width: 100%;
  height: auto;
  max-width: 1200px;
  display: block;
  margin: 0 auto;
}

/* Province paths: base fill */
.mapa-svg-wrapper svg path {
  stroke: #FFFFFF;
  stroke-width: 1;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill 0.2s ease;
}

/* Override the module's hardcoded province styles */
#ES-SE, #ES-VA, #ES-LU {
  stroke: #FFFFFF !important;
  stroke-width: 1 !important;
  stroke-linejoin: round !important;
}

/* Province hover */
.mapa-svg-wrapper svg path:hover {
  fill: #0085AC;
}

/* Province active/selected */
.mapa-svg-wrapper svg path.vel-map-active {
  fill: #00BDFB;
}

/* Non-path elements (background rect, etc.) */
.mapa-svg-wrapper svg rect#um-layer-canvas-background,
.mapa-svg-wrapper svg rect#um-layer-map-background {
  fill: transparent !important;
  stroke: transparent !important;
  stroke-width: 0 !important;
  cursor: default;
  pointer-events: none;
}

/* Shadow boundary path - keep invisible */
.mapa-svg-wrapper svg path.boundary-shadow {
  fill: transparent !important;
  stroke: transparent !important;
  stroke-width: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

/* Contextual popup */
.vel-map-popup {
  position: absolute;
  background: linear-gradient(0deg, rgba(0, 70, 110, 0.05) 0%, rgba(0, 70, 110, 0) 100%), #FFFFFF;
  border: 1px solid #E4E4E4;
  border-radius: 15px;
  padding: 24px;
  box-shadow: 0 25px 50px 0 rgba(0, 0, 0, 0.25);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  min-width: 280px;
}

.vel-map-popup.vel-map-popup--visible {
  opacity: 1;
  pointer-events: auto;
}

.vel-map-popup__name {
  font-family: "Funnel Display", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #00BDFB;
  letter-spacing: -2px;
  line-height: 1.2;
  margin: 0 0 16px;
}

.vel-map-popup__data {
  display: flex;
  align-items: center;
  gap: 20px;
}

.vel-map-popup__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vel-map-popup__col-label {
  font-family: "Funnel Display", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #00466E;
  letter-spacing: -0.5px;
  line-height: 24px;
}

.vel-map-popup__col-value {
  font-family: "Funnel Display", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #00466E;
  letter-spacing: -0.5px;
  line-height: 28px;
}

.vel-map-popup__divider {
  width: 2px;
  height: 50px;
  background: var(--vel-gradient-section);
  flex-shrink: 0;
}

/* Responsive popup */
@media (max-width: 991px) {
  .vel-map-popup {
    left: 50% !important;
    bottom: -20px !important;
    top: auto !important;
    transform: translateX(-50%) !important;
  }
  .vel-map-popup__name {
    font-size: 28px;
    letter-spacing: -1.5px;
  }
  .vel-map-popup__col-label {
    font-size: 14px;
  }
  .vel-map-popup__col-value {
    font-size: 24px;
  }
  .vel-map-popup__divider {
    height: 40px;
  }
}
@media (min-width: 992px) {
  .vel-map-popup__name {
    font-size: 48px;
    letter-spacing: -3px;
  }
  .vel-map-popup__col-label {
    font-size: 20px;
  }
  .vel-map-popup__col-value {
    font-size: 34px;
  }
}
@media (min-width: 1600px) {
  .vel-map-popup__name {
    font-size: 56px;
    letter-spacing: -4.8px;
  }
  .vel-map-popup__col-label {
    font-size: 26px;
  }
  .vel-map-popup__col-value {
    font-size: 43px;
  }
}
/*# sourceMappingURL=minsait-map-spain.css.map */
