:root {
    --primary-color: #3EA240;
    --secondary-color: #2c7a2d;
    --accent-color: #5ec060;
    --text-color: #333;
    --light-text: #666;
    --background-color: #f5f7fa;
    --card-background: #ffffff;
    --border-color: #e5e7eb;
    --hover-color: #f0f5ff;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 状态栏 */
.status-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.status-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-display {
    font-weight: 500;
}

.status-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.login-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 5px 15px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.login-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.help-btn {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 5px 15px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.help-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 登录菜单 */
.login-menu {
    position: absolute;
    top: 45px;
    right: 20px;
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 180px;
    z-index: 1001;
    display: none;
}

.login-menu.show {
    display: block;
}

.login-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.2s;
}

.login-menu a:hover {
    background-color: var(--hover-color);
}

/* 导航栏 */
.navbar {
    background-color: white;
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 轮播图 */
.banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin: 20px 0;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.banner-container {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
    padding: 40px;
}

.slide-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.slide-description {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.slide-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.slide-btn:hover {
    background-color: white;
    transform: translateY(-2px);
}

.banner-pagination {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.pagination-btn {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.pagination-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination-btn.active {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

/* 内容区域 */
.content {
    padding: 40px 0;
}

.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 卡片 */
.card {
    background-color: var(--card-background);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-color);
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    font-size: 14px;
    margin-right: 10px;
}

.btn:last-child {
    margin-right: 0;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-info {
    background-color: #17a2b8;
    color: white;
}

.btn-info:hover {
    background-color: #138496;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-default {
    background-color: #f8f9fa;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-default:hover {
    background-color: #e2e6ea;
}

/* 文件名标签 */
.file-name-tag {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
    border: 1px solid #dee2e6;
    color: #454545;
}

.file-name-tag:hover {
    background: #fff;
}

/* 表格 */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
}

/* 标题列固定宽度 */
.table .title-column {
    width: 300px;
}

.table tr:hover {
    background-color: var(--hover-color);
}

/* 表单 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(62, 162, 64, 0.2);
}

/* 警报 */
.alert {
    padding: 15px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* 响应式 */
@media (max-width: 768px) {
    .navbar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .banner {
        height: 250px;
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .slide-description {
        font-size: 14px;
    }
}

/* 后台样式 */
.admin-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--background-color);
}

.sidebar {
    width: 250px;
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    color: white;
}

.sidebar-header p {
    color: white;
    opacity: 0.9;
    font-size: 14px;
}

.home-btn {
    display: block;
    font-size: 14px;
    color: white;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 10px;
    text-align: center;
    transition: background-color 0.3s;
}

.home-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.sidebar-logo {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: white;
}

.sidebar-nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-left-color: white;
    font-weight: 500;
}

.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.breadcrumb {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 分页 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.pagination a {
    padding: 5px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: var(--hover-color);
    border-color: var(--primary-color);
}

.pagination a.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 信息项 */
.info-item {
    margin-bottom: 10px;
}

.info-label {
    font-weight: 500;
    color: var(--text-color);
    margin-right: 10px;
}

.info-value {
    color: var(--light-text);
}

/* 按钮确认 */
.btn-confirm {
    position: relative;
    overflow: hidden;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 隐藏类 */
.hidden {
    display: none !important;
}

/* 显示类 */
.show {
    display: block !important;
}

/* 文本居中 */
.text-center {
    text-align: center;
}

/* 文本右对齐 */
.text-right {
    text-align: right;
}

/* 文本左对齐 */
.text-left {
    text-align: left;
}

/* 字体大小 */
.text-sm {
    font-size: 12px;
}

.text-md {
    font-size: 14px;
}

.text-lg {
    font-size: 16px;
}

.text-xl {
    font-size: 20px;
}

/* 字体粗细 */
.font-bold {
    font-weight: bold;
}

.font-medium {
    font-weight: 500;
}

.font-normal {
    font-weight: normal;
}

/* 间距 */
.mt-1 {
    margin-top: 5px;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 15px;
}

.mt-4 {
    margin-top: 20px;
}

.mt-5 {
    margin-top: 25px;
}

.mb-1 {
    margin-bottom: 5px;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 15px;
}

.mb-4 {
    margin-bottom: 20px;
}

.mb-5 {
    margin-bottom: 25px;
}

.ml-1 {
    margin-left: 5px;
}

.ml-2 {
    margin-left: 10px;
}

.ml-3 {
    margin-left: 15px;
}

.ml-4 {
    margin-left: 20px;
}

.ml-5 {
    margin-left: 25px;
}

.mr-1 {
    margin-right: 5px;
}

.mr-2 {
    margin-right: 10px;
}

.mr-3 {
    margin-right: 15px;
}

.mr-4 {
    margin-right: 20px;
}

.mr-5 {
    margin-right: 25px;
}

/* 内边距 */
.p-1 {
    padding: 5px;
}

.p-2 {
    padding: 10px;
}

.p-3 {
    padding: 15px;
}

.p-4 {
    padding: 20px;
}

.p-5 {
    padding: 25px;
}

/* 弹性布局 */
.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: 5px;
}

.gap-2 {
    gap: 10px;
}

.gap-3 {
    gap: 15px;
}

.gap-4 {
    gap: 20px;
}

.gap-5 {
    gap: 25px;
}

/* 边框 */
.border {
    border: 1px solid var(--border-color);
}

.border-top {
    border-top: 1px solid var(--border-color);
}

.border-bottom {
    border-bottom: 1px solid var(--border-color);
}

.border-left {
    border-left: 1px solid var(--border-color);
}

.border-right {
    border-right: 1px solid var(--border-color);
}

/* 圆角 */
.rounded {
    border-radius: var(--border-radius-sm);
}

.rounded-md {
    border-radius: var(--border-radius-md);
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

/* 阴影 */
.shadow {
    box-shadow: var(--shadow);
}

/* 背景颜色 */
.bg-white {
    background-color: white;
}

.bg-gray {
    background-color: #f8f9fa;
}

.bg-primary {
    background-color: var(--primary-color);
}

/* 文本颜色 */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-light {
    color: var(--light-text);
}

.text-white {
    color: white;
}

.text-danger {
    color: #dc3545;
}

.text-success {
    color: #28a745;
}

.text-info {
    color: #17a2b8;
}

/* 宽度 */
.w-100 {
    width: 100%;
}

.w-75 {
    width: 75%;
}

.w-50 {
    width: 50%;
}

.w-25 {
    width: 25%;
}

/* 高度 */
.h-100 {
    height: 100%;
}

.h-auto {
    height: auto;
}

/* 行高 */
.lh-1 {
    line-height: 1;
}

.lh-1_2 {
    line-height: 1.2;
}

.lh-1_4 {
    line-height: 1.4;
}

.lh-1_6 {
    line-height: 1.6;
}

.lh-1_8 {
    line-height: 1.8;
}

/* 字母间距 */
.letter-spacing-1 {
    letter-spacing: 1px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* 文本变换 */
.text-uppercase {
    text-transform: uppercase;
}

.text-lowercase {
    text-transform: lowercase;
}

.text-capitalize {
    text-transform: capitalize;
}

/* 文本装饰 */
.text-decoration-none {
    text-decoration: none;
}

.text-decoration-underline {
    text-decoration: underline;
}

.text-decoration-line-through {
    text-decoration: line-through;
}

/* 列表样式 */
.list-unstyled {
    list-style: none;
}

.list-inline {
    list-style: none;
    padding-left: 0;
}

.list-inline li {
    display: inline-block;
}

/* 表格样式 */
.table-responsive {
    overflow-x: auto;
}

.table-striped tr:nth-child(even) {
    background-color: #f8f9fa;
}

.table-hover tr:hover {
    background-color: var(--hover-color);
}

.table-bordered {
    border: 1px solid var(--border-color);
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--border-color);
}

/* 表单样式 */
.form-inline {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-inline .form-group {
    margin-bottom: 0;
}

.form-inline .form-control {
    flex: 1;
}

/* 按钮组 */
.btn-group {
    display: flex;
    gap: 5px;
}

.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-top-left-radius: var(--border-radius-sm);
    border-bottom-left-radius: var(--border-radius-sm);
}

.btn-group .btn:last-child {
    border-top-right-radius: var(--border-radius-sm);
    border-bottom-right-radius: var(--border-radius-sm);
}

/* 输入组 */
.input-group {
    display: flex;
}

.input-group .form-control {
    border-radius: 0;
    border-right: none;
}

.input-group .input-group-append {
    display: flex;
}

.input-group .input-group-text {
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    border-left: none;
    border-top-right-radius: var(--border-radius-sm);
    border-bottom-right-radius: var(--border-radius-sm);
}

/* 卡片组 */
.card-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card-group .card {
    flex: 1;
    min-width: 250px;
}

/* 登录页面样式 */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--background-color);
    padding: 20px;
}

.login-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 400px;
    width: 100%;
}

.login-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

/* 媒体查询 */
@media (max-width: 992px) {
    .admin-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        padding: 10px 0;
    }
    
    .sidebar-header {
        padding: 0 20px 10px;
        margin-bottom: 10px;
    }
    
    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 20px;
    }
    
    .sidebar-nav li {
        margin-bottom: 0;
    }
    
    .sidebar-nav a {
        padding: 8px 12px;
        border-left: none;
        border-radius: var(--border-radius-sm);
    }
    
    .sidebar-nav a:hover {
        border-left-color: transparent;
    }
    
    .sidebar-nav a.active {
        border-left-color: transparent;
    }
    
    .main-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 15px;
    }
    
    .card {
        padding: 15px;
    }
    
    .table th,
    .table td {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .form-control {
        padding: 8px;
        font-size: 13px;
    }
}

/* 统计卡片样式 */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    min-width: 200px;
    background-color: var(--card-background);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--light-text);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}

