/* -----------------------------
 * 1. 基础样式
 * ----------------------------- */
body {
  margin: 0;
  padding-top: 70px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* -----------------------------
 * 1. 公告栏样式
 * ----------------------------- */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--primary-color, #0052D9) url('/themes/web/K8-home/assets/img/c144c3d37bb641eea0af1f4a076df24c.png') no-repeat center;
  background-size: cover;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 0 40px;
  transition: all 0.3s ease;
}

/* 当公告栏显示时的样式 */
body.has-announcement {
  padding-top: 110px;
}

body.has-announcement .glass-header {
  top: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 公告栏内容样式 */
.announcement-content {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
  text-align: center;
}

.announcement-close {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.announcement-close:hover {
  opacity: 1;
}

/* 公告栏关闭状态 */
.announcement-closed .announcement-bar {
  height: 0;
  opacity: 0;
  padding: 0;
  pointer-events: none;
}

.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
  transition: all 0.3s ease;
}

.glass-header:hover {
  background: #fff;
}

/* 主导航布局 */
.main-nav {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0;
}

.main-nav .container {
  width: 100%;
  max-width: 100%;
  padding: 0 0 0 20px;
  margin: 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

/* Logo */
.logo {
  flex-shrink: 0;
  margin-right: 20px;
  padding-left: 10px;
}

.logo img {
  height: 30px;
  width: auto;
  vertical-align: middle;
}

/* -----------------------------
 * 3. 导航链接
 * ----------------------------- */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
  flex-wrap: nowrap;
}

.nav-links li {
  position: relative;
  white-space: nowrap;
}

/* 导航链接基础样式 */
.nav-links a {
  position: relative;
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  white-space: nowrap;
  overflow: visible;
}

/* 下划线效果 */
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

/* 只在悬停和下拉菜单打开时显示下划线 */
.nav-links a:hover::after,
.nav-links a.submenu-active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.submenu-active {
  color: var(--primary-color);
}

/* HOT标签 */
.hot-tag {
  position: absolute;
  top: -10px;
  right: -20px;
  background: #ff4d4f;
  color: #fff;
  font-size: 12px;
  padding: 0 4px;
  line-height: 16px;
  border-radius: 2px;
  font-weight: normal;
  transform: scale(0.8);
}

/* -----------------------------
 * 4. 搜索框
 * ----------------------------- */
/* 搜索框容器 */
.search-container {
  position: relative;
}

/* 在移动端隐藏搜索框 */
@media (max-width: 625px) {
  .search-container {
    display: none;
  }
}

/* 默认搜索框 */
.default-search {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.3s;
  outline: none;
}

.default-search:hover {
  background: rgba(0, 0, 0, 0.08);
}

.default-search i {
  color: #666;
  margin-right: 8px;
  font-size: 14px;
}

.default-search input {
  border: none;
  background: none;
  font-size: 14px;
  color: #666;
  width: 180px;
  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}

/* 搜索弹窗 */
.search-popup {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 480px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 16px;
  z-index: 1100;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s;
}

/* 搜索弹窗箭头 */
.search-popup::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.03);
}

.search-popup.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* 搜索头部 */
.search-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f5f7fa;
  border-radius: 4px;
  padding: 8px 12px;
  border: 1px solid transparent;
  transition: all 0.3s;
}

.search-input-wrapper:focus-within {
  background: #fff;
  border-color: var(--primary-color);
}

.search-input-wrapper i {
  color: #666;
  margin-right: 8px;
  font-size: 14px;
}

.search-input-wrapper input {
  flex: 1;
  border: none;
  background: none;
  font-size: 14px;
  padding: 0;
  width: 100%;
  color: #333;
}

.search-input-wrapper input:focus {
  outline: none;
}

.search-close {
  padding: 6px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
  background: none;
  border: none;
  font-size: 14px;
  line-height: 1;
}

.search-close:hover {
  color: #333;
}

/* 热门搜索 */
.hot-searches {
  margin-top: 12px;
}

