/* 右键菜单 */
.context-menu {
  position: absolute;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xs) 0;
  min-width: 150px;
  z-index: 10000;
  border: 1px solid rgba(112, 73, 240, 0.1);
  animation: menuFadeIn 0.2s ease;
}

@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.context-menu-item {
  padding: var(--spacing-xs) var(--spacing-sm);
  cursor: pointer;
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  color: var(--text-primary);
  transition: var(--transition-base);
}

.context-menu-item:hover {
  background-color: var(--bg-hover);
  color: var(--primary-color);
}

.context-menu-item i {
  margin-right: var(--spacing-xs);
  font-size: var(--font-size-sm);
  width: 20px;
  text-align: center;
}

/* 分隔线 */
.context-menu-divider {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.05);
  margin: var(--spacing-xs) 0;
}

/* 禁用状态 */
.context-menu-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.context-menu-item.disabled:hover {
  background-color: transparent;
  color: var(--text-primary);
}

/* 危险操作 */
.context-menu-item.danger {
  color: #dc3545;
}

.context-menu-item.danger:hover {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

/* 复制成功提示样式 */
.copy-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-gradient);
  color: white;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.copy-toast i {
  font-size: 18px;
}
