/* Product Card Hover Effect */
.product-card {
    transition: transform 0.2s ease-in-out;
}
.product-card:hover {
    transform: translateY(-5px);
}

/* Make images look good on Mobile */
@media (max-width: 768px) {
    .card-img-top {
        height: 180px !important; /* Smaller images on phone */
    }
    .display-4 {
        font-size: 2.5rem; /* Smaller banner text */
    }
}
/* Global Styles */
body { 
    background-color: #f4f6f9; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

/* === PROFESSIONAL SIDEBAR STYLES === */
.sidebar { 
    height: 100vh; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 260px; 
    background: linear-gradient(180deg, #1a1c23 0%, #212529 100%); 
    padding-top: 0; 
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.brand-section {
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-link {
    color: #aeb2b7 !important;
    padding: 12px 25px;
    font-size: 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    text-decoration: none;
}

.nav-link i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
    font-size: 1.1rem;
}

.nav-link:hover {
    background: rgba(255,255,255,0.05);
    color: #fff !important;
    padding-left: 30px; /* Slide effect */
}

.nav-link.active {
    background: rgba(13, 110, 253, 0.15);
    color: #fff !important;
    border-left-color: #0d6efd;
    font-weight: 500;
}

.nav-header {
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Main Content Adjustment */
.main-content { margin-left: 260px; padding: 30px; }

/* Dashboard Cards */
.stat-card { border-radius: 12px; border: none; color: white; transition: transform 0.2s; }
.stat-card:hover { transform: translateY(-5px); }
.bg-products { background: linear-gradient(45deg, #4e73df, #224abe); }
.bg-orders { background: linear-gradient(45deg, #f6c23e, #dda20a); color: #fff !important; }
.bg-suppliers { background: linear-gradient(45deg, #1cc88a, #13855c); }
.bg-secondary { background: linear-gradient(45deg, #858796, #60616f); }

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar { width: 100%; height: auto; position: relative; }
    .main-content { margin-left: 0; }
    .nav-link { border-left: none; border-bottom: 4px solid transparent; }
    .nav-link.active { border-bottom-color: #0d6efd; }
}