/* 头部、菜单公用部分 */

/* .clearfix:before,
.clearfix:after,
.dl-horizontal dd:before,
.dl-horizontal dd:after,
.container:before,
.container:after,
.container-fluid:before,
.container-fluid:after,
.row:before,
.row:after,
.form-horizontal .form-group:before,
.form-horizontal .form-group:after,
.btn-toolbar:before,
.btn-toolbar:after,
.btn-group-vertical>.btn-group:before,
.btn-group-vertical>.btn-group:after,
.nav:before,
.nav:after,
.navbar-New:before,
.navbar-New:after,
.navbar-New-header:before,
.navbar-New-header:after,
.navbar-New-collapse:before,
.navbar-New-collapse:after,
.pager:before,
.pager:after,
.panel-body:before,
.panel-body:after,
.modal-header:before,
.modal-header:after,
.modal-footer:before,
.modal-footer:after {
  content: unset !important;
} */
.el-menu {
  border-right: 0px !important;
}

:root {
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 64px;
  --header-height: 60px;
  --primary-color: #3b82f6;
  --text-color: #333;
  --sub-text-color: #999;
  --bg-color: #f5f7fa;
  --border-color: #e4e7ed;
  --hover-bg: #f5f7fa;
}


/* 原来首页 */

.layui-body {
  left: 0px !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  color: var(--text-color);
}

/* --- 布局结构 --- */
.app-wrapper {
  display: flex;
  height: 100%;
  width: 100%;
}

.input-sm {
  height: 34px !important;
  line-height: 34px !important;
}

/* --- 侧边栏样式 --- */
.sidebar-container {
  width: var(--sidebar-width);
  background-color: #fff;
  border-right: 1px solid var(--border-color);
  transition: width 0.3s ease;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 1001;
  height: 100vh;
  overflow: hidden;
}

/* 折疊狀態：寬度延遲0.2s再收縮，先給時間讓文字消失 */
.sidebar-container.collapsed {
  width: var(--sidebar-collapsed-width);
  transition: width 0.3s 0.1s;
}

/* 折疊時：所有文字立即淡出 */
.sidebar-container.collapsed .sidebar-menu .el-menu-item span,
.sidebar-container.collapsed .sidebar-menu .el-submenu__title span,
.sidebar-container.collapsed .sidebar-menu .el-submenu .el-menu-item {
  opacity: 0;
}

/* 取消el-menu本身自带的寬度過渡，防止衝突 */
.sidebar-menu:not(.el-menu--collapse) {
  transition: none !important;
}

.logo-box {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  white-space: nowrap;
}

.logo-box img {
  width: 90%;
  height: 50px;
  object-fit: contain;
}

.logo-box i {
  font-size: 24px;
  margin-right: 10px;
  min-width: 24px;
  text-align: center;
}

.collapsed .logo-text {
  display: none;
}

.collapse-trigger {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  color: var(--sub-text-color);
  transition: background 0.3s;
}

.collapse-trigger:hover {
  background-color: var(--hover-bg);
  color: var(--primary-color);
}

.menu-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}

.menu-scroll-area::-webkit-scrollbar {
  width: 6px;
}

.menu-scroll-area::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

.menu-item-New {
  cursor: pointer;
  user-select: none;
}

.menu-title {
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-color);
  transition: all 0.3s;
  white-space: nowrap;
  overflow: hidden;
}

.menu-title span {
  font-size: 16px;
}

.menu-title:hover {
  background-color: var(--hover-bg);
  color: var(--primary-color);
}

.menu-title i.icon {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  font-size: 16px;
}

.menu-title img {
  margin-right: 5px;
  width: 20px;
  text-align: center;
}

.menu-title .arrow {
  font-size: 12px;
  transition: transform 0.3s;
}

.menu-item-New.open>.menu-title .arrow {
  transform: rotate(90deg);
}

.submenu {
  background-color: #fafafa;
  overflow: hidden;
}

.submenu-item {
  height: 45px;
  line-height: 45px;
  padding-left: 54px;
  color: #666;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  transition: all 0.3s;
  display: block;
}

.submenu-item:hover,
.submenu-item.active {
  color: var(--primary-color);
  background-color: #eef1f6;
}

/* --- 主内容区域 --- */
.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}

/* --- 顶部导航栏 --- */
.navbar-New {
  height: var(--header-height);
  background-color: #fff;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
  z-index: 1000;
  flex-shrink: 0;
}

