.rsi-scroller-block {
  position: relative;
  overflow: hidden;
  margin: 20px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
}

.rsi-scroller-wrapper {
  position: relative;
}

.rsi-scroller-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  overflow: hidden;
}

.rsi-scroller-container.vertical {
  flex-direction: column;
  height: 400px;
}

.rsi-scroller-container.horizontal {
  flex-direction: row;
}

.rsi-scroller-item {
  flex: 0 0 auto;
  padding: 15px;
  border-bottom: 1px solid #eee;
  min-width: 100%;
  box-sizing: border-box;
}

.rsi-scroller-container.horizontal .rsi-scroller-item {
  min-width: 300px;
  max-width: 300px;
  border-bottom: none;
  border-right: 1px solid #eee;
}

.rsi-scroller-item:last-child {
  border-bottom: none;
  border-right: none;
}

.item-content {
  width: 100%;
}

.rsi-scroller-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 10px;
  box-sizing: border-box;
}

.rsi-scroller-nav {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  pointer-events: auto;
  transition: all 0.3s ease;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rsi-scroller-nav:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.rsi-scroller-nav:disabled {
  background: rgba(0, 0, 0, 0.3);
  cursor: not-allowed;
  transform: none;
}

.rsi-scroller-nav .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rsi-scroller-empty {
  padding: 40px;
  text-align: center;
  color: #666;
  font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
  .rsi-scroller-container.horizontal .rsi-scroller-item {
    min-width: 100%;
    max-width: 100%;
  }

  .rsi-scroller-nav {
    padding: 8px 12px;
    font-size: 16px;
    min-width: 36px;
    min-height: 36px;
  }
}
