        .ros-waiter-wrap{
            max-width:900px;
            margin:20px auto;
            padding:20px;
        }
        .ros-title{
            margin-bottom:16px;
            text-align:center;
        }
        .ros-top-box{
            display:grid;
            grid-template-columns:1fr 1fr;
            gap:12px;
            margin-bottom:18px;
        }
        .ros-select,
        .ros-search{
            width:100%;
            padding:12px 14px;
            border:1px solid #d7d7d7;
            border-radius:10px;
            font-size:16px;
            box-sizing:border-box;
        }
        .ros-product-list{
            border:1px solid #e5e5e5;
            border-radius:14px;
            overflow:hidden;
            background:#fff;
        }
        .ros-product-item{
            display:flex;
            justify-content:space-between;
            align-items:center;
            gap:14px;
            padding:14px 16px;
            border-bottom:1px solid #eee;
        }
        .ros-product-item:last-child{
            border-bottom:none;
        }
        .ros-product-info{
            flex:1;
            min-width:0;
        }
        .ros-product-name{
            font-weight:600;
            line-height:1.4;
            margin-bottom:4px;
        }
        .ros-addon-badge{
            display:none;
        }
        .ros-container-option{
            display:flex;
            justify-content:space-between;
            align-items:center;
            gap:10px;
            margin-bottom:10px;
            padding:10px;
            border:1px solid #e5e5e5;
            border-radius:8px;
            cursor:pointer;
        }
        .ros-container-option input[type="checkbox"],
        .ros-container-option input[type="radio"]{
            width:18px;
            height:18px;
            margin:0;
            flex-shrink:0;
        }
        .ros-cart-container-label{
            font-size:0.92em;
            color:#555;
            margin-top:4px;
        }
        .ros-product-price{
            color:#555;
            font-size:14px;
        }
        .ros-qty-box{
            display:flex;
            align-items:center;
            gap:10px;
            flex-shrink:0;
        }
        .ros-btn{
            width:38px;
            height:38px;
            border:none;
            border-radius:8px;
            background:#0d6efd;
            color:#fff;
            font-size:18px;
            cursor:pointer;
        }
        .ros-btn:hover{
            opacity:.9;
        }
        .ros-qty{
            min-width:18px;
            text-align:center;
            font-weight:700;
        }
        .ros-summary-box{
            margin-top:18px;
            padding:16px;
            border:1px solid #e5e5e5;
            border-radius:14px;
            background:#fff;
        }
        .ros-selected-items{
            margin-bottom:12px;
            line-height:1.7;
        }
        .ros-total-line{
            font-size:18px;
            margin-bottom:14px;
        }
        .ros-send-btn{
            width:100%;
            padding:14px;
            border:none;
            border-radius:10px;
            background:#000;
            color:#fff;
            font-size:16px;
            font-weight:700;
            cursor:pointer;
        }
        .ros-send-btn:hover{
            opacity:.92;
        }
        .ros-result{
            margin-top:12px;
            font-weight:600;
        }

        @media (max-width:768px){
            .ros-top-box{
                grid-template-columns:1fr;
            }
            .ros-product-item{
                align-items:flex-start;
            }
        }

        .ros-reset-btn{
            width:100%;
            padding:12px;
            border:none;
            border-radius:10px;
            background:#dc3545;
            color:#fff;
            font-size:15px;
            font-weight:600;
            margin-top:10px;
            cursor:pointer;
        }

        .ros-reset-btn:hover{
            opacity:0.9;
        }

        .ros-toast{
            position:fixed;
            bottom:20px;
            left:50%;
            transform:translateX(-50%);
            background:#000;
            color:#fff;
            padding:10px 16px;
            border-radius:8px;
            font-size:14px;
            opacity:0;
            transition:0.3s;
            z-index:9999;
        }

        .ros-toast.show{
            opacity:1;
        }

        a.history-btn{
            display:inline-block !important;
            padding:10px 16px !important;
            background:linear-gradient(135deg, #111, #333) !important;
            color:#fff !important;
            font-size:14px;
            font-weight:600;
            border-radius:8px;
            text-decoration:none !important;
            transition:all 0.25s ease;
            box-shadow:0 4px 10px rgba(0,0,0,0.15);
        }

        /* hover */
        a.history-btn:hover{
            background:linear-gradient(135deg, #000, #555) !important;
            transform:translateY(-2px);
            box-shadow:0 6px 14px rgba(0,0,0,0.25);
        }

        /* active */
        a.history-btn:active{
            transform:scale(0.96);
        }

        /* BUTTON CONTAINER */
        .ros-order-actions{
            display:flex;
            gap:10px;
            flex-wrap:wrap;
            margin-top:10px;
        }

        /* BASE BUTTON */
        .ros-order-actions button{
            border:none;
            padding:10px 14px;
            border-radius:8px;
            font-size:14px;
            font-weight:600;
            cursor:pointer;
            transition:0.2s;
        }

        /* SERVED */
        .ros-btn-primary{
            background:#0d6efd;
            color:#fff;
        }
        .ros-btn-primary:hover{
            background:#0b5ed7;
        }

        /* PAID */
        .ros-btn-success{
            background:#198754;
            color:#fff;
        }
        .ros-btn-success:hover{
            background:#157347;
        }

        /* DISABLED */
        .ros-btn-disabled{
            background:#ccc;
            color:#666;
            cursor:not-allowed;
        }

        @keyframes fadeHighlight {
            0%   { background:#fff3cd; }
            100% { background:#fff; }
        }

/* FLOATING CART ICON */
    .ros-customer-cart-fab{
        position:fixed;
        right:18px;
        bottom:18px;
        width:60px;
        height:60px;
        border-radius:50%;
        background:linear-gradient(135deg,#111,#333);
        color:#fff;
        display:flex;
        align-items:center;
        justify-content:center;
        font-size:24px;
        cursor:pointer;
        box-shadow:0 12px 30px rgba(0,0,0,.25);
        z-index:9999;
        transition:0.25s;
    }
    .ros-customer-cart-fab:hover{
        transform:scale(1.08);
    }

    .ros-customer-cart-badge{
        position:absolute;
        top:-6px;
        right:-4px;
        min-width:22px;
        height:22px;
        padding:0 6px;
        border-radius:999px;
        background:#ff3b30;
        color:#fff;
        font-size:12px;
        font-weight:700;
        display:flex;
        align-items:center;
        justify-content:center;
    }

    /* STACK (service picker + cart) */
    .ros-customer-cart-stack{
        position:fixed;
        right:18px;
        bottom:90px;
        width:340px;
        max-height:85vh;
        display:flex;
        flex-direction:column;
        gap:12px;
        z-index:9999;
        pointer-events:none;
    }
    .ros-customer-cart-stack > *{
        pointer-events:auto;
    }

    /* POPUP */
    .ros-customer-cart-popup{
        position:relative;
        right:auto;
        bottom:auto;
        width:100%;
        max-height:75vh;
        overflow:auto;
        overflow-x:hidden;
        background:#fff;
        border-radius:18px;
        padding:16px;
        box-shadow:0 20px 50px rgba(0,0,0,.2);
        animation:fadeInUp .25s ease;
    }

    @keyframes fadeInUp{
        from{
            opacity:0;
            transform:translateY(20px);
        }
        to{
            opacity:1;
            transform:translateY(0);
        }
    }

    /* HEADER */
    .ros-customer-cart-header{
        display:flex;
        justify-content:space-between;
        align-items:center;
        margin-bottom:12px;
        border-bottom:1px solid #f1f1f1;
        padding-bottom:8px;
    }

    .ros-customer-cart-header h4{
        margin:0;
        font-size:16px;
        font-weight:700;
        color:#111;
    }

    /* CLOSE BUTTON */
    .ros-customer-cart-close{
        width:32px;
        height:32px;
        border:none;
        border-radius:8px;
        background:#f3f4f6;
        color:#333;
        font-size:18px;
        line-height:1;
        cursor:pointer;
        display:flex;
        align-items:center;
        justify-content:center;
        transition:0.2s;
    }
    .ros-customer-cart-close:hover{
        background:#e5e7eb;
    }

    /* CART ITEM */
    .ros-cart-row{
        border-bottom:1px solid #f3f3f3;
        padding:12px 0;
    }

    .ros-cart-row:last-child{
        border-bottom:none;
    }

    .ros-cart-row strong{
        font-size:14px;
        color:#111;
    }

    .ros-cart-row div{
        font-size:13px;
        color:#555;
    }

    /* QUANTITY */
    .ros-cart-qty-row{
        display:flex;
        align-items:center;
        gap:12px;
        margin:10px 0 8px;
    }

    .ros-cart-qty-row button{
        width:38px;
        height:38px;
        padding:0;
        border:none;
        border-radius:999px;
        background:#2f6fed;
        color:#fff;
        font-size:18px;
        font-weight:700;
        line-height:1;
        display:flex;
        align-items:center;
        justify-content:center;
        cursor:pointer;
        transition:0.2s;
    }
    .ros-cart-qty-row button:hover{
        background:#1f57c8;
    }

    .ros-cart-qty-row span{
        min-width:20px;
        text-align:center;
        font-weight:700;
        color:#222;
    }

    /* NOTE */
    .ros-cart-row textarea{
        width:100%;
        margin-top:8px;
        padding:10px 12px;
        border-radius:10px;
        border:1px solid #ddd;
        font-size:13px;
        resize:vertical;
        box-sizing:border-box;
    }
/* CART TOTAL */
.ros-customer-cart-total{
    margin-top:14px;
    padding-top:10px;
    border-top:1px solid #eee;
    font-size:15px;
    font-weight:600;
    color:#111;
    display:block !important;
}

.ros-customer-cart-total strong{
    float:right;
}

.ros-customer-cart-total::after{
    content:'';
    display:block;
    clear:both;
}

/* BILL AREA */
.ros-total-amount-box{
    background:#fff;
    border:1px solid #ececec;
    border-radius:14px;
    padding:16px;
    margin-bottom:16px;
    box-shadow:0 2px 10px rgba(0,0,0,.04);
}

.ros-bill-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:7px 0;
    font-size:14px;
    color:#444;
}

.ros-bill-row span:last-child{
    font-weight:600;
    color:#111;
}

.ros-grand-total{
    margin-top:10px;
    padding-top:12px;
    border-top:1px dashed #ddd;
    font-size:18px;
    font-weight:700;
}

.ros-grand-total span{
    color:#111;
}

    /* TABLE SELECT DROPDOWN BUTTON */
    .ros-customer-table-wrap{
        margin-top:12px;
        position:relative;
    }

    .ros-customer-table-wrap > div:first-child .ros-customer-table-toggle{
        flex:1 1 auto;
        width:auto;
        min-width:120px;
    }

    .ros-customer-order-type-toggle{
        border:none;
        border-radius:12px;
        padding:10px 14px;
        background:#f3f4f6;
        color:#111;
        font-size:13px;
        font-weight:600;
        cursor:pointer;
        display:inline-flex;
        align-items:center;
    }

    .ros-customer-order-type-toggle:hover {
        background:transparent;
        color:#111;   
    }
    
    .ros-customer-order-type-toggle.active{
        background:#0d6efd;
        color:#fff;
    }
    .ros-order-type-notice{
        display:flex;
        align-items:center;
        justify-content:center;
        text-align:center;
        width:100%;
        margin:0 auto 10px;
        padding:0;
        border-radius:0;
        background:transparent;
        color:#856404;
        font-size:13px;
    }

    .ros-manager-table .ros-order-type-notice {
        justify-content:flex-start;
    }

    .ros-customer-service-mode-picker-panel{
        width:100%;
        box-sizing:border-box;
        flex-direction:column;
        background:#fff;
        border-radius:18px;
        padding:16px;
        box-shadow:0 20px 50px rgba(0,0,0,.2);
        border:2px solid #e8eef9;
        text-align:center;
        animation:fadeInUp .25s ease;
    }
    .ros-customer-service-mode-picker-panel.is-visible{
        display:flex !important;
    }
    .ros-customer-service-mode-picker-header{
        display:flex;
        justify-content:space-between;
        align-items:center;
        margin-bottom:10px;
        border-bottom:1px solid #f1f1f1;
        padding-bottom:8px;
        text-align:left;
    }
    .ros-customer-service-mode-picker-header h4{
        font-size:16px;
        font-weight:700;
        color:#111;
    }
    .ros-service-mode-title{
        margin:0 0 14px;
        font-size:15px;
        font-weight:600;
        color:#111;
    }
    .ros-service-mode-buttons{
        display:flex;
        flex-direction:column;
        gap:10px;
    }
    .ros-customer-service-mode-btn{
        width:100%;
        border:none;
        border-radius:12px;
        padding:14px 16px;
        background:#0d6efd;
        color:#fff;
        font-size:15px;
        font-weight:600;
        cursor:pointer;
    }
    .ros-customer-service-mode-bar{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:10px;
        margin-bottom:10px;
        padding:8px 10px;
        background:#f3f4f6;
        border-radius:10px;
        font-size:13px;
        font-weight:600;
    }
    .ros-customer-change-mode-btn{
        border:none;
        background:#0d6efd;
        color:#fff;
        font-size:12px;
        font-weight:600;
        cursor:pointer;
        padding:10px 14px;
        border-radius:12px;
        text-decoration:none;
    }

    .ros-customer-table-toggle{
        width:100%;
        border:none;
        border-radius:12px;
        padding:12px 14px;
        background:#f3f4f6;
        color:#111;
        font-size:14px;
        font-weight:600;
        text-align:left;
        cursor:pointer;
        position:relative;
    }
    .ros-customer-table-toggle::after{
        content:"▾";
        position:absolute;
        right:14px;
        top:50%;
        transform:translateY(-50%);
        color:#666;
    }

    .ros-customer-table-grid-wrap{
        margin-top:8px;
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:12px;
        padding:10px;
        box-shadow:0 8px 20px rgba(0,0,0,.08);
    }

    .ros-customer-table-grid{
        display:grid;
        grid-template-columns:repeat(4, 1fr);
        gap:8px;
    }

    .ros-table-btn{
        border:none;
        border-radius:10px;
        padding:10px 0;
        background:#f3f4f6;
        color:#111;
        font-size:13px;
        font-weight:600;
        cursor:pointer;
        transition:0.2s ease;
    }
    .ros-table-btn:hover{
        background:#e5e7eb;
    }
    .ros-table-btn.active{
        background:#2f6fed;
        color:#fff;
        box-shadow:0 6px 14px rgba(47,111,237,.25);
    }

    /* ACTION BUTTONS */

    .ros-customer-clear-btn{
        flex:1;
        padding:12px 10px;
        border:none;
        border-radius:12px;
		background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
		color:#fff;
        font-size:14px;
        font-weight:600;
        cursor:pointer;
        transition:0.2s;
    }

    .ros-customer-place-btn{
        flex:3;
        padding:12px 14px;
        border:none;
        border-radius:12px;
        background:linear-gradient(135deg,#0d6efd,#3a8bff);
        color:#fff;
        font-size:14px;
        font-weight:600;
        cursor:pointer;
        transition:0.2s;
    }

    .ros-customer-place-btn:hover{
        transform:translateY(-1px);
        box-shadow:0 6px 14px rgba(13,110,253,.25);
    }

    /* RESULT */
    #ros_customer_result{
        font-size:13px;
        margin-top:8px;
    }

    /* LAST ORDER BOX */
    .ros-customer-last-order-box{
        margin-top:12px;
        padding:12px;
        border:1px solid #e5e7eb;
        border-radius:12px;
        background:#fafafa;
    }
    .ros-customer-last-order-header{
        margin-bottom:8px;
        font-size:14px;
        color:#111;
    }

    #ros_customer_last_order_content{
        font-size:13px;
        line-height:1.7;
        color:#333;
    }

    /* SCROLLBAR */
    .ros-customer-cart-popup::-webkit-scrollbar{
        width:6px;
    }
    .ros-customer-cart-popup::-webkit-scrollbar-track{
        background:transparent;
    }
    .ros-customer-cart-popup::-webkit-scrollbar-thumb{
        background:rgba(0,0,0,0.2);
        border-radius:10px;
    }
    .ros-customer-cart-popup::-webkit-scrollbar-thumb:hover{
        background:rgba(0,0,0,0.35);
    }

    /* MOBILE */
    @media (max-width:768px){
        .ros-customer-cart-stack{
            right:10px;
            left:10px;
            width:auto;
            bottom:85px;
        }

        .ros-customer-table-grid{
            grid-template-columns:repeat(3, 1fr);
        }
    }

.ros-menu-add-col {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.ros-menu-add-btn {
    width: 50px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #198754;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.ros-menu-item-out-of-stock,
.ros-product-item.ros-menu-item-out-of-stock,
.ros-menu-row.ros-menu-item-out-of-stock,
.e-loop-item.ros-menu-item-out-of-stock,
.product.ros-menu-item-out-of-stock,
.type-product.ros-menu-item-out-of-stock,
article.ros-menu-item-out-of-stock,
[data-ros-oos-hidden="1"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
}

.ros-menu-add-btn:hover {
    background: #157347;
}

.ros-menu-add-btn:focus {
    outline: none;
}

.ros-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:99999;
    align-items:center;
    justify-content:center;
    padding:15px;
}

.ros-modal-box{
    width:100%;
    max-width:420px;
    max-height:75vh;
    background:#fff;
    border-radius:16px;
    padding:18px;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.ros-modal-actions{
    display:flex;
    gap:10px;
    margin-top:8px;
}

.ros-modal-actions button{
    flex:1;
    height:42px;
    border-radius:10px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
}

.ros-modal-actions button:first-child{
    background:#198754;
    color:#fff;
    border:none;
}

.ros-modal-actions button:last-child{
    background:#f3f4f6;
    color:#111827;
    border:1px solid #d1d5db;
}

.ros-modal-box h3{
    margin:0 0 14px;
    font-size:18px;
}

.ros-edit-row,
.ros-customer-edit-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:10px 0;
    border-bottom:1px solid #eee;
}

.ros-edit-qty button,
.ros-customer-edit-qty button {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 1px solid #198754;
    border-radius: 10px;
    background: #fff;
    color: #198754;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ros-edit-qty button:hover,
.ros-customer-edit-qty button:hover {
    background: #198754;
    color: #fff;
}

.ros-edit-qty,
.ros-customer-edit-qty {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ros-edit-qty span,
.ros-customer-edit-qty span {
    width: 18px;
    text-align: center;
    font-weight: 700;
    color: #111827;
}

.ros-modal-actions button:first-child {
    background: #198754;
    color: #fff;
    border: none;
}

.ros-modal-actions button:last-child {
    background: #f3f4f6;
    color: #111827;
    border: 1px solid #d1d5db;
}

.ros-btn-edit{
    background:#6f42c1;
    color:#fff;
}

.ros-payment-select{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
	height: auto;
    padding:12px 14px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;
}

#ros_payment_modal .ros-modal-box{
    display:flex;
    flex-direction:column;
    overflow:hidden;
    max-height:min(90vh, 720px);
}

#ros_payment_modal .ros-payment-modal-body{
    flex:1 1 auto;
    min-height:0;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    padding-right:2px;
    margin-right:-2px;
    scrollbar-width:thin;
    scrollbar-color:rgba(17,24,39,.18) transparent;
}

.ros-discount-modal-box h3{
    text-align: center;
}

#ros_payment_modal .ros-payment-modal-body::-webkit-scrollbar{
    width:5px;
}

#ros_payment_modal .ros-payment-modal-body::-webkit-scrollbar-track{
    background:transparent;
}

#ros_payment_modal .ros-payment-modal-body::-webkit-scrollbar-thumb{
    background:rgba(17,24,39,.16);
    border-radius:999px;
}

#ros_payment_modal .ros-payment-modal-body::-webkit-scrollbar-thumb:hover{
    background:rgba(17,24,39,.28);
}