.breadcrumbNew {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.breadcrumbNew-item {
  cursor: pointer;
}

.breadcrumbNew-item:hover {
  color: var(--primary-color);
}

.breadcrumbNew-separator {
  margin: 0 8px;
  color: #c0c4cc;
}

.breadcrumbNew-active {
  color: #303133;
  font-weight: bold;
}

/* 右侧工具栏 */
.right-menu {
  display: flex;
  align-items: center;
  height: 100%;
}

.right-menu-item {
  padding: 0 12px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #5a5e63;
  position: relative;
  transition: background 0.3s;
}

.right-menu-item:hover {
  background-color: var(--hover-bg);
}

.right-menu-item i {
  font-size: 18px;
}

.badge-dot {
  position: absolute;
  top: 15px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f56c6c;
  border: 2px solid #fff;
}

/* --- 核心修改：原地展开的搜索框 --- */
.search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}

.search-input {
  width: 0;
  opacity: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
}

.search-wrapper.active .search-input {
  width: 180px;
  opacity: 1;
  padding: 6px 10px;
  margin-right: 8px;
  background: #f5f7fa;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

/* 用户信息区 */
.avatar-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0 10px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 8px;
  border: 1px solid #eee;
}

.user-name {
  font-size: 14px;
  color: #333;
  margin-right: 5px;
}

.dropdown-menu-New {
  position: absolute;
  top: 55px;
  right: 0;
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
  width: 140px;
  z-index: 2000;
  list-style: none;
  padding: 5px 0;
  margin: 0;
}

.dropdown-item {
  padding: 10px 20px;
  font-size: 14px;
  color: #606266;
  cursor: pointer;
  transition: background .2s;
  text-align: center;
}

.dropdown-item:hover {
  background-color: #ecf5ff;
  color: var(--primary-color);
}

.dropdown-item i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.dropdown-divider {
  height: 1px;
  background-color: #ebeef5;
  margin: 5px 0;
}

/* 内容展示区 */
.app-main {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: var(--bg-color);
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .05);
  height: 100%;
  position: relative;
  overflow-y: auto;
}

.mobile-menu-btn {
  display: none;
  /* 默认隐藏 */
  font-size: 20px;
  color: var(--text-color);
  cursor: pointer;
  padding: 10px;
  margin-right: 15px;
}

/* element UI */
.menu-icon-img {
  width: 20px;
  margin-right: 5px;
}

/* 遮罩层（移动端点击菜单外区域时出现） */
.sidebar-mask {
  display: none;
  /* 默认隐藏 */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  animation: fade-in 0.3s;
}

@media (max-width: 768px) {

  /* 1. 侧边栏改为绝对定位，默认隐藏 */
  .sidebar-container {
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 3000;
    /* 高于遮罩层 */
    transform: translateX(-100%);
    /* 默认移出屏幕 */
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
  }

  /* 当 Vue 控制显示时，平移到 0 */
  .sidebar-container.mobile-visible {
    transform: translateX(0);
  }

  /* 2. 显示遮罩层 */
  .sidebar-mask {
    display: block;
  }

  /* 3. 顶部导航栏调整 */
  .navbar-New {
    padding: 0 10px;
    /* 减少内边距 */
  }

  .mobile-menu-btn {
    display: block;
    /* 显示汉堡按钮 */
  }

  /* 4. 面包屑优化 */
  .breadcrumb {
    flex: 1;
    overflow-x: auto;
    /* 允许横向滚动 */
  }

  /* 隐藏滚动条但保持功能 */
  .breadcrumb::-webkit-scrollbar {
    display: none;
  }

  /* 5. 搜索框调整 */
  .search-wrapper.active .search-input {
    width: 140px;
    /* 手机端搜索框短一点 */
  }

  .collapse-trigger {
    display: none;
  }

  /* 6. 内容区域 */
  .card {
    padding: 15px;
    min-height: 100vh;
    /* 手机端不需要强制800px高度 */
  }

  .app-main {
    padding: 10px;
  }
}


/* CMS样式改写 */
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form-label {
  margin-bottom: 5px;
  font-weight: bold;
}

