/* ============================================================
   znetyun 主题 · 导航样式 (顶栏 + 侧边栏)
   ============================================================ */

.text-ellip {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------- 侧边栏 ---------- */
.vertical-menu {
  background: #ffffff !important;
  width: 300px;
  top: 84px;
  z-index: 1001;
  bottom: 0;
  margin-top: 0;
  position: fixed;
  border-right: 1px solid #e6e9f0;
}

.vertical-menuuser {
  background: #ffffff !important;
  width: 300px;
  top: 84px;
  z-index: 1001;
  bottom: 0;
  margin-top: 0;
  position: fixed;
}

/* ---------- 顶栏 ---------- */
#page-topbar {
  background-color: #ffffff;
  z-index: 1002;
  border-bottom: 1px solid #e6e9f0;
  box-shadow: 0 1px 4px rgba(29, 33, 41, 0.04);
}

.navbar-brand-boxuser {
  background: #ffffff !important;
  border-bottom: none;
  border-right: none;
  padding: 0 20px !important;
  text-align: left;
  width: 300px;
  height: 84px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* Logo 显示逻辑：白色顶栏显示深色 logo */
.navbar-brand-boxuser .logo {
  line-height: 84px;
}
body[data-sidebar="dark"] .logo-dark {
  display: block;
}
body[data-sidebar="dark"] .logo-light {
  display: none;
}

.navbar-header {
  height: 84px;
}

/* ---------- 侧边栏菜单 ---------- */
.metismenu {
  margin: 0;
  padding: 12px 10px;
  margin-bottom: 60px;
}

.metismenu li {
  display: block;
  border-bottom: none;
  color: #4e5969;
  font-size: 14px;
  font-weight: 400;
  text-shadow: none;
  white-space: nowrap;
  margin: 2px 0;
  border-radius: 8px;
  overflow: hidden;
}

#sidebar-menu ul li a {
  padding: 11px 14px;
  font-size: 14px;
  border-radius: 8px;
}

body[data-sidebar="dark"] #sidebar-menu ul li a {
  font-size: 14px;
  color: #4e5969;
  padding: 11px 14px;
  border-left: 3px solid transparent;
  font-weight: 500;
  transition: all 0.18s ease;
}

body[data-sidebar="dark"] #sidebar-menu ul li a:hover {
  color: #1677ff;
  border-left: 3px solid #1677ff;
  background: #f4f8ff;
}

body[data-sidebar="dark"] #sidebar-menu ul li a:hover i {
  color: #1677ff;
}

body[data-sidebar="dark"] #sidebar-menu ul li a i {
  color: #86909c;
  font-size: 16px;
  margin-right: 4px;
}

body[data-sidebar="dark"] .mm-active > a {
  color: #1677ff !important;
  background: #e8f1ff;
  border-left: 3px solid #1677ff;
  font-weight: 600;
}

body[data-sidebar="dark"] .mm-active > a i {
  color: #1677ff !important;
}

body[data-sidebar="dark"] .mm-active .active {
  background: #e8f1ff;
  color: #1677ff !important;
}

#sidebar-menu ul li ul.sub-menu li a {
  font-size: 13px;
  color: #4e5969;
  padding: 9px 14px 9px 44px;
  border-left: 3px solid transparent;
}

#sidebar-menu ul li ul.sub-menu li a:hover {
  color: #1677ff;
  border-left: 3px solid #1677ff;
  background: #f4f8ff;
}

body[data-sidebar="dark"] #sidebar-menu ul li ul.sub-menu li.mm-active > a {
  color: #1677ff;
  background: #e8f1ff;
}

body[data-sidebar="dark"] .mm-active {
  color: #1677ff !important;
}

ul.sub-menu.mm-collapse.mm-show {
  background: transparent;
}

a.sideafter:after,
.waves-span:after {
  content: "\e791";
  font-family: "ky";
  font-size: 0.6rem;
}

a.sideafter:after {
  font-size: 1.2rem !important;
  margin-left: -6.5px;
}

.waves-effect span {
  font-size: 14px;
  font-weight: 500;
}

.account-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  border-radius: 0;
  padding: 8px;
  z-index: 4;
  background: #fff;
  border-top: 1px solid #eef0f5;
}

.ng-binding img {
  width: 100%;
  border-radius: 8px;
}

/* ---------- 顶栏导航 ---------- */
.waves-ff {
  height: 60px;
  box-shadow: none !important;
  color: #4e5969;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
}

.waves-ff li {
  display: inline-block;
  height: 60px;
  line-height: 60px;
  margin-left: 4px;
}

.waves-ff li a {
  color: #4e5969;
  font-size: 14px;
  font-weight: 500;
}

