/* ============ UI 增强优化包 ============ */
/* 滴答清单像素级对齐 - 动画/阴影/响应式/深色模式 */

/* ============ 深色模式 ============ */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8e8e8;
    --ink-soft: rgba(232, 232, 232, 0.6);
    --ink-faint: rgba(232, 232, 232, 0.12);
    --ink-hover: rgba(232, 232, 232, 0.4);
    --border: rgba(255, 255, 255, 0.08);
    --white: #1e1e1e;
    --bg: #121212;
    --card: #1e1e1e;
    --surface: #252525;
    --hover: rgba(255, 255, 255, 0.08);
    --primary-light: rgba(89, 175, 178, 0.2);
  }
  
  .task-item.pinned {
    background: rgba(255, 255, 255, 0.08);
  }
  
  .detail-panel {
    background: var(--card);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
  }
  
  .sidebar-item:hover {
    background: rgba(255, 255, 255, 0.08);
  }
  
  .task-item:hover {
    background: rgba(255, 255, 255, 0.06);
  }
  
  .add-task-bar .add-input {
    background: var(--surface);
  }
  
  .detail-field textarea,
  .detail-note textarea {
    background: var(--surface);
    border-color: var(--border);
  }
}

/* ============ 动画效果优化 ============ */

/* 平滑滚动 */
.sidebar-scroll,
.task-list,
.detail-inner {
  scroll-behavior: smooth;
}

/* 侧边栏展开/收起动画 */
.sidebar {
  transition: width 0.3s var(--ease);
}

/* 详情面板滑入动画 */
.detail-panel {
  opacity: 0;
  transform: translateX(20px);
}

.detail-panel.open {
  opacity: 1;
  transform: translateX(0);
  transition: width 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

/* 任务完成动画增强 */
.task-item.completing {
  animation: taskComplete 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes taskComplete {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translateX(15px) scale(0.98);
  }
  100% {
    opacity: 0.3;
    transform: translateX(30px) scale(0.95);
  }
}

/* 复选框动画 */
.task-checkbox {
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.task-checkbox.checked::after {
  animation: checkmark 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes checkmark {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    width: 5px;
    height: 8px;
    opacity: 1;
  }
}

/* 按钮点击涟漪效果 */
.icon-btn,
.add-btn,
.sidebar-item {
  position: relative;
  overflow: hidden;
}

.icon-btn::after,
.add-btn::after,
.sidebar-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  opacity: 0;
}

.icon-btn:active::after,
.add-btn:active::after,
.sidebar-item:active::after {
  width: 120px;
  height: 120px;
  opacity: 1;
  transition: width 0s, height 0s;
}

/* 悬停浮动效果 */
.task-item {
  transition: all 0.15s ease;
}

.task-item:hover {
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 拖拽预览效果 */
.task-item.dragging {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 100;
}

/* ============ 阴影优化 ============ */

/* 卡片阴影 - 滴答清单风格 */
.auth-card,
.detail-panel,
.tag-picker-popup,
.context-menu {
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.04);
}

/* 悬浮阴影 */
.task-item:hover,
.sidebar-item:hover,
.icon-btn:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 下拉菜单阴影 */
select,
.dropdown-menu {
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ============ 响应式布局 ============ */
/* 移动端规则已统一到 mobile-optimization.css，此处不再重复 */
/* 仅保留平板适配 */

@media (max-width: 1024px) {
  :root {
    --sidebar-w: 200px;
  }
  
  .main-header h2 {
    font-size: 16px;
  }
  
  .task-list {
    padding: 0 16px 8px;
  }
  
  .detail-panel.open {
    width: 320px;
  }
  
  .detail-inner {
    width: 320px;
  }
}

/* ============ 交互优化 ============ */

/* 加载骨架屏 */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--ink-faint) 0%,
    var(--ink-hover) 50%,
    var(--ink-faint) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* 空状态提示 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--ink-soft);
  text-align: center;
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state p {
  font-size: 14px;
  margin-top: 8px;
}

/* 滚动条美化 */
.sidebar-scroll::-webkit-scrollbar,
.task-list::-webkit-scrollbar,
.detail-inner::-webkit-scrollbar {
  width: 6px;
}

