@charset "UTF-8";
/* --- Global Styles & Resets --- */
@import url("../fonts/css2.css");
:root {
  --bg-color: #f0f2f5;
  --main-bg-color: rgba(255, 255, 255, 0.7); /* --- Glassmorphism Effect --- */
  --sidebar-bg-color: rgba(248, 249, 250, 0.7); /* --- Glassmorphism Effect --- */
  --border-color: rgba(217, 217, 217, 0.5); /* --- Glassmorphism Effect --- */
  --text-color: #333333;
  --text-muted-color: #888888;
  --accent-color: #1890ff;
  --accent-hover-color: #40a9ff;
  --accent-color-light: #e6f7ff;
  --danger-color: #ff4d4f;
  --success-color: #52c41a;
  --font-family: "Inter", sans-serif;
  --border-radius: 4px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
}

body {
  font-family: var(--font-family);
  margin: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Animated Background --- */
@keyframes moveGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 40%;
  }
  50% {
    transform: translateY(-300px) rotate(360deg);
    opacity: 0.5;
    border-radius: 50%;
  }
  100% {
    transform: translateY(0) rotate(720deg);
    opacity: 1;
    border-radius: 40%;
  }
}
#background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, #89f7fe, #66a6ff, #a18cd1, #fbc2eb);
  background-size: 400% 400%;
  animation: moveGradient 25s ease infinite;
}
#background-animation .shape {
  position: absolute;
  bottom: -150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: float 20s infinite;
}
#background-animation .shape:nth-child(1) {
  left: 10%;
  width: 80px;
  height: 80px;
  animation-duration: 25s;
}
#background-animation .shape:nth-child(2) {
  left: 20%;
  width: 30px;
  height: 30px;
  animation-duration: 15s;
  animation-delay: 2s;
}
#background-animation .shape:nth-child(3) {
  left: 25%;
  width: 10px;
  height: 10px;
  animation-duration: 20s;
  animation-delay: 5s;
}
#background-animation .shape:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-duration: 22s;
  animation-delay: 1s;
}
#background-animation .shape:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-duration: 30s;
  animation-delay: 3s;
}
#background-animation .shape:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-duration: 28s;
  animation-delay: 4s;
}
#background-animation .shape:nth-child(7) {
  left: 90%;
  width: 40px;
  height: 40px;
  animation-duration: 18s;
  animation-delay: 6s;
}
#background-animation .shape:nth-child(8) {
  left: 50%;
  width: 50px;
  height: 50px;
  animation-duration: 16s;
  animation-delay: 7s;
}
#background-animation .shape:nth-child(9) {
  left: 80%;
  width: 25px;
  height: 25px;
  animation-duration: 24s;
  animation-delay: 8s;
}
#background-animation .shape:nth-child(10) {
  left: 5%;
  width: 15px;
  height: 15px;
  animation-duration: 19s;
  animation-delay: 9s;
}

/* --- Layout --- */
.container .main-content {
  padding: 20px;
  background-color: var(--main-bg-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

/* --- Typography & Common Elements --- */
h1, h2, h3, h4 {
  color: var(--text-color);
  font-weight: 600;
}
h1.h1, h2.h1, h3.h1, h4.h1 {
  font-size: 24px;
  margin-bottom: 16px;
}
h1.h4, h2.h4, h3.h4, h4.h4 {
  font-size: 14px;
  color: var(--text-muted-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 24px;
  margin-bottom: 8px;
}

/* --- Main Header with Mobile Upload Button --- */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.main-header h3 {
  margin: 0;
  flex: 1;
}

.mobile-upload-btn-container {
  display: none; /* 默认隐藏 */
}

.mobile-upload-btn {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  height: 26px !important;
  min-height: auto;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}
.mobile-upload-btn:hover {
  background: var(--accent-hover-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}
.mobile-upload-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}
.mobile-upload-btn .upload-icon {
  font-size: 14px;
  line-height: 1;
}
.mobile-upload-btn .upload-text {
  font-size: 11px;
  font-weight: 600;
}

/* 移动端显示上传按钮 */
@media (max-width: 768px) {
  .mobile-upload-btn-container {
    display: block;
  }
  .main-header {
    margin-bottom: 12px;
  }
  .main-header h3 {
    font-size: 18px;
  }
}
button {
  font-family: var(--font-family);
  border: none;
  padding: 10px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  background-color: var(--accent-color);
  color: white;
  font-weight: 500;
}
button:hover {
  background-color: var(--accent-hover-color);
  box-shadow: var(--shadow-md);
}

hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 24px 0;
}

/* --- File Tree --- */
#file-tree ul {
  list-style: none;
  padding-left: 22px;
}
#file-tree li > div {
  display: flex;
  align-items: center;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
#file-tree li > div:hover {
  background-color: var(--accent-color-light);
}
#file-tree li > div span:first-of-type {
  margin-right: 8px;
}
#file-tree input[type=checkbox] {
  margin-right: 8px;
  cursor: pointer;
}

