/* assets/css/style.css */

/* Custom Smooth Scrolling across the platform */
html {
    scroll-behavior: smooth;
}

/* Premium Lightbox Backdrop Blur & Animation */
#lightbox {
    transition: opacity 0.3s ease-in-out;
}

#lightbox.hidden {
    display: none;
    opacity: 0;
}

#lightbox:not(.hidden) {
    display: flex;
    opacity: 1;
}

/* Custom modern scrollbar for the Admin Dashboard layouts */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0f172a; /* matches Tailwind's bg-slate-900 */
}

::-webkit-scrollbar-thumb {
    background: #334155; /* matches Tailwind's bg-slate-700 */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb; /* matches Tailwind's bg-blue-600 */
}

/* Aspect ratio containment rule to stop massive imagery breaks */
.aspect-video img, .aspect-\[4\/3\] img {
    image-rendering: -webkit-optimize-contrast;
    backface-visibility: hidden;
}

/* Card lift animations for interactive dashboard modules */
.group:hover img {
    filter: brightness(0.95);
}