/* 私人云盘 - 附加样式（Tailwind 之外的自定义部分） */

/* Toast 进入动画 */
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.animate-toast-in {
  animation: toast-in 0.22s ease-out;
}

/* 对话框淡入 */
#modal {
  animation: modal-fade 0.15s ease-out;
}
@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 拖拽覆盖层 */
#dropOverlay {
  transition: opacity 0.15s ease-out;
}

/* 轻量滚动条（WebKit） */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* 表格操作按钮不换行 */
#fileTbody button {
  white-space: nowrap;
}
