/* Bash代码块折叠样式 */
.highlight.bash-collapse {
  position: relative;
  max-height: 210px; /* 初始折叠状态，只显示部分内容 */
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-bottom: 20px;
}

.highlight.bash-collapse.expanded {
  max-height: none; /* 展开状态，显示全部内容 */
}

.bash-expand-btn {
  position: absolute;
  top: 8px;
  right: 60px; /* 减少间距，使按钮更靠近但仍保持适当间隔 */
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.bash-expand-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 确保复制按钮仍可见 */
.highlight .copy-btn {
  right: 8px; /* 复制按钮在最右边 */
  top: 8px;
}
