import { s as styleInject } from './index-bbdfb97a.js';
import 'react';
import { useTranslation } from '@crystaldesign/diva-core';
import { observer } from 'mobx-react-lite';
import classnames from 'classnames';
import { jsxs, jsx } from 'react/jsx-runtime';
import '@babel/runtime/helpers/defineProperty';
import 'react-dynamic-multi-render';
import '@babel/runtime/helpers/asyncToGenerator';
import '@babel/runtime/helpers/slicedToArray';
import '@babel/runtime/helpers/objectWithoutProperties';
import '@babel/runtime/regenerator';
import '@babel/runtime/helpers/classCallCheck';
import '@babel/runtime/helpers/createClass';
import '@babel/runtime/helpers/toConsumableArray';
import '@crystaldesign/diva-utils';
import 'mobx';
import '@crystaldesign/web-planner-logic';
import 'qrcode.react';
import '@babel/runtime/helpers/typeof';
import 'flat';
import 'react-switch';
import 'react-countup';

var wapper = "wapper-QIFUA";
var arrowIcon = "arrowIcon-8HsBS";
var open = "open-U4A2t";
var css_248z = ".wapper-QIFUA {\n  position: relative;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  padding: 10px 14px;\n  width: calc(100% - 28px); /* adjust as needed */\n  background: #f9f9ff; /* very light lavender */\n  border: 1px solid #b6c6f3; /* light blue border */\n  border-radius: 8px; /* rounded corners */\n  font-family: Arial, Helvetica, sans-serif;\n  font-size: 14px;\n  color: #4a52c4; /* medium blue text */\n  cursor: pointer;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); /* subtle shadow */\n}\n\n.arrowIcon-8HsBS {\n  width: 12px;\n  height: 12px;\n  position: absolute;\n  right: 10px;\n  top: 50%;\n  transform: translateY(-50%);\n  background: center / 100% no-repeat url(\"data:image/svg+xml,%3Csvg width%3D%2211%22 height%3D%227%22 viewBox%3D%220 0 11 7%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M10.4375 0.688354L6.15179 5.68835L1.4375 0.688354%22 stroke%3D%22%236F6F6F%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\");\n  transition: transform 0.3s ease;\n  transform: translateY(-50%) rotate(180deg);\n}\n\n.open-U4A2t .arrowIcon-8HsBS {\n  transform: translateY(-50%) rotate(0deg);\n}\n";
styleInject(css_248z);

var CollapsibleTrigger = function CollapsibleTrigger(_ref) {
  var open$1 = _ref.open;
  var _useTranslation = useTranslation(),
    t = _useTranslation.t;
  return /*#__PURE__*/jsxs("div", {
    className: classnames(wapper, open$1 ? open : undefined),
    children: [/*#__PURE__*/jsx("div", {
      children: t('configurator.conceptFilter.trigger')
    }), /*#__PURE__*/jsx("div", {
      className: arrowIcon
    })]
  });
};
var CollapsibleTrigger$1 = observer(CollapsibleTrigger);

export { CollapsibleTrigger$1 as default };
