.kx-pricing-slider-updated {
  margin: 48px 0;
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-card {
  width: 100%;
  margin: 0 auto;
  color: #ffffff;
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-main {
  min-width: 0;
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-track-wrap {
  --thumb-size: 22px;
  position: relative;
  padding: 22px 6px 40px;
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  outline: none;
  background: #474747;
  cursor: pointer;
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #000000;
  border-radius: 50%;
  background: #ffd100;
  box-shadow: 0 6px 18px rgba(255, 209, 0, 0.4);
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid #000000;
  border-radius: 50%;
  background: #ffd100;
  box-shadow: 0 6px 18px rgba(255, 209, 0, 0.4);
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-tick {
  font-family: "Euclid Square",sans-serif;
  position: absolute;
  top: 28px;
  transform: translateX(-50%);
  color: #b3b3b3;
  font-size: 1.2rem;
  text-align: center;
  pointer-events: none;
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-tick::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 3px;
  height: 15px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: #ffd100;
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-readout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
  min-height: 128px;
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-badge,
.kx-pricing-slider-updated .kdbx-pricing-slider-updated-stat {
  min-height: 96px;
  padding: 16px;
  border: 1px solid #1e1e1e;
  border-radius: 4px;
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-badge {
  font-family: "Euclid Square",sans-serif;
  font-size: 1.5rem;
  line-height: 28px;
  font-weight: 600;
  color: #ffd100;
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-stat h4 {
  font-family: "Euclid Square",sans-serif;
  margin: 0 0 6px;
  color: #b3b3b3;
  font-size: 1rem;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-stat-value {
  font-family: "Euclid Square",sans-serif;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 28px;
}

.kx-pricing-slider-updated .kdbx-pricing-slider-updated-stat .arrow-link {
  margin-top: 12px;
  align-self: center;
}

.kx-pricing-slider-updated .hidden {
  display: none !important;
}

/*
 * When the slider sits inside an encapsulated column, ACF adds .has-buttons
 * (it detects the .button links inside). That helper's `p:last-child` rule is a
 * descendant selector, so it absolutely-positions the auto-<p>-wrapped links
 * inside the slider (Contact Sales, etc.), pulling them out of the widget.
 * Keep the slider's own paragraphs in normal flow.
 */
.encapsulated-rich-content.has-buttons .kx-pricing-slider-updated p:last-child {
  position: static;
  bottom: auto;
  width: auto;
}

@media (max-width: 800px) {
  .table-wrapper.contains-kdbx-pricing-slider-updated,
  .table-wrapper:has(.kx-pricing-slider-updated) {
    padding: 0 !important;
    overflow: visible !important;
  }

  .table-wrapper.contains-kdbx-pricing-slider-updated .scroll-right,
  .table-wrapper.contains-kdbx-pricing-slider-updated .scroll-left,
  .table-wrapper:has(.kx-pricing-slider-updated) .scroll-right,
  .table-wrapper:has(.kx-pricing-slider-updated) .scroll-left {
    display: none !important;
  }

  .table-container.contains-kdbx-pricing-slider-updated,
  .table-wrapper:has(.kx-pricing-slider-updated) .table-container,
  .table-container:has(.kx-pricing-slider-updated) {
    overflow: visible !important;
  }

  .table-container.contains-kdbx-pricing-slider-updated .kx-pricing-slider-updated,
  .table-wrapper:has(.kx-pricing-slider-updated) .kx-pricing-slider-updated,
  .table-container:has(.kx-pricing-slider-updated) .kx-pricing-slider-updated {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .kx-pricing-slider-updated .kdbx-pricing-slider-updated-card {
    padding: 22px;
  }

  .kx-pricing-slider-updated .kdbx-pricing-slider-updated-track-wrap {
    padding-bottom: 44px;
  }

  .kx-pricing-slider-updated .kdbx-pricing-slider-updated-tick {
    font-size: 0.875rem;
  }

  .kx-pricing-slider-updated .kdbx-pricing-slider-updated-readout {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
}
