/* 波浪线 */
.touch_notes {
	cursor: pointer;
	/* color: #f66;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath fill='none' stroke='%23f66' d='M0 3.5c5 0 5-3 10-3s5 3 10 3 5-3 10-3 5 3 10 3'/%3E%3C/svg%3E")
		repeat-x 0 100%; */
	background-color: #FC4E5C;	
	background-size: 20px auto;
	animation: waveMove 1s infinite linear;
}
.important {
	background-color: #FC4E5C;	
}
.issue {
	background-color: #FFA118;	
}
.underline{
	background-color: transparent;	
	text-decoration: underline;
	text-decoration-thickness: 2px; 
	text-decoration-color: hsl(64, 90%, 47%); 
}
.line-through{
	background-color: transparent;	
	text-decoration: line-through;
	text-decoration-thickness: 2px; 
	text-decoration-color: var(--red-6); 
}

.touch_notes.selected {
	background-color: yellow;
}
@keyframes waveMove {
	from {
		background-position: 0 100%;
	}
	to {
		background-position: -20px 100%;
	}
}
.highlight {
	font-weight: bold;
	color: yellow;
}
/* 选中内容区的提示栏 */
.note-tool.down::before {
	border-bottom: 6px solid #fff;
	top: -6px;
	left: 82px;
}
.note-tool.up::before {
	border-top: 6px solid #fff;
	bottom: -6px;
	left: 82px;
}
.note-tool.down::before,
.note-tool.up::before {
	content: '';
	position: absolute;
	border-right: 8px solid transparent;
	border-left: 8px solid transparent;
	width: 0;
	height: 0;
}
.note-tool {
	display: none;
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	font-weight: 300;
	background: #fff;
	color: #fff;
	align-items: center;
	justify-content: space-around;
	border-radius: 8px;
	z-index: 1001;
}
.note-tool-item {
	/* flex: 1 1 auto;
	height: 32px;
	line-height: 32px;
	font-size: 12px;
	cursor: pointer;
	white-space: nowrap;
	width: 58px;
	position: relative;
	border-radius: 8px;
	text-align: center;
	float: left; */
    display: flex;
    align-items: center; /* 垂直居中 */
    font-size: 14px; /* 字体大小 */
    color: var(--desc-color); /* 字体颜色 */
    padding: 8px 8px 8px 4px; /* 内边距 */
    cursor: pointer;
    border-radius: 4px;
    font-weight: 400;
}

.note-tool-item:hover {
	background: var(--primary-color-22);
    color: var(--primary-color);
}

/* 图标样式 */
.note-tool-item .icon {
	width: 16px; /* 图标宽度 */
	/* height: 16px; 图标高度 */
	margin-right: 4px; /* 图标与文字间距 */
}

.note-tool-item .icon:first-child {
	width: 18px; /* 图标宽度 */
	margin-right: 2px;
}

.note-tool-item .iconfont {
	line-height: 1;
	position: absolute;
	font-size: 16px;
	top: 14px;
	left: 21px;
}
/* 弹出框 */
.note-dialog.down::before,
.note-dialog.up::before {
	content: '';
	position: absolute;
	border-right: 8px solid transparent;
	border-left: 8px solid transparent;
	width: 0;
	height: 0;
	z-index: 999999999;
}
.note-dialog {
	display: none;
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	font-weight: 300;
	background: #fff;
	color: #fff;
	align-items: center;
	justify-content: space-around;
	border-radius: 8px;
	z-index: 999999999;
}
.note-dialog.down::before {
	border-bottom: 6px solid #fff;
	top: -6px;
	left: 20px;
	z-index: 999999999;
}
.note-dialog.up::before {
	border-top: 6px solid #484848;
	bottom: -6px;
	left: 288px;
	z-index: 999999999;
}
.edit-textarea-wrap {
	padding: 20px;
	box-sizing: border-box;
}
.edit-textarea-wrap .edit-textarea {
	width: 100%;
	height: 240px;
	line-height: 26px;
	border: 0;
	font-size: 16px;
	color: #e4e4e4;
	background: #545353;
	resize: none;
	outline: none;
	vertical-align: top;
}
.edit-textarea-wrap button {
	padding: 0;
	width: 95px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	margin-top: 10px;
	color: #fff;
	background: #6d6d6d;
	font-weight: 400;
	border: none;
	outline: none;
	border-radius: 6px;
	float: right;
	margin-right: 20px;
	margin-bottom: 10px;
}

/* 右侧提示栏 */
.touch-note-popmenus {
	display: none;
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	font-weight: 300;
	background: var(--title-color);
	color: #fff;
	align-items: center;
	justify-content: space-around;
	border-radius: 8px;
}
.touch-note-popmenus.down::before {
	border-bottom: 6px solid var(--title-color);
	top: -6px;
	left: 88px;
}
.touch-note-popmenus.up::before {
	border-top: 6px solid var(--title-color);
	bottom: -6px;
	left: 88px;
}
.touch-note-popmenus.down::before,
.touch-note-popmenus.up::before {
	content: '';
	position: absolute;
	border-right: 8px solid transparent;
	border-left: 8px solid transparent;
	width: 0;
	height: 0;
}
/* 临时选区 */
.tmp_touch_notes {
	background: var(--primary-color);
	color: #ffffff;
}
/* 选区样式，只对背景色、前景色起作用 */
::-moz-selection {
	background: var(--primary-color);
	color: #ffffff;
}
::selection {
	background: var(--primary-color);
	color: #ffffff;
}

/**
自定义样式
*/
/* 容器样式 */
.annotation-container {
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.08); /* 阴影效果 */
	padding: 10px; /* 内边距 */
	display: flex;
	flex-direction: column; /* 垂直排列 */
	gap: 10px; /* 每个批注之间的间距 */
	max-width: 300px; /* 可选：设置最大宽度 */
}

/* 单个批注样式 */
.annotation {
	display: flex;
	align-items: center; /* 垂直居中 */
	font-size: 14px; /* 字体大小 */
	color: var(--desc-color); /* 字体颜色 */
	padding: 8px; /* 内边距 */
}

/* 图标样式 */
.annotation .icon {
	width: 16px; /* 图标宽度 */
	height: 16px; /* 图标高度 */
	margin-right: 8px; /* 图标与文字间距 */
}
