/*
 * SPDX-FileCopyrightText: 2025 Weibo, Inc.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/* Auto-resize textarea styles for chat input */
.auto-resize-textarea {
  min-height: 72px; /* Default height for about 3 lines */
  max-height: 144px; /* Maximum height for about 6 lines (double the original) */
  overflow-y: auto;
  resize: none;
  transition: height 0.2s ease;
}

/* Bot selector styles */
.bot-selector-container {
  position: relative;
  margin-bottom: 8px;
}

/* Search icon slide animation */
@keyframes slide-horizontal {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

.animate-slide {
  animation: slide-horizontal 1.5s ease-in-out infinite;
}

.wmde-markdown,
.markdown-content,
.enhanced-markdown,
.smart-text-line,
.chat-message-prompt {
  font-family:
    'Google Sans Flex',
    'Google Sans',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    'PingFang SC',
    'Hiragino Sans GB',
    'Microsoft YaHei',
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: normal;
}

.smart-text-line {
  min-height: 28px;
}