#ros_payment_modal .ros-payment-total-wrap{
    margin-bottom:0;
}

#ros_payment_modal .ros-waiter-bill-box{
    margin-bottom:0;
}

#ros_payment_modal #ros_voucher_tax_wrap,
#ros_payment_modal #ros_payment_qr_wrap{
    margin:12px 0;
    padding:12px;
    border:1px solid #ececec;
    border-radius:12px;
    background:#fafafa;
}

#ros_payment_modal #ros_payment_method{
    margin-bottom:12px;
}

.ros-payment-total-wrap{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
}

.ros-waiter-bill-box{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    overflow:hidden;
}

.ros-discount-row span:last-child{
    flex:0 0 auto;
}

.ros-discount-value,
.ros-discount-value-btn{
    color:#dc3545;
    font-weight:600;
}

.ros-discount-value-btn{
    border:none;
    background:transparent;
    padding:0;
    margin:0;
    font:inherit;
    cursor:pointer;
    text-decoration:underline;
    text-underline-offset:2px;
}

.ros-discount-value-btn:hover,
.ros-discount-value-btn:focus{
    color:#b02a37;
    outline:none;
}

.ros-bill-row span{
    min-width:0;
}

.ros-bill-row span:first-child{
    flex:1 1 auto;
}

.ros-bill-row span:last-child{
    flex:0 1 auto;
    text-align:right;
    word-break:break-word;
}