.hot-searches h6 {
  color: #999;
  font-size: 12px;
  margin-bottom: 8px;
  font-weight: normal;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-tags a {
  color: #666;
  text-decoration: none;
  font-size: 13px;
  padding: 4px 12px;
  background: #f5f7fa;
  border-radius: 4px;
  transition: all 0.3s;
}

.search-tags a:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

/* -----------------------------
 * 5. 用户链接区域
 * ----------------------------- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  white-space: nowrap;
}

.user-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 20px;
  white-space: nowrap;
}

/* 隐藏文档、控制台和中国站链接在移动端 */
@media (max-width: 768px) {
  .user-links > a:not(.btn-login):not(.btn-register) {
    display: none;
  }
}

.user-links a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.user-links a:hover {
  color: var(--primary-color);
}

/* 登录注册按钮 */
.auth-links {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 15px;
  white-space: nowrap;
}

.divider {
  width: 2px;
  height: 20px;
  background: rgba(0, 0, 0, 0.1);
  margin: 0 5px;
}

.btn-login {
  padding: 6px 15px !important;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  background: none;
  border: none;
  white-space: nowrap;
}

.btn-login:hover {
  color: var(--primary-color);
}

.btn-register {
  padding: 19.7px 20px !important;
  background: var(--primary-color);
  color: #fff !important;
  border-radius: 0;
  white-space: nowrap;
}

.btn-register:hover {
  background: var(--primary-hover);
  color: #fff !important;
}

/* -----------------------------
 * 6. 产品下拉菜单
 * ----------------------------- */
.submenu-panel {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 6px 6px -4px rgba(0,0,0,0.1);
  z-index: 999;
  margin-top: -1px;
  border-top: none;
  display: none;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  will-change: opacity, transform;
  pointer-events: none;
  visibility: hidden;
}

.submenu-panel[style*="display: block"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.submenu-content {
  display: flex;
  margin: 0 auto;
  min-height: auto;
  padding: 0;
}

/* 产品导航 */
.product-nav {
  width: 400px;
  background: url('/themes/web/K8-home/assets/img/img_tab_cloud_ce69ec7.png') no-repeat;
  background-position: bottom right;
  background-size: 200px auto;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.product-nav-item {
  display: flex;
  align-items: center;
  padding: 16px 24px 16px 150px;
  cursor: pointer;
  transition: all 0.3s;
}

.product-nav-item > span:first-child {
  position: relative;
  color: #333;
  transition: color 0.3s;
}

/* 产品导航下划线 */
.product-nav-item > span:first-child::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.product-nav-item:hover > span:first-child::after,
.product-nav-item.active > span:first-child::after {
  width: 100%;
}

.product-nav-item:hover > span:first-child,
.product-nav-item.active > span:first-child {
  color: var(--primary-color);
}

.nav-hot {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 4px;
  font-size: 12px;
  background: #0052D9;
  color: #fff !important;
  border-radius: 2px;
  font-weight: normal;
  line-height: 1;
}

.nav-hot::after {
  display: none;
}

/* 右侧内容区 */
.content-area {
  flex: 1;
  padding: 20px 30px;
}

/* 搜索区域 */
.search-area {
  margin: 15px 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.search-input {
  display: flex;
  align-items: center;
  background: #f5f7fa;
  border-radius: 0;
  padding: 8px 12px;
  margin-bottom: 0;
  border: 1px solid transparent;
  transition: all 0.3s;
  width: fit-content;
  height: 34px;
  box-sizing: border-box;
}

.search-input:hover {
  border-color: #e0e4ea;
  background: #fff;
}

.search-input i {
  color: #999;
  margin-right: 8px;
  font-size: 14px;
}

.search-input input {
  border: none;
  background: none;
  width: 400px;
  font-size: 13px;
  color: #333;
  line-height: 1;
}

.search-input input::placeholder {
  color: #999;
}

.search-input input:focus {
  outline: none;
}

.quick-links {
    display: inline-flex;
    gap: 12px;
    margin-left: 12px;
}

.quick-links span {
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 8px 12px;
    background: #f5f7fa;
    user-select: none;
    display: inline-flex;
    align-items: center;
    height: 34px;
    box-sizing: border-box;
    border-radius: 0;
}

/* 快速链接按钮悬停 */
.quick-links span:hover {
    color: var(--primary-color);
    background: #eef1f6;
}

/* -----------------------------
 * 7. 动画
 * ----------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -----------------------------
 * 8. 响应式
 * ----------------------------- */
@media (max-width: 1400px) {
    .nav-links li:nth-last-child(1) {
        display: none;
    }
}

@media (max-width: 1300px) {
    .nav-links li:nth-last-child(2) {
        display: none;
    }
}

@media (max-width: 1200px) {
    .nav-links li:nth-last-child(3) {
        display: none;
    }
    .nav-links {
        gap: 20px;
    }
    .nav-links a {
        font-size: 13px;
    }
    .user-links {
        gap: 15px;
    }
    .auth-links {
        gap: 10px;
    }
    .btn-login {
        padding: 6px 10px !important;
    }
    .btn-register {
        padding: 19.7px 15px !important;
    }
}

@media (max-width: 1100px) {
    .nav-links li {
        display: none;
    }
    .nav-links {
        gap: 0;
    }
}

@media (max-width: 992px) {
    .nav-links li:nth-last-child(5) {
        display: none;
    }
    .nav-links {
        gap: 15px;
    }
    .user-links {
        gap: 10px;
    }
    .auth-links {
        gap: 8px;
    }
}

/* 下拉菜单打开时的样式 */
.nav-links a.submenu-active::after {
  width: 100%;
}

.nav-links a.submenu-active {
  color: var(--primary-color);
}

.nav-title {
  font-size: 20px;
  color: #333;
  margin: 0;
  padding: 24px 24px 12px 150px;
  font-weight: 500;
}

/* 推荐区域 */
.recommend-area {
  margin-top: 30px;
}

.recommend-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.recommend-title i {
  color: #ff4d4f;
  font-size: 18px;
}

.recommend-title span {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.recommend-list {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.recommend-item {
  padding: 20px;
  background: #f5f7fa;
  cursor: pointer;
}

.item-title {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.item-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre-wrap;
  min-height: 40px;
}

.item-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.item-tags span {
  padding: 2px 8px;
  background: #fff;
  color: #666;
  font-size: 12px;
  border-radius: 2px;
}

.recommend-item:hover .item-title {
  color: var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* 标签内容区域的基础样式 */
.tab-content .recommend-area {
  margin-top: 0;
}

/* 产品菜单推荐列表 */
#product-menu .recommend-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 解决方案菜单推荐列表 */
#solution-menu .recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.nav-desc {
  font-size: 14px;
  color: #666;
  margin: 0;
  padding: 0 24px 0 150px;
  line-height: 1.5;
}

/* 合作生态菜单推荐列表 */
#ecology-menu .recommend-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tag-hot {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 4px;
  font-size: 12px;
  background: #ff4d4f;
  color: #fff;
  border-radius: 2px;
  font-weight: normal;
  line-height: 1;
}

/* 底部区域样式 */
.footer {
    width: 100%;
}

/* 立即体验部分样式 */
.footer-cta {
    background-image: url('/themes/web/K8-home/assets/img/O1CN01EYPqEs1pIOnj3pK87_!!6000000005337-0-tps-3840-480.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    position: relative;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 1200px;
    margin: 0;
    padding-left: 20px;
}

.cta-content h2 {
    font-size: 32px;
    color: #000;
    margin-bottom: 30px;
    font-weight: 500;
    text-align: left;
    margin-left: 0;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px;
    width: 280px;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 0;
    margin-left: 0;
}

.cta-button::after {
    content: '→';
    font-size: 20px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background: var(--gradient-primary);
}

.cta-button:hover::after {
    transform: translateX(5px);
}
/* 响应式调整 */
@media (max-width: 768px) {
    .footer-cta {
        padding: 40px 0;
    }

    .cta-content {
        padding-left: 15px;
    }

    .cta-content h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 6px 20px;
        font-size: 14px;
        width: 240px;
    }
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.user-profile:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 0;
  overflow: hidden;
  background-color: var(--primary-light, rgba(0, 82, 217, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary-color, #0052D9);
  text-transform: uppercase;
}

.username {
  font-size: 14px;
  color: #333;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-menu {
  padding: 0;
  border: none;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  border-radius: 8px;
  min-width: 220px;
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  z-index: 1000;
  margin-top: 10px;
}

.dropdown-menu.show {
  display: block;
  animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown {
  position: relative;
}

/* 下拉菜单箭头 */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -4px;
  right: 20px;
  width: 8px;
  height: 8px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 5px rgba(0,0,0,0.05);
}

.user-header {
  padding: 10px 0;
}

.user-header .nickname {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.auth-status {
  padding: 5px 0;
  font-size: 12px;
}

.dropdown-item {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  transition: all 0.3s;
}

.dropdown-item:hover {
  background-color: #f5f7fa;
  color: var(--primary-color);
}

.dropdown-item i {
  font-size: 16px;
}

.dropdown-divider {
  margin: 8px 0;
  border-color: #eee;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.user-profile:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 0;
  overflow: hidden;
  background-color: var(--primary-light, rgba(0, 82, 217, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary-color, #0052D9);
  text-transform: uppercase;
}

.username {
  font-size: 14px;
  color: #333;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-success {
  color: #52c41a;
}

.text-warning {
  color: #faad14;
}

.user-info .d-flex {
  display: flex;
  gap: 15px;
}

.info-left {
  text-align: center;
}

.info-left .score {
  font-size: 24px;
  font-weight: 500;
  color: #333;
  line-height: 1;
  margin-bottom: 5px;
}

.info-left .account-id {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.copy-id {
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
}

.copy-id:hover {
  color: var(--primary-color);
}

.info-right {
  text-align: left;
}

.info-right .username {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

.auth-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--primary-color);
}

.auth-tag i {
  font-size: 14px;
}

.dropdown-item {
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  transition: all 0.3s;
  text-decoration: none;
}

.dropdown-item:hover {
  background-color: #f5f7fa;
  color: var(--primary-color);
}

.dropdown-item i {
  font-size: 16px;
}

.dropdown-divider {
  margin: 8px 0;
  border-color: #eee;
}

.menu-header {
  padding: 0;
  border-bottom: 1px solid #eee;
}

.user-brief {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
}

.user-avatar-large {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background-color: var(--primary-light, rgba(0, 82, 217, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar-large .avatar-text {
  font-size: 20px;
  font-weight: 500;
  color: var(--primary-color, #0052D9);
}

.user-info {
  flex: 1;
}

.user-info .nickname {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
  text-align: left;
}

.user-info .phone {
  font-size: 12px;
  color: #999;
  text-align: left;
}

.dropdown-menu {
  padding: 0;
  border: none;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  border-radius: 8px;
  min-width: 220px;
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  z-index: 1000;
  margin-top: 10px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.info-item .nickname {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
  text-align: left;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.info-item .phone {
  font-size: 12px;
  color: #999;
  text-align: left;
}

.copy-btn {
  font-size: 12px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}

.copy-btn:hover {
  color: var(--primary-color);
}

.user-tags {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  color: #666;
  background: #f5f7fa;
  padding: 0 6px;
  border-radius: 2px;
  height: 16px;
  line-height: 1;
}

.tag-item i {
  font-size: 10px;
  line-height: 1;
}

.tag-item .text-success {
  color: #52c41a;
}

.menu-list {
  padding: 8px 0;
}

.dropdown-item {
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  transition: all 0.3s;
  text-decoration: none;
  font-size: 13px;
}

.dropdown-item:hover {
  background-color: #f5f7fa;
  color: var(--primary-color);
}

.dropdown-item i {
  font-size: 14px;
}

.message-count {
  margin-left: auto;
  color: #999;
  font-size: 12px;
}

.dropdown-divider {
  margin: 4px 0;
  border-top: 1px solid #eee;
}

.logout-item:hover {
  background-color: rgba(245, 34, 45, 0.05) !important;
  color: #f5222d !important;
}

.logout-item:hover i {
  color: #f5222d !important;
}

/* 媒体查询 - 平板 */
@media (max-width: 992px) {
  #solution-menu .recommend-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .submenu-panel {
    width: 90vw;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* 媒体查询 - 手机 */
@media (max-width: 768px) {
  #solution-menu .recommend-list {
    grid-template-columns: 1fr;
  }
  
  .submenu-panel {
    width: 95vw;
  }
  
  .recommend-item {
    padding: 15px;
  }
}

.vertical-line {
  display: inline-block;
  width: 1px;
  height: 12px;
  background-color: rgba(0, 0, 0, 0.1);
  vertical-align: middle;
}
