.autoScrollContainer {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.scrollableContent {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  width: 100%;
}

.scrollToBottomButton {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background-color: var(--color-secondary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  animation: slideDown 0.3s ease;
}

.scrollToBottomButton:hover {
  background-color: var(--color-secondary);
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%) translateY(-2px);
}

.scrollToBottomButton:active {
  transform: translateX(-50%) translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.scrollArrow {
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Dark theme support */
[data-theme="dark"] .scrollToBottomButton {
  background-color: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .scrollToBottomButton:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Responsive design */
@media (max-width: 640px) {
  .scrollToBottomButton {
    width: 36px;
    height: 36px;
  }
  
  .scrollArrow {
    font-size: 18px;
  }
}

