@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-open .line1 {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-open .line2 {
    opacity: 0;
}

.hamburger-open .line3 {
    transform: translateY(-7px) rotate(-45deg);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gradient-border {
    background: linear-gradient(145deg, #3b82f6, #8b5cf6);
    padding: 1px;
    border-radius: 0.75rem;
}

.gradient-content {
    background: #1f2937;
    border-radius: 0.75rem;
    height: 100%;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

.usage-item {
    transition: all 0.3s ease;
}

.usage-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.top-request-item {
    transition: all 0.5s ease;
}

.top-request-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.progress-bar {
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(400%);
    }
}

.slide-out {
    animation: slideOut 0.5s forwards;
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.slide-in {
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

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

@media (max-width: 1023px) {
    .mobile-menu-button {
        display: block;
    }

    .sidebar-overlay {
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .sidebar-mobile {
        width: 85%;
        max-width: 320px;
    }

    #sidebarClose {
        display: block;
    }
}

@media (min-width: 1024px) {
    .mobile-menu-button {
        display: none;
    }

    #sidebarClose {
        display: none;
    }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}