/* General */
body {
    background-color: #f5f6fa;
    font-size: 0.9rem;
}

/* Stat Cards */
.stat-card {
    border-left-width: 4px;
    transition: transform 0.15s;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Product Cards */
.product-card {
    transition: transform 0.15s, box-shadow 0.15s;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.product-img-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}
.product-img {
    height: 200px;
    object-fit: cover;
}

/* Text truncate 2 lines */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 2.8em;
}

/* Table tweaks */
.table th {
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: none;
}
.table td {
    vertical-align: middle;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}
.nav-link {
    font-size: 0.88rem;
}
.nav-link i {
    margin-right: 3px;
}

/* Cards */
.card-header {
    font-weight: 600;
    font-size: 0.88rem;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

/* Badge tweaks */
.badge {
    font-weight: 500;
}

/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 28px;
    height: 28px;
    padding: 4px;
}

/* Quick action forms */
.input-group .form-control:focus {
    box-shadow: none;
    border-color: #86b7fe;
}

/* Responsive */
@media (max-width: 768px) {
    .product-img {
        height: 160px;
    }
    .stat-card .card-title {
        font-size: 1.5rem;
    }
}
