/* custom.css */

/* Custom Scrollbar for modern dashboards */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0f172a; /* Slate 900 */
}

::-webkit-scrollbar-thumb {
    background: #334155; /* Slate 700 */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569; /* Slate 600 */
}

/* Custom classes for layout and Bento grid styling */
.bento-card {
    background: rgba(15, 23, 42, 0.6); /* Slate 900 with alpha */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 65, 85, 0.4); /* Slate 700 with alpha */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
    border-color: rgba(99, 102, 241, 0.4); /* Indigo 500 alpha */
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.gradient-border-emerald {
    border-left: 4px solid #10b981;
}

.gradient-border-rose {
    border-left: 4px solid #f43f5e;
}

.gradient-border-indigo {
    border-left: 4px solid #6366f1;
}

.gradient-border-amber {
    border-left: 4px solid #f59e0b;
}

/* Glassmorphism overlays */
.glass-panel {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Standard animation helper */
@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

.pulsing-glow {
    position: relative;
}

.pulsing-glow::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(90deg, #10b981, #6366f1);
    filter: blur(8px);
    z-index: -1;
    border-radius: inherit;
    animation: pulseGlow 3s infinite ease-in-out;
}