.ros-discount-add-row span:last-child{
    flex:0 0 auto;
}

.ros-discount-add-btn{
    border:1px solid #0d6efd;
    background:#0d6efd;
    color:#fff;
    border-radius:8px;
    padding:6px 14px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    white-space:nowrap;
    max-width:100%;
}

.ros-discount-modal-box{
    max-width:100%;
}

.ros-discount-modal-fields{
    display:grid;
    grid-template-columns:minmax(0, 1fr);
    gap:12px;
    margin-bottom:12px;
}

.ros-discount-field label{
    display:block;
    font-weight:600;
    margin-bottom:4px;
}

.ros-discount-input-group{
    display:flex;
    align-items:center;
    gap:8px;
}

.ros-discount-input-group .ros-payment-select{
    border-radius: 10px;
    flex:1 1 auto;
    min-width:0;
}

.ros-discount-percent-wrap{
    display:flex;
    align-items:center;
    gap:8px;
    width:100%;
}

.ros-discount-percent-combo{
    display:flex;
    align-items:center;
    gap:8px;
    flex:1 1 auto;
    min-width:0;
    box-sizing:border-box;
    border:1px solid #ddd;
    border-radius:10px;
    padding: 0px 13px;
    background:#fff;
}

.ros-discount-percent-combo .ros-payment-select{
    border:none;
    padding: 7px 3px;
    background:transparent;
    box-shadow:none;
}