.modalMain {
  padding: 20px;
  height: 500px;
  overflow-y: auto;
}
/* .blockElement {
  top: 50px!important;
  left: 50%!important;
  transform: translate(-50%);
} */
.modalMain .form-group {
  margin-left: 0px !important;
  margin-right: 0px !important;
}
.modal-footer-bottom {
  left: 0px;
  position: absolute;
    bottom: 0px;
    background: #fff;
    width: 100%;
    z-index: 1000000;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

.form-content {
  /* 可以根据需要添加宽度控制 */
}

.form-group label {
  font-weight: 700;
  color: #333;
  font-size: 14px;
  text-align: left;
}
#frmInput {
  text-align: left;
}
#frmInput label{
  margin-bottom: 10px;
}
.modal-footer-New {
  position: fixed;
  right: 0px;
  bottom: 0px;
  z-index: 999;
  width: 100%;
  background: #fff;
  box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .1);
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  margin-top: 0px !important;
}

.modal-footer-New input[type="button"],
.modal-footer-New input[type="submit"],
.modal-footer-New button {
  width: 200px;
  height: 45px;
  border-radius: 30px !important;
}

@media screen and (max-width: 768px) {

  .modal-footer-New input[type="button"],
  .modal-footer-New input[type="submit"],
  .modal-footer-New button {
    width: 45% !important;
    height: 45px;
    border-radius: 30px !important;
  }
}

#commentForm {
  padding-bottom: 100px;
}

.edui-default .edui-editor {
  width: 100% !important;
}


.edui-default .edui-editor {
  border: 1px solid #eee !important;
}

.edui-default .edui-editor-bottomContainer td {
  border: 1px solid #eee !important;
}

.container {
  width: 100% !important;
}

.layuimini-tab {
  /* min-height: 100vh!important; */
  overflow-y: auto;
}

.layuimini-tab .layui-tab-content {
  height: calc(100% -37px) !important;
}

.layui-body {
  height: 100%;
}

.btn-default {
  border-color: #eee !important;
  border-radius: 0px !important;
  margin-right: 5px;
}

#btn_add,#btn_SubAdd,#btn_Add {
    background-color: #337ab7;
    color: #fff;
}

.fixed-table-container {
  border: 1px solid #eee;
  border-radius: 0px;
}

#toolbar [class*=" el-icon-"],
#toolbar [class^=el-icon-],
.mainCat [class^=el-icon-]
{
  font-size: 16px;
  display: inline-block;
  margin-right: 5px;
}

.mar10 {
  margin-bottom: 10px;
}

.mainCat {
  margin-top: 20px;
}
.mainCat .pull-left {
  font-size: 16px;
}

.list-group-item {
  margin-top: 10px;
}
.list-group-item:hover {
  background: #eee;
  cursor: pointer;
}
.sub-list-group-item {
  background: #ddd;
}

.el-submenu__icon-arrow {
  font-size: 14px !important;
}

.submenu-title-wrap span,
.el-menu-item span {
  font-size: 16px !important;
}

.iconFont {
  font-size: 14px !important;
}

/* 商品外层网格容器，纯原生CSS，无Bootstrap布局类 */
.product-grid-container {
  display: grid;
  /* PC端固定一行4个 */
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-item-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.product-checkbox {
  align-self: flex-start;
  width: 18px;
  height: 18px;
  margin-bottom: 12px;
}

.product-image-block {
  margin-bottom: 14px;
}

.product-image-block img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 6px;
  background-color: #f7f7f7;
}

.product-info-wrap {
  border-radius: 6px;
  overflow: hidden;
}

.product-info-row {
  padding: 9px 8px;
}

.product-info-row:last-child {
  border-bottom: none;
}

.product-info-row.price-highlight {
  font-weight: bold;
  color: #c82333;
}
.bgTitle {
  margin-top: 30px;
  margin-bottom: 10px;
  background: #eee;
  color: #333;
  font-weight: 700;
  height: 34px;
  line-height: 34px;
}
#divSearchBar .form-group {
  margin-bottom: 18px;
}

/* PC端 >=768px：一行3列 */
@media (min-width: 768px) {
  /* #divSearchBar .form-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  } */

  #divSearchBar .control-label {
    margin-bottom: 10px;
  }

  #divSearchBar .form-group {
    margin-bottom: 0;
    margin-left: 0px;
  }
}

#divSearchBar .form-horizontal .form-group {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.control-label {
  margin-bottom: 10px !important;
}

/* 移动端 <768px：一行一列 */
@media (max-width: 767px) {
  #divSearchBar .control-label {
    display: block;
    margin-bottom: 15px;
    padding-top: 0;
  }

  #divSearchBar .form-control {
    width: 100%;
  }

  /* 商品外层网格容器，纯原生CSS，无Bootstrap布局类 */
  .product-grid-container {
    display: grid;
    /* PC端固定一行4个 */
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .product-image-block img {
    height: 100px;
  }
}

