/* 自定义印章样式 */
.customStampsContainer {
  padding: 8px 0;
}

.customStampsTitle {
  padding: 8px 12px;
  font-weight: 600;
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 8px;
}

.customStampsList {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
  max-height: 300px;
  overflow-y: auto;
}

.customStampItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
  text-align: left;
  width: 100%;
}

.customStampItem:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.customStampItem:active {
  background-color: rgba(0, 0, 0, 0.1);
}

.stampPreview {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: white;
  flex-shrink: 0;
}

.customStampItem .editorParamsLabel {
  flex: 1;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 滚动条样式 */
.customStampsList::-webkit-scrollbar {
  width: 6px;
}

.customStampsList::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.customStampsList::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.customStampsList::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* 分隔线样式 */
.customStampsContainer .horizontalToolbarSeparator {
  margin: 8px 0;
}

/* 旋转按钮样式 */
.rotationButton {
  flex: 1;
  padding: 6px 8px;
  font-size: 12px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

.rotationButton:hover {
  background-color: #f0f0f0;
  border-color: #999;
}

.rotationButton.active {
  background-color: #0066cc;
  color: white;
  border-color: #0066cc;
}
