html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-y: scroll; /* 始终预留滚动条宽度 */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: #f8f9fa;
  color: #212529;
}

body > .main-content {
  flex: 1 0 auto;
  padding-bottom: 20px;
}

.footer {
  position: static !important;
  margin-top: auto;
  width: 100%;
  color: #6c757d;
  font-size: 14px;
  padding: 10px 15px;
  background-color: #f8f9fa;
}

/* 你已有的header样式保持不变 */
.header {
  background-color: #000000 !important;
  color: #ffffff !important;
  min-height: 50px !important;
  height: 50px !important;
  font-size: 20px !important;
  line-height: 50px !important;
  padding: 0 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.header .navbar-brand {
  color: #ffffff !important;
  font-size: 20px;
  line-height: 50px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header .navbar-brand img {
  height: 20px;
  width: auto;
}

/* 文件名颜色 - 默认黑色 */
#list a,
#list a:focus,
#list a:hover {
  color: #000000;        /* 文件名黑色 */
  font-size: 16px;
  text-decoration: none;
}

/* 文件夹名称颜色 - 蓝色，稍微加粗 */
#list .folder,
#list a.folder {
  color: #1a73e8;        /* 文件夹蓝色 */
  font-weight: 600;
}

/* 鼠标悬停时文件和文件夹颜色加深 */
#list a:hover,
#list a.folder:hover {
  color: #0056b3;        /* 深蓝色悬停 */
  text-decoration: underline;
}
