:root { color-scheme: dark; }
html { scroll-behavior: smooth; }
body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, 0.25); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(148, 163, 184, 0.4); }

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Smooth transitions on interactive elements */
button, a, input, select, textarea {
    transition: all 0.2s ease;
}

/* Focus ring */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.15);
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.4s ease-out both;
}
.slide-up {
    animation: slideUp 0.3s ease-out both;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

/* Staggered animations for cards */
.stagger > :nth-child(1) { animation-delay: 0.05s; }
.stagger > :nth-child(2) { animation-delay: 0.1s; }
.stagger > :nth-child(3) { animation-delay: 0.15s; }
.stagger > :nth-child(4) { animation-delay: 0.2s; }
.stagger > :nth-child(5) { animation-delay: 0.25s; }
.stagger > :nth-child(6) { animation-delay: 0.3s; }

/* Chart container */
canvas {
    max-width: 100%;
}

/* Print styles for PDFs/invoices */
@media print {
    body { background: white !important; color: black !important; }
    .no-print { display: none !important; }
}
