/* Kuaby Responsive BG Video for Elementor (0.3.7) */

.kuaby-kbgv{position:relative;overflow:hidden;}

/* Ensure Elementor content stays above bg */
.kuaby-kbgv > .e-con-inner,
.kuaby-kbgv > .elementor-container,
.kuaby-kbgv > .elementor-widget-wrap{
  position:relative;
  z-index:10;
}

.kuaby-kbgv__bg{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
}

.kuaby-kbgv__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

/* Controls bar (always full width) */
.kuaby-kbgv__controls{
  position:absolute;
  left:0;right:0;bottom:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:20;
  box-sizing:border-box;
  padding:0;
}

.kuaby-kbgv__controls[data-kuaby-ui="slider"]{
  justify-content:stretch;
}

/* Slider (full width) */
.kuaby-kbgv__range{
  width:100%;
  flex:1 1 auto;
  margin:0;
  padding:0;
  background:var(--kuaby-track, #bdbdbd);
  border-radius:999px;
  -webkit-appearance:none;
  appearance:none;
}

.kuaby-kbgv__range:focus{outline:none;}

.kuaby-kbgv__range::-webkit-slider-runnable-track{
  height:6px;
  border-radius:999px;
  background:transparent;
}
.kuaby-kbgv__range::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--kuaby-thumb, #ffffff);
  margin-top:-4px;
}

.kuaby-kbgv__range::-moz-range-track{
  height:6px;
  border-radius:999px;
  background:var(--kuaby-track, #bdbdbd);
}
.kuaby-kbgv__range::-moz-range-progress{
  height:6px;
  border-radius:999px;
  background:var(--kuaby-fill, #ffffff);
}
.kuaby-kbgv__range::-moz-range-thumb{
  width:14px;
  height:14px;
  border-radius:50%;
  border:none;
  background:var(--kuaby-thumb, #ffffff);
}

/* Icons */
.kuaby-kbgv__icons{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.kuaby-kbgv__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:calc(var(--kuaby-icon-size, 22px) + 10px);
  height:calc(var(--kuaby-icon-size, 22px) + 10px);
  padding:0;
  border:none;
  background:transparent;
  color:inherit;
  cursor:pointer;
}

.kuaby-kbgv__btn svg{
  width:var(--kuaby-icon-size, 22px);
  height:var(--kuaby-icon-size, 22px);
  fill:currentColor;
}

.kuaby-kbgv__btn:focus{outline:2px solid currentColor; outline-offset:2px;}

