/* 差异对比工具样式 */
.back-link {
    margin-bottom: 20px;
}

.back-link a {
    color: #2196F3;
    text-decoration: none;
    font-size: 14px;
}

.input-section {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-panel {
    flex: 1;
}

.input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.input-actions {
    display: flex;
    gap: 10px;
}

textarea {
    width: 100%;
    height: 300px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
    font-size: 14px;
    line-height: 1.6;
    background-color: #f8f9fa;
}

textarea:focus {
    outline: none;
    border-color: #6a11cb;
}

.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.diff-options {
    display: flex;
    gap: 20px;
}

.diff-options label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.main-actions {
    display: flex;
    gap: 10px;
}

.result-section {
    margin-top: 30px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.view-options {
    display: flex;
    gap: 10px;
}

.view-btn {
    background-color: #f0f0f0;
    color: #666;
    border: 1px solid #ddd;
}

.view-btn.active {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border-color: transparent;
}

#diffResult {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    overflow-x: auto;
    background-color: white;
}

.d2h-wrapper {
    margin: 0;
}

@media (max-width: 768px) {
    .input-section {
        flex-direction: column;
    }

    .action-bar {
        flex-direction: column;
        gap: 15px;
    }

    .diff-options {
        flex-direction: column;
        gap: 10px;
    }
} 