@tailwind base; @tailwind components; @tailwind utilities; /* Custom Scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; } ::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #a8a8a8; } .dark ::-webkit-scrollbar-track { background: #1f2937; } .dark ::-webkit-scrollbar-thumb { background: #4b5563; } .dark ::-webkit-scrollbar-thumb:hover { background: #6b7280; } /* Glassmorphism */ .glass-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } .dark .glass-card { background: rgba(31, 41, 55, 0.7); } /* Animations */ @keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .animate-slide-in { animation: slideIn 0.3s ease-out forwards; } /* Checkbox Animation */ .checkbox-wrapper input:checked + div { background-color: #10b981; border-color: #10b981; } .checkbox-wrapper input:checked + div svg { display: block; } /* Task Item Hover Effects */ .task-item { transition: all 0.3s ease; } .task-item:hover { transform: translateX(4px); } /* Modal Animation */ #modal-content { transition: all 0.3s ease; } #task-modal.show #modal-content { transform: scale(1); opacity: 1; } /* Priority Indicators */ .priority-high { border-left: 4px solid #ef4444; } .priority-medium { border-left: 4px solid #f59e0b; } .priority-low { border-left: 4px solid #10b981; } /* Focus Ring Pulse */ .focus-ring { animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite; } @keyframes pulse-ring { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(16, 185, 129, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } } /* Custom Selection */ ::selection { background-color: #10b981; color: white; } /* Smooth Theme Transition */ * { transition-property: background-color, border-color, color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } /* Prevent transition on page load */ .preload * { transition: none !important; }