/* ==========================================================================
   Faz Agilizar CSV Migration - Modern Design System & Styles
   ========================================================================== */

:root {
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

*, ::before, ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #334155;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: var(--font-sans);
    color-scheme: dark;
}

body {
    margin: 0;
    line-height: inherit;
}

/* Background & Utility tokens */
.bg-slate-950 { background-color: #020617; }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-900\/60 { background-color: rgba(15, 23, 42, 0.6); }
.bg-slate-900\/80 { background-color: rgba(15, 23, 42, 0.8); }
.bg-slate-900\/90 { background-color: rgba(15, 23, 42, 0.9); }
.bg-slate-950\/70 { background-color: rgba(2, 6, 23, 0.7); }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-800\/60 { background-color: rgba(30, 41, 59, 0.6); }
.bg-slate-800\/80 { background-color: rgba(30, 41, 59, 0.8); }
.bg-slate-700 { background-color: #334155; }

.hover\:bg-slate-700:hover { background-color: #334155; }
.hover\:bg-slate-700\/80:hover { background-color: rgba(33, 41, 59, 0.8); }

.border-slate-800 { border-color: #1e293b; }
.border-slate-800\/60 { border-color: rgba(30, 41, 59, 0.6); }
.border-slate-800\/80 { border-color: rgba(30, 41, 59, 0.8); }
.border-slate-700 { border-color: #334155; }
.border-slate-700\/50 { border-color: rgba(51, 65, 85, 0.5); }
.border-slate-700\/60 { border-color: rgba(51, 65, 85, 0.6); }
.border-slate-700\/80 { border-color: rgba(51, 65, 85, 0.8); }

.text-white { color: #ffffff; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }

/* Indigo / Primary accents */
.bg-indigo-500 { background-color: #6366f1; }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-indigo-950 { background-color: #1e1b4b; }
.bg-indigo-950\/60 { background-color: rgba(30, 27, 75, 0.6); }
.bg-indigo-500\/10 { background-color: rgba(99, 102, 241, 0.1); }
.bg-indigo-500\/20 { background-color: rgba(99, 102, 241, 0.2); }
.border-indigo-500 { border-color: #6366f1; }
.border-indigo-500\/20 { border-color: rgba(99, 102, 241, 0.2); }
.border-indigo-500\/30 { border-color: rgba(99, 102, 241, 0.3); }
.border-indigo-500\/40 { border-color: rgba(99, 102, 241, 0.4); }
.border-indigo-700\/50 { border-color: rgba(67, 56, 202, 0.5); }
.text-indigo-200 { color: #c7d2fe; }
.text-indigo-300 { color: #a5b4fc; }
.text-indigo-400 { color: #818cf8; }
.hover\:border-indigo-500\/50:hover { border-color: rgba(99, 102, 241, 0.5); }
.hover\:bg-indigo-900\/60:hover { background-color: rgba(49, 46, 129, 0.6); }

/* Cyan / Emerald / Amber / Violet / Pink / Rose accents */
.bg-cyan-500 { background-color: #06b6d4; }
.bg-cyan-950 { background-color: #083344; }
.bg-cyan-950\/60 { background-color: rgba(8, 51, 68, 0.6); }
.border-cyan-500\/40 { border-color: rgba(6, 182, 212, 0.4); }
.border-cyan-700\/50 { border-color: rgba(14, 116, 144, 0.5); }
.text-cyan-300 { color: #67e8f9; }
.text-cyan-400 { color: #22d3ee; }
.hover\:border-cyan-500\/50:hover { border-color: rgba(6, 182, 212, 0.5); }

.bg-emerald-500 { background-color: #10b981; }
.bg-emerald-600 { background-color: #059669; }
.bg-emerald-950\/40 { background-color: rgba(6, 78, 59, 0.4); }
.bg-emerald-950\/60 { background-color: rgba(6, 78, 59, 0.6); }
.border-emerald-500 { border-color: #10b981; }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
.border-emerald-500\/40 { border-color: rgba(16, 185, 129, 0.4); }
.border-emerald-700\/50 { border-color: rgba(4, 120, 87, 0.5); }
.text-emerald-200 { color: #a7f3d0; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.hover\:border-emerald-500\/50:hover { border-color: rgba(16, 185, 129, 0.5); }

.bg-amber-500 { background-color: #f59e0b; }
.bg-amber-950 { background-color: #451a03; }
.bg-amber-950\/60 { background-color: rgba(69, 26, 3, 0.6); }
.border-amber-500\/40 { border-color: rgba(245, 158, 11, 0.4); }
.border-amber-700\/50 { border-color: rgba(180, 83, 9, 0.5); }
.text-amber-300 { color: #fcd34d; }
.hover\:border-amber-500\/50:hover { border-color: rgba(245, 158, 11, 0.5); }

.bg-violet-500 { background-color: #8b5cf6; }
.bg-violet-950 { background-color: #2e1065; }
.bg-violet-950\/60 { background-color: rgba(46, 16, 101, 0.6); }
.border-violet-500\/40 { border-color: rgba(139, 92, 246, 0.4); }
.border-violet-700\/50 { border-color: rgba(109, 40, 217, 0.5); }
.text-violet-300 { color: #c4b5fd; }
.hover\:border-violet-500\/50:hover { border-color: rgba(139, 92, 246, 0.5); }

.bg-pink-500 { background-color: #ec4899; }
.bg-pink-950 { background-color: #500724; }
.bg-pink-950\/60 { background-color: rgba(80, 7, 36, 0.6); }
.border-pink-500\/40 { border-color: rgba(236, 72, 153, 0.4); }
.border-pink-700\/50 { border-color: rgba(190, 24, 93, 0.5); }
.text-pink-300 { color: #f472b6; }
.hover\:border-pink-500\/50:hover { border-color: rgba(236, 72, 153, 0.5); }

.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-950 { background-color: #172554; }
.bg-blue-950\/60 { background-color: rgba(23, 37, 84, 0.6); }
.border-blue-500\/40 { border-color: rgba(59, 130, 246, 0.4); }
.border-blue-700\/50 { border-color: rgba(29, 78, 216, 0.5); }
.text-blue-300 { color: #93c5fd; }
.hover\:border-blue-500\/50:hover { border-color: rgba(59, 130, 246, 0.5); }

.bg-rose-500 { background-color: #f43f5e; }
.bg-rose-950 { background-color: #4c0519; }
.bg-rose-950\/40 { background-color: rgba(76, 5, 25, 0.4); }
.bg-rose-950\/60 { background-color: rgba(76, 5, 25, 0.6); }
.border-rose-500\/40 { border-color: rgba(244, 63, 94, 0.4); }
.border-rose-700\/50 { border-color: rgba(190, 18, 60, 0.5); }
.text-rose-300 { color: #fda4af; }
.text-rose-400 { color: #fb7185; }
.hover\:border-rose-500\/50:hover { border-color: rgba(244, 63, 94, 0.5); }

/* Gradients */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-tr { background-image: linear-gradient(to top right, var(--tw-gradient-stops)); }
.from-indigo-600 { --tw-gradient-from: #4f46e5; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(79, 70, 229, 0)); }
.from-cyan-500 { --tw-gradient-from: #06b6d4; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(6, 182, 212, 0)); }
.from-emerald-600 { --tw-gradient-from: #059669; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(5, 150, 105, 0)); }
.via-indigo-500 { --tw-gradient-stops: var(--tw-gradient-from), #6366f1, var(--tw-gradient-to, rgba(99, 102, 241, 0)); }
.via-teal-600 { --tw-gradient-stops: var(--tw-gradient-from), #0d9488, var(--tw-gradient-to, rgba(13, 148, 136, 0)); }
.to-indigo-500 { --tw-gradient-to: #6366f1; }
.to-cyan-400 { --tw-gradient-to: #22d3ee; }
.to-cyan-600 { --tw-gradient-to: #0891b2; }
.to-purple-500 { --tw-gradient-to: #a855f7; }

/* Layout & Flex utilities */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 640px) {
    .sm\:flex { display: flex; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:items-center { align-items: center; }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:flex-row { flex-direction: row; }
    .lg\:items-center { align-items: center; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:border-l { border-left-width: 1px; }
    .lg\:pl-6 { padding-left: 1.5rem; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* Sizing & Spacing */
.w-full { width: 100%; }
.w-2 { width: 0.5rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-96 { width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-7xl { max-width: 80rem; }

.h-0\.5 { height: 0.125rem; }
.h-1 { height: 0.25rem; }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-96 { height: 24rem; }
.h-full { height: 100%; }

.p-0\.5 { padding: 0.125rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-4 { padding-right: 1rem; }
.pr-10 { padding-right: 2.5rem; }

.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-auto { margin-top: auto; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.ml-auto { margin-left: auto; }
.pt-1 { padding-top: 0.25rem; }
.pt-6 { padding-top: 1.5rem; }

.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-mono { font-family: var(--font-mono); }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }

/* Borders & Rounded */
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-\[10px\] { border-radius: 10px; }
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }

/* Effects & Shadows */
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }
.blur-3xl { filter: blur(64px); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.4); }
.shadow-indigo-500\/20 { box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2); }
.shadow-indigo-600\/30 { box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3); }

/* Animation & Transitions */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeIn 0.3s ease-out forwards; }

/* Positioning */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.-top-40 { top: -10rem; }
.-right-40 { right: -10rem; }
.-left-40 { left: -10rem; }
.-bottom-40 { bottom: -10rem; }
.top-1\/3 { top: 33.333333%; }
.right-1\/3 { right: 33.333333%; }
.z-40 { z-index: 40; }
.-z-10 { z-index: -10; }
.overflow-hidden { overflow: hidden; }
.pointer-events-none { pointer-events: none; }
