/* Auth Links Styles */
.auth-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  height: 100%;
}

/* Auth Links区块排序 */
#block-bootstrap-custom-auth-links,
.block-custom-auth-links {
  order: 2 !important; /* 认证链接排在第二位（中间） */
  flex-shrink: 0 !important; /* 防止被压缩 */
}

.auth-links-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-link {
  display: inline-block;
  padding: 8px 15px;
  text-decoration: none;
  color: #7e645a;
  font-size: 1rem;
  
  transition: all 0.3s ease;
}

.auth-link:hover {
  text-decoration: underline;
}

/* 左侧登录链接样式（与注销链接一致） */
.login-link {
  color: #7e645a !important;
  width: 100%;
  text-align: center;
  padding: 0 8px !important;
  background-color: transparent !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
}

.login-link:hover {
  text-decoration: underline;
}

/* 右侧注册链接样式（与个人中心链接一致） */
.register-link {
  color: #fff !important;
  width: 100%;
  text-align: center;
  padding: 0 8px !important;
  background-color: #7e645a !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
}

.register-link:hover {
  text-decoration: underline;
}

/* 左侧注销链接样式 */
.logout-link {
  color: #7e645a !important;
  width: 100%;
  text-align: center;
  padding: 0 8px !important;
  background-color: transparent !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  
}

.logout-link:hover {
  text-decoration: underline;
}

/* 右侧个人中心链接样式 */
.profile-link {
  color: #fff !important;
  width: 100%;
  text-align: center;
  padding: 0 8px !important;
  background-color: #7e645a !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;

}

.profile-link:hover {
  text-decoration: underline;
}

.user-name {
  color: #7e645a;
  font-weight: bold;
  padding: 8px 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .auth-links-list {
    gap: 10px;
  }
  
  .auth-link {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
}