/*!* ============================================================*/
/* * Pimcore Studio 自定义样式*/
/* * 通过 pimcore_studio_ui.static_resources.css 加载*/
/* * 统一品牌主色：绿色 #0F6E56*/
/* * ============================================================ *!*/

/*!* ---------- 登录页 ---------- *!*/
/*[data-testid="login-page"] .ant-btn-primary {*/
/*    background-color: #0F6E56 !important;*/
/*    border-color: #0F6E56 !important;*/
/*}*/
/*[data-testid="login-page"] .ant-btn-primary:hover,*/
/*[data-testid="login-page"] .ant-btn-primary:focus {*/
/*    background-color: #0d5b47 !important;*/
/*    border-color: #0d5b47 !important;*/
/*}*/
/*[data-testid="login-page"] .ant-btn-link {*/
/*    color: #C2410C !important;*/
/*}*/
/*[data-testid="login-page"] .ant-btn-link:hover {*/
/*    color: #9a3409 !important;*/
/*}*/

/*!* ============================================================*/
/* * 主界面主题色覆盖（绿色为主）*/
/* * ============================================================ *!*/

/*!* ---- 主按钮（Save & Publish 等）---- *!*/
/*.ant-btn-primary {*/
/*    background-color: #0F6E56 !important;*/
/*    border-color: #0F6E56 !important;*/
/*}*/
/*.ant-btn-primary:hover,*/
/*.ant-btn-primary:focus {*/
/*    background-color: #0d5b47 !important;*/
/*    border-color: #0d5b47 !important;*/
/*}*/
/*.ant-btn-primary:active {*/
/*    background-color: #0a4a3a !important;*/
/*    border-color: #0a4a3a !important;*/
/*}*/

/*!* ---- outlined/default 按钮（Save draft 这种紫边紫字）---- *!*/
/*.ant-btn-default,*/
/*.ant-btn-outlined {*/
/*    color: #0F6E56 !important;*/
/*    border-color: rgba(15, 110, 86, 0.45) !important;*/
/*}*/
/*.ant-btn-default:hover,*/
/*.ant-btn-outlined:hover,*/
/*.ant-btn-default:focus,*/
/*.ant-btn-outlined:focus {*/
/*    color: #0d5b47 !important;*/
/*    border-color: #0F6E56 !important;*/
/*    background-color: rgba(15, 110, 86, 0.06) !important;*/
/*}*/

/*!* ---- 链接色 ---- *!*/
/*a, .ant-btn-link, .ant-typography a {*/
/*    color: #0F6E56 !important;*/
/*}*/
/*a:hover, .ant-btn-link:hover {*/
/*    color: #0d5b47 !important;*/
/*}*/

/*!* ---- Pimcore 自定义树选中项 ---- *!*/
/*!* 实际 class: tree-node__content--selected，原背景 #f8eeff 浅紫 *!*/
/*.tree-node__content--selected,*/
/*.tree-node__content:hover {*/
/*    background-color: rgba(15, 110, 86, 0.12) !important;*/
/*}*/
/*.tree-node__content--selected > *,*/
/*.tree-node__content:hover > * {*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* ---- Tabs 下划线（Preview/Home 标签）---- *!*/
/*.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn,*/
/*.ant-tabs-tab-active .ant-tabs-tab-btn {*/
/*    color: #0F6E56 !important;*/
/*}*/
/*.ant-tabs-ink-bar {*/
/*    background-color: #0F6E56 !important;*/
/*}*/

/*!* ---- Segmented 选中（Small/Large）---- *!*/
/*.ant-segmented .ant-segmented-item-selected {*/
/*    background-color: #0F6E56 !important;*/
/*    color: #fff !important;*/
/*}*/

/*!* ---- 左侧导航选中 ---- *!*/
/*.ant-menu-item-selected,*/
/*[class*="mainNavigation"] [class*="selected"] {*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* ============================================================*/
/* * 全局补漏：Pimcore 自定义组件里残留的紫色 #531dab / #722ed1*/
/* * ============================================================ *!*/

/*!* 面板标题（Website Pages / Data Object Tree） *!*/
/*.widget__title,*/
/*.widget__title * {*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* 顶部 flexlayout 标签（A01-Pliers 等） *!*/
/*.flexlayout__tab_button--selected,*/
/*.flexlayout__tab_button--selected *,*/
/*.flexlayout__tab_button:hover,*/
/*.flexlayout__tab_button:hover * {*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* H1 主题标题 *!*/
/*.title--theme-primary,*/
/*.ant-typography.title--theme-primary {*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* Tabs 标签文字（含未选中态的紫色文字） *!*/
/*.ant-tabs-tab .ant-tabs-tab-btn,*/
/*.ant-tabs-tab-btn,*/
/*.ant-tabs-tab-btn button,*/
/*.ant-tabs-tab button.pimcore-sla9pf {*/
/*    color: rgba(0, 0, 0, 0.65) !important;*/
/*}*/
/*.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn,*/
/*.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn button,*/
/*.ant-tabs-tab.ant-tabs-tab-active button.pimcore-sla9pf {*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* Pimcore 图标颜色跟随父级（currentColor），不动 fill 避免破坏 SVG 渲染 *!*/
/*.pimcore-icon {*/
/*    color: inherit;*/
/*}*/