.ros-discount-percent-combo select.ros-payment-select,
#ros_discount_percent_select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 2px center;
    background-size:12px 12px;
    padding-right:22px;
    cursor:pointer;
}

.ros-discount-percent-combo-inner{
    display:flex;
    align-items:center;
    gap:8px;
    flex:1 1 auto;
    min-width:0;
}

.ros-discount-percent-combo--input-only .ros-payment-select,
.ros-discount-percent-combo--select-only .ros-payment-select{
    flex:1 1 auto;
    min-width:0;
}

.ros-discount-percent-combo--combined .ros-discount-percent-combo-inner .ros-payment-select{
    flex:1 1 0;
    min-width:0;
}

.ros-discount-percent-divider{
    color:#d1d5db;
    font-weight:700;
    flex:0 0 auto;
}

.ros-discount-percent-suffix{
    color:#6b7280;
    font-weight:700;
    flex:0 0 auto;
}

.ros-discount-error{
    color:#dc3545;
    margin-bottom:10px;
    font-size:13px;
}

@media (max-width: 544px){
    .ros-modal{
        padding:10px;
    }

    .ros-modal-box{
        padding:14px;
    }

    .ros-bill-row{
        gap:8px;
        font-size:13px;
    }

    .ros-discount-add-btn{
        padding:5px 10px;
        font-size:12px;
    }
}

