/* Centralized CSS for Backend & Frontend */

/* 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;
}
.sidebar-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #9ca3af;
    transition: all 0.2s;
}
.sidebar-item:hover { 
    background-color: rgba(255, 255, 255, 0.05); 
    color: #ffffff;
}
.sidebar-item.active { 
    background-color: rgba(255, 255, 255, 0.1); 
    color: #ffffff;
    border-left: 4px solid #ef4444; 
}
[x-cloak] { display: none !important; }

/* Dropdown styling */
.nav-dropdown-item {
    display: block;
    padding: 0.5rem 1rem 0.5rem 3rem;
    font-size: 0.875rem;
    color: #6b7280;
    transition: color 0.2s;
}
.nav-dropdown-item:hover {
    color: #ffffff;
}
