.tippy-box[data-animation="fade"][data-state="hidden"] {
  opacity: 0;
}
[data-tippy-root] {
  max-width: calc(100vw - 10px);
}
.tippy-box {
  position: relative;
  background-color: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.4;
  white-space: normal;
  outline: 0;
  transition-property: transform, visibility, opacity;
}
.tippy-box[data-placement^="top"] > .tippy-arrow {
  bottom: 0;
}
.tippy-box[data-placement^="top"] > .tippy-arrow:before {
  bottom: -7px;
  left: 0;
  border-width: 8px 8px 0;
  border-top-color: initial;
  transform-origin: center top;
}
.tippy-box[data-placement^="bottom"] > .tippy-arrow {
  top: 0;
}
.tippy-box[data-placement^="bottom"] > .tippy-arrow:before {
  top: -7px;
  left: 0;
  border-width: 0 8px 8px;
  border-bottom-color: initial;
  transform-origin: center bottom;
}
.tippy-box[data-placement^="left"] > .tippy-arrow {
  right: 0;
}
.tippy-box[data-placement^="left"] > .tippy-arrow:before {
  border-width: 8px 0 8px 8px;
  border-left-color: initial;
  right: -7px;
  transform-origin: center left;
}
.tippy-box[data-placement^="right"] > .tippy-arrow {
  left: 0;
}
.tippy-box[data-placement^="right"] > .tippy-arrow:before {
  left: -7px;
  border-width: 8px 8px 8px 0;
  border-right-color: initial;
  transform-origin: center right;
}
.tippy-box[data-inertia][data-state="visible"] {
  transition-timing-function: cubic-bezier(0.54, 1.5, 0.38, 1.11);
}
.tippy-arrow {
  width: 16px;
  height: 16px;
  color: #333;
}
.tippy-arrow:before {
  content: "";
  position: absolute;
  border-color: transparent;
  border-style: solid;
}
.tippy-content {
  position: relative;
  padding: 5px 9px;
  z-index: 1;
}
.tippy-box .tippy-content {
  text-align: left;
}
.tippy-box .tippy-content p:last-of-type {
  margin-bottom: 0;
}

.terms-open {
  font-size: 13px;

  &:has(+ .ukgc-comment) {
    margin-bottom: 8px;
  }

  p:not(:has(+ p)) {
    margin-bottom: 0;
  }

  &.mt-2 {
    @media (min-width: 768px) {
      margin-top: 0;
    }
  }
}

.ukgc-comment {
  font-size: 13px;

  &.mt-2 {
    @media (min-width: 768px) {
      margin-top: 0;
    }
  }
}

.state-comment {
  font-size: 14px;

  &.mt-2,
  &.mt-4 {
    @media (min-width: 768px) {
      margin-top: 0;
    }
  }
}

.review-hero:has(.state-comment) {
  padding-bottom: 1rem;
  @media (min-width: 768px) {
    padding-bottom: 2rem;

    .state-comment {
      padding-top: 1rem;
    }

    .hero-cta {
      margin-top: 2rem;
    }
  }
}

.bttn.bttn-unavailable {
  background-color: #b8c2cc;
  color: #606f7b;

  &:hover {
    background-color: #b8c2cc;
    color: #606f7b;
  }
}

/* skeleton */
.skeleton {
  & > div {
    height: 8px;
    background-color: #cbd5e1;
    border-radius: 4px;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;

    &.h24 {
      height: 24px;
    }
  }

  &.multiple {
    padding: 64px 0 64px 8px;
    margin-top: 12px;
    border-bottom: 1px solid #cbd5e1;

    @media (min-width: 768px) {
      padding: 0 0 8px 8px;
    }

    & > div {
      margin-bottom: 8px;
    }
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* missing utility classes */
.mt-6 {
  margin-top: 1.5rem;
}
.pb-0 {
  padding-bottom: 0;
}
.pb-4 {
  padding-bottom: 1rem;
}
