.vr-popup-root {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s ease-out, visibility 0s linear .4s;
}

.vr-popup-root.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .4s ease-out;
}

.vr-popup-overlay {
  position: absolute;
  inset: 0;
  background: var(--vr-popup-overlay, rgba(0,0,0,.5));
  opacity: 0;
  transition: opacity .4s ease-out;
}

.vr-popup-panel {
  position: relative;
  z-index: 2;
  width: min(100%, var(--vr-popup-width, 640px));
  min-width: 230px;
  background: var(--vr-popup-bg, #fff);
  color: var(--vr-popup-text-color, #333);
  border-radius: var(--vr-popup-radius, 16px);
  box-shadow: 0 20px 60px var(--vr-popup-shadow-color, rgba(0,0,0,.25));
  max-height: min(90vh, 900px);
  overflow: auto;
  opacity: 0;
  transform: none;
  transition: opacity .5s ease-out, transform .5s ease-out;
  will-change: opacity, transform;
}

 

.vr-popup-inner {
  padding: var(--vr-popup-padding, 32px);
}

.vr-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--vr-popup-close-color, var(--vr-popup-text-color, #333));
  font-size: var(--vr-popup-close-size, 28px);
  line-height: 1;
  cursor: pointer;
}

.vr-popup-title {
  margin: 0 0 16px 0;
  padding-right: 56px;
  font-size: var(--vr-popup-heading-size, 28px);
  line-height: 1.2;
  color: var(--vr-popup-heading-color, #111);
  text-transform: var(--vr-popup-heading-transform, none);
}

.vr-popup-content,
.vr-popup-content p,
.vr-popup-content li,
.vr-popup-content div {
  font-size: var(--vr-popup-text-size, 16px);
  color: var(--vr-popup-text-color, #333);
}

.vr-popup-content a {
  color: var(--vr-popup-link, #0055cc);
}

.vr-popup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 18px;
  background: var(--vr-popup-button-bg, #111);
  color: var(--vr-popup-button-text, #fff);
  text-decoration: none;
  border-radius: var(--vr-popup-button-radius, 10px);
  text-transform: var(--vr-popup-button-transform, none);
}
 
.vr-popup-button {
  transition: background-color .2s ease, filter .2s ease, transform .2s ease;
}

.vr-popup-button:hover {
  filter: brightness(0.92);
}
.vr-popup-button::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 1em;
  background-color: currentColor;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: contain;
  -webkit-mask-size: contain;
}

.vr-popup-button::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 1em;
  background-color: currentColor;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: contain;
  -webkit-mask-size: contain;
}

.vr-popup-button.is-icon-none::after {
  display: none;
}

.vr-popup-button.is-icon-arrow::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 5l7 7-7 7'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 5l7 7-7 7'/%3E%3C/svg%3E");
}

.vr-popup-button.is-icon-external::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7'/%3E%3Cpath d='M10 14L21 3'/%3E%3Cpath d='M21 14v7H3V3h7'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7'/%3E%3Cpath d='M10 14L21 3'/%3E%3Cpath d='M21 14v7H3V3h7'/%3E%3C/svg%3E");
}

.vr-popup-button.is-icon-close::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E");
}

body.vr-popup-open {
  overflow: hidden;
}

.vr-popup-root.is-active .vr-popup-overlay {
  opacity: 1;
}

.vr-popup-root.is-active .vr-popup-panel {
  opacity: 1;
}

/* Fade */
.vr-popup-root.is-anim-fade .vr-popup-panel {
  transform: none;
}

/* Slide from Top */
.vr-popup-root.is-anim-slide-top .vr-popup-panel {
  transform: translateY(-60px);
}

.vr-popup-root.is-anim-slide-top.is-active .vr-popup-panel {
  transform: translateY(0);
}

/* Scale In */
.vr-popup-root.is-anim-scale .vr-popup-panel {
  transform: scale(.88);
}

.vr-popup-root.is-anim-scale.is-active .vr-popup-panel {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .vr-popup-root {
    transition: none !important;
  }

  .vr-popup-overlay,
  .vr-popup-panel {
    transition: none !important;
  }

  .vr-popup-root .vr-popup-panel,
  .vr-popup-root.is-active .vr-popup-panel {
    transform: none !important;
  }
}

@media (max-width: 580px) {
  .vr-popup-inner {
    padding: 20px;
  }

  .vr-popup-title {
    font-size: 22px;
  }

  .vr-popup-content,
  .vr-popup-content p,
  .vr-popup-content li,
  .vr-popup-content div {
    font-size: 14px;
  }

  .vr-popup-close {
    font-size: 32px;
  }

  .vr-popup-panel {
    width: 100%;
  }
}