.file-size, .last-selected-badge {
  font-size: 12px !important;
}

@media (max-width: 768px) {
  .file-size {
    display: none !important;
  }
}
.tree-item-div {
  position: relative; /* 为伪元素定位 */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: var(--border-radius);
  cursor: default; /* 整个行默认不显示点击指针 */
  transition: all 0.2s ease;
  margin: 1px 0;
  /* 文件行点击提示 */
}
.tree-item-div:hover {
  background-color: var(--accent-color-light);
}
.tree-item-div:not(.tree-item-selected):hover::after {
  content: "点击选择";
  position: absolute;
  right: 8px;
  font-size: 10px;
  color: var(--text-muted-color);
  opacity: 0.7;
  pointer-events: none;
}

/* 24小时内更新过的项目高亮 */
.tree-item-div.recent-update {
  background-color: #fff8e1;
  border-left: 2px solid #ffc107;
}

.node-main-info {
  display: flex;
  align-items: center;
  flex-grow: 1;
  min-width: 0; /* Important for flex shrink */
}

.node-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default; /* 文件夹名默认不显示点击指针 */
}

.file-name-clickable {
  cursor: pointer !important; /* 文件名可点击 */
  transition: all 0.2s ease;
  padding: 2px 4px;
  border-radius: 4px;
  margin: -2px -4px; /* 负边距扩大点击区域 */
}
.file-name-clickable:hover {
  background-color: var(--accent-color-light);
  text-decoration: underline;
}

.icon {
  flex-shrink: 0;
}
.icon.cursor-pointer {
  cursor: pointer;
}

.tree-level {
  position: relative;
  padding-left: 20px;
  margin-left: 15px;
  border-left: 1px solid var(--border-color);
}

/* --- Right-click Menu --- */
.context-menu {
  position: absolute;
  z-index: 1000;
  width: 180px;
  background-color: var(--main-bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  border: 1px solid var(--border-color);
}
.context-menu:has(ul:empty) {
  display: none;
}
.context-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.context-menu ul li {
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease;
}
.context-menu ul li:hover {
  background-color: var(--sidebar-bg-color);
}
.context-menu ul li.separator {
  height: 1px;
  background-color: var(--border-color);
  margin: 6px 0;
  padding: 0;
  cursor: default;
}
.context-menu ul li.separator:hover {
  background-color: var(--border-color);
}

/* --- Modals --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-content {
  background: white;
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 90%;
  max-width: 500px;
}
.modal-content h3 {
  margin-top: 0;
}
.modal-content input[type=text],
.modal-content input[type=password],
.modal-content select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-sizing: border-box;
}
.modal-content label {
  color: var(--text-muted-color);
  font-size: 13px;
}

.modal-footer {
  margin-top: 20px;
  text-align: right;
}
.modal-footer button {
  margin-left: 10px;
}
.modal-footer button.secondary {
  background-color: #e9ecef;
  color: var(--text-color);
}
.modal-footer button.secondary:hover {
  background-color: #ced4da;
}

/* --- Misc --- */
.promotion-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: var(--main-bg-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
}
.promotion-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.promotion-item:last-child {
  margin-bottom: 0;
}

/* 图片广告样式 */
.image-ad-container {
  position: relative;
  width: 100%;
}
.image-ad-container .image-ad-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  transition: transform 0.2s ease;
}
.image-ad-container .image-ad-link:hover {
  transform: scale(1.02);
}
.image-ad-container .image-ad-link .ad-image {
  width: 100%;
  height: auto;
  max-height: 60px;
  min-height: 40px;
  display: block;
  transition: opacity 0.3s ease;
}
.image-ad-container .image-ad-link .image-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 20px;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--sidebar-bg-color) 100%);
  color: var(--text-muted-color);
  text-align: center;
  border: 2px dashed var(--border-color);
}
.image-ad-container .image-ad-link .image-fallback .fallback-icon {
  font-size: 32px;
  margin-bottom: 8px;
  opacity: 0.7;
}
.image-ad-container .image-ad-link .image-fallback .fallback-text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  word-break: break-word;
}