.waves-li a {
  border-radius: 8px;
  box-sizing: border-box;
  padding: 6px 16px;
  transition: all 0.2s ease;
}

.waves-li a:hover {
  background: #e8f1ff;
  color: #1677ff !important;
  border: none;
}

.pls-nav-tag {
  box-sizing: border-box;
  padding: 0 4px;
  height: 16px;
  background: #ff9d00;
  border: none;
  border-radius: 4px;
  border-bottom-left-radius: 0;
  position: relative;
  top: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 11px;
  line-height: 12px;
  box-shadow: none;
}

.pls-nav-tag-text {
  height: 12px;
  transform: scale(0.9);
}

.dropdown.d-inline-block.dropdown30 {
  margin-right: 24px;
}

.d-flex {
  display: flex !important;
}

.d-flex a {
  color: #4e5969;
}

.sideafter {
  color: #4e5969 !important;
}

.d-inline-font {
  color: #86909c !important;
  border-color: transparent;
}

.text-dark-50 {
  color: #4e5969 !important;
}

.text-dark-50 img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-left: 6px;
  border: 2px solid #e8f1ff;
  object-fit: cover;
}

.func-info-box:before,
.func-info-box-zh:before,
#product:before {
  content: "";
  border-color: transparent transparent #ffffff transparent;
  border-width: 8px 10px;
  border-style: solid;
  position: absolute;
  top: -16px;
  left: 75px;
}

#product:before {
  left: 35px;
}

.func-info-box-zh:before {
  left: 0px;
}

.d-inline-block {
  margin: 0 0 0 16px;
  color: #4e5969 !important;
  display: inline-block;
  height: 60px;
  line-height: 60px;
}

.n-right {
  margin-right: 6px;
}

.d-inline-block i {
  color: #4e5969 !important;
  line-height: 25px;
  display: inline-block;
  text-align: center;
  border-radius: 50px;
  margin-right: 5px;
  position: relative;
  font-size: 15px;
}

.func-info-row:hover .func-info-box {
  display: block;
}

.func-info-row-zh:hover .func-info-box-zh {
  display: block;
}

.func-info-row-cost:hover .func-info-cost {
  display: block;
}

.func-info-row-support:hover .func-info-support {
  display: block;
}

/* ---------- 下拉菜单 ---------- */
.func-info-support,
.func-info-cost,
.func-info-box,
.func-info-box-zh {
  position: absolute;
  top: 56px;
  background: #fff;
  z-index: 101;
  display: none;
  color: #4e5969;
  right: 0;
  box-sizing: border-box;
  border: 1px solid #e6e9f0;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(29, 33, 41, 0.10);
  overflow: hidden;
}

.func-info-support {
  width: 170px;
  padding: 8px 16px;
}

.func-info-cost {
  width: 280px;
  padding: 12px 16px;
}

.func-info-box {
  width: 170px;
}

.func-info-box-zh {
  width: 170px;
  left: 0;
}

.justify_left {
  float: left;
  width: 50%;
  line-height: 40px;
  height: 40px;
}

.justify-grid_right {
  float: right;
  line-height: 40px;
}

.amount-number {
  display: inline-block;
}

.amount-number-main {
  font-size: 26px;
  line-height: 1;
  margin-right: 4px !important;
  color: #1d2129;
  font-weight: 700;
}

.menus-lis {
  list-style: none;
  padding: 0;
  margin: 0;
}

.panel__item {
  margin-bottom: 8px;
  height: 30px;
  line-height: 30px;
}

.fn-sdk-nav-dividing-line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #eef0f5;
  margin: 8px 0;
}

.panel__item:hover {
  color: #1677ff;
  text-decoration: none;
  background-color: #f4f8ff;
  margin: 0 -16px 8px -16px;
  padding: 0 16px;
}

a.dropdown-item {
  height: 42px;
  line-height: 42px;
  padding: 0 18px;
  color: #4e5969;
  border-bottom: 1px solid #eef0f5;
  font-size: 13px;
}

a.dropdown-item:hover {
  background: #f7f8fa;
  color: #1677ff;
}

.func-info-box li,
.app-overview-grid__box li {
  list-style: none;
}

/* ---------- 内容区 ---------- */
.page-content {
  padding: 104px 24px 40px;
}

.main-content {
  margin-left: 300px;
  overflow: hidden;
  background: #f4f6fa;
}

/* ---------- 商品导航下拉 ---------- */
.navigation-down {
  position: absolute;
  top: 60px;
  left: 240px;
  width: calc(100% - 240px);
  z-index: 999;
}

.navigation-down .nav-down-menu {
  margin: 0;
  background: #ffffff;
  position: absolute;
  top: 0;
  border: 1px solid #e6e9f0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(29, 33, 41, 0.10);
  width: 100%;
}

