/* C14: 移除 inline style → CSS 类 */
/* 此文件独立于 Vite 构建，通过 <link> 引入 */

/* ── 同步状态指示器 ── */
#syncStatus.sync-status {
  display: none;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  font-weight: 500;
}

/* ── 用户菜单项 ── */
.user-menu-item {
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-secondary, #666);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}
.user-menu-item:hover {
  background: var(--bg, #f5f5f5);
}

/* 退出登录特殊样式 */
.user-menu-item.logout {
  padding: 12px 16px;
  color: #ef4444;
}

/* ── 用户菜单分隔线 ── */
.user-menu-separator {
  height: 1px;
  background: var(--border, #e5e7eb);
  margin: 0 12px;
}

/* ── FAB 浮动导入按钮 ── */
#fabImport.fab-import {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary, #f97316);
  border: none;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.5);
  cursor: pointer;
  z-index: 200;
  align-items: center;
  justify-content: center;
}
#fabImport.fab-import svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

/* ── 管理员菜单容器（隐藏状态由 JS 控制 classList）── */
#userMenuAdmin { display: none; }
