        /* 基础样式重置与全局设置 */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            margin: 0;
            padding: 0;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4efe9 100%);
            color: #333;
            min-height: 100vh;
            line-height: 1.6;
        }
        
        /* 主容器 */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 15px;
        }
        
        /* 头部标题区域 - 高度降低 */
        .header {
            text-align: center;
            margin-bottom: 20px;
            padding: 15px;
            background: linear-gradient(145deg, #ffffff, #f0f4ff);
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
        }
        
        h1 {
            font-size: 24px;
            font-weight: 700;
            color: #2c3e50;
            margin: 8px 0 5px 0;
        }
        
        /* 更新日志区域 - 高度降低 */
        .changelog {
            background: rgba(255, 255, 255, 0.85);
            border-radius: 10px;
            padding: 15px;
            margin: 15px 0;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
            border-left: 3px solid #007bff;
        }
        
        .changelog-section {
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px dashed #e0e0e0;
        }
        
        .changelog-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .changelog-section h2 {
            font-size: 14px;
            margin: 0;
            color: #2c3e50;
            font-weight: 500;
            line-height: 1.4;
        }
        
        .changelog-section h2::before {
            content: '🔄';
            margin-right: 6px;
            font-size: 12px;
        }
        
        /* 文件上传与按钮容器 */
        .actions-panel {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
        }
        
        .file-upload {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            align-items: center;
            margin: 15px 0;
        }
        
        /* 文件上传区域单独样式 */
        .upload-container {
            position: relative;
            display: inline-block;
        }
        
        /* 隐藏原始文件输入 */
        .file-upload-input {
            position: absolute;
            opacity: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
            z-index: 2;
        }
        
        /* 上传按钮标签 */
        .file-upload-label {
            background: linear-gradient(to bottom, #007bff, #0069d9);
            color: #fff;
            padding: 10px 18px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            box-shadow: 0 3px 6px rgba(0, 123, 255, 0.25);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            font-size: 14px;
        }
        
        .file-upload-label:hover {
            background: linear-gradient(to bottom, #0069d9, #0056b3);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 123, 255, 0.35);
        }
        
        .file-upload-label:active {
            transform: translateY(0);
        }
        
        .file-upload-label::before {
            content: '📁';
            margin-right: 6px;
            font-size: 14px;
        }
        
        /* 按钮通用样式 */
        .action-button {
            padding: 10px 18px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
            font-size: 14px;
        }
        
        .action-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }
        
        .action-button:active {
            transform: translateY(0);
        }
        
        /* 导出Excel按钮 */
        #outexcel {
            background: linear-gradient(to bottom, #28a745, #218838);
            color: white;
        }
        
        #outexcel::before {
            content: '📊';
            margin-right: 6px;
            font-size: 14px;
        }

        /* 粉色风格 */
#outpng {
    background: linear-gradient(to bottom, #e83e8c, #d62a7a);
    color: white;
}

        #outpng::before {
    content: '📸'; /* 相机图标 */
    margin-right: 6px;
    font-size: 14px;
}
        /* 排序配置按钮 */
        #paixupz {
            background: linear-gradient(to bottom, #6c757d, #5a6268);
            color: white;
        }
        
        #paixupz::before {
            content: '🔧';
            margin-right: 6px;
            font-size: 14px;
        }
        
        /* 导出ZIP按钮 */
        #outzip {
            background: linear-gradient(to bottom, #17a2b8, #138496);
            color: white;
        }
        
        #outzip::before {
            content: '🗂️';
            margin-right: 6px;
            font-size: 14px;
        }
        
        /* 餐费计算按钮 */
        #outCF {
            background: linear-gradient(to bottom, #b5651d, #8d4b15);
            color: white;
        }
        
        #outCF::before {
            content: '🍱';
            margin-right: 6px;
            font-size: 14px;
        }
        
/* 结果区域 - 移除边框和圆角 */
#result {
    background: white;
    padding: 0;
    margin: 20px -15px 0 -15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    min-height: 200px;
    border-radius: 0;
    overflow-x: auto; /* 保留横向滚动条 */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
        
        /* 上传状态信息 */
        #uploadStatus {
            text-align: center;
            margin: 15px auto;
            padding: 12px;
            border-radius: 6px;
            background-color: #f8f9fa;
            max-width: 80%;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            font-size: 14px;
        }
        
        /* 表格样式 - 移除圆角和边框，优化多列显示 */
        table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed; /* 添加这个属性，让所有列等宽 */
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    width: 200px; /* 或者设置固定宽度，比如 width: 100px; */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
        
        table th {
            background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
            font-weight: 600;
            color: #495057;
            position: sticky;
            top: 0;
            z-index: 10;
        }
        
        table tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        
        table tr:hover {
            background-color: #f0f7ff;
        }
        
        /* 汇总行 */
        .summary {
            background-color: #d4edda;
            font-weight: bold;
        }
        
        /* 状态单元格样式 */
        td[data-status="缺卡"] {
            background-color: #ffcccb;
        }

        td[data-status="节假日无记录"] {
            background-color: #e9ecef;
        }

        td[data-status="无签到或签退"],
        td[data-status="迟到"],
        td[data-status="早退"] {
            background-color: #fff3cd;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .file-upload {
                flex-direction: column;
            }
            
            .action-button, .upload-container {
                width: 100%;
            }
            
            .header {
                padding: 12px;
            }
            
            h1 {
                font-size: 20px;
            }
            
            .actions-panel {
                padding: 15px;
            }
            
            .changelog {
                padding: 12px;
            }
        }