/* =================================
   NETFLIX-STYLE SLIDER BUTTONS
   ================================= */
.netflix-slider-wrapper {
  position: relative;
}

.netflix-slider-wrapper .netflix-nav-btn {
  position: absolute;
  top: 0;
  bottom: 0px; 
  /* Removing 12px bottom so it spans full height. Or keep it as is, but we will make it explicit */
  width: 50px;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.2s ease, transform 0.2s ease;
  font-size: 24px;
}

.netflix-slider-wrapper .netflix-nav-btn i {
  transition: transform 0.2s ease;
}

.netflix-slider-wrapper .netflix-nav-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.netflix-slider-wrapper .netflix-nav-btn:active i {
  transform: scale(0.9);
}

.netflix-slider-wrapper:hover .netflix-nav-btn {
  opacity: 1;
}

.netflix-slider-wrapper .netflix-prev {
  left: 0;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.netflix-slider-wrapper .netflix-next {
  right: 0;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.netflix-slider-wrapper .netflix-nav-btn.hidden-btn {
  opacity: 0 !important;
  pointer-events: none;
}

@media (max-width: 768px) {
  .netflix-slider-wrapper .netflix-nav-btn {
    display: none !important;
  }
}

/* Swiper overrides for Netflix style */
.swiper-button-next.netflix-style,
.swiper-button-prev.netflix-style {
  position: absolute !important;
  top: 0 !important;
  bottom: 12px !important;
  height: auto !important;
  width: 50px !important;
  margin-top: 0 !important;
  background: rgba(0, 0, 0, 0.2) !important;
  color: white !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0;
  transition: all 0.3s ease !important;
}

.swiper-button-next.netflix-style {
  right: 0 !important;
  border-top-left-radius: 6px !important;
  border-bottom-left-radius: 6px !important;
}

.swiper-button-prev.netflix-style {
  left: 0 !important;
  border-top-right-radius: 6px !important;
  border-bottom-right-radius: 6px !important;
}

.swiper:hover .swiper-button-next.netflix-style,
.swiper:hover .swiper-button-prev.netflix-style {
  opacity: 1;
}

.swiper-button-next.netflix-style:hover,
.swiper-button-prev.netflix-style:hover {
  background: rgba(0, 0, 0, 0.6) !important;
}

.swiper-button-disabled.netflix-style {
  opacity: 0 !important;
  pointer-events: none;
}

@media (max-width: 768px) {
  .swiper-button-next.netflix-style,
  .swiper-button-prev.netflix-style {
    display: none !important;
  }
}
