/* 表格合并工具样式 */
.file-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    margin-bottom: 10px;
}

.file-list {
    margin-top: 10px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e9f7fe;
    padding: 8px 12px;
    margin-bottom: 5px;
    border-radius: 4px;
}

.file-name {
    flex-grow: 1;
    margin-right: 10px;
}

.remove-btn {
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
}

.submit-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #45a049;
}

.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.progress-container {
    margin-top: 20px;
}

.progress-bar {
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    transition: width 0.3s;
}

.status-message {
    text-align: center;
    font-weight: bold;
}

.result-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #e8f5e9;
    border-radius: 8px;
}

.result-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.result-link {
    display: block;
    margin: 5px 0;
    color: #1976d2;
    text-decoration: none;
}

.result-link:hover {
    text-decoration: underline;
}

.error-message {
    color: #d32f2f;
    background-color: #ffebee;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.sample-file-icon {
    font-size: 48px;
    margin-bottom: 10px;
    color: #409EFF;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .upload-area {
        flex-direction: column;
    }
    
    .upload-box {
        width: 100%;
        margin-bottom: 20px;
    }
}