/* 文本广告样式 */
.text-ad-container .text-ad-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  padding: 16px;
  border-radius: var(--border-radius);
}
.text-ad-container .text-ad-link:hover {
  text-decoration: none;
  background-color: var(--accent-color-light);
}
.text-ad-container .text-ad-link .text-ad-content {
  display: flex;
  align-items: flex-start;
  background-color: transparent;
  border: none;
  transition: all 0.2s ease;
}
.text-ad-container .text-ad-link .text-ad-content .text-ad-icon {
  font-size: 20px;
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
  opacity: 0.8;
}
.text-ad-container .text-ad-link .text-ad-content .text-ad-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-color);
  font-weight: 500;
  word-break: break-word;
}

/* 空状态样式 */
.empty-ads-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background-color: var(--main-bg-color);
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-muted-color);
  text-align: center;
}
.empty-ads-placeholder .placeholder-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.6;
}
.empty-ads-placeholder .placeholder-text {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .image-ad-container .image-ad-link .image-fallback {
    min-height: 100px;
    padding: 16px;
  }
  .image-ad-container .image-ad-link .image-fallback .fallback-icon {
    font-size: 28px;
  }
  .image-ad-container .image-ad-link .image-fallback .fallback-text {
    font-size: 12px;
  }
  .text-ad-container .text-ad-link .text-ad-content {
    padding: 12px;
  }
  .text-ad-container .text-ad-link .text-ad-content .text-ad-icon {
    font-size: 18px;
    margin-right: 10px;
  }
  .text-ad-container .text-ad-link .text-ad-content .text-ad-text {
    font-size: 13px;
  }
  .empty-ads-placeholder {
    padding: 24px 12px;
  }
  .empty-ads-placeholder .placeholder-icon {
    font-size: 36px;
    margin-bottom: 8px;
  }
  .empty-ads-placeholder .placeholder-text {
    font-size: 13px;
  }
}
#admin-fab button {
  box-shadow: var(--shadow);
}

.notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  z-index: 3000;
  box-shadow: var(--shadow);
}

.share-button-container {
  position: sticky;
  bottom: 0;
  text-align: center;
  background: linear-gradient(to top, white, rgba(255, 255, 255, 0.8));
  padding: 16px;
  border-top: 1px solid var(--border-color);
}

/* --- 拖拽样式 --- */
[draggable=true] {
  cursor: grab; /* 拖拽手势 */
}
[draggable=true]:active {
  cursor: grabbing; /* 拖拽进行中手势 */
}
[draggable=true]:hover {
  background-color: rgba(0, 123, 255, 0.05);
}

.drag-over {
  background-color: var(--accent-color-light) !important; /* 更亮的背景色 */
  border: 2px solid var(--accent-color) !important; /* 实线边框 */
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2); /* 额外阴影 */
  transform: scale(1.01); /* 轻微放大 */
  transition: all 0.1s ease-out; /* 动画效果 */
  border-radius: var(--border-radius);
}

.tree-item-div {
  transition: all 0.2s ease; /* 平滑过渡 */
  border-radius: var(--border-radius);
  padding: 4px 8px;
  margin: 2px 0;
  /* 拖拽时的透明度 */
}
.tree-item-div.dragging {
  opacity: 0.5 !important;
  pointer-events: none; /* 防止拖拽中的元素接收事件 */
}

.node-main-info {
  display: flex;
  align-items: center;
  flex-grow: 1;
  min-width: 0; /* Important for flex shrink */
}

.node-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default; /* 文件夹名默认不显示点击指针 */
}

