.dnzb-has-background-video-control {
  position: relative;
}

.dnzb-has-background-video-control .elementor-background-video-container {
  position: absolute;
}

button.dnzb-background-video-toggle,
.elementor-kit-6 button.dnzb-background-video-toggle,
.elementor-kit-6 input[type="button"].dnzb-background-video-toggle,
.elementor-kit-6 input[type="submit"].dnzb-background-video-toggle {
  -webkit-appearance: none;
  appearance: none;
  border: 0 !important;
  outline: none;
  margin: 0;
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  min-width: 2.875rem;
  min-height: 2.875rem;
  padding: 0;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.16) !important;
  background-image: none !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0;
  text-indent: 0;
  text-decoration: none;
  box-sizing: border-box;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

button.dnzb-background-video-toggle:hover,
button.dnzb-background-video-toggle:focus-visible,
.elementor-kit-6 button.dnzb-background-video-toggle:hover,
.elementor-kit-6 button.dnzb-background-video-toggle:focus-visible {
  background-color: rgba(255, 255, 255, 0.24) !important;
  background-image: none !important;
}

button.dnzb-background-video-toggle:focus-visible,
.elementor-kit-6 button.dnzb-background-video-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

button.dnzb-background-video-toggle::after,
.elementor-kit-6 button.dnzb-background-video-toggle::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.5rem);
  transform: translateX(-50%);
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
  background: rgba(14, 21, 34, 0.9);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

button.dnzb-background-video-toggle:hover::after,
button.dnzb-background-video-toggle:focus-visible::after,
.elementor-kit-6 button.dnzb-background-video-toggle:hover::after,
.elementor-kit-6 button.dnzb-background-video-toggle:focus-visible::after {
  opacity: 1;
}

.dnzb-background-video-toggle__icon {
  position: relative;
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  flex: 0 0 0.875rem;
  margin: 0;
}

.dnzb-background-video-toggle__icon::before,
.dnzb-background-video-toggle__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.25rem;
  height: 0.875rem;
  transform: translateY(-50%);
  background: white;
  border-radius: 999px;
}

.dnzb-background-video-toggle__icon::before {
  left: 0.125rem;
}

.dnzb-background-video-toggle__icon::after {
  right: 0.125rem;
}

.dnzb-background-video-toggle.is-paused .dnzb-background-video-toggle__icon::before {
  top: 50%;
  left: 0.1875rem;
  width: 0;
  height: 0;
  border-top: 0.4375rem solid transparent;
  border-bottom: 0.4375rem solid transparent;
  border-left: 0.6875rem solid white;
  background: transparent;
  border-radius: 0;
  transform: translateY(-50%);
}

.dnzb-background-video-toggle.is-paused .dnzb-background-video-toggle__icon::after {
  display: none;
}

@media (max-width: 767px) {
  .dnzb-has-background-video-control:has(.elementor-background-video-container.elementor-hidden-mobile) button.dnzb-background-video-toggle {
    display: none !important;
  }

  button.dnzb-background-video-toggle,
  .elementor-kit-6 button.dnzb-background-video-toggle {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 2.625rem;
    height: 2.625rem;
    min-width: 2.625rem;
    min-height: 2.625rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .dnzb-has-background-video-control:has(.elementor-background-video-container.elementor-hidden-tablet) button.dnzb-background-video-toggle {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .dnzb-has-background-video-control:has(.elementor-background-video-container.elementor-hidden-desktop) button.dnzb-background-video-toggle {
    display: none !important;
  }
}