/* 价格区间，两个输入框横向并排 */
#divSearchBar .range_group {
  display: flex;
  gap: 10px;
  align-items: center;
}

#divSearchBar .range_group .form-control {
  flex: 1;
}

/* 搜索按钮容器 */
#divSearchBar .btn-wrap {
  margin-top: 8px;
  text-align: right;
}

#divSearchBar .btn-wrap .btn-default {
  margin-right: 0px !important;
}


.curTable {
  border: 1px solid #eee;
  padding: 20px;
  margin-bottom: 10px;
}

.curTable table td {
  border: 0px !important;
}

/* 上传文件 */
/* 上传组件专用，类名前缀 upload‑wrap‑ 做隔离，防止污染全局 */
.upload-wrap-group {
  margin-bottom: 24px;
}

.upload-wrap__label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.upload-wrap__box {
  border: 1px dashed #adb5bd;
  border-radius: 6px;
  cursor: pointer;
  background-color: #f8f9fa;
  height: 200px;
  width: 200px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-wrap__box:hover {
  border-color: #6c757d;
  background-color: #f1f3f5;
}

.upload-wrap__tip {
  margin-top: 6px;
  color: #666666;
}

/* 白色按钮，文字#333，独立类名，不污染全局 */
.btn-white-darktext {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #eee;
  border-radius: 0px;
}

.btn-white-darktext:hover {
  background-color: #f5f5f5;
  color: #333333;
  border-color: #eee;
}

.btn-white-darktext:active,
.btn-white-darktext:focus {
  background-color: #eeeeee;
  color: #333333;
  border-color: #aaaaaa;
  outline: none;
}

.btnDown {
  background: #eee;
}

.slelectBtn {
  width: 70%;
  display: inline-block;
  border: 1px solid #eee;
  height: 34px;
}

/* 产品排序设定 */
/* 搜索查询面板，独立隔离样式 */
.search-panel-wrap {
  margin-bottom: 20px;
}

.search-title {
  margin: 0 0 18px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.search-form-row {
  display: flex;
  gap: 20px;
}

.search-form-col {
  flex: 1;
}

.search-form-item {
  margin-bottom: 14px;
  position: relative;
}

.search-form-item label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #444;
}

.search-btn-wrap {
  margin-top: 24px;
  text-align: right;
  position: absolute;
  right: 0px;
  top: 0px;
}

/* 移动端：小于768px，改为一列 */
@media (max-width: 767px) {
  .search-form-row {
    flex-direction: column;
    gap: 0;
  }

  .search-btn-wrap {
    margin-top: 0;
    position: unset;
  }

  .slelectBtn {
    width: 100%;
    display: block;
    margin-bottom: 10px;
  }

  #cbo-1 {
    margin-bottom: 10px;
  }

  .mar10 {
    margin-top: 10px;
  }
}

.panel-title {
  font-size: 20px;
  color: #333;
  font-weight: 700;
  margin-bottom: 20px;
}

.topTitle {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.control-label {
  text-align: left !important;
}

.modal-header {
  margin-bottom: 20px;
  border-bottom: 0px!important;
}

.modal-header span {
  font-weight: 700;
  font-size: 16px;
}

.layuimini-tab.layui-tab-rollTool .layui-tab-title {
  overflow: hidden;
}
.paddingbox {
  padding-bottom: 80px;
  display: inline-block;
  width: 100%;
}
#myModal2 {
    overflow: hidden;
    height: 500px;
    overflow-y: auto;
    padding: 20px 20px 80px;
}
.col-form-label {
  margin-bottom: 10px;
}
#myModal,#myTabContent {
  padding-bottom: 80px;
}
.form-group {
  margin-bottom: 15px;
}
.displayInline {
  width: 100%;
  display: inline-block!important;
}
.displayInline .control-label-A{
  padding-left: 0px!important;
  margin-bottom: 10px;
}
.btnAlign {
  padding-right: 30px!important;
}
@media screen and (max-width: 767px)  {
  .btnAlign {
    padding-right: 10px!important;
  }
}
.topBar {
  margin-bottom: 20px;
  width: 100%;
  display: inline-block;
}
.mar20 {
  margin-top: 20px;
}
.paddingboxMain {
  padding: 20px;
  text-align: left;
}
.borderLine {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #eee;
}
.bodyHeight {
  padding-bottom: 80px;
}
.cursorPoint {
  cursor: pointer;
  margin-left: 5px;
}
.cursorPoint:hover{
  color: #337ab7;
}
.mar10 {
  margin-bottom: 10px;
}
.checkAllBox {
  margin-bottom: 10px;
}
.gapAlign{
  display:flex;gap:10px;align-items: center;
}
.order-table {
  width: 100%;
  display: inline-block;
  margin-top: 30px;
}
.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
  background: #ecf0f5;
  border-color: #eee !important;
  color: #333 !important;
}

