.chatFileUpload {
  display: inline-block;

  .uploadButton {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;

    &:hover {
      color: #1890ff;
      background-color: rgba(24, 144, 255, 0.1);
    }

    &:disabled {
      color: #ccc;
      cursor: not-allowed;

      &:hover {
        background-color: transparent;
      }
    }

    .anticon {
      font-size: 16px;
    }
  }
}

// 移动端适配
@media (max-width: 768px) {
  .chatFileUpload {
    .uploadButton {
      padding: 6px 8px;
      font-size: 12px;

      .anticon {
        font-size: 14px;
      }
    }
  }
}