.ros-customer-edit-order-btn {
    width: 100%;
    margin-top: 14px;
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #198754, #20a66b);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(25, 135, 84, 0.25);
    transition: 0.2s ease;
}

.ros-customer-edit-order-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(25, 135, 84, 0.32);
}

.ros-customer-edit-order-btn:active {
    transform: scale(0.97);
}

#ros_customer_edit_modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#ros_customer_edit_modal .ros-modal-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    padding: 18px;
}

#ros_customer_edit_items .ros-edit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

#ros_customer_edit_items .ros-edit-qty {
    display: flex;
    align-items: center;
    gap: 12px;
}

#ros_customer_edit_items .ros-edit-qty button {
    width: 38px;
    height: 34px;
    border: 1px solid #198754;
    border-radius: 10px;
    background: #fff;
    color: #198754;
    font-size: 20px;
    font-weight: 700;
}

/* FILTER HEADING */
.ros-history-filter-title{
    font-size:16px;
    font-weight:700;
    color:#111;
    margin:10px 0 6px;
}

/* FILTER DROPDOWN */
.ros-history-filter-form select{
    width:100%;
    padding:10px 12px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:14px;
    background:#fff;
    color:#111;
    cursor:pointer;
    transition:0.2s;
}

.ros-history-filter-form select:hover{
    border-color:#bbb;
}

