/* 笔记卡片悬浮显示按钮 */
.note-card {
  position: relative !important;
  transition: all 0.3s ease !important;
}

.note-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(32, 178, 170, 0.15) !important;
}

/* 默认隐藏所有操作按钮 */
.note-actions {
  opacity: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  margin-top: 0 !important;
}

.note-card:hover .note-actions {
  opacity: 1 !important;
  max-height: 100px !important;
  margin-top: 12px !important;
}

/* 保持标题、内容、标签、日期始终可见 */
.note-title,
.note-content,
.note-tags,
.note-date {
  opacity: 1 !important;
  transition: all 0.2s ease !important;
}

/* 时间轴模式特殊处理 */
.notes.timeline .note-card {
  border-left: 3px solid transparent !important;
  transition: all 0.3s ease !important;
}

.notes.timeline .note-card:hover {
  border-left-color: var(--teal-primary) !important;
}

/* 网格模式 */
.notes.grid .note-card {
  min-height: 200px !important;
  display: flex !important;
  flex-direction: column !important;
}
