/* Basic CSS reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.5;
}

#root {
    min-height: 100vh;
}

/* Custom animations and utilities */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.animate-slideIn {
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-spin-slow {
    animation: spin-slow 3s linear infinite;
}

.animate-shimmer {
    animation: shimmer 2s infinite;
}

/* Scale utility */
.scale-102 {
    transform: scale(1.02);
}

/* Line clamp utilities for text truncation */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================================================
   VIRTUAL DIFF VIEWER - FONT SIZE CONTROL
   ============================================================================= */

/* Base font size for diff viewer (default: 14px) */
.diff-viewer-container {
  font-size: 14px;
}

/* Font size variations */
.diff-viewer-font-12 {
  font-size: 12px;
}

.diff-viewer-font-14 {
  font-size: 14px;
}

.diff-viewer-font-16 {
  font-size: 16px;
}

.diff-viewer-font-18 {
  font-size: 18px;
}

.diff-viewer-font-20 {
  font-size: 20px;
}