.stat-orange {
    color: #f59e0b;
}

.stat-green {
    color: #10b981;
}

.stat-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.stat-link:hover .stat-number {
    opacity: 0.8;
    transition: opacity 0.3s;
}

/* 最新消息列表样式 */
.announcement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.announcement-item {
    display: block;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.3s;
    border-radius: var(--border-radius-sm);
    margin-bottom: 10px;
}

.announcement-item:hover {
    background-color: var(--hover-color);
    transform: translateX(5px);
    transition: all 0.3s;
}

.announcement-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-color);
}

.announcement-time {
    font-size: 14px;
    color: var(--light-text);
}

.announcement-list li:last-child .announcement-item {
    border-bottom: none;
    margin-bottom: 0;
}

/* 已读/未读标签样式 */
.read-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    background-color: #6c757d;
    color: white;
    white-space: nowrap;
}

.unread-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    background-color: #007bff;
    color: white;
    white-space: nowrap;
}

/* 消息提醒小红圈样式 */
.notification-badge {
    display: inline-block;
    min-width: 15px;
    min-height: 15px;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    background-color: #dc3545;
    color: white;
    text-align: center;
    line-height: 1;
    margin-left: 5px;
    vertical-align: middle;
}

/* 文件名标签样式 */
.file-name-tag {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
    border: 1px solid #dee2e6;
    color: #454545;
}
.files-container-box[data-rework="0"],
.files-container-box tr[data-rework="0"] {
    display: none;
}

/* 文件卡片列表容器 */
.file-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 0;
}

/* 文件卡片 */
.file-card {
    width: 200px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.file-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 文件卡片 - 文件名 */
.file-card-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 文件卡片 - 文件大小 */
.file-card-size {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 10px;
}

/* 文件卡片 - 图标/图片容器 */
.file-card-preview {
    width: 100%;
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 文件卡片 - 扩展名图标 */
.file-card-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

/* 文件卡片 - 图片 */
.file-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 文件卡片 - 操作按钮 */
.file-card-actions {
    display: flex;
    gap: 8px;
}

.file-card-btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.file-card-btn.preview {
    background-color: #007bff;
    color: #fff;
}

.file-card-btn.preview:hover {
    background-color: #0056b3;
}

.file-card-btn.preview:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.file-card-btn.download {
    background-color: #28a745;
    color: #fff;
}

.file-card-btn.download:hover {
    background-color: #1e7e34;
}