/*!* 所有 default/filled 按钮的文字和图标（Add / 更多 / 上传 等） *!*/
/*.ant-btn-default,*/
/*.ant-btn-default *,*/
/*.ant-btn-filled,*/
/*.ant-btn-filled *,*/
/*.ant-btn-outlined,*/
/*.ant-btn-outlined * {*/
/*    color: #0F6E56 !important;*/
/*}*/
/*.ant-btn-default:hover,*/
/*.ant-btn-filled:hover,*/
/*.ant-btn-outlined:hover {*/
/*    color: #0d5b47 !important;*/
/*    border-color: #0F6E56 !important;*/
/*}*/

/*!* 状态图标（inheritance-active 等） *!*/
/*.pimcore-icon-inheritance-active,*/
/*.pimcore-icon-more,*/
/*.pimcore-icon-upload-cloud,*/
/*.pimcore-icon-data-object,*/
/*.pimcore-icon-edit-pen,*/
/*.pimcore-icon-edit {*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* Tabs 图标（铅笔/文档图标） *!*/
/*.ant-tabs-tab-icon,*/
/*.ant-tabs-tab-icon *,*/
/*.pimcore-icon-edit-pen,*/
/*.pimcore-icon-edit-pen * {*/
/*    color: inherit;*/
/*}*/
/*.ant-tabs-tab-active .ant-tabs-tab-icon,*/
/*.ant-tabs-tab-active .pimcore-icon-edit-pen {*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* Breadcrumb 链接 *!*/
/*.ant-breadcrumb-link a,*/
/*.ant-breadcrumb-link {*/
/*    color: #0F6E56 !important;*/
/*}*/
/*.ant-breadcrumb-link:hover {*/
/*    color: #0d5b47 !important;*/
/*}*/

/*!* 底部 toolbar 浅紫底 → 浅绿 *!*/
/*.toolbar--theme-primary,*/
/*.toolbar--theme-primary[class*="position-bottom"] {*/
/*    background-color: rgba(15, 110, 86, 0.04) !important;*/
/*}*/

/*!* Website Pages 文档树选中项（浅紫底） *!*/
/*.document-tree-node--selected,*/
/*.document-tree-node__content--selected,*/
/*[class*="document-tree"][class*="selected"],*/
/*[class*="DocumentTree"] [class*="selected"] {*/
/*    background-color: rgba(15, 110, 86, 0.12) !important;*/
/*}*/

/*!* Quick Access 菜单选中项（System Settings） *!*/
/*.ant-menu-item-selected,*/
/*[class*="quick-access"] [class*="selected"],*/
/*[class*="quickAccess"] [class*="active"] {*/
/*    color: #0F6E56 !important;*/
/*    background-color: rgba(15, 110, 86, 0.12) !important;*/
/*}*/
/*.ant-menu-item-selected::before,*/
/*[class*="quick-access"] [class*="selected"]::before {*/
/*    background-color: #0F6E56 !important;*/
/*}*/

/*!* Power Shortcuts 列表项（Open Asset 等） *!*/
/*[class*="shortcut"] [class*="item"]:hover,*/
/*[class*="shortcut"] [class*="item"][class*="active"],*/
/*[class*="Shortcut"] [class*="item"]:hover {*/
/*    background-color: rgba(15, 110, 86, 0.12) !important;*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* App 标签（Appearance & Branding 顶部 tab 紫字） *!*/
/*.flexlayout__tab_button:not(.flexlayout__tab_button--selected) {*/
/*    color: rgba(0, 0, 0, 0.65) !important;*/
/*}*/

/*!* ---- 输入框 focus ---- *!*/
/*.ant-input:focus,*/
/*.ant-input-focused,*/
/*.ant-select-focused .ant-select-selector,*/
/*.ant-input-affix-wrapper-focused {*/
/*    border-color: #0F6E56 !important;*/
/*    box-shadow: 0 0 0 2px rgba(15, 110, 86, 0.15) !important;*/
/*}*/

/*!* ---- Checkbox / Radio ---- *!*/
/*.ant-checkbox-checked .ant-checkbox-inner,*/
/*.ant-radio-checked .ant-radio-inner {*/
/*    background-color: #0F6E56 !important;*/
/*    border-color: #0F6E56 !important;*/
/*}*/

