/* ========== 编辑页样式 .createedit ========== */
/* 表单区域通用 */
.backtest .createedit { }
.backtest .createedit-panel { padding: 24px 32px 40px; }
/* ---------- Section 分区 ---------- */
.backtest .createedit .form-section { margin-bottom: 30px; }
.backtest .createedit .form-section__title { font-size: 14px; font-weight: bold; color: #333; margin-bottom: 20px; }
/* ---------- 表单行 (float布局，兼容IE10) ---------- */
.backtest .createedit .form-row { *zoom: 1; margin-bottom: 16px; }
.backtest .createedit .form-row::after { content: ""; display: table; clear: both; }
.backtest .createedit .form-label { float: left; width: 110px; line-height: 34px; font-size: 14px; color: #333; text-align: left; padding-right: 8px; }
.backtest .createedit.small .form-label { width: 80px; }
.backtest .createedit .form-required { color: #e85d26; margin-right: 2px; }
.backtest .createedit .form-control { float: left; width: 720px; }
.backtest .createedit.small .form-control { float: left; width: 388px; }
/* textarea 行 */
.backtest .createedit .form-row--textarea .form-label { line-height: 20px; padding-top: 6px; }
.backtest .createedit .form-unit { position: absolute; right: 12px; top: 0; line-height: 36px; font-size: 13px; color: #666; }
.backtest .createedit .form-input-search { position: absolute; left: 12px; top: 9px; background: url(../../img/backtest/icon_search.png) center center no-repeat; background-size: contain; width: 14px; height: 14px; }
/* ---------- 输入框/选择框 ---------- */
.backtest .createedit .form-input,
.backtest .createedit .form-select,
.backtest .createedit .form-textarea { width: 100%; border: none; border-radius: 4px; background-color: #f7f8fa; padding: 0 12px; font-size: 14px; color: #333; outline: none; -webkit-transition: border-color 0.2s; transition: border-color 0.2s; }
.backtest .createedit .form-input { height: 32px; line-height: 20px; }
.backtest .createedit .form-select { height: 32px; }
/* .backtest .createedit .form-input:focus,
.backtest .createedit .form-select:focus,
.backtest .createedit .form-textarea:focus {        
    border: 1px solid #e85d26;
} */
.backtest .createedit .form-textarea { padding-top: 8px; height: 88px; line-height: 1.6; }
.backtest .createedit.small .form-textarea { padding-top: 6px; height: 53px; line-height: 1.5; }
/* select 下拉箭头 */
.backtest .createedit .form-control { position: relative; }
.backtest .createedit .select-arrow { display: block; position: absolute; right: 14px; top: 50%; margin-top: -3px; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #999; pointer-events: none; }
.backtest .createedit .form-select { appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 28px; cursor: pointer; }
/* ---------- 搜索框 ---------- */
.backtest .createedit .search-box { *zoom: 1; background-color: #f7f8fa; border: 1px solid #e5e5e5; border-radius: 4px; height: 36px; overflow: hidden; }
.backtest .createedit .search-box::after { content: ""; display: table; clear: both; }
.backtest .createedit .search-icon { float: left; width: 34px; text-align: center; line-height: 36px; font-size: 14px; color: #bbb; }
.backtest .createedit .search-input { float: right; width: "100%"; height: 34px; border: none; background: transparent; padding: 0 10px; font-size: 13px; color: #333; outline: none; }
.backtest .createedit .search-input::placeholder { color: #bbb; }
/* ---------- 筛选提示文字 ---------- */
.backtest .createedit .filter-hint { font-size: 13px; color: #666; margin-bottom: 10px; margin-top: 2px; }
/* ---------- Tab 导航 (inline-block布局) ---------- */
.backtest .createedit .tab-nav { margin-bottom: 5px; }
.backtest .createedit .tab-list { list-style: none; font-size: 0; /* 消除inline-block间隙 */ }
.backtest .createedit .tab-item { display: inline-block; *display: inline; zoom: 1; margin: 0px 18px; padding-bottom: 5px; font-size: 13px; color: #666; cursor: pointer; position: relative; vertical-align: middle; margin-right: 4px; margin-top: 10px; border-bottom: 2px solid transparent; }
.backtest .createedit .tab-item:hover { color: #E7551E; }
.backtest .createedit .tab-item--active { color: #E7551E; font-weight: 500; border-bottom-color: #E7551E; }
/* ---------- 产品表格（双表分离：固定表头 + 滚动表身）---------- */
.backtest .createedit .product-table-wrap { }
/* 表头容器 - 固定不滚动（右侧预留滚动条宽度对齐） */
.backtest .createedit .product-thead-wrap { padding-right:6px; }
/* 表身容器 - 定高可滚动 */
.backtest .createedit .product-tbody-wrap { height: 260px; overflow-y: scroll; overflow-x: hidden; }
.backtest .createedit .product-tbody-wrap::-webkit-scrollbar { width: 6px; }
.backtest .createedit .product-tbody-wrap::-webkit-scrollbar-thumb { background: #999; width: 6px; border-radius: 5px; }
.backtest .createedit .product-tbody-wrap::-webkit-scrollbar-track { background-color: transparent; }
.backtest .createedit .product-tbody-wrap::-webkit-scrollbar-corner { background-color: transparent; }
.backtest .createedit .product-tbody-wrap::-webkit-scrollbar-track-piece { background-color: transparent; }
/* 表头表格 */
.backtest .createedit .product-table--head { width: 100%; border-collapse: collapse; table-layout: fixed; /* 固定列宽，与表身对齐 */ }
/* 表身表格 */
.backtest .createedit .product-table--body { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; /* 固定列宽，与表头对齐 */ }
/* 表身最后一行无边框 */
.backtest .createedit .product-table--body tr:last-child td { border-bottom: none; }
/* 选中行高亮 */
.backtest .createedit .product-table--body tr.checked td { }
/* 列宽 - 固定像素值 */
.backtest .createedit .col-name { text-align: left !important; }
.backtest .createedit .col-strategy { width: 110px; text-align: center !important; }
.backtest .createedit .col-amount { width: 90px; text-align: center !important; }
.backtest .createedit .col-risk { width: 90px; text-align: center !important; }
.backtest .createedit .col-return { width: 90px; text-align: center !important; }
.backtest .createedit .col-action { width: 60px; text-align: center !important; }
/* 表头单元格 */
.backtest .createedit .product-table--head th { padding: 10px 12px; text-align: left; font-weight: normal; color: #999; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 表身单元格 */
.backtest .createedit .product-table--body td { padding: 12px 12px; vertical-align: middle; color: #555; word-break: break-all; }
/* checkbox 样式 */
.backtest .createedit .product-table--body input[type="checkbox"] { width: 15px; height: 15px; cursor: pointer; vertical-align: text-bottom; accent-color: #e85d26; margin-right: 8px; }
/* 产品名称 */
.backtest .createedit .name-cell { color: #333; }
.backtest .createedit .name-cell label { cursor: pointer; user-select: none; }
/* 收益率 正值红色 */
.backtest .createedit .return-positive { color: #e85d26; font-weight: 500; }
/* 详情链接 */
.backtest .createedit .detail-link { color: #3b82f6; text-decoration: none; font-size: 12px; }
.backtest .createedit .detail-link:hover { text-decoration: underline; }
/* ---------- 底部操作栏 ---------- */
.backtest .createedit .form-footer { *zoom: 1; margin-top: 20px; padding-top: 16px; }
.backtest .createedit .form-footer::after { content: ""; display: table; clear: both; }
.backtest .createedit .selected-count { float: left; line-height: 34px; font-size: 13px; color: #666; }
.backtest .createedit .footer-actions { float: left; }
