.recycle-bin {
  padding: 10px 0;
}

.recycle-bin .badge {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.8em;
  font-weight: bold;
  margin-left: 5px;
}

.recycle-bin .badge-info {
  background-color: #3a87ad;
  color: white;
}

.recycle-bin .badge-warning {
  background-color: #f89406;
  color: white;
}

.recycle-bin .badge-danger {
  background-color: #b94a48;
  color: white;
}

.recycle-bin .expires-on {
  white-space: nowrap;
}

.recycle-bin .buttons {
  white-space: nowrap;
  text-align: right;
}

.recycle-bin .icon-reload {
  background-image: url(/images/reload.png);
}

.recycle-bin table.files {
  width: 100%;
  border-collapse: collapse;
}

.recycle-bin table.files tr.expired {
  background-color: #fff3f3;
  opacity: 0.7;
}

.recycle-bin table.files tr:hover {
  background-color: #f5f5f5;
}

.recycle-bin table.files td.filename {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.recycle-bin table.files td.filesize {
  width: 120px;
  text-align: right;
}

.recycle-bin table.files td.author {
  width: 150px;
}

.recycle-bin table.files td.created_on,
.recycle-bin table.files td.expires_on {
  width: 180px;
  text-align: center;
}

.recycle-bin table.files td.buttons {
  width: 150px;
}

.recycle-bin .contextual {
  margin-bottom: 15px;
}

.recycle-bin .nodata {
  padding: 40px 0;
  text-align: center;
  color: #666;
  font-style: italic;
}

.recycle-bin .pagination {
  margin: 15px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .recycle-bin table.files {
    font-size: 12px;
  }
  
  .recycle-bin table.files td.filename {
    max-width: 150px;
  }
  
  .recycle-bin table.files td.filesize,
  .recycle-bin table.files td.author,
  .recycle-bin table.files td.created_on,
  .recycle-bin table.files td.expires_on {
    width: auto;
    padding: 5px;
  }
  
  .recycle-bin table.files td.buttons {
    width: auto;
  }
  
  .recycle-bin .badge {
    font-size: 0.7em;
    padding: 1px 6px;
  }
}

/* 项目菜单样式 */
.recycle-bin-menu-item {
  position: relative;
}

.recycle-bin-menu-item:hover {
  background-color: #f5f5f5;
}

.recycle-bin-menu-item a {
  display: block;
  padding: 8px 10px;
  color: #333;
  text-decoration: none;
}

.recycle-bin-menu-item a:hover {
  color: #428bca;
}

/* 图标样式 */
.recycle-bin-menu-item a.icon-del {
  background-image: url(/images/trash.png);
  background-repeat: no-repeat;
  background-position: 5px center;
  padding-left: 25px;
}

/* 文件页面右上角的回收站图标 */
a.recycle-bin-link {
  padding-left: 25px !important;
  background-size: 16px 16px !important;
}

/* 动画效果 */
.recycle-bin table.files tr {
  transition: all 0.3s ease;
}

.recycle-bin table.files td.buttons a {
  margin-left: 5px;
  transition: opacity 0.2s ease;
}

.recycle-bin table.files td.buttons a:hover {
  opacity: 0.8;
}