* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
  }
  body {
    background-color: #f5f5f5;
    color: #333;
  }
  .container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px;
  }
  .navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
    margin-bottom: 20px;
  }
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  .btn:active {
    transform: translateY(1px);
  }
  .primary-btn {
    background: linear-gradient(to bottom, #165DFF, #0E4BDB);
    color: #fff;
    border: 1px solid #0E4BDB;
  }
  .primary-btn:hover {
    background: linear-gradient(to bottom, #0E4BDB, #0A3DA7);
  }
  .secondary-btn {
    background: linear-gradient(to bottom, #6c757d, #5a6268);
    color: #fff;
    border: 1px solid #5a6268;
  }
  .secondary-btn:hover {
    background: linear-gradient(to bottom, #5a6268, #4a5258);
  }
  .danger-btn {
    background: linear-gradient(to bottom, #dc3545, #c82333);
    color: #fff;
    border: 1px solid #c82333;
  }
  .danger-btn:hover {
    background: linear-gradient(to bottom, #c82333, #a71c2a);
  }
  .success-btn {
    background: linear-gradient(to bottom, #28a745, #218838);
    color: #fff;
    border: 1px solid #218838;
  }
  .success-btn:hover {
    background: linear-gradient(to bottom, #218838, #1e7e34);
  }
  .warning-btn {
    background: linear-gradient(to bottom, #ffc107, #e0a800);
    color: #212529;
    border: 1px solid #e0a800;
  }
  .warning-btn:hover {
    background: linear-gradient(to bottom, #e0a800, #d39e00);
  }
  .info-btn {
    background: linear-gradient(to bottom, #17a2b8, #138496);
    color: #fff;
    border: 1px solid #138496;
  }
  .info-btn:hover {
    background: linear-gradient(to bottom, #138496, #117a8b);
  }
  .operation-btn {
    padding: 6px 8px;
    font-size: 12px;
    margin-right: 5px;
    background: linear-gradient(to bottom, #6c757d, #5a6268);
    color: #fff;
    border: 1px solid #5a6268;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    display: inline-block;
    text-align: center;
    min-width: 70px;
    box-sizing: border-box;
  }
  .icon {
    display: inline-block;
    margin-right: 4px;
    font-size: 1em;
    vertical-align: middle;
  }
  .operation-btn:hover {
    background: linear-gradient(to bottom, #5a6268, #4a5258);
  }
  .download-btn {
    background: linear-gradient(to bottom, #28a745, #218838);
    color: #fff;
    border: 1px solid #218838;
    padding: 6px 8px;
    font-size: 12px;
    min-width: 40px;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
  }
  .download-btn:hover {
    background: linear-gradient(to bottom, #218838, #1e7e34);
  }
  .delete-btn {
    background: linear-gradient(to bottom, #dc3545, #c82333);
    color: #fff;
    border: 1px solid #c82333;
    padding: 6px 8px;
    font-size: 12px;
    min-width: 40px;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
  }
  .delete-btn:hover {
    background: linear-gradient(to bottom, #c82333, #a71c2a);
  }
  .breadcrumbs {
    margin-bottom: 15px;
    font-size: 14px;
  }
  .breadcrumbs a {
    color: #165DFF;
    text-decoration: none;
    margin: 0 5px;
  }
  .breadcrumbs a:hover {
    text-decoration: underline;
  }
  .stats-container {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }
  .stat-item {
    background-color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 120px;
  }
  .stat-label {
    font-size: 13px;
    color: #6c757d;
    display: block;
    margin-bottom: 4px;
  }
  .stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
  }
  .action-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }
  .content-list {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: auto;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
  }
  th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
  }
  th {
    background-color: #f8f8f8;
    font-weight: 600;
    font-size: 14px;
  }
  td {
    font-size: 14px;
  }
  .folder-name {
    color: #165DFF;
    cursor: pointer;
    font-weight: 500;
  }
  .folder-name:hover {
    text-decoration: underline;
  }
  .operation-btn {
    padding: 4px 8px;
    font-size: 12px;
  }
  .loading {
    text-align: center;
    color: #666;
    padding: 40px;
  }
  .empty {
    text-align: center;
    color: #666;
    padding: 40px;
    font-style: italic;
  }
  .error {
    text-align: center;
    color: #dc3545;
    padding: 40px;
  }
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
  .modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
  }
  .modal-content h3 {
    margin-bottom: 15px;
    color: #333;
  }
  .modal-content p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
  }
  .form-group {
    margin-bottom: 20px;
  }
  .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
  }
  .modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
  }
  .toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    color: #fff;
    display: none;
    z-index: 1000;
  }
  .toast.info {
    background-color: #165DFF;
  }
  .toast.success {
    background-color: #28a745;
  }
  .toast.error {
    background-color: #dc3545;
  }
  .toast.warning {
    background-color: #ffc107;
    color: #333;
  }
  .login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }
  .login-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 350px;
  }
  .login-card h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #165DFF;
  }
  .login-card .form-group {
    margin-bottom: 20px;
  }
  .login-card .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
  }
  .login-card .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
  .error-msg {
    color: #dc3545;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
  }
  @media (max-width: 768px) {
    .stats-container {
      flex-direction: row;
      gap: 5px;
    }
    .stat-item {
      flex: 1;
      min-width: 0;
      padding: 8px;
      text-align: center;
    }
    .stat-label {
      font-size: 11px;
    }
    .stat-value {
      font-size: 14px;
    }
    .action-bar {
      flex-wrap: wrap;
      flex-direction: row;
      gap: 5px;
    }
    .btn {
      flex: 1;
      min-width: 80px;
      margin-bottom: 0;
      padding: 8px 5px;
      font-size: 13px;
    }
    .container {
      padding: 10px;
    }
    th, td {
      padding: 8px 10px;
      font-size: 13px;
    }
    /* 在小屏幕上隐藏最后两列，只保留关键信息 */
    th:nth-child(4), td:nth-child(4),
    th:nth-child(5), td:nth-child(5) {
      display: none;
    }
    .operation-btn {
      padding: 6px 8px;
      font-size: 12px;
      margin-right: 5px;
      display: inline-block;
      text-align: center;
      min-width: 60px;
    }
    .download-btn, .delete-btn {
      padding: 6px 8px;
      font-size: 12px;
      min-width: 70px;
      display: inline-block;
      text-align: center;
      margin-right: 5px;
      white-space: nowrap;
    }
    #selectedCount {
      font-size: 13px;
      margin-top: 8px;
      display: block;
      text-align: center;
    }
    /* 优化移动端表格水平滚动 */
    .content-list {
      overflow-x: auto;
    }
    table {
      min-width: 100%;
      display: table;
    }
  }