@import "tailwindcss"; @plugin "daisyui"; /* DaisyUI theme configuration */ @theme { --dui-themes: light, dark, cupcake, corporate; } /* Custom scrollbar styles */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.2); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.3); } /* Dark mode scrollbar */ @media (prefers-color-scheme: dark) { ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); } ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); } } /* Smooth transitions */ .btn, .card { transition: all 0.2s ease-in-out; } .card:hover { transform: translateY(-2px); } /* Animations */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .stats { animation: fadeInUp 0.5s ease-out; } /* Radix UI Dialog/AlertDialog overlays and content */ @keyframes overlayShow { from { opacity: 0; } to { opacity: 1; } } @keyframes contentShow { from { opacity: 0; transform: translate(-50%, -48%) scale(0.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } } /* Dialog/AlertDialog Overlay */ [data-radix-dialog-overlay], [data-radix-alert-dialog-overlay] { background-color: rgba(0, 0, 0, 0.5); position: fixed; inset: 0; animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1); z-index: 50; } /* Dialog/AlertDialog Content */ [data-radix-dialog-content], [data-radix-alert-dialog-content] { background-color: white; border-radius: 0.5rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90vw; max-width: 450px; max-height: 85vh; padding: 1.5rem; animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1); z-index: 51; } [data-radix-dialog-content]:focus, [data-radix-alert-dialog-content]:focus { outline: none; } /* Dark mode support for dialogs */ @media (prefers-color-scheme: dark) { [data-radix-dialog-content], [data-radix-alert-dialog-content] { background-color: #1f2937; color: white; } }