.file-name-clickable {
  cursor: pointer !important; /* 文件名可点击 */
  transition: all 0.2s ease;
  padding: 2px 4px;
  border-radius: 4px;
  margin: -2px -4px; /* 负边距扩大点击区域 */
}

.file-name-clickable:hover {
  background-color: var(--accent-color-light);
  text-decoration: underline;
}

.tree-item-div {
  position: relative; /* 为伪元素定位 */
}

/* 拖拽放置区域指示 */
.drop-zone-active {
  background-color: rgba(40, 167, 69, 0.1);
  border: 2px dashed var(--success-color);
}

/* 禁止拖拽的样式 */
.no-drop {
  cursor: no-drop !important;
}

/* 拖拽时隐藏某些元素 */
.drag-ghost {
  background-color: var(--accent-color);
  color: white;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* --- 移动端响应式设计 --- */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .sidebar {
    width: calc(100% - 24px) !important;
    padding: 12px !important;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .main-content {
    padding: 16px 10px 10px 10px !important;
  }
  h1 {
    font-size: 20px;
    margin-bottom: 12px;
  }
  /* 移动端文件树项目样式调整 */
  .tree-item-div {
    padding: 12px 8px;
    margin: 4px 0;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
  }
  .node-name {
    font-size: 16px;
    line-height: 1.4;
  }
  /* 移动端按钮样式 */
  button {
    padding: 12px 16px;
    font-size: 16px;
    min-height: 44px; /* 符合移动端触摸标准 */
  }
  /* 移动端特殊样式覆盖 */
  /* 模态框在移动端的调整 */
  .modal-content {
    width: calc(100% - 40px) !important;
    max-width: 90% !important;
    padding: 20px;
  }
  .modal-content input[type=text],
  .modal-content input[type=password],
  .modal-content select {
    padding: 12px;
    font-size: 16px;
  }
  /* 移动端选中状态调整 */
  .tree-item-selected {
    border-left-width: 4px !important;
  }
  .tree-item-div:active {
    background-color: var(--accent-color-light);
  }
  /* 增大可点击区域 */
  .file-name-clickable {
    padding: 4px 0;
    min-height: 24px;
    display: inline-block;
  }
  /* 文件大小显示优化 */
  .file-size {
    font-size: 13px !important;
    color: var(--text-muted-color);
  }
  /* 权限标签在移动端的显示 */
  .folder-permissions {
    margin-left: 4px;
    gap: 1px;
  }
  .folder-permissions span {
    font-size: 6px;
    padding: 1px 2px;
  }
}
/* --- 文件操作按钮 --- */
.mobile-actions {
  display: block; /* PC端也显示 */
  background-color: transparent !important;
  margin: 4px 0;
  padding: 6px 6px 0 30px;
}
.mobile-actions .mobile-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
}
.mobile-actions .mobile-action-buttons .mobile-action-btn {
  background-color: var(--main-bg-color);
  color: var(--text-muted-color);
  padding: 2px 0; /* 更小的按钮 */
  border-radius: 4px;
  font-size: 0.7rem; /* 更小的字体 */
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-height: 24px; /* 更小的高度 */
  display: flex;
  align-items: center;
  gap: 3px;
  line-height: 1;
}
.mobile-actions .mobile-action-buttons .mobile-action-btn:hover {
  color: var(--accent-color) !important;
}
.mobile-actions .mobile-action-buttons .mobile-action-btn:active {
  transform: scale(0.98);
}

/* 选中状态样式 */
.tree-item-selected {
  background-color: var(--accent-color-light) !important;
  border-left: 2px solid var(--accent-color) !important;
  box-shadow: none;
}
.tree-item-selected:hover {
  background-color: rgba(59, 130, 246, 0.15) !important;
}

/* 空白区域操作按钮 */
.empty-area-actions {
  margin-top: 16px;
  padding: 12px;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  border: 1px dashed var(--border-color);
}

