* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-box {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    padding: 48px;
    width: 100%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.login-box h1 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #333;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.btn-default {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.btn-default:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.header {
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.logo:hover {
    transform: translateY(-2px);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: all 0.3s;
}

.user-info:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.main-wrapper {
    display: flex;
    min-height: calc(100vh - 80px);
}

.sidebar {
    width: 240px;
    background: #ffffff;
    color: #333;
    padding: 20px 0;
    box-shadow: 2px 0 8px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid #e9ecef;
    overflow: hidden;
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar-toggle {
    position: absolute;
    right: 0;
    top: 20px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    transform: translateX(50%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.sidebar-toggle:hover {
    transform: translateX(50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.toggle-icon {
    color: white;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s;
}

.sidebar.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.sidebar.collapsed .nav-section-title {
    display: none;
}

.sidebar.collapsed .sidebar-nav a {
    padding: 14px 0;
    justify-content: center;
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar.collapsed .nav-text {
    display: none;
}

.sidebar.collapsed .sidebar-nav a::before {
    content: attr(title);
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 100;
}

.sidebar.collapsed .sidebar-nav a:hover::before {
    opacity: 1;
}

.sidebar.collapsed .sidebar-nav a:hover {
    background: #f8f9ff;
    color: #667eea;
    border-left-color: #667eea;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 13px;
    font-weight: 500;
}

.nav-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.nav-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #f8f9ff;
    color: #667eea;
    border-left-color: #667eea;
    transform: translateX(4px);
}

.nav-section {
    margin-bottom: 12px;
}

.nav-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
}

.nav-section-header:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

.nav-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #666;
    text-transform: none;
    letter-spacing: 0.5px;
}

.nav-section-arrow {
    font-size: 10px;
    color: #999;
    transition: transform 0.3s ease;
}

.nav-section.collapsed .nav-section-arrow {
    transform: rotate(-90deg);
}

.nav-section-content {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 1000px;
    opacity: 1;
}

.nav-section.collapsed .nav-section-content {
    max-height: 0;
    opacity: 0;
}

/* 快速导航特殊样式 */
.nav-section-quick {
    margin-bottom: 20px;
    padding-top: 8px;
}

.nav-section-quick .nav-section-content {
    max-height: none;
    opacity: 1;
}

.content {
    flex: 1;
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.page-header h2 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    margin: 0;
}

.page-header h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -17px;
    width: 40px;
    height: 3px;
    background: #667eea;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.table-container {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

table th,
table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
}

table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

table tr {
    transition: all 0.3s;
}

table tr:hover {
    background: #f8f9ff;
    transform: translateX(4px);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.badge-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.badge-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.badge-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.badge-info {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.badge-secondary {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

a.badge {
    text-decoration: none;
}

a.badge:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.alert {
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 24px;
    border-left: 4px solid;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
    border-left-color: #28a745;
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-left-color: #dc3545;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-left-color: #dc3545;
}

.form-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.form-row .form-group {
    flex: 1;
    min-width: 220px;
}

.file-upload {
    border: 2px dashed #e9ecef;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
}

.file-upload:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.1);
}

.file-upload input {
    display: none;
}

.file-upload p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

@media (max-width: 768px) {
    .main-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .sidebar-nav {
        display: flex;
        overflow-x: auto;
        gap: 6px;
        padding: 0 12px;
    }
    
    .nav-section {
        display: contents;
    }
    
    .nav-section-header,
    .nav-section-title,
    .nav-section-arrow,
    .nav-section-content {
        display: contents;
    }
    
    .nav-section-quick {
        display: contents;
    }
    
    .sidebar-nav a {
        padding: 10px 16px;
        white-space: nowrap;
        border-radius: 20px;
        border-left: none;
        font-size: 13px;
        gap: 8px;
    }
    
    .nav-icon {
        font-size: 16px;
    }
    
    .sidebar-nav a:hover,
    .sidebar-nav a.active {
        transform: translateY(-1px);
        background: #f8f9ff;
    }
    
    .content {
        padding: 16px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 12px;
    }
    
    .page-header h2 {
        font-size: 20px;
    }
    
    .card {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .login-box {
        padding: 24px;
    }
    
    .header-inner {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 16px;
        text-align: center;
    }
    
    .header-right {
        gap: 16px;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 发布文件页面样式 */
.permission-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #e9ecef;
}

.permission-section h4 {
    margin: 0 0 16px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.checkbox-item:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: #495057;
}

/* 人员选择部分的特殊样式 */
.permission-section.users-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e9ecef;
}

/* 部门网格布局 */
.permission-section.users-section .departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* 部门分组样式 */
.permission-section.users-section .department-item {
    display: block;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.permission-section.users-section .department-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

/* 部门头部 */
.permission-section.users-section .department-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.department-name {
    font-weight: 700;
    color: #000000;
    font-size: 14px;
    background: #f8f9ff;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    border-left: 3px solid #667eea;
}

/* 用户列表 */
.permission-section.users-section .user-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 用户复选框 */
.permission-section.users-section .user-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 13px;
}

.permission-section.users-section .user-checkbox:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.permission-section.users-section .user-checkbox input {
    display: inline-block;
    margin: 0;
    cursor: pointer;
    width: auto;
    accent-color: #667eea;
}

.permission-section.users-section .user-checkbox label {
    margin: 0;
    cursor: pointer;
    color: #495057;
    font-size: 13px;
}

.permission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.permission-header h4 {
    margin: 0;
}

.select-all-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-all-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

/* 按钮组样式 */
.btn-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e9ecef;
}

.btn-group .btn {
    flex: 1;
    max-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 表单组间距调整 */
.form-group {
    margin-bottom: 28px;
}

.form-group:last-child {
    margin-bottom: 0;
}

/* 附件上传区域美化 */
#fileList {
    margin-top: 16px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.file-item:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.file-item span {
    font-size: 14px;
    color: #495057;
}

.file-item button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-item button:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .checkbox-group {
        gap: 12px;
    }
    
    .checkbox-item {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        max-width: 100%;
    }
}

/* 首页仪表盘样式 */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    color: #495057;
    font-size: 18px;
    font-weight: 600;
}

.card-body {
    padding: 24px;
}

.info-grid {
    display: grid;
    gap: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

.info-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
}

.info-value {
    color: #495057;
    font-size: 14px;
    font-weight: 500;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.action-buttons .btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    text-align: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-buttons .btn:hover {
    transform: translateY(-3px);
}

.action-buttons .icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.action-buttons .btn span {
    font-size: 14px;
    font-weight: 500;
}

/* 按钮颜色扩展 */
.btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

.btn-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(23, 162, 184, 0.4);
}

/* 响应式仪表盘 */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-buttons .btn {
        padding: 16px 12px;
    }
    
    .action-buttons .icon {
        font-size: 20px;
    }
    
    .action-buttons .btn span {
        font-size: 13px;
    }
}

/* 文件列表页面样式 */
.file-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.file-table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
}

.file-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.file-row {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-row:hover {
    background: #f8f9ff;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.file-title {
    position: relative;
    text-align: center !important;
    display: block;
}

.file-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    text-align: center !important;
    margin: 0 auto;
    max-width: 100%;
}

.file-link:hover {
    color: #764ba2;
    transform: translateY(-1px);
    text-decoration: underline;
}

.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.action-buttons .btn {
    flex: 1;
    min-width: 60px;
}

/* 空状态样式 */
.empty-row {
    height: 300px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h4 {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 18px;
    font-weight: 600;
}

.empty-state p {
    margin: 0 0 24px 0;
    color: #999;
    font-size: 14px;
}

/* 表格响应式 */
@media (max-width: 768px) {
    .file-table {
        font-size: 13px;
    }
    
    .file-table th,
    .file-table td {
        padding: 12px 16px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    
    .action-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .empty-row {
        height: 200px;
    }
    
    .empty-state {
        padding: 40px 16px;
    }
    
    .empty-icon {
        font-size: 32px;
    }
}