.navigation-down .nav-down-menu .navigation-down-inner {
  margin: auto;
  position: relative;
}

.nav-down-menu ul,
.nav-down-menu li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navigation-down .nav-down-menu ul {
  float: left;
  width: 200px;
  border-right: 1px solid #eef0f5;
  margin-bottom: 10px;
}

.menu-bullet {
  background-color: #c0c4cc;
  width: 4px;
  height: 4px;
  border-radius: 100%;
  vertical-align: middle;
  display: inline-block;
  margin-right: 10px;
}

.navigation-down .menu-1 li {
  font-size: 13px;
  color: #1d2129;
  padding: 8px 20px;
  background-color: #fafbfc;
  color: #4e5969;
  margin-bottom: 8px;
  border-radius: 6px;
}

.navigation-buy {
  margin: 0 20px;
}

.navigation-down .menu-1 dd a {
  color: #4e5969;
  font-size: 13px;
}

.navigation-down .menu-1 dd {
  padding: 6px 20px;
  border-radius: 6px;
}

.navigation-down .menu-1 dd:hover {
  background-color: #f4f8ff;
}

.navigation-down .menu-1 dd a:hover {
  color: #1677ff !important;
}

.is-blue-dark {
  background-color: #e5484d;
  border-radius: 10px;
  color: #fff;
  position: absolute;
  top: 12px;
  line-height: 18px;
  padding: 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  font-size: 11px;
  max-width: 100%;
  height: 18px;
  min-width: 18px;
  text-align: center;
}

/* ---------- 全部产品下拉 ---------- */
.pls-nav-dropdown-content {
  flex: 1;
  display: flex;
  overflow-x: hidden;
  overflow-y: scroll;
  margin-right: -30px;
  padding-right: 30px;
}

.pls-nav-dropdown-main {
  width: 1px;
  flex: 1;
  max-width: 1100px;
  box-sizing: border-box;
  padding: 40px 60px 0;
}

@media screen and (max-width: 1440px) {
  .pls-nav-dropdown-main {
    padding-left: 40px;
    padding-right: 10px;
  }
}

.pls-nav-p-bar {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
}

.pls-nav-p-search {
  position: relative;
  width: 370px;
  margin-right: 12px;
}

.pls-nav-p-search-input {
  box-sizing: border-box;
  padding: 4px 40px 4px 12px;
  width: 100%;
  height: 36px;
  font-size: 14px;
  color: #1d2129;
  line-height: 22px;
  background-color: #f4f6fa;
  border: 1px solid #e6e9f0;
  border-radius: 8px;
}

