.apc-vector-map {
  width: 100%;
  min-height: 240px;
  position: relative;
  overflow: hidden;
/*   border-radius: 32px; */
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.08), transparent 35%),
    #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  isolation: isolate;
}

.apc-vector-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.5), transparent 45%);
  pointer-events: none;
  z-index: 2;
}

.apc-vector-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.08), rgba(2, 6, 23, 0.32));
  pointer-events: none;
  z-index: 2;
}

.apc-vector-map-canvas {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.apc-vector-map .maplibregl-canvas {
  outline: none;
}

.apc-vector-map .maplibregl-ctrl-top-right {
  top: 24px;
  right: 24px;
}

.apc-vector-map .maplibregl-ctrl-group {
  overflow: hidden;
  border-radius: 20px !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.apc-vector-map .maplibregl-ctrl-group button {
  width: 46px !important;
  height: 46px !important;
  transition: background 0.3s ease;
}

.apc-vector-map .maplibregl-ctrl-group button:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

.apc-vector-map .maplibregl-ctrl-group button span {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.apc-vector-map .maplibregl-ctrl-logo {
  display: none !important;
}

.apc-vector-map .maplibregl-ctrl-bottom-right {
  right: 18px;
  bottom: 18px;
}

.apc-vector-map .maplibregl-ctrl-attrib {
  padding: 8px 12px !important;
  border-radius: 16px !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px !important;
  line-height: 1.4;
}

.apc-vector-map .maplibregl-ctrl-attrib a {
  color: #93c5fd !important;
  text-decoration: none;
}

.apc-vector-map .maplibregl-ctrl-attrib a:hover {
  color: #ffffff !important;
}

.apc-vector-map-marker-wrapper {
  width: 34px;
  height: 34px;
}

.apc-vector-map-custom-pin {
  width: 34px;
  height: 34px;
  top: -17px;
  left: 17px;
  position: relative;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(145deg, #93c5fd, #2563eb);
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 18px 40px rgba(37, 99, 235, 0.42),
    0 8px 18px rgba(0, 0, 0, 0.35);
}

.apc-vector-map-custom-pin::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.18);
}

.apc-vector-map .maplibregl-popup-content {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: Inter, sans-serif;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.apc-vector-map .maplibregl-popup-tip {
  border-top-color: rgba(15, 23, 42, 0.88) !important;
}

.apc-vector-map .maplibregl-popup-close-button {
  top: 8px;
  right: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
}

.apc-vector-map .maplibregl-popup-close-button:hover {
  color: #ffffff;
  background: transparent;
}

.apc-vector-map-popup strong {
  display: block;
  margin: 0 18px 6px 0;
  font-size: 15px;
  line-height: 1.3;
}

.apc-vector-map-popup p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.apc-vector-map-loaded .maplibregl-canvas {
  animation: apcVectorMapReveal 1.2s ease;
}

@keyframes apcVectorMapReveal {
  from {
    opacity: 0;
    transform: scale(1.03);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.apc-vector-map-editor {
  width: 100%;
}

.apc-vector-map-placeholder {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  border-radius: 32px;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 32%),
    linear-gradient(135deg, #020617, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.apc-vector-map-placeholder strong {
  font-size: 22px;
}

.apc-vector-map-placeholder span {
  color: rgba(255, 255, 255, 0.72);
}

.apc-vector-map-placeholder-pin {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(145deg, #93c5fd, #2563eb);
  border: 3px solid rgba(255, 255, 255, 0.92);
}

.apc-vector-map-marker-settings {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dddddd;
}