.table-fixed {
    table-layout: fixed;
}

.table-fixed td,
.table-fixed th {
    vertical-align: middle;
}

.table-fixed .form-control {
    height: 44px;
    font-size: 1.1rem;
}
/* totals card */
.bg-light {
    background-color: #f8f9fa !important;
}

/* POS touch comfort */
.form-select-lg,
.btn-lg {
    border-radius: 12px;
}

/* stronger separation */
hr {
    opacity: 0.2;
}
.table-fixed {
    table-layout: fixed;
}

.pos-order-table td,
.pos-order-table th {
    vertical-align: middle;
}

.pos-order-table input {
    height: 48px;
    font-size: 1.25rem;
}

.pos-order-table .btn-lg {
    width: 48px;
    height: 48px;
    padding: 0;
}

.pos-order-table td {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
#orderModal .modal-header{
    padding: 5px;
}
#orderModal h5{
   font-size: 1rem;
}
#orderModal .modal-body {
    padding: .55rem !important;
}
.unit_box {
    border: 1px solid #e1e3ea;
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 110px;
    cursor: pointer;
    user-select: none;
    background: #fff;
    transition: all .12s ease-in-out;
}
.unit_box:hover {
    transform: translateY(-1px);
    border-color: #50cd89;
}
.unit_box.active {
    border-color: #50cd89;
    background: #e8fff3;
    box-shadow: 0 0 0 3px rgba(80,205,137,.15);
}
.unit_box .unit_name {
    font-weight: 700;
    font-size: 14px;
    color: #181c32;
}
.unit_box .unit_meta {
    font-size: 12px;
    color: #7e8299;
}
.unit_box .unit_price {
    font-weight: 800;
    font-size: 14px;
    color: #50cd89;
    margin-top: 2px;
}
.pos_item_card {
    border: 1px solid #e1e3ea;
    border-radius: 14px;
    padding: 14px;
    background: #fff;
    cursor: pointer;
    transition: all .12s ease-in-out;
    height: 100%;
}
.pos_item_card:hover {
    transform: translateY(-1px);
    border-color: #50cd89;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.pos_item_card.disabled {
    opacity: .55;
    cursor: not-allowed;
}
.pos_item_name {
    font-weight: 800;
    font-size: 16px;
    color: #181c32;
    line-height: 1.2;
}
.pos_item_meta {
    font-size: 12px;
    color: #7e8299;
    margin-top: 4px;
}
.pos_item_footer {
    display:flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    gap: 10px;
}
.pos_item_price {
    font-weight: 900;
    font-size: 16px;
    color: #50cd89;
    white-space: nowrap;
}
.unit_box_disabled {
    opacity: 0.45;
    pointer-events: none; /* makes it not clickable */
    cursor: not-allowed;
    border-color: #f1416c !important;
}
.quantity_wrapper {
    white-space: nowrap;
}

.quantity_wrapper .btn-xs, .remove_to_list {
    padding: 5px 10px !important;
    font-size: .85rem;
    line-height: 1;
}

.quantity_input {
    width: 35px;
    padding: 2px;
    font-size: .75rem;
}

.payment_method_card{
    background: rgba(255,255,255,.65);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 10px 22px rgba(0,0,0,.04);
}

.payment_method_btn{
    width: 100%;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    border-radius: 14px;
    padding: 12px 12px;
    text-align: left;
    transition: transform .08s ease, border-color .12s ease, background .12s ease;
}

.payment_method_btn:hover{
    transform: translateY(-1px);
}

.payment_method_btn .pm_dot{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.20);
}

.payment_method_btn .pm_check{
    opacity: 0;
    transform: scale(.9);
    transition: opacity .12s ease, transform .12s ease;
    color: #1f9d55;
}

.payment_method_btn.is_active{
    border-color: rgba(31,157,85,.55);
    background: rgba(31,157,85,.06);
}

.payment_method_btn.is_active .pm_dot{
    background: #1f9d55;
}

.payment_method_btn.is_active .pm_check{
    opacity: 1;
    transform: scale(1);
}
.btn-amount, .btn-exact_amount, .btn_minus_cart, .btn_plus_cart, .remove_to_list {
    border-radius: 5px;
    font-size: .75rem;
    padding: .65rem !important;
}
.dash-kpi {
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
.dash-kpi:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
.dash-kpi .kpi-icon {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.8rem;
    opacity: .13;
}
.dash-kpi .kpi-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}
.dash-kpi .kpi-value {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
}
.dash-kpi .kpi-sub {
    font-size: .75rem;
    margin-top: .3rem;
    opacity: .7;
}
.section-title {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #b5b5c3;
    margin-bottom: 1rem;
}
.chart-card {
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    background: #fff;
    padding: 1.4rem;
    height: 100%;
}
.chart-card .chart-title {
    font-size: .82rem;
    font-weight: 700;
    color: #3f4254;
    margin-bottom: 1rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.shift-badge {
    display: inline-block;
    padding: .25rem .7rem;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
}
.shift-open  { background: #e8fff3; color: #50cd89; }
.shift-closed { background: #fff5f8; color: #f1416c; }
.txn-amount { font-weight: 700; font-size: .9rem; }
.progress-bar-custom {
    height: 6px;
    border-radius: 4px;
    background: #e4e6ef;
    overflow: hidden;
}
.progress-bar-custom .fill { height: 100%; border-radius: 4px; }
.small {
    font-size: .775rem !important;
}
#orderModal .card .card-body {
    padding: .35rem !important;
}