.sidebar-scroll::-webkit-scrollbar-track,
.task-list::-webkit-scrollbar-track,
.detail-inner::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb,
.task-list::-webkit-scrollbar-thumb,
.detail-inner::-webkit-scrollbar-thumb {
  background: var(--ink-faint);
  border-radius: 3px;
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover,
.task-list::-webkit-scrollbar-thumb:hover,
.detail-inner::-webkit-scrollbar-thumb:hover {
  background: var(--ink-hover);
}

/* ============ 微交互细节 ============ */

/* 输入框聚焦动画 */
.add-input:focus,
.detail-field input:focus,
.detail-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* 标签脉冲效果 */
.task-tag {
  animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* 提醒图标闪烁 */
.task-reminder-icon.blink {
  animation: reminderBlink 1.5s ease-in-out infinite;
}

@keyframes reminderBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* 优先级颜色过渡 */
.task-priority {
  transition: background 0.3s ease;
}

/* ============ 字体渲染优化 ============ */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 中文优化 */
:lang(zh) {
  font-feature-settings: "kern" 1;
  text-size-adjust: 100%;
}

/* ============ 打印样式 ============ */

@media print {
  .iconbar,
  .sidebar,
  .add-task-bar,
  .main-header,
  .detail-panel {
    display: none !important;
  }
  
  .main {
    margin: 0;
  }
  
  .task-list {
    overflow: visible;
  }
  
  .task-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* ============ 无障碍优化 ============ */

/* 焦点可见 */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* 减少动画 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ 工具类 ============ */

/* 隐藏元素 */
.hidden {
  display: none !important;
}

/* 文本截断 */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 灵活布局 */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 4px;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

/* 间距 */
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }

.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }

/* ============ 滴答清单风格微调 ============ */

/* 任务项左侧间距精确对齐 */
.task-item {
  padding-left: 8px;
  padding-right: 8px;
  margin: 2px 0;
  border-radius: 6px;
}

/* 侧边栏项圆角和间距 */
.sidebar-item {
  border-radius: 6px;
  margin: 1px 0;
  height: 38px;
}

/* 搜索框阴影 */
.search-box {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* 按钮圆角统一 */
.icon-btn {
  border-radius: 6px;
  transition: all 0.15s ease;
}

.icon-btn:active {
  transform: scale(0.95);
}

/* 复选框大小精确对齐滴答清单 */
.task-checkbox {
  width: 18px;
  height: 18px;
  border-width: 1.8px;
  margin-top: 11px;
}

/* 任务标题行高 */
.task-title {
  line-height: 1.5;
  font-size: 14px;
}

/* 日期图标对齐 */
.task-date svg {
  margin-top: -1px;
}

/* ============ 侧边栏精细优化 ============ */

/* 侧边栏图标 */
.sidebar-item .item-icon {
  opacity: 0.8;
  transition: opacity 0.15s;
}

.sidebar-item:hover .item-icon {
  opacity: 1;
}

/* 侧边栏计数徽章 */
.sidebar-item .item-count {
  font-size: 11px;
  padding: 1px 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  min-width: 18px;
  text-align: center;
}

.sidebar-item.active .item-count {
  background: rgba(89, 175, 178, 0.2);
  color: var(--primary);
}

/* 侧边栏折叠箭头 */
.sidebar-section-title .arrow {
  font-size: 9px;
  color: var(--ink-soft);
  transition: transform 0.25s var(--ease);
}

/* 文件夹嵌套缩进 */
.sidebar-item[data-level="2"] {
  padding-left: 20px;
}

.sidebar-item[data-level="3"] {
  padding-left: 36px;
}

/* ============ 任务项精细优化 ============ */

/* 任务项悬停背景 */
.task-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

.task-item.active {
  background: rgba(89, 175, 178, 0.08);
}

/* 任务优先级圆点 */
.task-priority {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 16px;
  margin-left: 4px;
}

.task-priority.p5 { 
  background: #ff6b6b;  /* 高优先级 - 红色 */
}

.task-priority.p3 { 
  background: #ffa500;  /* 中优先级 - 橙色 */
}

.task-priority.p1 { 
  background: #4a90d9;  /* 低优先级 - 蓝色 */
}

/* 任务标签样式 */
.task-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.task-tag:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* 子任务计数 */
.task-subtask-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--ink-soft);
  background: rgba(0, 0, 0, 0.04);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* 提醒图标 */
.task-reminder-icon {
  color: #ffa500;
  margin-left: 4px;
}

.task-reminder-icon svg {
  width: 14px;
  height: 14px;
}

/* ============ 详情面板精细优化 ============ */

/* 详情面板标题 */
.detail-title-row input {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  padding: 4px 0;
}

/* 详情字段间距 */
.detail-field {
  padding: 12px 0;
  gap: 12px;
}

.detail-field .field-label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

.detail-field .field-value {
  font-size: 14px;
}

/* 详情输入框 */
.detail-field input,
.detail-field select {
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.03);
  transition: all 0.2s;
}

.detail-field input:focus,
.detail-field select:focus {
  background: #fff;
  box-shadow: 0 0 0 2px var(--primary-light);
}

/* 详情备注区 */
.detail-note textarea {
  font-family: var(--font);
  line-height: 1.6;
  padding: 12px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
}

/* 子任务复选框 */
.detail-subtask .sub-checkbox {
  width: 18px;
  height: 18px;
  border-width: 1.8px;
}