.ros-history-filter-form select:focus{
    outline:none;
    border-color:#0d6efd;
    box-shadow:0 0 0 2px rgba(13,110,253,0.15);
}

/* TODAY LABEL */
.ros-history-today{
    font-size:14px;
    font-weight:600;
    color:#555;
    margin:12px 0 14px;
    padding-left:6px;
    border-left:3px solid #0d6efd;
}

.ros-manager-wrap{
    max-width:1200px;
    margin:20px auto;
    padding:20px;
}

.ros-manager-title{
    text-align:center;
    margin-bottom:20px;
    font-size:26px;
    font-weight:800;
}

.ros-manager-filter-box{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:12px;
    padding:16px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    margin-bottom:16px;
}

.ros-manager-filter-box label{
    display:block;
    font-size:13px;
    font-weight:700;
    margin-bottom:6px;
    color:#374151;
}

.ros-manager-filter-box select,
.ros-manager-filter-box input{
    width:100%;
    padding:10px 12px;
    border:1px solid #d1d5db;
    border-radius:10px;
    font-size:14px;
    box-sizing:border-box;
}

.ros-manager-filter-actions{
    display:flex;
    align-items:end;
    gap:8px;
}

.ros-manager-filter-actions button{
    flex:1;
    height:42px;
    border:none;
    border-radius:10px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
}

