body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.sidebar-transition {
    transition: all 0.3s ease;
}
.chart-container {
    height: 300px;
}
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        z-index: 50;
    }
    .sidebar-open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0 !important;
    }
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 40;
    }
    .sidebar-overlay-open {
        display: block;
        animation: fadeIn 0.3s ease-in-out;
    }
}

/* Custom animations */
.animate-delay-100 {
    animation-delay: 100ms;
}
.animate-delay-200 {
    animation-delay: 200ms;
}
.animate-delay-300 {
    animation-delay: 300ms;
}
.animate-delay-400 {
    animation-delay: 400ms;
}

/* Hover animations */
.hover-scale {
    transition: transform 0.2s ease;
}
.hover-scale:hover {
    transform: scale(1.02);
}

/* Card hover effect */
.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
}
.dark .card-hover:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25) !important;
}

/* Button hover effect */
.btn-hover {
    transition: all 0.2s ease;
}
.btn-hover:hover {
    transform: translateY(-1px);
}

/* Nav link hover effect */
.nav-link {
    transition: all 0.2s ease;
    position: relative;
}
.nav-link:hover {
    background-color: rgba(14, 165, 233, 0.1) !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: #0ea5e9;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}
.nav-link:hover::after {
    transform: scaleY(1);
}