.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: 10px;
}
.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 {
    padding: 2px 6px;
    font-size: 12px;
    line-height: 1;
}

.quantity_input {
    width: 45px;
    padding: 2px;
    font-size: 13px;
}

.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;
}
