/* Service column - adaptive width */
#redeemTable th:nth-child(4),
#paymentsTable th:nth-child(4) {
    min-width: 200px;
    width: auto;
}

#redeemTable td:nth-child(4),
#paymentsTable td:nth-child(4) {
    max-width: 400px;
}

/* Responsive Design - Tablet */
@media (max-width: 992px) {
    #redeemTable th:nth-child(4),
    #paymentsTable th:nth-child(4) {
        min-width: 180px;
    }

    #redeemTable td:nth-child(4),
    #paymentsTable td:nth-child(4) {
        max-width: 300px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    #redeemTable th:nth-child(4),
    #paymentsTable th:nth-child(4) {
        min-width: 150px;
    }

    #redeemTable td:nth-child(4),
    #paymentsTable td:nth-child(4) {
        max-width: 250px;
    }
}

/* Ensure table remains responsive */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Package Sales table — compact stacked cells */
#packagesTable td { vertical-align: middle; }
#packagesTable th:nth-child(6) { width: 90px; }
#packagesTable th:nth-child(7) { width: 70px; }
