/* 关键内联样式，确保页面加载时即可显示 */
.sidebar-toggle-wrapper {
  position: fixed;
  top: 230px;
  right: 0;
  z-index: 1000;
  transform: translateZ(0);
}

.sidebar-toggle {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 245, 245, 0.98) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px 0 0 20px;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  min-height: 80px;
  min-width: 280px;
  overflow: hidden;
  padding: 15px 20px;
  position: relative;
  right: -200px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: right, transform, box-shadow;
  animation: sidebarPulse 3s ease-in-out infinite;
}

/* 脉动效果 */
@keyframes sidebarPulse {
  0%, 100% {
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    transform: scale(1);
  }
  50% {
    box-shadow: -8px 0 40px rgba(0, 204, 204, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transform: scale(1.03);
  }
}

/* 渐变色彩动画 */
.sidebar-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 204, 204, 0.2), transparent);
  transition: all 0.6s ease;
  animation: sidebarShine 2s infinite;
}

@keyframes sidebarShine {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* 图标悬浮动画 */
@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  33% {
    transform: translateY(-5px) rotate(5deg);
  }
  66% {
    transform: translateY(5px) rotate(-5deg);
  }
}

/* 图标旋转动画 */
@keyframes iconSpin {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg) scale(1.1);
  }
  50% {
    transform: rotate(0deg) scale(1);
  }
  75% {
    transform: rotate(-10deg) scale(1.1);
  }
  100% {
    transform: rotate(0deg);
  }
}

.toggle-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.toggle-icon-wrapper {
  background: linear-gradient(135deg, #333 0%, #111 100%);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  position: relative;
  overflow: hidden;
  animation: iconFloat 3s ease-in-out infinite;
}

.toggle-icon {
  font-size: 20px;
  color: white;
  z-index: 1;
  animation: iconSpin 4s linear infinite;
}

.toggle-details {
  flex: 1;
}

.toggle-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #111;
  letter-spacing: -0.5px;
}

.toggle-subtitle {
  font-size: 12px;
  opacity: 0.6;
  margin: 0;
  color: #666;
}

/* 鼠标悬停时效果 */
.sidebar-toggle-wrapper:hover .sidebar-toggle {
  right: 0;
  box-shadow: 
    -8px 0 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  transform: translateX(-5px) scale(1.02);
}

/* 按钮内容交互 */
.toggle-content {
  transition: all 0.3s ease;
  animation: contentPulse 2s ease-in-out infinite;
}

@keyframes contentPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* 标题动画 */
.toggle-title {
  animation: titleBounce 3s ease-in-out infinite;
}

@keyframes titleBounce {
  0%, 100% {
    transform: translateY(0);
  }
  33% {
    transform: translateY(-2px);
  }
  66% {
    transform: translateY(2px);
  }
}

/* 副标题动画 */
.toggle-subtitle {
  animation: subtitleFade 4s ease-in-out infinite;
}

@keyframes subtitleFade {
  0%, 100% {
    opacity: 0.6;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(5px);
  }
}

/* 图标容器交互 */
.toggle-icon-wrapper {
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* 图标背景光效 */
.toggle-icon-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
  animation: shimmer 3s infinite;
}

.toggle-icon-wrapper::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #0cccc, #333, #0cccc, #333);
  border-radius: 50%;
  z-index: -1;
  animation: borderGlow 2s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes shimmer {
  0% { 
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    opacity: 0;
  }
  50% { 
    opacity: 1;
  }
  100% { 
    transform: translateX(100%) translateY(100%) rotate(45deg);
    opacity: 0;
  }
}

@keyframes borderGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* 图标交互 */
.toggle-icon {
  transition: all 0.4s ease;
}

/* 图标交互增强 */
.sidebar-toggle:hover .toggle-icon {
  transform: rotate(360deg) scale(1.3);
  animation: iconJump 0.6s ease;
}

@keyframes iconJump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5) rotate(180deg);
  }
  100% {
    transform: scale(1.2) rotate(360deg);
  }
}

/* 详细信息交互 */
.toggle-details {
  transition: all 0.3s ease;
}

/* 标题交互 */
.toggle-title {
  transition: all 0.3s ease;
}

/* 副标题交互 */
.toggle-subtitle {
  transition: all 0.3s ease;
}

