.wplc-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  background: transparent;
  padding: 20px 0;
}

.wplc-mode-auto .wplc-track {
  display: flex;
  width: max-content;
  animation-name: wplc-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
  transform: translateZ(0);
}

.wplc-track {
  display: flex;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
  transform: translateZ(0);
}

.wplc-slide {
  flex-shrink: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.wplc-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
  box-sizing: border-box;
  padding: 10px;
}

.wplc-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

/* Size Modifiers */
.wplc-size-small .wplc-logo-box {
  width: 80px;
  height: 60px;
}

.wplc-size-medium .wplc-logo-box {
  width: 150px;
  height: 100px;
}

.wplc-size-large .wplc-logo-box {
  width: 200px;
  height: 150px;
}

.wplc-pause-on-hover:hover .wplc-track {
  animation-play-state: paused;
}

@keyframes wplc-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(var(--wplc-translate, -50%), 0, 0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .wplc-slide {
    padding: 0 10px;
  }

  .wplc-size-large .wplc-slide img {
    max-height: 100px;
  }
}

@media (max-width: 480px) {
  .wplc-size-medium .wplc-slide img {
    max-height: 60px;
  }

  .wplc-size-large .wplc-slide img {
    max-height: 80px;
  }
}

/* Text Scroller Styles */
.wplc-text-item {
  white-space: nowrap;
  display: inline-block;
  line-height: 1;
}

.wplc-separator {
  display: flex;
  align-items: center;
  line-height: 1;
}

.wplc-separator .dashicons {
  font-size: inherit;
  width: auto;
  height: auto;
  line-height: inherit;
}

/* Navigation Arrows */
.wplc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: #333;
}

.wplc-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #000;
}

.wplc-prev {
  left: 10px;
}

.wplc-next {
  right: 10px;
}

.wplc-arrow .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

/* Pagination */
.wplc-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  z-index: 10;
  position: relative;
}

.wplc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wplc-pagination-color, #333);
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wplc-dot.active {
  opacity: 1;
  transform: scale(1.2);
}

/* Dash style */
.wplc-pagination-dashes .wplc-dot {
  width: 20px;
  height: 4px;
  border-radius: 2px;
}

.wplc-pagination-dashes .wplc-dot.active {
  width: 30px;
  transform: none;
}