body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
.navbar-brand-green {
    background-color: #18d26e !important;
}
.btn-brand {
    background-color: #18d26e;
    border-color: #18d26e;
    color: #fff;
    font-weight: 600;
}
.btn-brand:hover {
    background-color: #14b860;
    border-color: #14b860;
    color: #fff;
}
.text-brand {
    color: #18d26e !important;
}
.card-pos {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
@media print {
    body * { visibility: hidden; }
    #printableReceipt, #printableReceipt * { visibility: visible; }
    #printableReceipt {
        position: absolute;
        left: 0;
        top: 0;
        width: 80mm;
        font-family: 'Consolas', monospace;
        font-size: 12px;
    }
}
/* Keep cards responsive without clipping dropdown popups */
.card,
.card-body,
.row > [class*="col-"] {
    min-width: 0;
    max-width: 100%;
}

.card,
.card-pos {
    overflow: visible;
    position: relative;
}

    /* Keep tables contained inside their own scroll wrapper */
    .card .table-responsive {
        overflow-x: auto;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }

/* Ensure Tom Select wrapper and dropdown render above nearby cards/inputs */
.ts-wrapper {
    width: 100%;
    position: relative;
    z-index: 20;
}

.ts-dropdown {
    z-index: 1050;
    background-color: #ffffff;
}