/* Custom Swiper Pagination Styles - Override React Swiper defaults */

/* Reset React Swiper default pagination styles */
.swiper-pagination-bullet,
.swiper-pagination-area .swiper-pagination-bullet {
  width: 12px !important;
  height: 8px !important;
  background-color: var(--tj-color-theme-primary) !important;
  border-radius: 30px !important;
  opacity: 0.15 !important;
  position: relative !important;
  margin: 5px !important;
  display: inline-block !important;
  -webkit-transition: all 0.5s ease-in-out 0s !important;
  transition: all 0.5s ease-in-out 0s !important;
}

.swiper-pagination-bullet-active,
.swiper-pagination-area .swiper-pagination-bullet-active {
  width: 64px !important;
  opacity: 1 !important;
}

/* Pagination area positioning */
.swiper-pagination-area {
  text-align: center;
  line-height: 0;
  margin-top: 55px;
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
}

.swiper-pagination-area.white-pagination .swiper-pagination-bullet {
  background-color: var(--tj-color-common-white) !important;
}

@media only screen and (min-width: 576px) and (max-width: 767px),
       (max-width: 575px) {
  .swiper-pagination-area {
    margin-top: 30px;
  }
}

/* Testimonial slider specific pagination */
.testimonial-slider-2 .swiper-pagination-area {
  position: absolute !important;
  inset-inline-start: inherit;
  bottom: 60px !important;
  inset-inline-end: 45px !important;
  z-index: 10;
  max-width: 200px;
  width: auto;
  margin-top: 0 !important;
}

@media only screen and (min-width: 576px) and (max-width: 767px),
       (max-width: 575px) {
  .testimonial-slider-2 .swiper-pagination-area {
    bottom: 30px !important;
  }
}

/* h6 hero card pagination */
.h6-hero-card-wrapper .swiper-pagination-area {
  position: absolute !important;
  inset-inline-start: auto;
  inset-inline-end: 15px !important;
  bottom: 20px !important;
  text-align: end;
  line-height: 0;
  margin-top: 0 !important;
  z-index: 1;
}

.h6-hero-card-wrapper .swiper-pagination-area .swiper-pagination-bullet {
  width: 8px !important;
}

.h6-hero-card-wrapper .swiper-pagination-area .swiper-pagination-bullet-active {
  width: 8px !important;
}

/* Hero slider doesn't use pagination in original design */
.hero-slider .swiper-pagination,
.hero-slider .swiper-pagination-area {
  display: none !important;
}