/* 悬停时文本效果 */
.sidebar-toggle:hover .toggle-title {
  transform: translateX(5px);
  color: #000;
}

.sidebar-toggle:hover .toggle-subtitle {
  transform: translateX(5px);
  opacity: 0.8;
  color: #444;
}

/* 按钮装饰元素 */
.sidebar-toggle::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.05) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.sidebar-toggle:hover::after {
  transform: translateX(100%);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .sidebar-toggle {
    min-width: 250px;
    right: -180px;
  }
}

@media (max-width: 992px) {
  .sidebar-toggle-wrapper {
    top: 90px;
  }
  
  .sidebar-toggle {
    min-width: 220px;
    right: -160px;
    min-height: 70px;
    padding: 12px 16px;
  }
  
  .toggle-content {
    gap: 15px;
  }
  
  .toggle-icon-wrapper {
    height: 45px;
    width: 45px;
  }
  
  .toggle-icon {
    font-size: 18px;
  }
  
  .toggle-title {
    font-size: 15px;
  }
  
  .toggle-subtitle {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .sidebar-toggle-wrapper {
    top: 80px;
  }
  
  .sidebar-toggle {
    min-width: 190px;
    right: -140px;
    min-height: 65px;
    padding: 10px 14px;
  }
  
  .toggle-content {
    gap: 12px;
  }
  
  .toggle-icon-wrapper {
    height: 40px;
    width: 40px;
  }
  
  .toggle-icon {
    font-size: 16px;
  }
  
  .toggle-title {
    font-size: 14px;
  }
  
  .toggle-subtitle {
    font-size: 10px;
  }
}

@media (max-width: 576px) {
  .sidebar-toggle-wrapper {
    top: 70px;
  }
  
  .sidebar-toggle {
    min-width: 160px;
    right: -120px;
    min-height: 60px;
    padding: 8px 12px;
  }
  
  .toggle-content {
    gap: 10px;
  }
  
  .toggle-icon-wrapper {
    height: 35px;
    width: 35px;
  }
  
  .toggle-icon {
    font-size: 14px;
  }
  
  .toggle-title {
    font-size: 13px;
  }
  
  .toggle-subtitle {
    display: none;
  }
}

/* 移动端增强 */
@media (max-width: 576px) {
  .sidebar-toggle {
    border-radius: 15px 0 0 15px;
  }
  
  .sidebar-toggle-wrapper:hover .sidebar-toggle {
    transform: translateX(-3px) scale(1.01);
  }
}

/* 遮罩层 */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 侧栏 */
.slide-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: white;
  z-index: 1002;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.slide-sidebar.active {
  right: 0;
}

/* 侧栏头部 */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #0ccccc;
  color: white;
  border-bottom: 1px solid #eee;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.sidebar-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  z-index: 1005;
}

