body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    height: auto !important;
    overflow-y: auto !important;
    
    background-color: #f8fafc;
}

.floating-object {
    position: absolute;
    will-change: transform;
    animation: float-soft infinite ease-in-out;
}

@keyframes float-soft {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(10px, -15px) rotate(2deg);
    }

    66% {
        transform: translate(-5px, 10px) rotate(-1deg);
    }
}

.animate-scanline {
    position: absolute;
    width: 100%;
    animation: scanline 8s linear infinite;
    z-index: 50;
}

@keyframes scanline {
    0% {
        transform: translateY(-100vh);
    }

    100% {
        transform: translateY(100vh);
    }
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#sidebar {
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#sidebar.w-16 {
    width: 4.5rem;
}

#sidebar.w-16 .label {
    display: none;
}

.nav-link {
    transition: all 0.2s ease;
    position: relative;
}

.gradient-border {
    border-right: 4px solid;
    border-image: linear-gradient(to bottom, #3b82f6, #8b5cf6, #ec4899) 1;
}

[x-cloak] {
    display: none !important;
}

.loading-overlay {
    backdrop-filter: blur(4px);
    animation: fadeIn 0.4s ease forwards;
}

.success-flash {
    animation: flash 0.6s ease-out;
}

@keyframes flash {
    0% {
        background: transparent;
    }

    50% {
        background: rgba(59, 130, 246, 0.1);
    }

    100% {
        background: transparent;
    }
}

.animated-gradient {
    background: linear-gradient(270deg, #1e293b, #3b82f6, #1e293b);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.custom-scrollbar::-webkit-scrollbar {
    width: 2px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.2);
}

.w-16 .sidebar-icon-box {
    margin-right: 0 !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
}

.w-16 .nav-link {
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: center !important;
}

.label {
    transition: opacity 0.2s ease-in-out;
}

.rotate-180-flip {
    transform: rotate(180deg);
}