/* 移动端触摸优化 */
@media (max-width: 768px) {
  /* 增大可点击区域 */
  .file-name-clickable {
    padding: 4px 0;
    min-height: 24px;
    display: inline-block;
  }
  /* 文件大小显示优化 */
  .file-size {
    font-size: 13px !important;
    color: var(--text-muted-color);
  }
  /* 权限标签在移动端的显示 */
  .folder-permissions {
    margin-left: 4px;
    gap: 1px;
  }
  .folder-permissions span {
    font-size: 6px;
    padding: 1px 2px;
  }
}
/* 移动端分享按钮容器 */
@media (max-width: 768px) {
  .share-button-container {
    padding: 12px 16px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--main-bg-color);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
  }
  .share-button-container button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
}
/* 最后选中的文件夹样式 */
.last-selected-folder {
  background-color: rgba(16, 185, 129, 0.1) !important;
  border-left: 2px solid var(--success-color) !important;
  box-shadow: none;
  animation: none;
}
.last-selected-folder:hover {
  background-color: rgba(16, 185, 129, 0.15) !important;
}

.last-selected-badge {
  background-color: var(--success-color);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  margin-left: 8px;
  word-break: keep-all;
}

/* 最后选中文件夹的快速操作样式 */
.last-selected-actions {
  margin: 0 0 0 30px;
  padding: 0;
}

/* 选中文件夹的动画效果 */
@keyframes selectedFolderPulse {
  0% {
    background-color: rgba(40, 167, 69, 0.3);
  }
  100% {
    background-color: rgba(40, 167, 69, 0.1);
  }
}
/* 文件拖拽上传样式 */
.file-drag-active .main-content {
  background-color: rgba(59, 130, 246, 0.05);
  border: 2px dashed var(--accent-color);
  border-radius: var(--border-radius);
  position: relative;
}
.file-drag-active .main-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 999;
  pointer-events: none;
}
.file-drag-active .drag-drop-message {
  display: block;
}

/* 动态拖拽消息样式 */
.drag-drop-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--accent-color);
  color: white;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  pointer-events: none;
  display: none;
}

/* 文件夹权限显示 */
.folder-permissions {
  display: inline-flex;
  gap: 2px;
  margin-left: 8px;
  font-size: 8px;
  line-height: 1;
  opacity: 0.8;
  vertical-align: middle;
  /* 统一的权限标签基础样式 */
}
.folder-permissions span {
  padding: 1px 3px;
  border-radius: 2px;
  font-size: 7px;
  font-weight: 600;
  white-space: nowrap;
  cursor: help;
  text-transform: none;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  line-height: 1.2;
  /* 权限详情hover效果 */
  /* 访客权限样式 */
  /* 认证后权限样式 */
}
.folder-permissions span:hover {
  transform: scale(1.1);
  z-index: 10;
  position: relative;
}
.folder-permissions span.guest-perms {
  background-color: rgba(40, 167, 69, 0.08);
  color: #28a745;
  border-color: rgba(40, 167, 69, 0.15);
}
.folder-permissions span.guest-perms:hover {
  background-color: rgba(40, 167, 69, 0.15);
  border-color: rgba(40, 167, 69, 0.3);
}
.folder-permissions span.auth-perms {
  background-color: rgba(255, 152, 0, 0.08);
  color: #ff9800;
  border-color: rgba(255, 152, 0, 0.15);
}
.folder-permissions span.auth-perms:hover {
  background-color: rgba(255, 152, 0, 0.15);
  border-color: rgba(255, 152, 0, 0.3);
}

/* 排序指示器样式 */
.drop-indicator-line {
  height: 2px;
  background-color: var(--accent-color);
  border-radius: 1px;
  margin: -1px 0;
  opacity: 0.8;
  transition: opacity 0.1s ease;
}
.drop-indicator-line.drop-indicator-before {
  margin-top: -1px; /* 调整位置 */
  margin-bottom: 1px;
}
.drop-indicator-line.drop-indicator-after {
  margin-top: 1px; /* 调整位置 */
  margin-bottom: -1px;
}

/* 上传进度指示 */
.upload-progress {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: var(--main-bg-color);
  padding: 16px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent-color);
  z-index: 2000;
  min-width: 250px;
}
.upload-progress .upload-progress-bar {
  width: 100%;
  height: 4px;
  background-color: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}
.upload-progress .upload-progress-bar .upload-progress-fill {
  height: 100%;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}/*# sourceMappingURL=style.css.map */