/* Text Diff styles */
.diff-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.diff-panel { display: flex; flex-direction: column; }
.code-textarea { height: 200px; font-family: 'SF Mono', Monaco, monospace; font-size: 13px; }
.diff-actions { display: flex; gap: 8px; margin: 16px 0; }
.diff-output { background: var(--bg-secondary, #141414); border-radius: 12px; padding: 16px; }
.diff-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.diff-stats { display: flex; gap: 16px; }
.stat { font-size: 13px; padding: 4px 8px; border-radius: 4px; }
.stat.added { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.stat.removed { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.stat.unchanged { background: rgba(156, 163, 175, 0.2); color: #9ca3af; }
.diff-result { font-family: 'SF Mono', Monaco, monospace; font-size: 13px; overflow-x: auto; }
.diff-line { display: flex; padding: 2px 0; border-radius: 2px; }
.diff-line.added { background: rgba(16, 185, 129, 0.15); }
.diff-line.removed { background: rgba(239, 68, 68, 0.15); }
.line-num { width: 40px; text-align: right; padding-right: 8px; color: var(--text-disabled, #6b7280); user-select: none; }
.line-prefix { width: 20px; text-align: center; font-weight: bold; }
.diff-line.added .line-prefix { color: #10b981; }
.diff-line.removed .line-prefix { color: #ef4444; }
.line-content { flex: 1; white-space: pre-wrap; word-break: break-all; }
@media (max-width: 768px) { .diff-inputs { grid-template-columns: 1fr; } }
