.vli-map-container {
  display: flex;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.vli-map {
  width: 100%;
  background: #f5f7f8;
}

.vli-map path {
  fill: #dbebf6;
  stroke: #a3a3a3;
  stroke-width: 1px;
  transition: all ease 300ms;
}

.vli-map path[data-id]:hover {
  cursor: pointer;
}

.vli-map path[data-code-area].active {
  fill: #99c7e6;
}

.vli-map-container div[data-code-area] {
  transition: opacity 300ms linear;
  opacity: 0;
}

.vli-map-container div[data-code-area].active {
  opacity: 1;
}

.vli-map path.point,
.vli-map path.label {
  opacity: 0;
}

.vli-map path.line {
  fill: none;
  stroke-width: 4px;
}

.vli-map path.line:hover {
  stroke-width: 6px;
}

.vli-map-container div.icon {
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  padding: 4px;
  box-shadow: 0px 1px 2px 0px #0000004d;
  cursor: pointer;
}

.vli-map-container div.icon:hover::before {
  z-index: 1;
  content: attr(data-title);
  position: absolute;
  max-width: 248px;
  width: max-content;
  color: #1176bd;
  background: #fff;
  top: -50%;
  left: calc(100% + 12px);
  box-shadow: 0px 3.33068px 3.33068px rgba(0, 0, 0, 0.25);
  padding: 6px 8px;
}

.vli-map-container div.label {
  width: max-content;
  height: fit-content;
  align-items: center;
  display: flex;
  cursor: pointer;
}

.vli-map-container div.label p {
  margin: 0;
  font-weight: 700;
}

/* Select box */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

.select-box {
  z-index: 100;

  position: absolute;

  right: 8px;
  top: 8px;

  padding: 6px 8px;

  border-radius: 8px;
  border: 1px solid #fff;
  background: #fff;

  font-size: 14px;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  color: #4096d0;

  display: flex;
  justify-content: space-between;
  width: 32ch;

  transition: all ease 300ms;
  /* box-shadow: 0px 1px 3px 1px #00000026; */
  box-shadow: 0px 1px 2px 0px #0000004d;
}

.select-box__current {
  position: relative;
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);

  cursor: pointer;
  outline: none;

  display: flex;
  align-items: center;

  user-select: none;
  padding: 0 8px;

  width: 100%;
}

.select-box__current:focus + .select-box__list {
  opacity: 1;
  -webkit-animation-name: none;
  animation-name: none;
}

.select-box__current:focus + .select-box__list .select-box__option {
  cursor: pointer;
}

.select-box__current:focus .select-box__icon {
  transform: rotate(180deg) translateX(-50%);
}

.select-box__icon {
  width: 16px;
  padding: 0 0 0 8px;
  transition: 300ms transform ease;
  margin-left: auto;
  z-index: 999;
}

.select-box__value {
  display: flex;
}

.select-box__input {
  display: none;
}

.select-box__input:checked + .select-box__input-text {
  display: block;
}

.select-box__input-text {
  display: none;
  width: 100%;
  margin: 0;
  background-color: #fff;
}

.select-box__list {
  position: absolute;
  top: calc(6px * 2 + 36px);
  left: 0;
  width: 100%;
  padding: 24px 16px;
  background: #fff;

  display: flex;
  flex-direction: column;
  gap: 16px;

  list-style: none;
  opacity: 0;

  /* Animations */
  animation-name: Animation_HideList;
  animation-duration: 1s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: step-start;

  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

.select-box__option {
  display: block;
  padding: 6px 8px;
  background-color: #fff;
}

.select-box__option:hover,
.select-box__option:focus {
  color: #546c84;
  background-color: #fbfbfb;
}

@keyframes Animation_HideList {
  from {
    transform: scaleY(1);
  }

  to {
    transform: scaleY(0);
  }
}

/* popup */
.vli-map-popup {
  width: fit-content;
  max-width: 80%;
  width: 860px;
  display: none;
  z-index: 101;
}

.vli-map-popup .close-button {
  position: absolute;
  right: 0;
  top: 0;
  width: 32px;
  z-index: 10001;
  background: none;
  border: none;
  padding: 8px;
  outline: none;
}

.vli-map-popup .custom-bg > img {
  background: #0074c0;
  min-height: 100%;
  z-index: -1;
}

.vli-map-popup .title,
.vli-map-popup .description {
  color: #fff;
}

.vli-map-popup .background {
  user-select: none;
}

.vli-map-popup .content {
  max-height: 320px;
}

.vli-map-popup > div:first-child {
  background: linear-gradient(180deg, #18486d00 -5%, #132e40c2 60%);
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.top-0 {
  top: 0px;
}

.left-0 {
  left: 0px;
}

.ml-auto {
  margin-left: auto;
}

.flex {
  display: flex;
}

.h-full {
  height: 100%;
}

.max-h-\[968px\] {
  max-height: 968px;
}

.w-full {
  width: 100%;
}

.flex-col {
  flex-direction: column;
}

.gap-5 {
  gap: 1.25rem;
}

.overflow-auto {
  overflow: auto;
}

.overflow-hidden {
  overflow: hidden;
}

.rounded-\[8px\] {
  border-radius: 8px;
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-cover {
  background-size: cover;
}

.object-cover {
  object-fit: cover;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.pt-12 {
  padding-top: 3rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-\[14px\] {
  font-size: 14px;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.text-\[\#0074C0\] {
  --tw-text-opacity: 1;
  color: rgb(0 116 192 / var(--tw-text-opacity));
}

.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color),
    0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.custom-bg {
  background: linear-gradient(
    177.6deg,
    rgba(24, 72, 109, 0) -4.26%,
    rgba(19, 46, 64, 0.76) 58.45%
  );
}

/* Zoom controls */

ul.zoom-controls-container {
  list-style: none;
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  bottom: 0;
  gap: 8px;
  margin: 8px;
}

ul.zoom-controls-container > li,
ul.zoom-controls-container .zoom-in-out {
  background: #fff;
  border: 1px solid #c6c6c6;
  border-radius: 4px;
}

ul.zoom-controls-container .zoom-in-out {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

ul.zoom-controls-container .zoom-in-out .zoom-divider {
  width: 50%;
  border: none;
  border-top: 1px solid #c6c6c6;
}

ul.zoom-controls-container button {
  background: none;
  outline: none;
  border: none;
  padding: 0;
  margin: 0;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 42px;
  padding: 12px;
}
