/* General Quantity Box Styling */
.quantity {
    text-align: center;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Small Quantity Box */
.quantity-small {
    width: 60px;
    height: 30px;
    padding: 2px;
    font-size: 0.85rem;
}

/* General Table Styling for Desktop, Laptop, and Tablet */
.table {
    margin-top: 1rem;
    border-collapse: collapse;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.table th,
.table td {
    padding: 12px;
    vertical-align: middle;
    font-size: 1rem;
}

.table th {
    background-color: #11666f;
    color: #fff;
    font-weight: bold;
}

.table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table tr:hover {
    background-color: #e6f7f8;
    transition: background-color 0.3s ease;
}

/* Buttons */
.btn-update,
.btn-remove {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-update {
    background-color: #0056b3;
    color: #fff;
    border: none;
}

.btn-update:hover {
    background-color: #003f8c;
}

.btn-remove {
    background-color: #dc3545;
    color: #fff;
    border: none;
}

.btn-remove:hover {
    background-color: #a71d2a;
}


.bag-item-card {
    color: #000;
}

.card-header {
    color: #fff;
}

.card-body p {
    color: #000;
    font-weight: normal;
}

/* Mobile Layout */
@media (max-width: 767px) {
    .table {
        display: none;
    }

    .bag-item-card {
        border: 1px solid #ddd;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        padding: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .btn-update,
    .btn-remove {
        width: 100%;
        margin-top: 10px;
    }
}