/* 固定顶部导航容器 */
.fixed-navbar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: white;
  border-bottom: 1px solid #eaecef;
  padding: 10px 20px;
  display: none;
}

/* 调整侧边栏顶部间距以配合固定导航栏 */
.sidebar {
  margin-top: 60px !important;
}

/* 网站标题样式 */
.app-name-link {
  font-size: 24px !important;
  font-weight: bold !important;
  color: #42b983 !important;
  text-decoration: none !important;
  margin-bottom: 10px !important;
  display: block !important;
}

.app-name-link:hover {
  color: #359c6d !important;
  text-decoration: underline !important;
}

/* 移动端适配 - 标题大小调整 */
@media (max-width: 768px) {
  .app-name-link {
    font-size: 20px !important;
  }
}

/* 返回顶部按钮 */
.back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  background: #42b983;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.back-to-top-btn:hover {
  background: #359c6d;
  transform: translateY(-2px);
}

.back-to-top-btn:active {
  transform: translateY(0);
}

.back-to-top-btn.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .fixed-navbar-container {
    padding: 8px 15px;
  }
  
  .sidebar {
    margin-top: 50px !important;
  }
  
  .back-to-top-btn {
    bottom: 15px;
    right: 15px;
    padding: 8px 12px;
    font-size: 12px;
  }
}