/*!* ---- Switch ---- *!*/
/*.ant-switch-checked {*/
/*    background-color: #0F6E56 !important;*/
/*}*/

/*!* ---- 左侧活动竖条（左下角那个紫色竖线）---- *!*/
/*[class*="navigation"] [class*="active"]::before,*/
/*[class*="Navigation"] [class*="active"]::before {*/
/*    background-color: #0F6E56 !important;*/
/*}*/

/*!* ============================================================*/
/* * 补漏：更多残留紫色位置*/
/* * ============================================================ *!*/

/*!* antd 默认 token 覆盖（CSS 变量） *!*/
/*:root {*/
/*    --pimcore-color-primary: #0F6E56 !important;*/
/*    --pimcore-color-primary-hover: #0d5b47 !important;*/
/*    --pimcore-color-primary-active: #0a4a3a !important;*/
/*    --pimcore-color-link: #0F6E56 !important;*/
/*}*/

/*!* Tabs 未选中 hover 背景（原浅紫） *!*/
/*.ant-tabs-tab:not(.ant-tabs-tab-active):hover {*/
/*    background-color: rgba(15, 110, 86, 0.08) !important;*/
/*}*/
/*.ant-tabs-nav::before {*/
/*    border-bottom-color: #e8f0ed !important;*/
/*}*/

/*!* Alert 信息提示（auto-saved draft 浅紫底紫图标） *!*/
/*.ant-alert-info {*/
/*    background-color: rgba(15, 110, 86, 0.06) !important;*/
/*    border: 1px solid #7fc4b0 !important;*/
/*}*/
/*.ant-alert-info .ant-alert-icon {*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* Tag 标签（Quick Access 紫底紫字） *!*/
/*.ant-tag-color-primary,*/
/*.ant-tag[class*="primary"] {*/
/*    color: #0F6E56 !important;*/
/*    background-color: rgba(15, 110, 86, 0.08) !important;*/
/*    border-color: #7fc4b0 !important;*/
/*}*/

/*!* 树节点图标颜色 *!*/
/*.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle,*/
/*.ant-tree .ant-tree-switcher {*/
/*    color: #2a5a4a !important;*/
/*}*/
/*.ant-tree .ant-tree-node-selected .ant-tree-iconEle,*/
/*.ant-tree .ant-tree-node-selected .ant-tree-switcher {*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* 文档编辑页 Basic Data 等 tab *!*/
/*[class*="document-editor"] .ant-tabs-tab-btn,*/
/*[class*="documentEditor"] .ant-tabs-tab-btn {*/
/*    color: rgba(0, 0, 0, 0.65) !important;*/
/*}*/
/*[class*="document-editor"] .ant-tabs-tab-active .ant-tabs-tab-btn,*/
/*[class*="documentEditor"] .ant-tabs-tab-active .ant-tabs-tab-btn {*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* 右侧 Activity 侧边栏紫色元素 *!*/
/*[class*="sidebar"] [class*="active"],*/
/*[class*="Sidebar"] [class*="active"] {*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* 下拉菜单 hover/选中 *!*/
/*.ant-dropdown-menu-item-selected,*/
/*.ant-dropdown-menu-item:hover {*/
/*    background-color: rgba(15, 110, 86, 0.12) !important;*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* 分页器 *!*/
/*.ant-pagination-item-active {*/
/*    border-color: #0F6E56 !important;*/
/*}*/
/*.ant-pagination-item-active a {*/
/*    color: #0F6E56 !important;*/
/*}*/

/*!* 步骤条 *!*/
/*.ant-steps-item-process .ant-steps-item-icon,*/
/*.ant-steps-item-finish .ant-steps-item-icon {*/
/*    background-color: #0F6E56 !important;*/
/*    border-color: #0F6E56 !important;*/
/*}*/

/*!* 头像在线指示器 *!*/
/*.ant-avatar-badge-dot,*/
/*.ant-badge-dot {*/
/*    background-color: #0F6E56 !important;*/
/*}*/

/*!* 全局选择文本颜色 *!*/
/*::selection {*/
/*    background-color: rgba(15, 110, 86, 0.2) !important;*/
/*}*/

/* ============================================================
   RG areablock 拖放优化
   Studio UI 的 areablock 插入落点条（.pimcore-editable-dropzone）
   默认只有 16px 高、平时完全透明（opacity: 0，拖拽时才显示），
   从右侧 "Add areas" 面板拖 brick 几乎无法命中。
   加高落点条改善拖入体验。这些元素只存在于编辑模式，前台无影响。
   ============================================================ */
.pimcore-editable-dropzone {
    height: 48px !important;
}

.pimcore-editable-dropzone[data-pimcore-drag-state="active"] {
    opacity: 0.6 !important;
}

