/**
 * SwiperJS Custom Styles
 * Personalizzazione globale di paginazione e navigazione
 */

/* ==========================================================================
   Pagination (Bullets) - Rettangolari schiacciati
   ========================================================================== */

.swiper-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}
.swiperService .swiper-pagination {
    margin-bottom: -10px;
  }

.swiper-pagination-bullet {
  width: 8px;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 0 !important;
}

/* Dark mode bullet */
.dark .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Bullet attivo - più lungo */
.swiper-pagination-bullet-active {
  width: 24px;
  height: 4px;
  background-color: #000000;
}

.dark .swiper-pagination-bullet-active {
  background-color: #ffffff;
}

/* Hover state */
.swiper-pagination-bullet:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.dark .swiper-pagination-bullet:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Navigation (Frecce) - Più piccole con sfondo
   ========================================================================== */

.swiper-button-next,
.swiper-button-prev {
  width: 36px !important;
  height: 36px !important;
  margin-top: 0 !important;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10;
}

.dark .swiper-button-next,
.dark .swiper-button-prev {
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Icone frecce più piccole */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px !important;
  font-weight: 700;
  color: #000000;
}

.dark .swiper-button-next::after,
.dark .swiper-button-prev::after {
  color: #ffffff;
}

/* Hover state */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.dark .swiper-button-next:hover,
.dark .swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Disabled state */
.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Posizionamento */
.swiper-button-next {
  right: 16px !important;
}

.swiper-button-prev {
  left: 16px !important;
}

/* ==========================================================================
   Override per swiperService (se necessario)
   ========================================================================== */

.swiperService .swiper-pagination {
  bottom: 20px !important;
}

.swiperService .swiper-button-next,
.swiperService .swiper-button-prev {
  width: 32px !important;
  height: 32px !important;
}

.swiperService .swiper-button-next::after,
.swiperService .swiper-button-prev::after {
  font-size: 12px !important;
}

