@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); :root { --primary: #6366f1; --primary-dark: #4f46e5; --secondary: #8b5cf6; --dark: #1f2937; --darker: #111827; --light: #f9fafb; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; } body { transition: background-color 0.5s ease; } /* Animation classes */ .animate-in { animation: fadeInUp 0.5s ease-out forwards; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Card hover effect */ .card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; } .card-hover:hover { transform: translateY(-5px); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); } /* Button animations */ .btn-animate { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .btn-animate:hover { transform: translateY(-2px); } /* Smooth transitions for dark mode */ .transition-colors { transition-property: background-color, border-color, color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; } /* Scrollbar styling */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); } .dark ::-webkit-scrollbar-track { background: #374151; } .dark ::-webkit-scrollbar-thumb { background: var(--secondary); } .dark ::-webkit-scrollbar-thumb:hover { background: #7c3aed; } /* Tooltip styles */ .tooltip { position: relative; display: inline-block; } .tooltip .tooltip-text { visibility: hidden; width: 120px; background-color: #333; color: #fff; text-align: center; border-radius: 6px; padding: 5px; position: absolute; z-index: 1; bottom: 125%; left: 50%; margin-left: -60px; opacity: 0; transition: opacity 0.3s; } .tooltip:hover .tooltip-text { visibility: visible; opacity: 1; } /* Responsive table styles */ .responsive-table { width: 100%; border-collapse: collapse; } .responsive-table th, .responsive-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #e5e7eb; } .responsive-table th { background-color: #f9fafb; font-weight: 600; } .dark .responsive-table th { background-color: #1f2937; } .dark .responsive-table td, .dark .responsive-table th { border-bottom: 1px solid #374151; } @media (max-width: 768px) { .responsive-table { display: block; overflow-x: auto; } } /* Pulse animation for loading states */ @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; } /* Custom bounce animation */ @keyframes bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); } 50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); } } .animate-bounce { animation: bounce 1s infinite; } /* Custom transition for modal */ .modal-enter { opacity: 0; transform: translateY(-20px); } .modal-enter-active { opacity: 1; transform: translateY(0); transition: opacity 300ms, transform 300ms; } .modal-exit { opacity: 1; } .modal-exit-active { opacity: 0; transform: translateY(-20px); transition: opacity 300ms, transform 300ms; } /* Responsive text sizes */ @media (max-width: 640px) { .text-responsive { font-size: 1.25rem; /* 20px */ line-height: 1.75rem; /* 28px */ } } @media (min-width: 640px) { .text-responsive { font-size: 1.5rem; /* 24px */ line-height: 2rem; /* 32px */ } } @media (min-width: 1024px) { .text-responsive { font-size: 2.25rem; /* 36px */ line-height: 2.5rem; /* 40px */ } }