/* ============ 按钮样式优化 ============ */

/* 主要按钮 */
.btn-primary {
  background: linear-gradient(180deg, #62B0B9, #91C7C8);
  border: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(89, 175, 178, 0.3);
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(89, 175, 178, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

/* 图标按钮 */
.icon-btn {
  color: var(--ink-soft);
  background: transparent;
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
}

.icon-btn.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* 添加任务按钮 */
.add-btn {
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(89, 175, 178, 0.3);
  transition: all 0.2s;
}

.add-btn:hover {
  background: #50a0a3;
  box-shadow: 0 4px 12px rgba(89, 175, 178, 0.4);
  transform: scale(1.05);
}

/* ============ 日历视图优化 ============ */

/* 日历网格 */
.cal-week-grid {
  gap: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.cal-week-day {
  background: #fff;
  border: none;
}

/* 日历日期 */
.cal-day-number {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cal-day-number.today {
  background: var(--primary);
  color: #fff;
}

.cal-day-number.other-month {
  color: var(--ink-soft);
  opacity: 0.5;
}

/* 日历任务点 */
.cal-event {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--primary-light);
  color: var(--primary);
  border-left: 2px solid var(--primary);
  margin-top: 2px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-event:hover {
  background: var(--primary);
  color: #fff;
}

.cal-event.completed {
  opacity: 0.5;
  text-decoration: line-through;
}

/* 日历头 */
.cal-header {
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.cal-header h2 {
  font-size: 20px;
  font-weight: 700;
}

/* ============ 四象限视图优化 ============ */

.quadrant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 16px;
  height: calc(100vh - 80px);
}

.quadrant {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow-y: auto;
}

.quadrant-header {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quadrant-1 .quadrant-header { color: #d64545; } /* 重要紧急 */
.quadrant-2 .quadrant-header { color: #4a90d9; } /* 重要不紧急 */
.quadrant-3 .quadrant-header { color: #f5a623; } /* 紧急不重要 */
.quadrant-4 .quadrant-header { color: #999; }    /* 不紧急不重要 */

/* ============ 看板视图优化 ============ */

.kanban-board {
  display: flex;
  gap: 16px;
  padding: 16px;
  overflow-x: auto;
  height: calc(100vh - 80px);
}

.kanban-col {
  min-width: 280px;
  max-width: 280px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.kanban-col-header {
  font-size: 13px;
  font-weight: 600;
  padding: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kanban-col-header .count {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 8px;
  border-radius: 8px;
}

.kanban-task {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  cursor: grab;
  transition: all 0.15s;
}

.kanban-task:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.kanban-task:active {
  cursor: grabbing;
}

/* ============ 甘特图优化 ============ */

.gantt-container {
  padding: 16px;
  overflow-x: auto;
  height: calc(100vh - 80px);
}

.gantt-chart {
  min-width: 1200px;
}

.gantt-task-row {
  height: 40px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.gantt-task-bar {
  height: 24px;
  background: var(--primary);
  border-radius: 4px;
  position: absolute;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gantt-task-bar:hover {
  background: #50a0a3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ============ 番茄钟优化 ============ */

.pomodoro-timer {
  font-size: 72px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  text-align: center;
  margin: 40px 0;
}

.pomodoro-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.pomodoro-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(89, 175, 178, 0.3);
}

.pomodoro-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(89, 175, 178, 0.4);
}

.pomodoro-btn:active {
  transform: scale(0.95);
}

/* ============ 习惯打卡优化 ============ */

.habit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s;
}

.habit-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.habit-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--ink-faint);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.habit-check.checked {
  background: var(--primary);
  border-color: var(--primary);
}

.habit-check.checked svg {
  color: #fff;
}

.habit-streak {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 4px;
}

.habit-streak .fire {
  color: #ff6b6b;
}

/* ============ 倒数纪念日优化 ============ */

.countday-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 16px;
}

.countday-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.countday-info {
  flex: 1;
}

.countday-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.countday-days {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

/* ============ 搜索历史下拉 ============ */

.search-history-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 8px;
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
}

.search-history-item {
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  transition: background 0.15s;
}

.search-history-item:hover {
  background: rgba(0, 0, 0, 0.06);
}

.search-history-item .history-icon {
  color: var(--ink-soft);
}

/* ============ 加载状态 ============ */

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--ink-faint);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* ============ 工具提示 ============ */

.tooltip {
  position: absolute;
  background: rgba(25, 25, 25, 0.9);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}

.tooltip.show {
  opacity: 1;
}

/* ============ 拖拽指示器 ============ */

.drag-indicator {
  position: fixed;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  z-index: 1000;
  transition: all 0.1s;
}

.drag-preview {
  position: fixed;
  background: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  pointer-events: none;
  opacity: 0.9;
}
