body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #f0f4f8, #e0e7ff);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
.container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}
h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}
.input-container {
    margin: 20px 0;
    position: relative;
}
label {
    display: block;
    color: #555;
    margin-bottom: 8px;
    font-size: 14px;
}
input[type="file"] {
    width: 95%;
    padding: 10px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.3s;
}
input[type="file"]:hover {
    border-color: #888;
}
.tiaoma-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 8px;
    transition: background 0.3s;
    transition: background 0.3s, transform 0.2s;
}
.tiaoma-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}
.github-btn {
    background: #0366d6;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 8px;
    transition: background 0.3s;
    transition: background 0.3s, transform 0.2s;
}
.github-btn:hover {
    background: #005cc5;
    transform: translateY(-2px);
}
.clear-btn {
    background: #ff4444;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 8px;
    transition: background 0.3s;
}
.clear-btn:hover {
    background: #cc0000;
}
.button-group {
    display: flex;
    gap: 10px;
}
.action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.merge-btn {
    background: #4CAF50;
    color: white;
}
.merge-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}
.clear-result-btn {
    background: #ff9800;
    color: white;
}
.clear-result-btn:hover {
    background: #e68900;
    transform: translateY(-2px);
}
.action-btn:active {
    transform: translateY(0);
}
#status {
    margin-top: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    min-height: 20px;
}
@media (max-width: 600px) {
    .container {
        margin: 20px;
        padding: 20px;
    }
    .button-group {
        flex-direction: column;
        gap: 15px;
    }
}
