/* ============================================
   工具栏额外样式
   ============================================ */

/* 工具栏按钮组 */
.toolbar-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 工具栏按钮悬浮提示 */
.toolbar-btn[title] {
  position: relative;
}

/* 工具栏下拉菜单 */
.toolbar-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 160px;
  z-index: 50;
  display: none;
}
.toolbar-dropdown.open {
  display: block;
  animation: fadeIn 0.15s ease;
}

.toolbar-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--border-radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
  text-align: left;
  background: none;
}
.toolbar-dropdown-item:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
}

/* 状态栏 */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  font-size: 11px;
  color: var(--text-muted);
}
.status-bar-left, .status-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.status-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-dot.online {
  background: var(--success);
}
.status-dot.offline {
  background: var(--danger);
}
.status-dot.loading {
  background: var(--warning);
  animation: pulse 1s infinite;
}

/* 右侧栏折叠按钮 */
#btn-toggle-right-sidebar .icon {
  font-size: 14px;
  font-style: normal;
}
