@tailwind base; @tailwind components; @tailwind utilities; @layer base { :root { color-scheme: dark; } body { @apply bg-surface-0 text-gray-100; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* Custom scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { @apply bg-surface-1; } ::-webkit-scrollbar-thumb { @apply bg-surface-4 rounded-full; } ::-webkit-scrollbar-thumb:hover { @apply bg-fracta-600; } } @layer components { .btn { @apply inline-flex items-center justify-center gap-2 px-4 py-2 font-medium rounded-lg transition-all duration-150 focus:outline-none focus:ring-2 focus:ring-fracta-500/50 disabled:opacity-50 disabled:cursor-not-allowed; } .btn-primary { @apply btn bg-fracta-600 hover:bg-fracta-500 text-white; } .btn-secondary { @apply btn bg-surface-3 hover:bg-surface-4 text-gray-200; } .btn-ghost { @apply btn bg-transparent hover:bg-surface-3 text-gray-300; } .btn-danger { @apply btn bg-red-600/20 hover:bg-red-600/30 text-red-400 border border-red-600/30; } .input { @apply w-full px-3 py-2 bg-surface-2 border border-surface-4 rounded-lg text-gray-100 placeholder-gray-500 focus:outline-none focus:border-fracta-500 focus:ring-1 focus:ring-fracta-500/30 transition-colors; } .card { @apply bg-surface-1 border border-surface-3 rounded-xl overflow-hidden; } }