/* Pricing Slider Custom Styles */

.pricing-slider-wrapper {
  position: relative;
  width: 100%;
  /* padding: 0 50px; */
  margin: 0 auto;
}

#pricing-swiper {
  width: 100%;
  padding-bottom: 60px;
}

#pricing-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: auto;
  /* Keep a pleasant card width across sizes */
  width: clamp(280px, 85vw, 360px);
}

#pricing-swiper .single-pricing {
  margin: 7px;
  width: 100%;
  /* height: 100%; */
  /* display: flex; */
  flex-direction: column;
  box-shadow: 0px 5px 25px rgba(135, 135, 135, 0.15) !important;
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color, #1b739e
);
  width: 44px;
  height: 44px;
  background: #dbf3ff62;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: absolute;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary-color, #1b739e
);
  color: white;
  transform: scale(1.1);
}

.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

/* Pagination */
.swiper-pagination {
  bottom: 20px !important;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #d1d1d1;
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color, #1b739e
);
  width: 30px;
  border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pricing-slider-wrapper {
    padding: 0 20px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    width: 36px;
    height: 36px;
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .pricing-slider-wrapper {
    padding: 0px;
    
  }
  #pricing-swiper .single-pricing {
    width: 100%;
    margin-top: 15px;
    padding-bottom: 0px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* Ensure cards maintain consistent height */
#pricing-swiper .single-pricing ul {
  flex-grow: 1;
}

/* Smooth transitions */
.swiper-slide {
  transition: transform 0.3s ease;
}

.swiper-slide-active .single-pricing {
  transform: scale(1);
}

/* Autoplay pause indicator */
.pricing-slider-wrapper:hover .swiper {
  cursor: grab;
}

.pricing-slider-wrapper:active .swiper {
  cursor: grabbing;
}