.btn.disabled, .btn[disabled], fieldset[disabled] .btn:hover {
  background-color: #ecf0f5 !important;
}

.bootstrap-table.bootstrap3 .fixed-table-pagination > .pagination .page-jump-to {
  display: table!important;
}
.btn-danger {
  border-radius: 0px;
}
#Questions .panel-heading{
  margin-bottom: 15px;
}
#Questions .panel-body {
  padding-bottom: 15px;
}
#Questions .panel {
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .1);
    padding: 10px;
}
#Questions .form-control {
  margin-bottom: 10px;
}
.EditLabel label,.EditLabel .form-label {
  color: #333;
}
.el-menu-item.is-active {
  font-weight: 700;
}
.borderPanel {
  background: #fff;
  box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .1);
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  padding: 15px;
}
.redColor {
  font-size: 16px!important;
  color: red!important;
  font-weight: 500!important;
  margin-bottom: 10px;
}
.btn-primary {
  border-radius: 0px;
}
.iconSize {
  font-size: 18px;
}
.error {
  color: red!important;
}
.has-error .form-control {
  border-color: red!important;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus {
    outline: none !important;
    box-shadow: none !important;
}
.search-form-item label {
  font-weight: 700;
  color: #333;
}
#tblInventorySummaryList td{
  padding: 10px;
}

/* ========== Element UI 侧边菜单长文本换行 + 箭头对齐修复 ========== */

/* 1. 菜单项/子菜单标题：改成Flex布局，整体垂直居中，高度自适应 */
/* 1. 菜单项/子菜单标题：展开状态多行+垂直居中 */
.el-menu-item,
.el-submenu__title {
  position: relative !important; /* 新增：配合右侧箭头绝对定位 */
  display: flex !important;
  align-items: center !important;
  height: auto !important;
  line-height: 1.5 !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  white-space: normal !important;
  word-break: break-word;
}

/* 2. 左侧箭头/图标 */
.el-menu-item [class^="el-icon"],
.el-submenu__title [class^="el-icon"] {
  flex-shrink: 0;
  margin-right: 8px;
}

/* 3. 右侧展开箭头：永远垂直居中 */
.el-submenu__icon-arrow {
  position: absolute !important;
  top: 50% !important;
  right: 20px;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
}

/* 4. 二级菜单缩进 */
.el-submenu .el-menu-item {
  padding-left: 20px !important;
}

/* ========== 5. 折叠状态核心修复 ========== */
.el-menu--collapse .el-menu-item,
.el-menu--collapse .el-submenu__title {
  /* 强制单行，禁止换行 → 收缩时文字只会横向截断，不会竖排 */
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip;

  /* 固定高度+重置内边距，保持正方形图标位 */
  height: 56px !important;
  line-height: 56px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;

  /* 图标水平居中 */
  justify-content: center !important;
}

/* 折叠状态：隐藏右侧展开箭头 */
.el-menu--collapse .el-submenu__icon-arrow {
  display: none !important;
}

/* 折叠状态：图标清除右边距，完全居中 */
.el-menu--collapse .el-menu-item [class^="el-icon"],
.el-menu--collapse .el-submenu__title [class^="el-icon"] {
  margin-right: 0 !important;
}

/* 可选：如果想要折叠后文字彻底消失（无截断过渡），开启下面这段
.el-menu--collapse .el-menu-item span,
.el-menu--collapse .el-submenu__title span {
  display: none !important;
}
*/
.selected {
  color: #3b82f6;
}
.selected i{
  color: #3b82f6;
  font-size: 18px;
}

.FilelistBox {
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .1);
  padding: 10px;
}
.coverImg {
  width: 100%;
  height: 150px;
}
.coverImg img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ztree li span {
  white-space:normal;
}
.ztree li ul li {
  margin-top: 20px!important;
}
.ztree li a.curSelectedNode {
  height: 20px!important;
}
.panel{
  box-shadow: unset!important;
}