/* 容器样式 */
.policy-layout-container {
  display: flex;
  min-height: calc(100vh - 120px);
  max-width: 1200px;
  margin: 0 auto;
  background-color: #f5f5f5;
}

/* 左侧边栏 - 桌面端样式 */
.policy-layout-sidebar {
  width: 250px;
  background-color: white;
  padding: 24px 0;
}

/* 导航菜单 - 桌面端样式 */
.policy-layout-nav {
  display: flex;
  flex-direction: column;
}

/* 导航链接 - 桌面端样式 */
.policy-layout-nav-link {
  padding: 12px 24px;
  color: #666;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
  display: block;
  cursor: pointer;
}

/* 激活状态 - 桌面端样式 */
.policy-layout-nav-link-active {
  color: #2fb26a;
  background-color: #e8f5e9;
  border-right: 3px solid #2fb26a;
  font-weight: 500;
}

/* 右侧内容区域 */
.policy-layout-content {
  flex: 1;
  background-color: white;
  padding: 32px;
  overflow: auto;
}

/* 骨架屏样式 */
.policy-skeleton {
  height: 24px;
  background-color: #f0f0f0;
  margin-bottom: 16px;
  border-radius: 4px;
  animation: pulse 0.2s infinite;
}

/* 动画 */
@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==================== 移动端适配 ==================== */
@media screen and (max-width: 768px) {
  /* 容器改为垂直布局 */
  .policy-layout-container {
    flex-direction: column;
    min-height: calc(100vh - 80px);
  }

  /* 侧边栏改为顶部水平滚动条 */
  .policy-layout-sidebar {
    width: 100%;
    padding: 12px 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    background-color: white;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
    /* 隐藏滚动条但保留滚动功能 - 可选 */
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  /* 美化滚动条 */
  .policy-layout-sidebar::-webkit-scrollbar {
    height: 3px;
  }

  .policy-layout-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .policy-layout-sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
  }

  .policy-layout-sidebar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
  }

  /* 导航菜单改为水平布局 */
  .policy-layout-nav {
    flex-direction: row;
    padding: 0 12px;
  }
  .policy-layout-nav > * {
    margin-left: 0;
  }
  @supports (gap: 0) {
    .policy-layout-nav {
      gap: 0;
    }
  }

  /* 导航链接改为水平内联块 */
  .policy-layout-nav-link {
    display: inline-block;
    padding: 10px 16px;
    border-left: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    font-size: 14px;
  }

  /* 激活状态 - 移动端样式 */
  .policy-layout-nav-link-active {
    border-right: none;
    border-bottom: 2px solid #2fb26a;
    background-color: transparent;
    color: #2fb26a;
  }

  /* 内容区域调整内边距 */
  .policy-layout-content {
    padding: 20px 16px;
  }

  /* 骨架屏高度调整 */
  .policy-skeleton {
    height: 20px;
    margin-bottom: 12px;
  }
}

/* 平板设备适配 (可选) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .policy-layout-sidebar {
    width: 220px;
  }

  .policy-layout-content {
    padding: 24px 20px;
  }

  .policy-layout-nav-link {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* 小屏手机适配 */
@media screen and (max-width: 480px) {
  .policy-layout-nav-link {
    padding: 8px 14px;
    font-size: 13px;
  }

  .policy-layout-content {
    padding: 16px 12px;
  }

  .policy-layout-container {
    min-height: calc(100vh - 60px);
  }
}

/* 如果希望完全隐藏滚动条但保留滚动功能（更简洁的样式） */
@media screen and (max-width: 768px) {

  .policy-layout-sidebar {
    scrollbar-width: none;
  }
  
  .policy-layout-sidebar::-webkit-scrollbar {
    display: none;
  }
 
}

/*# sourceMappingURL=website-route-policy.4674b380.chunk.css.map*/