.ros-manager-filter-actions button:first-child{
    background:#0d6efd;
    color:#fff;
}

.ros-manager-filter-actions button:last-child{
    background:#f3f4f6;
    color:#111827;
}

.ros-manager-stats{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:12px;
    margin-bottom:18px;
}

.ros-manager-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:16px;
    box-shadow:0 8px 20px rgba(0,0,0,.04);
}

.ros-manager-card span{
    display:block;
    font-size:13px;
    color:#6b7280;
    margin-bottom:8px;
}

.ros-manager-card strong{
    font-size:22px;
    color:#111827;
}

.ros-manager-section{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:16px;
    margin-bottom:18px;
}

.ros-manager-section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
}

.ros-manager-section-head h3{
    margin:0;
    font-size:18px;
}

.ros-table-scroll{
    width:100%;
    overflow-x:auto;
}

.ros-manager-table{
    width:100%;
    border-collapse:collapse;
    font-size:14px;
}

.ros-manager-table th{
    background:#f9fafb;
    color:#374151;
    text-align:left;
    padding:12px;
    border-bottom:1px solid #e5e7eb;
    white-space:nowrap;
}

.ros-manager-table td{
    padding:12px;
    border-bottom:1px solid #f1f1f1;
    vertical-align:top;
}

.ros-manager-item-line{
    margin-bottom:5px;
    line-height:1.5;
}

.ros-note{
    color:#dc3545;
}

.ros-status-badge{
    display:inline-block;
    padding:5px 9px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    text-transform:capitalize;
    background:#e5e7eb;
    color:#374151;
}

.ros-status-paid{
    background:#d1e7dd;
    color:#0f5132;
}

.ros-status-cancelled{
    background:#f8d7da;
    color:#842029;
}

.ros-status-pending{
    background:#fff3cd;
    color:#664d03;
}

.ros-status-preparing{
    background:#cfe2ff;
    color:#084298;
}

.ros-status-ready{
    background:#d1e7dd;
    color:#0f5132;
}

.ros-status-served{
    background:#e2d9f3;
    color:#432874;
}

