/* ===== LGSports Chat Input ===== */
/* 消息列表容器 + 输入区域 + 发送按钮 */
/* 来源：原 chat.css 的 Chat Messages / Input Area 部分 */

/* ===== Chat Messages Container ===== */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  -webkit-overflow-scrolling: touch;
}

/* ===== Chat Input Area ===== */
.chat-input-area {
  padding: 16px 24px;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.chat-input-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.input-with-button {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.input-with-button textarea {
  width: 100%;
  padding: 12px 52px 12px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  min-height: 48px;
  max-height: 200px;
  line-height: 1.4;
  resize: none;
  overflow-y: auto;
}

.input-with-button textarea:focus {
  outline: none;
  border-color: #667eea;
}

.input-with-button button {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: linear-gradient(135deg, #8fa0ff, #a78bfa);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-with-button button svg {
  width: 16px;
  height: 16px;
}

.input-with-button button.pause {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.chat-input-wrapper button:hover {
  opacity: 0.9;
}

.chat-input-wrapper button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
