/**
 * Styling for the comparison view between original AI content and user edits
 */

.diff-container {
    font-family: monospace;
    line-height: 1.5;
    font-size: 0.9rem;
    background-color: #fafafa;
    border-radius: 0.25rem;
}

.diff-legend {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1rem;
}

.diff-output {
    padding: 0.5rem;
}

.diff-add {
    background-color: #e6ffed !important;
    border-radius: 0.15rem;
    padding: 0 2px;
    color: #28a745;
}

.diff-delete {
    background-color: #ffeef0 !important;
    border-radius: 0.15rem;
    padding: 0 2px;
    text-decoration: line-through;
    color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .diff-container {
        font-size: 0.8rem;
    }
    
    .diff-legend {
        flex-direction: column;
        gap: 0.2rem;
    }
}