const ColumnClipButton = ({ onClick, label = 'Прикрепить файл' }) => {
  return (
    <button
      onClick={onClick}
      style={{
        display: 'flex',
        alignItems: 'center',
        gap: '8px',
        padding: '10px 16px',
        border: '1px solid #ddd',
        borderRadius: '6px',
        background: 'white',
        cursor: 'pointer',
        fontSize: '14px',
        fontWeight: '500',
        transition: 'all 0.2s ease',
      }}
      onMouseEnter={(e) => {
        e.target.style.background = '#f5f5f5';
        e.target.style.borderColor = '#007bff';
      }}
      onMouseLeave={(e) => {
        e.target.style.background = 'white';
        e.target.style.borderColor = '#ddd';
      }}
    >
      {/* Иконка колонки */}
      <svg width="20" height="20" viewBox="0 0 20 20" fill="currentColor">
        <rect x="2" y="4" width="3" height="12" rx="1" />
        <rect x="8" y="2" width="3" height="16" rx="1" />
        <rect x="14" y="6" width="3" height="10" rx="1" />
      </svg>

      {/* Иконка скрепки */}
      <svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
        <path d="M10.5 5.5L8.5 7.5L7.5 6.5L9.5 4.5C9.9 4.1 10.6 4.1 11 4.5C11.4 4.9 11.4 5.6 11 6L7 10C6.6 10.4 6.3 10.4 6 10C5.7 9.6 5.7 9.3 6 9L9 6L8 5L5 8C4.3 8.7 4.3 9.9 5 10.6C5.7 11.3 6.9 11.3 7.6 10.6L11.6 6.6C12.5 5.7 12.5 4.3 11.6 3.4C10.7 2.5 9.3 2.5 8.4 3.4L5.4 6.4L4.3 5.3L7.3 2.3C8.7 0.9 10.9 0.9 12.3 2.3C13.7 3.7 13.7 5.9 12.3 7.3L8.3 11.3C6.9 12.7 4.7 12.7 3.3 11.3C1.9 9.9 1.9 7.7 3.3 6.3L6.3 3.3L5.2 2.2L2.2 5.2C0.4 7 0.4 9.9 2.2 11.7C4 13.5 6.9 13.5 8.7 11.7L12.7 7.7C14.1 6.3 14.1 4.1 12.7 2.7C11.3 1.3 9.1 1.3 7.7 2.7L4.7 5.7L5.8 6.8L8.8 3.8C9.8 2.8 11.2 2.8 12.2 3.8C13.2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 10.8 1.6 12 2.8C13.2 4 13.2 5.8 12 7L8 11C7.2 11.8 6 11.8 5.2 11C4.4 10.2 4.4 9 5.2 8.2L8.2 5.2L7.1 4.1L4.1 7.1C2.5 8.7 2.5 11.3 4.1 12.9C5.7 14.5 8.3 14.5 9.9 12.9L13.9 8.9C15.1 7.7 15.1 5.7 13.9 4.5C12.7 3.3 10.7 3.3 9.5 4.5L6.5 7.5L7.6 8.6L10.5 5.5Z" />
      </svg>

      {label}
    </button>
  );
};

export default ColumnClipButton;