.ros-danger-btn{
    border:none;
    border-radius:10px;
    padding:10px 13px;
    background:#dc3545;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

.ros-small-danger-btn{
    border:none;
    border-radius:8px;
    padding:8px 10px;
    background:#dc3545;
    color:#fff;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}

.ros-manager-msg{
    font-weight:700;
    margin-top:10px;
}

@media(max-width:900px){
    .ros-manager-filter-box,
    .ros-manager-stats{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:600px){
    .ros-manager-wrap{
        padding:12px;
    }

    .ros-manager-filter-box,
    .ros-manager-stats{
        grid-template-columns:1fr;
    }

    .ros-manager-section-head{
        flex-direction:column;
        align-items:flex-start;
    }

    .ros-danger-btn{
        width:100%;
    }
}

.ros-order-card {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #fff;
}

/* service highlight */
.ros-service-highlight {
    background: #fff5f5;
    border: 1px solid #ff4d4f;
}

/* alert bar (NO animation) */
#ros_service_alert {
    background: #fff3cd;
    color: #856404;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #ffeeba;
}

.ros-customer-action-row {
    display: flex;
    align-items: center;
    gap: 8px;
	margin-top: 10px;
}

/* Left-most */
.ros-customer-service-btn {
    order: 1;
}

/* Middle */
.ros-customer-clear-btn {
    order: 2;
}

/* Right (main action) */
.ros-customer-place-btn {
    order: 3;
}

.ros-customer-service-btn {
	background: linear-gradient(135deg, #134e5e 0%, #0f9b0f 100%);
    color:#fff;
    
    padding: 12px 10px;   /* smaller */
    font-size: 12px;     /* smaller text */
    border-radius: 6px;

    width: auto;         /* prevent stretching */
    flex: 0 0 auto;      /* don't grow */
}	

.ros-customer-place-btn {
    flex: 1;             /* take remaining space */
}

#ros_service_alert,
#ros_finished_alert{
    background:#fff3cd;
    padding:12px;
    border-radius:12px;
    margin-bottom:12px;
    font-weight:700;
    flex-wrap:wrap;
    align-items:center ;
	justify-content: center !important;
    gap:8px;

    line-height:1.4;
}

#ros_service_alert button,
#ros_finished_alert button{

    border:none;
    background:#0d6efd;
    color:#fff;

    border-radius:999px;

    padding:6px 12px;

    cursor:pointer;

    font-size:13px;
    font-weight:700;

    min-width:52px;
}

.ros-finished-highlight{
    border:2px solid #198754 !important;
    background:#e9f7ef !important;
}

#ros_service_alert{
    border-left:5px solid #dc3545;
}

#ros_finished_alert{
    border-left:5px solid #198754;
}

.ros-manager-pagination{
    display:flex;
    gap:8px;
    justify-content:center;
    margin-top:16px;
    flex-wrap:wrap;
}

.ros-page-btn{
    border:none;
    background:#e9ecef;
    color:#333;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
    font-weight:700;
}

.ros-page-btn.active{
    background:#0d6efd;
    color:#fff;
}

/* POPULAR ITEMS */

.ros-manager-table th:first-child,
.ros-manager-table td:first-child{
    width:70px;
    text-align:center;
}

.ros-manager-table th:last-child,
.ros-manager-table td:last-child{
    width:90px;
    text-align:center;
}

.ros-normal-total{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
    font-size:16px;
    font-weight:700;
    color:#111;
}

.ros-manager-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ros-bill-settings-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 14px;
}

.ros-bill-settings-btn:hover {
    background: #000;
    color: #fff;
}

.ros-bill-settings-wrap {
    max-width: 560px;
    margin: 40px auto;
    padding: 0 16px;
}

.ros-bill-settings-wrap h2 {
    margin-bottom: 18px;
    font-size: 28px;
    font-weight: 800;
}

.ros-bill-settings-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.ros-bill-settings-card label {
    display: block;
    margin-bottom: 18px;
    font-weight: 700;
    color: #111827;
}

.ros-bill-settings-card input[type="number"] {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
}

#ros_save_bill_settings_btn {
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: 12px;
    background: #198754;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

#ros_save_bill_settings_btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#ros_bill_settings_msg {
    margin-top: 14px;
    font-weight: 700;
}

.ros-customer-service-waiting {
    color: #198754;
    font-weight: 700;
    font-size: 1rem;
    margin: 12px 0;
    padding: 10px 12px;
    background: #d1e7dd;
    border-radius: 8px;
    text-align: center;
}

#ros_customer_service_row {
    margin-top: 10px;
}

.ros-customer-service-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    cursor: pointer;
}

.ros-variant-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ros-variant-modal-close {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #111;
    padding: 0 4px;
}

.ros-variant-modal-box {
    width: 100%;
    max-width: 420px;
    max-height: 92vh;
    overflow: auto;
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.ros-variant-modal-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 8px;
    color: #111;
}

.ros-variant-modal-head.has-title {
    justify-content: space-between;
}

.ros-variant-modal-title {
    font-weight: 700;
    font-size: 1rem;
    color: #111;
}

.ros-variant-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ros-variant-option {
    width: 100%;
    text-align: left;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background: #fff;
    color: #111;
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.ros-variant-option:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.ros-variant-label {
    font-weight: 600;
    line-height: 1.4;
    color: #111;
}

.ros-variant-price {
    font-weight: 700;
    white-space: nowrap;
    color: #111;
}

* {
    -webkit-tap-highlight-color: transparent;
}

.ast-container, .ast-container-fluid {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
