:root {
    --primary: #198754;
    --primary-dark: #146c43;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

main {
    flex: 1;
}

.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.product-card .card-img-top {
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .placeholder-img {
    font-size: 3rem;
    color: #81c784;
}

.price-tag {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.badge-stock {
    font-size: 0.75rem;
}

.category-pill {
    border-radius: 50px;
    padding: 0.4rem 1rem;
    margin: 0.25rem;
    text-decoration: none;
    transition: all 0.2s;
}

.category-pill.active, .category-pill:hover {
    background-color: var(--primary) !important;
    color: white !important;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: #e8f5e9;
}

.qty-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.status-badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
}

.status-নতুন { background: #fff3cd; color: #856404; }
.status-নিশ্চিত { background: #cce5ff; color: #004085; }
.status-পাঠানো\ হয়েছে { background: #d4edda; color: #155724; }
.status-সম্পন্ন { background: #d1e7dd; color: #0f5132; }
.status-বাতিল { background: #f8d7da; color: #721c24; }

.hero-section {
    background: linear-gradient(135deg, #198754 0%, #0d6e3f 100%);
    color: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.admin-sidebar {
    min-height: calc(100vh - 56px);
    background: #212529;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.75);
    border-radius: 8px;
    margin: 2px 0;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

.stat-card {
    border-radius: 12px;
    border: none;
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    .product-card .card-img-top {
        height: 140px;
    }
}
