/* Centralized CSS for Backend & Frontend */

/* Custom premium scrollbar for modern browsers */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(156, 163, 175, 0.3);
    border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(156, 163, 175, 0.5);
}

/* Frontend Styles */
.swiper { width: 100%; height: 500px; }
.swiper-slide { position: relative; overflow: hidden; }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; }

/* Backend Styles */
.sidebar { 
    background-color: #050a24; 
    height: 100vh;
    position: sticky;
    top: 0;
}
[x-cloak] { display: none !important; }

/* Premium Sidebar Item Style Transitions */
.sidebar-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    border-radius: 1rem;
    font-weight: 600;
    letter-spacing: normal;
    color: #94a3b8;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}
.sidebar-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}
.sidebar-item.active {
    color: #ffffff;
    background: #ef4444; /* Branded primary red */
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.2);
}

/* Nav Dropdown Items Style */
.nav-dropdown-item {
    display: block;
    padding: 0.625rem 1.25rem 0.625rem 3.5rem;
    color: #64748b;
    font-weight: 600;
    transition: all 0.15s ease-in-out;
    text-align: left;
}
.nav-dropdown-item:hover {
    color: #ef4444; /* Branded primary red */
}