.pls-nav-p-search-input::-moz-placeholder { color: #a8abb2; opacity: 1; }
.pls-nav-p-search-input:-ms-input-placeholder { color: #a8abb2; }
.pls-nav-p-search-input::-webkit-input-placeholder { color: #a8abb2; }

.pls-nav-p-search-btn {
  position: absolute;
  right: 0;
  top: 0;
  padding-right: 12px;
  height: 100%;
  border-width: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  cursor: pointer;
}

.pls-nav-p-search-btn:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-image: url(https://cloudcache.tencent-cloud.com/qcloud/portal/kit/images/slice/search.7a49bf02.svg);
}

.pls-nav-p-tags {
  height: 36px;
  overflow: hidden;
  font-size: 0;
}

.pls-nav-p-tags > a {
  display: inline-block;
  vertical-align: top;
  margin-right: 12px;
  background: #f0f2f5;
  border-radius: 6px;
  padding: 0 10px;
  height: 36px;
  font-size: 13px;
  color: #4e5969;
  text-align: center;
  line-height: 36px;
}

.pls-nav-p-tags > a:hover {
  background: #1677ff;
  color: #fff !important;
  text-decoration: none;
}

.pls-nav-p-tags > a:last-child {
  margin-right: 0;
}

.pls-nav-p-rank-wrap {
  flex: 1;
  display: flex;
  margin-right: 60px;
}

.pls-nav-p-rank-panels {
  width: 280px;
}

.pls-nav-p-rank-panels + .pls-nav-p-rank-links {
  margin-left: 40px;
}

.pls-nav-p-rank-panel {
  margin-bottom: 12px;
  display: block;
  height: 64px;
  background: #fafbfc;
  border: 1px solid #eef0f5;
  border-radius: 10px;
  box-sizing: border-box;
  padding: 12px 12px 12px 44px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pls-nav-p-rank-panel:last-child {
  margin-bottom: 0;
}

.pls-nav-p-rank-panel-order {
  position: absolute;
  left: 14px;
  top: 22px;
  width: 18px;
  height: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #1677ff;
  text-align: center;
  line-height: 18px;
}

.pls-nav-p-rank-panel-title {
  font-weight: 500;
  font-size: 13px;
  color: #1d2129;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pls-nav-p-rank-panel-desc {
  font-size: 12px;
  color: #86909c;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pls-nav-p-rank-panel:hover {
  border-color: #1677ff;
  box-shadow: 0 2px 10px rgba(29, 33, 41, 0.08);
  text-decoration: none;
}

.pls-nav-p-rank-panel:hover .pls-nav-p-rank-panel-title {
  color: #1677ff;
}

.pls-nav-p-rank-links {
  flex: 1;
  width: 1px;
}

.pls-nav-p-rank-link {
  margin-bottom: 12px;
  display: block;
  font-size: 13px;
  color: #4e5969;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pls-nav-p-rank-link:last-child {
  margin-bottom: 0;
}

.pls-nav-p-rank-link:hover {
  color: #1677ff;
  text-decoration: none;
}

.pls-nav-p-rank-link-order {
  margin-right: 10px;
}

.pls-nav-p-event {
  display: block;
  box-sizing: border-box;
  width: 420px;
  height: 216px;
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 10px;
  padding: 8px;
  transition: all 0.2s ease;
}

.pls-nav-p-event-inner {
  height: 100%;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  background-color: #f4f6fa;
  position: relative;
  box-sizing: border-box;
  padding: 40px 200px 40px 16px;
}

.pls-nav-p-event-title {
  font-weight: 600;
  font-size: 22px;
  color: #1d2129;
  line-height: 32px;
}

.pls-nav-p-event-desc {
  margin-top: 10px;
  font-size: 13px;
  color: #4e5969;
  line-height: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  max-height: 80px;
}

.pls-nav-p-event:hover {
  border-color: #1677ff;
}

.pls-nav-p-event:hover .pls-nav-p-event-title {
  color: #1677ff;
}

.pls-nav-p-menu-grid {
  display: flex;
  margin: 0 -10px;
}

.pls-nav-p-menu-col {
  width: 25%;
  box-sizing: border-box;
  padding: 0 10px;
}

.pls-nav-p-menu-box {
  margin-bottom: 32px;
}

.pls-nav-p-menu-box-hd {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6e9f0;
  font-weight: 600;
  font-size: 14px;
  color: #1677ff;
  line-height: 22px;
}

.pls-nav-p-menu-box-hd > span {
  display: block;
}

.pls-nav-p-menu-card {
  margin-bottom: 12px;
}

.pls-nav-p-menu-card-hd {
  display: block;
  font-size: 13px;
  color: #4e5969;
  line-height: 20px;
}

.pls-nav-p-menu-card-hd:hover {
  color: #1677ff;
  text-decoration: none;
}

.pls-nav-p-menu-box.type-cols .pls-nav-p-menu-box-bd {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.pls-nav-p-menu-box.type-cols .pls-nav-p-menu-card {
  width: 20%;
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
}

.pls-nav-p-menu-box.type-recommend .pls-nav-p-menu-box-bd {
  display: flex;
}

.pls-nav-p-menu-grid.type-recommend {
  display: block;
}

.pls-nav-p-menu-grid.type-recommend .pls-nav-p-menu-col {
  width: 100%;
  margin-bottom: 32px;
}

.pls-nav-p-menu-grid.type-recommend .pls-nav-p-menu-col:last-child {
  margin-bottom: 0;
}

/* ---------- 消息提示 ---------- */
.icon-check-alt { color: #00b578; }
.icon-bubble { color: #1677ff; }
.icon-notification { color: #ff9d00; }
.icon-cancel-circle { color: #e5484d; }

.m-message {
  pointer-events: none;
  position: fixed;
  overflow: hidden;
  z-index: 1001;
}

.c-message-notice {
  text-align: center;
  margin: 10px 10px;
}

.m_content {
  display: inline-block;
  border: 1px solid #e6e9f0;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(29, 33, 41, 0.10);
  color: #4e5969;
  text-align: left;
  max-width: 90%;
  padding: 6px 12px 6px 16px;
  background-color: #fff;
}

.m_content span {
  vertical-align: middle;
  margin-left: 5px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
  .main-content { margin-left: 0; }
  .vertical-menu,
  .vertical-menuuser {
    left: -300px;
    transition: left 0.3s ease;
  }
  .vertical-menu.show { left: 0; }
  .navbar-brand-boxuser { width: 200px; }
  .navigation-down { left: 0; width: 100%; }
}

@media (max-width: 767px) {
  button#vertical-menu-btn {
    display: inline-block;
  }
  .navbar-brand-boxuser,
  .waves-ff,
  .web_none,
  font.d-inline-font,
  span.waves-span {
    display: none !important;
  }
  .page-content {
    padding: 76px 12px 24px;
  }
  .d-inline-block {
    margin-left: 8px;
  }
}
