body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    padding: 20px 0;
}

.card {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 25px 30px;
    border: none;
}

.card-header h3 {
    font-weight: 700;
    margin: 0;
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.upload-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    border: 2px dashed #667eea;
    transition: all 0.3s ease;
}

.upload-section:hover {
    border-color: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.upload-section h5 {
    color: #2c3e50;
    font-weight: 600;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-bottom: 2px solid #667eea;
    font-weight: 600;
    color: #2c3e50;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: linear-gradient(90deg, #f5f7fa 0%, #e8ecf3 100%);
    transform: scale(1.01);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 153, 142, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 9, 121, 0.4);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

.file-list h5 {
    color: #2c3e50;
    font-weight: 600;
}

.badge {
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    font-weight: 600;
}

.badge.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.alert-info {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    border: none;
    border-radius: 15px;
}

.card-footer {
    background: #f8f9fa;
    border-top: 2px solid #e9ecef;
    padding: 15px;
}

/* 移动端优化 */
@media (max-width: 768px) {
    body {
        padding: 10px 0;
    }
    
    .card {
        border-radius: 15px;
        margin: 0 5px;
    }
    
    .card-header {
        padding: 15px 20px;
    }
    
    .card-header h3 {
        font-size: 1.3rem;
    }
    
    .upload-section {
        padding: 15px !important;
    }
    
    .table {
        font-size: 0.85rem;
    }
    
    .btn-sm {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .file-icon {
        font-size: 1.2rem !important;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