.sidebar-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 移动端关闭按钮增强 */
@media (max-width: 768px) {
  .sidebar-close {
    width: 36px;
    height: 36px;
    font-size: 18px;
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  
  .sidebar-close:hover {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
  }
  
  /* 移动端底部固定关闭按钮 */
  .slide-sidebar.active::after {
    content: '';
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #333 0%, #111 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 1006;
    content: '×';
    font-weight: bold;
    animation: bounce 2s infinite;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
  }
}

/* 侧栏内容 */
.sidebar-content {
  padding: 20px;
}

/* 侧栏区块 */
.sidebar-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.sidebar-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 区块标题 */
.section-titleaw {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.section-titleaw i {
  margin-right: 10px;
  color: #0cccc;
}

/* 模板列表 */
.template-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}

.template-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.template-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.template-thumb {
  height: 100px;
  overflow: hidden;
}

.template-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.template-item:hover .template-thumb img {
  transform: scale(1.1);
}

.template-info {
  padding: 10px;
}

.template-info h5 {
  margin: 0 0 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.template-info h5 a {
  color: #333;
  text-decoration: none;
}

.template-info h5 a:hover {
  color: #0cccc;
}

.template-category {
  font-size: 10px;
  color: #999;
}

/* 资讯列表 */
.news-list {
  margin-bottom: 15px;
}

.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item a {
  flex: 1;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-right: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-item a:hover {
  color: #0cccc;
}

.news-date {
  font-size: 11px;
  color: #999;
  white-space: nowrap;
}

/* 建站知识列表 */
.knowledge-list {
  margin-bottom: 15px;
}

.knowledge-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.knowledge-item:last-child {
  border-bottom: none;
}

.knowledge-item a {
  font-size: 13px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.knowledge-item a:hover {
  color: #0cccc;
  padding-left: 5px;
}

/* 标签云 */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  display: inline-block;
  padding: 5px 12px;
  background-color: #f0f9ff;
  color: #0cccc;
  font-size: 12px;
  text-decoration: none;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.tag-item:hover {
  background-color: #0cccc;
  color: white;
  transform: translateY(-2px);
}

/* 授权查询样式 */
.author-search {
  padding: 15px 0;
}

/* 选项卡菜单 */
.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 5px;
}

.auth-tabaw {
  flex: 1;
  text-align: center;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #666;
  font-weight: 500;
}

.auth-tabaw:hover {
  color: #333;
  background: #e0e0e0;
}

.auth-tabaw.auth-tab-active {
  background: linear-gradient(135deg, #333 0%, #111 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 选项卡内容 */
.auth-tab-contentaw {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

.auth-tab-contentaw.auth-tab-contentaw-active {
  display: block;
}

/* 输入框容器 */
.control {
  display: flex;
  gap: 10px;
}

.control.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* 表单输入框 */
.form-control {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  transition: all 0.3s ease;
  outline: none;
  background: white;
}

.form-control:focus {
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.2);
  transform: translateY(-1px);
}

/* 查询按钮 */
.btnxaw {
  background: linear-gradient(135deg, #333 0%, #111 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  min-width: 80px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btnxaw:hover {
  background: linear-gradient(135deg, #111 0%, #000 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 提示信息 */
.tipsaw {
  position: relative;
}

/* 响应式设计 */
@media (max-width: 576px) {
  .auth-tabs {
    flex-direction: column;
    gap: 5px;
  }
  
  .control {
    flex-direction: column;
  }
  
  .btnxaw {
    width: 100%;
  }
}

/* 模板推荐样式 */
.featured-template {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.featured-template:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.template-preview {
  position: relative;
  overflow: hidden;
}

.template-img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.3s ease;
}

.featured-template:hover .template-img {
  transform: scale(1.05);
}

.template-details {
  padding: 15px;
}

.template-name {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.template-name a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.template-name a:hover {
  color: #0cccc;
}

.template-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #666;
}

.template-cat {
  background: #e8f4f8;
  color: #0cccc;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.template-views {
  display: flex;
  align-items: center;
  gap: 5px;
}

.template-views i {
  font-size: 10px;
}

.template-desc {
  margin: 0 0 12px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.template-btn {
  display: inline-block;
  background: #0ccccc;
  color: white !important;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 1;
  visibility: visible;
  z-index: 1;
  position: relative;
}

.template-btn:hover {
  background: #09aaaa;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 204, 204, 0.3);
  color: white !important;
}

/* 分类导航样式 - 已迁移到bat.htm文件 */
/* 更多链接 */
.more-link {
  display: inline-block;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.more-link:hover {
  color: #000;
  transform: translateX(3px);
}

.more-link i {
  margin-left: 5px;
  font-size: 11px;
  transition: all 0.3s ease;
}

.more-link:hover i {
  transform: translateX(2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .slide-sidebar {
    width: 100%;
    right: -100%;
  }
  
  .template-list {
    grid-template-columns: 1fr;
  }
}

/* 友情链接申请表单样式优化 */
.logins {
  width: 100%;
  max-width: 500px;
  min-height: 337px;
  margin: 0 auto;
  padding: 0;
  position: fixed;
  border: #ebebeb solid 1px;
  top: 50%;
  left: 50%;
  display: none;
  background: #ffffff;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transform: translate(-50%, -50%);
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.logins-title {
  width: 100%;
  margin: 0;
  text-align: center;
  line-height: 50px;
  height: 50px;
  font-size: 18px;
  position: relative;
  background: linear-gradient(135deg, #333 0%, #111 100%);
  color: white;
  border-bottom: 1px solid #eee;
}

.logins-title span {
  position: absolute;
  font-size: 14px;
  right: 15px;
  top: 13px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.logins-title span:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.logins-title span a {
  display: block;
  color: white;
  text-decoration: none;
  line-height: 24px;
  font-size: 18px;
  width: 24px;
  height: 24px;
  text-align: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.logins-title span a i {
  display: block;
  line-height: 24px;
  font-size: 14px;
}

.logins-input-content {
  margin-top: 20px;
  padding: 0 20px;
}

.logins-input {
  overflow: hidden;
  margin: 0px 0px 25px 0px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.logins-input label {
  float: left;
  width: 90px;
  padding-right: 0;
  text-align: right;
  line-height: 40px;
  height: 40px;
  font-size: 14px;
  color: #666;
  font-weight: 500;
  flex-shrink: 0;
}

.logins-input input.list-input {
  float: left;
  line-height: 40px;
  height: 40px;
  width: 100%;
  max-width: 350px;
  border: #e0e0e0 1px solid;
  text-indent: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fafafa;
}

.logins-input input.list-input:focus {
  border-color: #0cccc;
  background: white;
  box-shadow: 0 0 0 2px rgba(0, 204, 204, 0.1);
  outline: none;
}

.logins-input:last-child {
  margin-bottom: 15px;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
  background: #f8f9fa;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.logins-input:last-child label {
  display: none;
}

.logins-button {
  width: 100%;
  margin: 20px auto 30px auto;
  line-height: 45px;
  font-size: 14px;
  text-align: center;
  padding: 0 20px;
}

.logins-button a {
  display: block;
  text-decoration: none;
}

.logins-button input[type="submit"] {
  width: 100%;
  color: #fff;
  background: linear-gradient(135deg, #333 0%, #111 100%);
  border: 0;
  outline: 0;
  border-radius: 8px;
  font-weight: 600;
  height: 45px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logins-button input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #111 0%, #000 100%);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .logins {
    max-width: 90%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
  
  .logins-input {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 20px;
  }
  
  .logins-input label {
    text-align: left;
    line-height: 20px;
    height: auto;
    width: 100%;
  }
  
  .logins-input input.list-input {
    max-width: 100%;
    width: 100%;
  }
  
  .logins-input:last-child {
    flex-direction: column;
    align-items: stretch;
  }
  
  .logins-input:last-child label {
    display: none;
  }
}

@media (max-width: 576px) {
  .logins {
    max-width: 95%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
  }
  
  .logins-title {
    line-height: 45px;
    height: 45px;
    font-size: 16px;
  }
  
  .logins-title span {
    right: 10px;
    top: 10px;
  }
  
  .logins-title span a {
    width: 22px;
    height: 22px;
    line-height: 22px;
  }
  
  .logins-title span a i {
    line-height: 22px;
    font-size: 12px;
  }
  
  .logins-input-content {
    padding: 0 15px;
    margin-top: 15px;
  }
  
  .logins-button {
    padding: 0 15px;
    margin: 15px auto 25px auto;
  }
  
  .logins-button input[type="submit"] {
    height: 42px;
    font-size: 15px;
  }
}

/* 登录遮罩层优化 */
.logins-bg {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
  backdrop-filter: blur(3px);
}

/* 多语言样式 */
.sidebar-langs-wrapper {
  background: #f5f5f5;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.sidebar-langs {
  max-width: 100%;
}

.langs-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.langs-title i {
  color: #0cccc;
  font-size: 16px;
}

.langs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sidebarsw-lang {
  margin: 0;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lang-item:hover {
  background: #0cccc;
  color: white;
  border-color: #0cccc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 204, 204, 0.3);
}

.lang-item img {
  border-radius: 50%;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.lang-item:hover img {
  border-color: white;
  transform: scale(1.1);
}

.lang-name {
  font-weight: 500;
  transition: all 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .sidebar-langs-wrapper {
    padding: 12px 16px;
  }
  
  .langs-title {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .langs-list {
    gap: 8px;
  }
  
  .lang-item {
    padding: 6px 10px;
    font-size: 12px;
    gap: 6px;
  }
  
  .lang-item img {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 576px) {
  .sidebar-langs-wrapper {
    padding: 10px 14px;
  }
  
  .langs-title {
    font-size: 12px;
  }
  
  .langs-list {
    gap: 6px;
  }
  
  .lang-item {
    padding: 5px 8px;
    font-size: 11px;
  }
  
  .lang-item img {
    width: 16px;
    height: 16px;
  }
}


    /* 模板轮播样式 */
    .template-carousel-container {
      position: relative;
      margin: 15px 0;
      overflow: hidden;
      border-radius: 12px;
      background: #f9f9f9;
    }

    .template-carousel {
      position: relative;
      width: 100%;
      overflow: hidden;
    }

    .carousel-wrapper {
      display: flex;
      transition: transform 0.5s ease;
      will-change: transform;
    }

    .carousel-item {
      flex: 0 0 100%;
      min-width: 0;
      padding: 0 15px;
      box-sizing: border-box;
    }

    .carousel-nav {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      pointer-events: none;
      z-index: 10;
    }

    .carousel-nav button {
      pointer-events: auto;
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid #e0e0e0;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      font-size: 18px;
      color: #333;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .carousel-nav button:hover {
      background: #0cccc;
      color: white;
      border-color: #0cccc;
      transform: scale(1.1);
      box-shadow: 0 4px 12px rgba(0, 204, 204, 0.3);
    }

    /* 轮播指示器 */
    .carousel-indicators {
      display: flex;
      justify-content: center;
      gap: 8px;
      padding: 15px;
      background: #f9f9f9;
      border-top: 1px solid #eee;
    }

    .indicator {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ddd;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .indicator.active {
      background: #0cccc;
      width: 20px;
      border-radius: 10px;
    }

    /* 适配已有的模板样式 */
    .template-carousel .featured-template {
      margin: 0;
      border-radius: 8px;
    }

    .template-carousel .template-img {
      border-radius: 8px 8px 0 0;
    }

    /* 响应式设计 */
    @media (max-width: 768px) {
      .carousel-nav button {
        width: 32px;
        height: 32px;
        font-size: 16px;
        margin: 0 5px;
      }
      
      .carousel-indicators {
        padding: 10px;
        gap: 6px;
      }
      
      .indicator {
        width: 6px;
        height: 6px;
      }
      
      .indicator.active {
        width: 16px;
      }
    }
  
  /* 店铺管理导航样式 - 针对所有店铺管理相关导航 */
  .sidebar-navcl {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
  }
  
  .navcl-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
  }
  
  .navcl-title::before {
    content: '\f07c';
    font-family: 'FontAwesome';
    margin-right: 10px;
    color: #0cccc;
  }
  
  .topnav {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .topnav a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    background: #f9f9f9;
  }
  
  .topnav a:hover {
    background: rgba(0, 204, 204, 0.1);
    color: #000;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .topnav a::before {
    content: '\f054';
    font-family: 'FontAwesome';
    font-size: 10px;
    color: #666;
    transition: all 0.3s ease;
  }
  
  .topnav a:hover::before {
    transform: translateX(3px);
    color: #0cccc;
  }
  
  /* 店铺管理横排导航样式 - 只针对特定的店铺管理导航 */
  .sidebar-section:has(.navcl-titles) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    box-sizing: border-box;
  }
  
  .sidebar-section:has(.navcl-titles):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .sidebar-section .navcl-titles {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  
  .sidebar-section .navcl-titles::before {
    content: "🛒";
    font-size: 18px;
    color: #0cccc;
  }
  
  .sidebar-section .topnavs {
    display: flex;
    gap: 12px;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .sidebar-section .topnavs a {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
  }
  
  .sidebar-section .topnavs a:hover {
    background: linear-gradient(135deg, #0cccc 0%, #09aaaa 100%);
    color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 204, 204, 0.3);
    border-color: #0ccccc;
  }
  
  /* 响应式设计 */
  @media (max-width: 992px) {
    /* 横排导航响应式 */
    .sidebar-section:has(.navcl-titles) {
      gap: 15px;
      padding: 10px 14px;
    }
    
    .sidebar-section .navcl-titles {
      font-size: 15px;
    }
    
    .sidebar-section .topnavs {
      gap: 10px;
    }
    
    .sidebar-section .topnavs a {
      padding: 7px 14px;
      font-size: 12px;
    }
    
    /* 垂直导航响应式 */
    .navcl-title {
      font-size: 15px;
    }
    
    .topnav a {
      padding: 10px 14px;
      font-size: 12px;
    }
  }
  
  @media (max-width: 768px) {
    /* 横排导航响应式 */
    .sidebar-section:has(.navcl-titles) {
      flex-direction: column;
      align-items: center;
      gap: 10px;
      padding: 12px;
    }
    
    .sidebar-section .navcl-titles {
      justify-content: center;
      font-size: 14px;
    }
    
    .sidebar-section .topnavs {
      gap: 8px;
    }
    
    .sidebar-section .topnavs a {
      padding: 6px 12px;
      font-size: 12px;
    }
    
    /* 垂直导航响应式 */
    .navcl-title {
      font-size: 15px;
    }
    
    .topnav a {
      padding: 10px 12px;
      font-size: 12px;
    }
  }
  
  @media (max-width: 576px) {
    /* 横排导航响应式 */
    .sidebar-section:has(.navcl-titles) {
      padding: 10px;
    }
    
    .sidebar-section .navcl-titles {
      font-size: 13px;
    }
    
    .sidebar-section .topnavs {
      gap: 8px;
    }
    
    .sidebar-section .topnavs a {
      padding: 7px 15px;
      font-size: 12px;
      width: auto;
    }
    
    /* 垂直导航响应式 */
    .sidebar-navcl {
      margin-bottom: 20px;
      padding-bottom: 15px;
    }
    
    .navcl-title {
      font-size: 14px;
      margin-bottom: 10px;
    }
    
    .topnav {
      gap: 6px;
    }
    
    .topnav a {
      padding: 8px 10px;
      font-size: 11px;
    }
  }

  /* 分类导航样式 */
  .category-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
  }

  .main-categories {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .category-item {
    transition: all 0.3s ease;
    position: relative;
  }

  .category-item > a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
  }

  .category-item > a:hover {
    background: rgba(0, 0, 0, 0.03);
    color: #000;
    transform: translateX(5px);
  }

  .category-item i {
    font-size: 10px;
    color: #666;
    transition: all 0.3s ease;
  }

  .category-item > a:hover i {
    transform: translateX(3px);
    color: #333;
  }

  /* 子目录样式 */
  .sub-categories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    margin-left: 25px;
    animation: submenuSlideIn 0.3s ease;
  }

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

  /* 鼠标悬停时显示子目录 */
  .category-item:hover .sub-categories {
    display: block;
  }

  .sub-category-item {
    margin: 2px 0;
    transition: all 0.3s ease;
  }

  .sub-category-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    text-decoration: none;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
  }

  .sub-category-item a:hover {
    background: rgba(0, 0, 0, 0.02);
    color: #000;
    transform: translateX(8px);
  }

  .sub-category-item i {
    font-size: 6px;
    color: #999;
    transition: all 0.3s ease;
  }

  .sub-category-item a:hover i {
    transform: scale(1.5);
    color: #333;
  }

/* 产品品牌样式 */
  .product-brand {
    margin: 15px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
  }

  .product-brand .action {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .product-brand .action li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
  }

  .product-brand .action li em {
    font-style: normal;
    font-weight: 600;
    color: #333;
    min-width: 50px;
    margin-top: 2px;
  }

  .product-brand .action li div {
    flex: 1;
    color: #555;
    line-height: 1.5;
  }

  .product-brand .action li a {
    color: #ff6f06 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .product-brand .action li a:hover {
    color: #ff8c1a !important;
    text-decoration: underline;
  }

  /* 响应式设计 */
  @media (max-width: 768px) {
    .product-brand {
      margin: 10px 0;
      padding: 12px;
    }

    .product-brand .action li {
      flex-direction: column;
      align-items: flex-start;
      gap: 5px;
      font-size: 13px;
    }

    .product-brand .action li em {
      min-width: auto;
      margin-top: 0;
    }

    .product-brand .action li div {
      line-height: 1.4;
    }
  }

  @media (max-width: 576px) {
    .product-brand {
      margin: 8px 0;
      padding: 10px;
      border-radius: 6px;
    }

    .product-brand .action li {
      font-size: 12px;
    }

    .product-brand .action li div {
      font-size: 11px;
    }
  }

