Spaces:
Running
Running
File size: 6,778 Bytes
e3f3658 b270773 5bd7934 bfb9f2d b270773 bfb9f2d 5bd7934 bfb9f2d b270773 bfb9f2d 5bd7934 b270773 bfb9f2d 5bd7934 bfb9f2d b270773 5bd7934 b270773 bfb9f2d b270773 bfb9f2d e3f3658 bfb9f2d e3f3658 bfb9f2d e3f3658 bfb9f2d e3f3658 bfb9f2d e3f3658 bfb9f2d e3f3658 bfb9f2d e3f3658 bfb9f2d e3f3658 bfb9f2d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 |
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Inter Font */
.font-inter {
font-family: 'Inter', sans-serif;
}
/* Smooth theme transition */
* {
transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
/* Glass morphism effects */
.glass {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.dark .glass {
background: rgba(31, 41, 55, 0.7);
border: 1px solid rgba(75, 85, 99, 0.2);
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f3f4f6;
}
.dark ::-webkit-scrollbar-track {
background: #1f2937;
}
::-webkit-scrollbar-thumb {
background: #9ca3af;
border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
background: #4b5563;
}
::-webkit-scrollbar-thumb:hover {
background: #6b7280;
}
.dark ::-webkit-scrollbar-thumb:hover {
background: #6b7280;
}
/* Responsive sidebar */
@media (max-width: 1023px) {
#sidebar {
transform: translateX(-100%);
}
#sidebar:not(.hidden) {
transform: translateX(0);
}
}
/* Enhanced chart container styles */
canvas {
max-height: 400px;
}
/* Advanced stat cards with gradient borders */
.stat-card {
position: relative;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 2px;
border-radius: 12px;
}
.stat-card-inner {
background: white;
border-radius: 10px;
padding: 1.5rem;
}
.dark .stat-card-inner {
background: #1f2937;
}
/* Enhanced hover effects */
.hover-lift {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
transform: translateY(-4px) scale(1.02);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
/* Gradient backgrounds */
.gradient-bg {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.gradient-text {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Loading animations */
.loading-dots {
display: inline-flex;
gap: 4px;
}
.loading-dots span {
width: 8px;
height: 8px;
border-radius: 50%;
background: #3b82f6;
animation: loading-dots 1.4s infinite ease-in-out both;
}
.loading-dots span:nth-child(1) {
animation-delay: -0.32s;
}
.loading-dots span:nth-child(2) {
animation-delay: -0.16s;
}
@keyframes loading-dots {
0%, 80%, 100% {
transform: scale(0.8);
opacity: 0.5;
}
40% {
transform: scale(1);
opacity: 1;
}
}
/* Enhanced animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes pulse-glow {
0%, 100% {
box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}
50% {
box-shadow: 0 0 40px rgba(59, 130, 246, 0.8);
}
}
.animate-fadeInUp {
animation: fadeInUp 0.6s ease-out;
}
.animate-slideInLeft {
animation: slideInLeft 0.6s ease-out;
}
.animate-pulse-glow {
animation: pulse-glow 2s infinite;
}
/* Enhanced button styles */
.btn-gradient {
background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
color: white;
transition: all 0.3s ease;
}
.btn-gradient:hover {
background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}
/* Floating animation */
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
}
.animate-float {
animation: float 3s ease-in-out infinite;
}
/* Enhanced table styles */
.table-hover tbody tr {
transition: all 0.2s ease;
}
.table-hover tbody tr:hover {
background-color: rgba(59, 130, 246, 0.05);
transform: scale(1.01);
}
/* Custom notification badge */
.notification-badge {
position: relative;
}
.notification-badge::after {
content: '';
position: absolute;
top: -2px;
right: -2px;
width: 8px;
height: 8px;
background: #ef4444;
border-radius: 50%;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
}
}
/* Progress bar with gradient */
.progress-gradient {
background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
background-size: 200% 100%;
animation: gradient-shift 3s ease infinite;
}
@keyframes gradient-shift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* Custom select dropdown */
.custom-select {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
background-position: right 0.5rem center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
padding-right: 2.5rem;
}
/* Enhanced modal backdrop */
.modal-backdrop {
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
}
/* Skeleton loading */
.skeleton {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
/* Enhanced focus styles */
.focus-ring {
transition: all 0.2s ease;
}
.focus-ring:focus {
outline: none;
ring: 2px;
ring-color: #3b82f6;
ring-offset: 2px;
}
/* Dark mode specific adjustments */
.dark .btn-gradient {
background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}
.dark .btn-gradient:hover {
background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
}
/* Responsive text sizes */
@media (max-width: 640px) {
.text-responsive {
font-size: 0.875rem;
}
}
@media (min-width: 641px) and (max-width: 1024px) {
.text-responsive {
font-size: 1rem;
}
}
@media (min-width: 1025px) {
.text-responsive {
font-size: 1.125rem;
}
}
|