/* OpenPOS Dual Currency - Modern UI skin v1.7.1. Visual only. Disable: POS > USD / LBP Rate > Modern POS interface. */
:root{
  --pos-primary:#2563EB; --pos-primary-600:#1D4ED8; --pos-primary-50:#EFF6FF; --pos-primary-100:#DBEAFE;
  --pos-success:#16A34A; --pos-success-600:#15803D; --pos-success-50:#F0FDF4;
  --pos-warning:#F59E0B; --pos-warning-50:#FFFBEB;
  --pos-danger:#DC2626;  --pos-danger-600:#B91C1C;  --pos-danger-50:#FEF2F2;
  --pos-bg:#F8FAFC; --pos-card:#FFFFFF; --pos-border:#E5E7EB; --pos-text:#111827; --pos-muted:#6B7280;
  --pos-wa:#25D366; --pos-wa-600:#128C7E;
  --pos-radius:12px; --pos-radius-sm:8px;
  --pos-shadow-sm:0 1px 2px rgba(16,24,40,.06),0 1px 3px rgba(16,24,40,.08);
  --pos-shadow:0 4px 14px rgba(16,24,40,.08);
  --pos-shadow-lg:0 12px 32px rgba(16,24,40,.16);
}body,
body:not(#o) button,
body:not(#o) input,
body:not(#o) select{font-family:Poppins,Tahoma,"Segoe UI","Noto Sans Arabic",sans-serif}body{background:var(--pos-bg)!important;color:var(--pos-text)}body:not(#o) .top-nav-container{
  background-color:#fff!important;color:var(--pos-text)!important;height:56px!important;
  border-bottom:1px solid var(--pos-border);box-shadow:0 2px 8px rgba(16,24,40,.06);
  position:relative;z-index:20;
}body:not(#o) .top-nav-container button{
  background:var(--pos-primary-50)!important;color:var(--pos-primary)!important;
  border:1px solid var(--pos-primary-100)!important;border-radius:10px!important;font-weight:600;
  transition:background .15s,transform .05s;
}body:not(#o) .top-nav-container button:hover{background:var(--pos-primary-100)!important}body:not(#o) .top-nav-container button:active{transform:scale(.97)}body:not(#o) .top-nav-container mat-icon,
body:not(#o) .top-nav-container .mat-icon,
body:not(#o) .top-nav-container svg{color:#475569!important;fill:currentColor}body:not(#o) .top-nav-container .top-cart-icon svg,
body:not(#o) .top-nav-container .top-cart-icon mat-icon{color:var(--pos-primary)!important}body:not(#o) .top-nav-container input{
  height:42px!important;border:1.5px solid var(--pos-border)!important;border-radius:10px!important;
  background:#fff!important;color:var(--pos-text)!important;padding:0 14px!important;font-size:14px;
  transition:border-color .15s,box-shadow .15s;
}body:not(#o) .top-nav-container input::placeholder{color:#9CA3AF}body:not(#o) .top-nav-container input:focus{outline:none;border-color:var(--pos-primary)!important;box-shadow:0 0 0 3px rgba(37,99,235,.18)}body:not(#o) .top-nav-scan input,
body:not(#o) #scan-barcode-input{border-width:2px!important;border-color:var(--pos-primary)!important;font-size:15px;opacity:1!important}body:not(#o) .top-cart-icon span.cart-counter,
body:not(#o) .xs-cart-qty{
  background:var(--pos-danger)!important;color:#fff!important;border:2px solid #fff!important;
  min-width:20px!important;width:auto!important;height:20px!important;line-height:16px;border-radius:999px!important;
  font-size:11px!important;font-weight:700;padding:0 5px!important;box-sizing:border-box;text-align:center;
}body:not(#o) .categories-page,
body:not(#o) .category-item-container{background:var(--pos-bg)}body:not(#o) .category-item{padding:0}body:not(#o) .category-item > div > div{padding:8px!important}body:not(#o) .category-item-background{
  background-color:#fff!important;border:1px solid var(--pos-border)!important;border-radius:var(--pos-radius)!important;
  box-shadow:var(--pos-shadow-sm);overflow:hidden;position:relative;cursor:pointer;
  background-size:cover;background-position:center;
  transition:transform .15s,box-shadow .15s,border-color .15s;
}body:not(#o) .category-item:hover .category-item-background{transform:translateY(-2px);box-shadow:var(--pos-shadow);border-color:var(--pos-primary)!important}body:not(#o) .category-item:active .category-item-background{transform:scale(.98);background-color:var(--pos-primary-50)!important}body:not(#o) .category-item.selected .category-item-background,
body:not(#o) .category-item.active .category-item-background{
  background-color:var(--pos-primary)!important;border-color:var(--pos-primary)!important}body:not(#o) .category-name{
  height:auto!important;min-height:52px;max-height:none!important;flex:0 0 auto!important;width:100%;
  display:flex;align-items:center;justify-content:center;padding:10px 12px;box-sizing:border-box;
}body:not(#o) .category-name p,
body:not(#o) .categories-page .category-name p{
  background:transparent!important;opacity:1!important;color:var(--pos-text)!important;
  text-transform:none!important;font-weight:600;font-size:15px;line-height:1.35;padding:0!important;margin:0!important;
  max-height:42px!important;
}body:not(#o) .category-item.selected .category-name p,
body:not(#o) .category-item.active .category-name p{color:#fff!important}body:not(#o) .main-content-container .mat-list .mat-list-item:not(.cart-item-container){
  background:transparent!important;border-bottom:0!important;margin:2px 6px;height:44px!important;
  border-radius:10px;font-size:14px;font-weight:500;color:var(--pos-text);transition:background .12s;
  width:auto!important;
}body:not(#o) .main-content-container .mat-list .mat-list-item:not(.cart-item-container):hover{background:var(--pos-primary-50)!important}body:not(#o) .main-content-container .mat-list .mat-list-item.active:not(.cart-item-container),
body:not(#o) .main-content-container .mat-list .mat-list-item.selected:not(.cart-item-container){
  background:var(--pos-primary)!important;color:#fff!important}body:not(#o) input[placeholder*="ategory" i]{
  height:40px;border:1.5px solid var(--pos-border);border-radius:10px;padding:0 12px;background:#fff;font-size:13px;box-sizing:border-box;
}body:not(#o) input[placeholder*="ategory" i]:focus{outline:none;border-color:var(--pos-primary);box-shadow:0 0 0 3px rgba(37,99,235,.15)}body:not(#o) .category-sub-list,
body:not(#o) .product-main-list,
body:not(#o) .main-content-container .mat-list{scroll-behavior:smooth;scrollbar-width:thin}body:not(#o) .product-paged-items{background:var(--pos-bg);padding:4px}body:not(#o) .product-item{padding:6px!important;box-sizing:border-box}body:not(#o) .product-item > div > div{padding:0!important}body:not(#o) .product-item-container{height:100%}body:not(#o) .product-item-container > div{border-radius:var(--pos-radius)!important;box-shadow:var(--pos-shadow-sm);background:#fff}body:not(#o) .product-item-detail{
  position:relative;display:flex!important;flex-direction:column;justify-content:flex-end;
  background-color:#fff!important;background-size:auto 50%!important;background-position:center 10px!important;background-repeat:no-repeat!important;
  border:1.5px solid var(--pos-border);border-radius:var(--pos-radius);overflow:hidden;
  transition:transform .15s,box-shadow .15s,border-color .15s;
}body:not(#o) .product-item-container:hover .product-item-detail{border-color:var(--pos-primary);box-shadow:var(--pos-shadow);transform:translateY(-2px)}body:not(#o) .product-item-container:active .product-item-detail{transform:scale(.98)}body:not(#o) .incart-yes .product-item-detail,
body:not(#o) .intable-yes .product-item-detail,
body:not(#o) .intakeaway-yes .product-item-detail{
  background-color:var(--pos-primary-50)!important;border-color:var(--pos-primary)!important;box-shadow:0 0 0 2px rgba(37,99,235,.25)}body:not(#o) .product-info{
  position:relative!important;display:flex;flex-direction:column;padding:10px 12px 12px!important;
  background:linear-gradient(to top,#fff 78%,rgba(255,255,255,0));
}body:not(#o) .product-info .product-name{order:1;font-size:13px!important;font-weight:600;line-height:1.3;color:var(--pos-text);
  max-height:34px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}body:not(#o) .product-info .product-name span{color:var(--pos-text)!important}body:not(#o) .product-info .product-price{order:2;margin-top:4px!important;font-size:18px!important;font-weight:800!important;color:var(--pos-primary)!important;letter-spacing:-.2px}body:not(#o) .product-info .product-price.original-price{font-size:12px!important;font-weight:500!important;color:var(--pos-muted)!important}body:not(#o) .product-info .product-sku{order:4;margin-top:4px;font-size:10px!important;line-height:1.2;color:#9CA3AF!important;letter-spacing:.3px}body:not(#o) .product-info .product-sku span{color:#9CA3AF!important}body:not(#o) .product-qty{
  position:absolute!important;left:auto!important;right:8px!important;top:8px!important;z-index:3;
  height:auto!important;min-width:0!important;padding:3px 9px!important;border-radius:999px;
  font-size:11px!important;font-weight:700;line-height:1.3!important;letter-spacing:.2px;box-shadow:var(--pos-shadow-sm);
  background:var(--pos-success)!important;color:#fff!important;
}body:not(#o) .product-qty::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.85;margin-right:5px;vertical-align:1px}body:not(#o) .product-qty[data-lv="low"]{background:var(--pos-warning)!important;color:#fff!important}body:not(#o) .product-qty[data-lv="critical"],
body:not(#o) .product-qty[data-lv="out"]{background:var(--pos-danger)!important;color:#fff!important}body:not(#o) .product-counter{
  left:8px!important;right:auto!important;top:8px!important;width:auto!important;min-width:24px;height:24px!important;line-height:20px;
  padding:0 7px;box-sizing:border-box;border:2px solid #fff!important;border-radius:999px!important;
  background:var(--pos-primary)!important;color:#fff!important;font-size:12px!important;font-weight:700;box-shadow:var(--pos-shadow-sm);
}body:not(#o) .content-right{background:#fff!important;border-left:1px solid var(--pos-border);box-shadow:-4px 0 16px rgba(16,24,40,.05);position:relative;z-index:5}body:not(#o) .cart-tabs-container{background:var(--pos-bg);border-bottom:1px solid var(--pos-border)}body:not(#o) .cart-tab{background:transparent!important;font-weight:600;color:var(--pos-muted);border-bottom:3px solid transparent!important;border-radius:10px 10px 0 0}body:not(#o) .cart-tab.active,
body:not(#o) .cart-tab.mat-tab-label-active,
body:not(#o) .cart-tab[aria-selected="true"]{color:var(--pos-primary)!important;border-bottom-color:var(--pos-primary)!important;background:#fff!important}body:not(#o) .cart-items-container,
body:not(#o) .cart-items-container-details{background:#fff!important}body:not(#o) .cart-item-container.mat-list-item{
  background:#fff!important;margin:6px 8px!important;width:auto!important;min-height:64px;height:auto!important;
  border:1px solid var(--pos-border);border-radius:var(--pos-radius-sm);box-shadow:var(--pos-shadow-sm);
  transition:border-color .12s,background .12s;
}body:not(#o) .cart-item-container.mat-list-item:nth-child(odd){background:#fff!important}body:not(#o) .cart-item-container.mat-list-item:hover{border-color:var(--pos-primary-100)}body:not(#o) .cart-item-container.mat-list-item.active,
body:not(#o) .cart-item-container.mat-list-item.selected,
body:not(#o) .cart-item-container.mat-list-item.cart-item-selected,
body:not(#o) .cart-item-container.mat-list-item.mat-list-item-focus{
  background:var(--pos-primary-50)!important;border-color:var(--pos-primary)!important;box-shadow:0 0 0 2px rgba(37,99,235,.18)}body:not(#o) .cart-item{font-size:14px}body:not(#o) .cart-item .item-name,
body:not(#o) .cart-item .product-name{font-weight:600;color:var(--pos-text)}body:not(#o) .cart-item .item-total,
body:not(#o) .cart-item .item-row-total{font-weight:700;font-size:15px;color:var(--pos-text)}body:not(#o) .reduct-qty,
body:not(#o) .increase-qty{
  width:34px!important;height:34px;line-height:32px;border-radius:10px;background:var(--pos-primary-50);color:var(--pos-primary);
  font-size:20px;font-weight:700;user-select:none;cursor:pointer;transition:background .12s,transform .05s;
}body:not(#o) .reduct-qty:active,
body:not(#o) .increase-qty:active{background:var(--pos-primary-100);transform:scale(.94)}body:not(#o) .cart-add-btn-container{
  background:var(--pos-bg)!important;border-top:1px solid var(--pos-border)!important;border-bottom:1px solid var(--pos-border)!important;line-height:44px;
}body:not(#o) .cart-add-btn-container-title label{font-weight:700;color:var(--pos-muted);letter-spacing:.5px;font-size:12px}body:not(#o) .cart-add-btn-container button,
body:not(#o) .cart-add-list-btn{
  background:#fff!important;color:var(--pos-primary)!important;border:1px solid var(--pos-primary-100)!important;border-radius:8px!important;
  font-weight:600;min-width:0;margin:0 3px;
}body:not(#o) .cart-total-container{background:#fff!important;border-top:1px solid var(--pos-border);box-shadow:0 -6px 14px rgba(16,24,40,.05);position:relative;z-index:2}body:not(#o) .total-sub .mat-list-item,
body:not(#o) .total-sub .total-subtotal,
body:not(#o) .total-sub .sub-total-row{font-size:15px;font-weight:600;color:#374151}body:not(#o) .total-sub .mat-list .mat-list-item{border-bottom:1px dashed var(--pos-border)!important}body:not(#o) .total-grand-total,
body:not(#o) .grand-total{font-size:22px!important;font-weight:800!important;color:var(--pos-text)!important}body:not(#o) .total-sub .mat-icon{color:var(--pos-primary)!important}body:not(#o) .bottom-cart-container{background:#fff!important;padding:10px 12px;box-sizing:border-box;border-top:1px solid var(--pos-border)}body:not(#o) .bottom-cart-container button{
  min-height:56px;height:56px!important;border-radius:12px!important;font-weight:700;font-size:16px;border:0!important;
  box-shadow:var(--pos-shadow-sm);transition:filter .12s,transform .05s,box-shadow .12s;cursor:pointer;
}body:not(#o) .bottom-cart-container button:active{transform:scale(.97);filter:brightness(.94)}body:not(#o) .bottom-cart-container button[disabled]{background:#E5E7EB!important;color:#9CA3AF!important;box-shadow:none}body:not(#o) .cart-checkout-btn{background:var(--pos-success)!important;color:#fff!important;font-size:18px!important}body:not(#o) .cart-checkout-btn:hover:not([disabled]){background:var(--pos-success-600)!important}body:not(#o) .save-order-btn,
body:not(#o) .cart-hold button{background:var(--pos-primary)!important;color:#fff!important}body:not(#o) .save-order-btn mat-icon,
body:not(#o) .cart-hold mat-icon{color:#fff!important}body:not(#o) .cart-trash button,
body:not(#o) .bottom-cart-container .cart-trash button{background:var(--pos-danger-50)!important;color:var(--pos-danger)!important;border:1px solid #FECACA!important}body:not(#o) .cart-trash mat-icon,
body:not(#o) .cart-trash svg{color:var(--pos-danger)!important}body:not(#o) .bottom-cart-container .cart-btn{padding:0 4px}body:not(#o) .opdc-cart-usd{background:rgba(255,255,255,.22);font-weight:700}body:not(#o) .pagination{background:#fff!important;border-top:1px solid var(--pos-border);color:var(--pos-muted)}body:not(#o) .pagination button{border-radius:10px}body:not(#o) .mat-dialog-container{border-radius:16px!important;box-shadow:var(--pos-shadow-lg)!important;padding:20px!important;background:#fff}body:not(#o) .cash-payment-content{padding:0!important}body:not(#o) .payment-header-content,
body:not(#o) .choose-payment-header-content{background:var(--pos-bg)!important;border:1px solid var(--pos-border);border-radius:12px!important;font-weight:600}body:not(#o) .co-checkout .mat-tab-label-active,
body:not(#o) .co-checkout .mat-tab-label.mat-tab-label-active{background:var(--pos-primary)!important;color:#fff!important;border-radius:10px;opacity:1}body:not(#o) .cash-method,
body:not(#o) .payment-method-list button,
body:not(#o) .payment-method-list .mat-list-item{border-radius:10px!important}body:not(#o) .cash-payment-content .grand-total,
body:not(#o) .cash-payment-content h1,
body:not(#o) .cash-payment-content h2{
  font-size:44px!important;font-weight:800!important;letter-spacing:-1px;color:var(--pos-text)!important;text-align:center;margin:6px 0 10px;line-height:1.1}.opdc-panel{background:#fff!important;border:1px solid var(--pos-border)!important;border-radius:14px!important;padding:12px 14px!important;box-shadow:var(--pos-shadow-sm)}.opdc-head{font-size:13px;color:var(--pos-muted);margin-bottom:8px}.opdc-head .opdc-rate{background:var(--pos-primary-50);color:var(--pos-primary);padding:2px 10px;border-radius:999px;font-weight:600;font-size:12px}.opdc-table thead th{border-bottom:0!important;color:var(--pos-muted);font-size:12px;letter-spacing:.6px}.opdc-table th,
.opdc-table td{padding:6px 8px!important}.opdc-total td{font-size:22px!important;font-weight:800!important;color:var(--pos-text)}.opdc-recv input{height:46px!important;border:1.5px solid var(--pos-border)!important;border-radius:10px!important;font-size:20px!important;font-weight:700;background:#fff!important;color:var(--pos-text)}.opdc-recv input.opdc-active{border-color:var(--pos-primary)!important;background:var(--pos-primary-50)!important;box-shadow:0 0 0 3px rgba(37,99,235,.2)!important}.opdc-remain td,
.opdc-remain th{font-size:20px!important;font-weight:800!important;color:var(--pos-danger)!important}.opdc-remain.opdc-is-change td,
.opdc-remain.opdc-is-change th{color:var(--pos-success)!important}.opdc-remain.opdc-is-done td,
.opdc-remain.opdc-is-done th{color:var(--pos-text)!important}body:not(#o) .cash-payment-content .cash-change{background:var(--pos-danger)!important;color:#fff!important;font-weight:800;font-size:22px;border-radius:0 12px 12px 0}body:not(#o) .cash-payment-content .tender-label,
body:not(#o) .cash-payment-content .tender-amount{font-weight:700}body:not(#o) .num-pad,
body:not(#o) .cash-payment-content mat-grid-list{gap:0}body:not(#o) .cash-payment-content mat-grid-tile.cash-num,
body:not(#o) .num-pad mat-grid-tile{padding:3px;box-sizing:border-box}body:not(#o) .cash-payment-content mat-grid-tile.cash-num .mat-figure,
body:not(#o) mat-grid-tile.cash-num .mat-figure{
  background:#fff!important;border:1px solid var(--pos-border);border-radius:12px;color:var(--pos-text)!important;
  font-size:22px!important;font-weight:600;box-shadow:var(--pos-shadow-sm);
  transition:background .08s,transform .05s,box-shadow .08s;user-select:none;margin:3px;
}body:not(#o) mat-grid-tile.cash-num:hover .mat-figure{background:var(--pos-primary-50)!important}body:not(#o) mat-grid-tile.cash-num:active .mat-figure{background:var(--pos-primary-100)!important;transform:scale(.94);box-shadow:none}body:not(#o) mat-grid-tile.cash-num{cursor:pointer;-webkit-tap-highlight-color:transparent}body:not(#o) mat-grid-tile.cash-num.cash-clear .mat-figure,
body:not(#o) mat-grid-tile.cash-num.clear .mat-figure{background:var(--pos-warning-50)!important;color:#B45309!important;border-color:#FDE68A}body:not(#o) mat-grid-tile.cash-num.cash-back .mat-figure,
body:not(#o) mat-grid-tile.cash-num.backspace .mat-figure{background:var(--pos-danger-50)!important;color:var(--pos-danger)!important;border-color:#FECACA}body:not(#o) mat-grid-tile.cash-num.cash-enter .mat-figure,
body:not(#o) mat-grid-tile.cash-num.enter .mat-figure{background:var(--pos-success)!important;color:#fff!important;border-color:var(--pos-success)}body:not(#o) .cash-payment-content button.mat-flat-button,
body:not(#o) .cash-payment-content .payment-action button{min-height:54px;border-radius:12px!important;font-weight:700;font-size:16px;box-shadow:var(--pos-shadow-sm)}body:not(#o) .cash-payment-content button.mat-warn,
body:not(#o) .cash-payment-content button.mat-flat-button.mat-warn{background:var(--pos-danger-50)!important;color:var(--pos-danger)!important;border:1px solid #FECACA!important}body:not(#o) .cash-payment-content button.mat-primary,
body:not(#o) .cash-payment-content button.mat-flat-button.mat-primary{background:var(--pos-success)!important;color:#fff!important}body:not(#o) .cash-payment-content button.mat-primary:hover{background:var(--pos-success-600)!important}body:not(#o) .done-icon-checkout{font-size:84px!important;width:84px!important;height:84px!important;color:var(--pos-success)!important;
  display:block;margin:6px auto 2px;animation:opdc-pop .45s ease-out}
@keyframes opdc-pop{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.12)}100%{transform:scale(1);opacity:1}}body:not(#o) .payments-summary{background:var(--pos-success-50)!important;border:1px solid #BBF7D0;border-radius:14px;padding:16px 18px!important;margin:8px 0 14px;text-transform:none}body:not(#o) .tender-summary{font-size:15px;color:var(--pos-muted);text-transform:uppercase;letter-spacing:.4px}body:not(#o) .tender-amount{color:var(--pos-text)!important;font-size:22px;font-weight:800!important}body:not(#o) .change-amount{color:var(--pos-success)!important;font-size:26px;font-weight:800!important}body:not(#o) .change-label{font-weight:600}body:not(#o) .method-line{border-top:1px dashed #BBF7D0!important;padding-top:8px;margin-top:8px}body:not(#o) .receipt-action-container{padding:0 4px}body:not(#o) .receipt-action-container button,
body:not(#o) .btn-checkout-guide-container button{
  min-height:56px;border-radius:12px!important;font-weight:700;font-size:15px;background:#fff!important;color:var(--pos-text)!important;
  border:1.5px solid var(--pos-border)!important;box-shadow:var(--pos-shadow-sm);transition:background .12s,transform .05s}body:not(#o) .receipt-action-container button:hover{background:var(--pos-primary-50)!important;border-color:var(--pos-primary)!important}body:not(#o) .receipt-action-container button:active{transform:scale(.97)}body:not(#o) .receipt-action-container button.mat-primary,
body:not(#o) .receipt-action-container button[color="primary"]{background:var(--pos-primary)!important;color:#fff!important;border-color:var(--pos-primary)!important}body:not(#o) .btn-checkout-guide-container button.mat-warn,
body:not(#o) .checkout-guide button.mat-warn,
body:not(#o) .receipt-action-container ~ * button.mat-warn{
  background:var(--pos-primary)!important;color:#fff!important;border:0!important;min-height:60px;font-size:17px}body:not(#o) .mat-dialog-container .mat-form-field-appearance-legacy .mat-form-field-underline{background:var(--pos-border)}body:not(#o) .mat-dialog-container .mat-form-field.mat-focused .mat-form-field-ripple{background:var(--pos-primary)}.opdc-wa-bar{padding:6px 4px 2px!important}.opdc-wa-btn{height:60px!important;border-radius:12px!important;background:var(--pos-wa)!important;color:#fff!important;font-size:16px!important;
  line-height:60px!important;box-shadow:0 4px 12px rgba(37,211,102,.35);display:flex;align-items:center;justify-content:center;gap:10px}.opdc-wa-btn:hover{background:#1EBE5B!important}.opdc-wa-btn:active{transform:scale(.98)}.opdc-wa-modal{background:rgba(17,24,39,.55)!important;backdrop-filter:blur(2px)}.opdc-wa-card{border-radius:16px!important;box-shadow:var(--pos-shadow-lg);padding:22px!important;border-top:5px solid var(--pos-wa)}.opdc-wa-title{color:var(--pos-wa-600)}.opdc-wa-opt{border-radius:10px!important;border:1.5px solid var(--pos-border)!important;padding:12px!important}.opdc-wa-opt:has(input:checked){border-color:var(--pos-wa)!important;background:#F0FDF4}.opdc-wa-manual input[type=text],
.opdc-wa-manual input[type=tel]{height:44px!important;border-radius:10px!important;border:1.5px solid var(--pos-border)!important}.opdc-wa-manual input:focus{outline:none;border-color:var(--pos-wa)!important;box-shadow:0 0 0 3px rgba(37,211,102,.2)}.opdc-wa-send{background:var(--pos-wa)!important;border-radius:10px!important;height:46px!important}.opdc-wa-secondary{background:var(--pos-bg)!important;border:1px solid var(--pos-border)!important;border-radius:10px!important}.opdc-wa-actions button,
.opdc-wa-actions a{height:46px!important;line-height:46px!important}.opdc-cart-fab{display:none}
@media (min-width:600px) and (max-width:1100px){body:not(#o).opdc-drawer .content-right{
    position:fixed!important;top:0;right:0;bottom:0;width:min(420px,92vw)!important;max-width:92vw!important;
    transform:translateX(105%);transition:transform .25s ease;z-index:1000;box-shadow:var(--pos-shadow-lg);
  }body:not(#o).opdc-drawer.opdc-cart-open .content-right{transform:none}body:not(#o).opdc-drawer::after{content:"";position:fixed;inset:0;background:rgba(17,24,39,.4);opacity:0;pointer-events:none;transition:opacity .25s;z-index:999}body:not(#o).opdc-drawer.opdc-cart-open::after{opacity:1;pointer-events:auto}.opdc-cart-fab{
    display:flex;align-items:center;gap:10px;position:fixed;right:16px;bottom:16px;z-index:998;height:56px;padding:0 20px;
    border:0;border-radius:999px;background:var(--pos-primary);color:#fff;font:700 15px Poppins,sans-serif;
    box-shadow:var(--pos-shadow-lg);cursor:pointer;
  }.opdc-cart-fab:active{transform:scale(.96)}.opdc-cart-fab b{background:#fff;color:var(--pos-primary);border-radius:999px;min-width:24px;height:24px;line-height:24px;text-align:center;font-size:13px;padding:0 6px;box-sizing:border-box}body:not(#o).opdc-cart-open .opdc-cart-fab{display:none}
}
@media (max-width:599px){body:not(#o) .product-item{padding:4px!important}body:not(#o) .product-info .product-price{font-size:16px!important}body:not(#o) .cash-payment-content .grand-total{font-size:34px!important}body:not(#o) .bottom-cart-container button{height:60px!important}body:not(#o) mat-grid-tile.cash-num .mat-figure{font-size:24px!important}
}
@media (hover:none){body:not(#o) .product-item-container:hover .product-item-detail,
body:not(#o) .category-item:hover .category-item-background{transform:none}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}body:not(#o) .product-item-container > div{container-type:inline-size}body:not(#o) .product-item-detail{
  display:block!important;box-sizing:border-box;
  padding:8px 8px 62px 54%!important;
  background-origin:content-box!important;background-size:contain!important;
  background-position:center!important;background-repeat:no-repeat!important;
}body:not(#o) .product-item-detail.opdc-noimg{background-image:none!important;padding-left:10px!important}body:not(#o) .product-info{
  position:absolute!important;left:0;right:0;bottom:0;top:auto;width:auto!important;
  padding:0 10px 9px!important;background:transparent!important;
}body:not(#o) .product-info .product-name{width:54%;margin-bottom:3px;font-size:12px!important}body:not(#o) .product-item-detail.opdc-noimg .product-info .product-name{width:100%}body:not(#o) .product-info .product-price{font-size:16px!important;font-weight:700!important;white-space:nowrap;
  font-family:Poppins,Tahoma,"Noto Sans Arabic",sans-serif}
@container (min-width:1px){body:not(#o) .product-info .product-price{font-size:clamp(13px,7.4cqw,19px)!important}
}body:not(#o) .product-info .product-sku,
body:not(#o) .product-info .product-sku span{font-size:11px!important;color:#6B7280!important}body:not(#o) .product-qty{top:6px!important;right:6px!important}body:not(#o) .product-counter{top:6px!important;left:6px!important}body:not(#o) .incart-yes .product-item-detail,
body:not(#o) .intable-yes .product-item-detail,
body:not(#o) .intakeaway-yes .product-item-detail{
  background-color:var(--pos-primary-50)!important}body:not(#o) .product-item-container > div{overflow:hidden}body:not(#o) .category-item-background.opdc-noimg{background-image:none!important}body:not(#o) .category-name p{
  background:rgba(255,255,255,.94)!important;border-radius:10px;padding:7px 12px!important;display:inline-block;
  box-shadow:var(--pos-shadow-sm);max-width:92%;
}body:not(#o) .category-item:hover .category-item-background.opdc-noimg{background-color:var(--pos-primary-50)!important}body:not(#o) .bottom-cart-container{display:flex;align-items:center;gap:8px;padding:8px 12px!important;box-sizing:border-box}body:not(#o) .bottom-cart-container > *{height:100%!important;max-height:100%}body:not(#o) .bottom-cart-container button{height:100%!important;min-height:0!important;max-height:52px;
  display:flex!important;align-items:center;justify-content:center;line-height:1!important;padding:0 12px!important}body:not(#o) .cart-checkout-btn{font-size:17px!important}body:not(#o) .top-nav-scan{padding-right:6px!important}body:not(#o) .top-cart-icon{min-width:44px;display:flex;align-items:center;justify-content:center;position:relative}body:not(#o) .opdc-btn-pay{background:var(--pos-success)!important;color:#fff!important;border:0!important;border-radius:12px!important;min-height:54px;font-size:16px;font-weight:700}body:not(#o) .opdc-btn-pay:hover{background:var(--pos-success-600)!important}body:not(#o) .opdc-btn-cancel{background:var(--pos-danger-50)!important;color:var(--pos-danger)!important;border:1px solid #FECACA!important;border-radius:12px!important;min-height:54px;font-size:16px;font-weight:700}body:not(#o) mat-grid-tile.opdc-k-clear .mat-figure{background:var(--pos-warning-50)!important;color:#B45309!important;border-color:#FDE68A!important}body:not(#o) mat-grid-tile.opdc-k-back .mat-figure{background:var(--pos-danger-50)!important;color:var(--pos-danger)!important;border-color:#FECACA!important}body:not(#o) mat-grid-tile.opdc-k-enter .mat-figure{background:var(--pos-success)!important;color:#fff!important;border-color:var(--pos-success)!important}body:not(#o) mat-grid-tile.opdc-k-enter .mat-figure *{color:#fff!important}body:not(#o) mat-grid-tile.opdc-k-quick .mat-figure{background:var(--pos-primary-50)!important;color:var(--pos-primary-600)!important;border-color:var(--pos-primary-100)!important;font-weight:700}body:not(#o) .cash-payment-content .cash-change{background:var(--pos-success)!important}body:not(#o) .cash-payment-content .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background:rgba(37,99,235,.35)!important}body:not(#o) .cash-payment-content .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background:var(--pos-primary)!important}body:not(#o) mat-grid-tile.cash-num .mat-figure{font-size:20px!important;margin:2px!important}body:not(#o) .done-icon-checkout{height:84px!important;line-height:84px!important;margin:4px auto 14px!important;overflow:visible}body:not(#o) .payments-summary{margin-top:6px!important;position:relative}body:not(#o) .receipt-action-container button.mat-warn,
body:not(#o) .receipt-action-container button.mat-primary,
body:not(#o) .receipt-action-container button[aria-pressed="true"],
body:not(#o) .receipt-action-container button.active{
  background:var(--pos-primary-50)!important;color:var(--pos-primary-600)!important;border:2px solid var(--pos-primary)!important}body:not(#o) .receipt-action-container button.mat-warn::before,
body:not(#o) .receipt-action-container button[aria-pressed="true"]::before{content:"\2713\00a0"}body:not(#o) .opdc-btn-new{
  background:var(--pos-primary)!important;color:#fff!important;border:0!important;border-radius:12px!important;
  min-height:60px!important;font-size:17px!important;font-weight:700;margin-top:14px!important;box-shadow:var(--pos-shadow)}body:not(#o) .opdc-btn-new:hover{background:var(--pos-primary-600)!important}.opdc-wa-btn{background:var(--pos-wa-600)!important;color:#fff!important;box-shadow:0 4px 12px rgba(18,140,126,.35)!important}.opdc-wa-btn:hover{background:#0E7468!important}.opdc-wa-btn.opdc-wa-wait{opacity:.9;cursor:progress}.opdc-wa-bar{margin:6px 0 4px}


@media (min-width:600px) and (max-width:1100px){.opdc-cart-fab{bottom:78px!important;height:50px!important;padding:0 16px!important}
}

/* =========================================================================
 * v1.8.0 - header inputs, left menu, receipt dock, settings, accessibility
 * ========================================================================= */

/* ---------- HEADER: every field fits its space (barcode/name search, customer search, buttons) */
body:not(#o) .top-nav-container:has(input){
  display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;
  gap:8px;padding:0 10px!important;box-sizing:border-box;height:56px!important;min-height:56px}
body:not(#o) .top-nav-container:has(input) > *{
  flex:0 0 auto!important;max-width:none!important;width:auto!important;min-width:0;height:auto!important;
  display:flex;align-items:center;margin:0!important;padding:0!important}
body:not(#o) .top-nav-container:has(input) > *:has(input){flex:1 1 0!important;min-width:0!important;position:relative}
body:not(#o) .top-nav-container:has(input) input{
  width:100%!important;min-width:0;height:42px!important;box-sizing:border-box!important;margin:0!important;
  padding:0 52px 0 14px!important;text-overflow:ellipsis}
body:not(#o) .top-nav-container:has(input) > *:has(input) button{
  position:absolute!important;right:5px;top:50%;transform:translateY(-50%);width:36px!important;height:36px!important;
  min-width:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:10px!important}
body:not(#o) .top-nav-container:has(input) > *:has(input) button:hover{background:var(--pos-primary-50)!important}
body:not(#o) .top-nav-container:has(input) > *:has(input) button:active{transform:translateY(-50%) scale(.94)}
body:not(#o) .top-nav-container:has(input) > :not(:has(input)) button{width:44px!important;height:44px!important;min-width:44px!important}
body:not(#o) .top-nav-search{padding:0!important}

/* logo: fit inside its cell instead of being cropped */
body:not(#o) .top-pos-logo-mobile,body:not(#o) [class*="logo" i]:not(.logon-frm):not(.logon-message):not(.logon-msg){
  background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important}
body:not(#o) img[src*="logo" i]{object-fit:contain;max-width:100%;max-height:100%}

/* ---------- LEFT MENU: light, icon tiles, clear active state */
body:not(#o) .nav-left{background:#fff!important;border-right:1px solid var(--pos-border);box-shadow:2px 0 14px rgba(16,24,40,.05)}
body:not(#o) .main-menu-item-container{
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:6px;
  padding:10px 8px!important;box-sizing:border-box;overflow-y:auto;scrollbar-width:none}
body:not(#o) .main-menu-item-container > *{flex:0 0 auto!important;height:auto!important;max-height:none!important;width:100%!important}
body:not(#o) .main-menu-item-container .left-menu-item{
  border:0!important;margin:0!important;padding:0!important;width:100%!important;color:#475569!important}
body:not(#o) .main-menu-item-container .left-menu-item button,
body:not(#o) .left-menu-item button{
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  width:100%!important;height:auto!important;min-height:76px;padding:10px 4px!important;margin:0!important;
  border:0!important;border-radius:14px!important;background:transparent!important;color:#475569!important;
  line-height:1.15;cursor:pointer;transition:background .15s,transform .05s}
body:not(#o) .left-menu-item button:hover{background:var(--pos-bg)!important}
body:not(#o) .left-menu-item button:active{transform:scale(.97)}
body:not(#o) .left-menu-item .mat-icon{
  width:42px!important;height:42px!important;line-height:42px!important;font-size:22px;margin:0!important;
  display:flex!important;align-items:center;justify-content:center;border-radius:12px;
  background:#F1F5F9;color:#475569!important;fill:currentColor;transition:background .15s,color .15s}
body:not(#o) .left-menu-item .mat-icon svg{fill:currentColor!important;max-height:22px}
body:not(#o) .left-menu-item span{font-size:11px!important;font-weight:600;color:#475569!important;letter-spacing:.1px;white-space:nowrap}
body:not(#o) .left-menu-item:hover .mat-icon{background:var(--pos-primary-100);color:var(--pos-primary)!important}
body:not(#o) .main-menu-item-container .left-menu-item.active button{background:var(--pos-primary-50)!important;box-shadow:inset 3px 0 0 var(--pos-primary)}
body:not(#o) .left-menu-item.active .mat-icon{background:var(--pos-primary)!important;color:#fff!important}
body:not(#o) .left-menu-item.active span{color:var(--pos-primary)!important;font-weight:700}
/* logout: separated, red tint */
body:not(#o) .left-nav-logout,body:not(#o) .left-nav-logout button{background:transparent!important;border:0!important}
body:not(#o) .left-nav-logout{border-top:1px solid var(--pos-border)!important;padding:8px!important;box-sizing:border-box}
body:not(#o) .left-nav-logout button{border-radius:14px!important;color:var(--pos-danger)!important;min-height:56px}
body:not(#o) .left-nav-logout button:hover{background:var(--pos-danger-50)!important}
body:not(#o) .left-nav-logout .mat-icon,body:not(#o) .left-nav-logout svg{color:var(--pos-danger)!important;fill:currentColor}
body:not(#o) .board-foot-nav{background:#fff!important;border-top:1px solid var(--pos-border)}

/* ---------- SETTINGS PAGE */
body:not(#o) .main-content-container{background-color:var(--pos-bg)!important}
body:not(#o) .mat-list-item:has(.mat-slide-toggle){
  background:#fff!important;border:1px solid var(--pos-border)!important;border-radius:12px!important;
  margin:8px 14px!important;width:auto!important;height:58px!important;box-shadow:var(--pos-shadow-sm)}
body:not(#o) .mat-slide-toggle .mat-slide-toggle-bar{background:#CBD5E1!important;height:20px;width:38px;border-radius:999px}
body:not(#o) .mat-slide-toggle .mat-slide-toggle-thumb{background:#fff!important;box-shadow:var(--pos-shadow-sm)}
body:not(#o) .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background:rgba(37,99,235,.4)!important}
body:not(#o) .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background:var(--pos-primary)!important}
body:not(#o) .mat-slide-toggle .mat-slide-toggle-label{font-weight:500;color:var(--pos-text)}

/* ---------- RECEIPT SCREEN: fits the dialog, email row aligned, New Order docked and unmissable */
body:not(#o) .done-icon-checkout{font-size:58px!important;width:58px!important;height:58px!important;line-height:58px!important;margin:0 auto 6px!important}
body:not(#o) .payments-summary{padding:12px 18px!important;margin:4px 0 8px!important}
body:not(#o) .tender-amount{font-size:20px}
body:not(#o) .change-amount{font-size:22px}
body:not(#o) .receipt-action-container button.mat-stroked-button{min-height:48px!important}
/* the e-mail "send" arrow is a small icon button, not a 56px box */
body:not(#o) .receipt-action-container button.mat-flat-button:not(.opdc-btn-new):not(.opdc-wa-btn),
body:not(#o) .receipt-action-container button[color="primary"]:not(.opdc-btn-new):not(.opdc-wa-btn){
  min-height:44px!important;height:44px!important;width:48px!important;min-width:48px!important;padding:0!important;
  border-radius:12px!important;background:var(--pos-primary)!important;color:#fff!important;border:0!important;
  align-self:center;margin-left:8px}
body:not(#o) .receipt-action-container button.mat-flat-button:not(.opdc-btn-new):not(.opdc-wa-btn) *{color:#fff!important}
body:not(#o) .receipt-action-container mat-form-field,body:not(#o) .receipt-action-container .mat-form-field{width:100%}
body:not(#o) .opdc-wa-btn{height:52px!important;line-height:52px!important}
/* New Order: large, primary, docked to the bottom of the dialog (class added by opdc-ui.js) */
body:not(#o) .opdc-btn-new{
  width:100%!important;min-height:56px!important;font-size:18px!important;margin:0!important;
  display:flex!important;align-items:center;justify-content:center;gap:8px;letter-spacing:.2px}
body:not(#o) .opdc-btn-new::before{content:"+";font-size:24px;font-weight:600;line-height:1}
body:not(#o) .opdc-foot{
  position:sticky!important;bottom:0;z-index:6;flex:0 0 auto!important;height:auto!important;max-height:none!important;
  background:#fff;padding:10px 0 14px!important;margin-top:6px!important;box-shadow:0 -10px 14px -8px rgba(16,24,40,.14)}
body:not(#o) .mat-dialog-container.opdc-has-foot{padding-bottom:0!important}
@media (max-height:700px){
  body:not(#o) .done-icon-checkout{font-size:44px!important;width:44px!important;height:44px!important;line-height:44px!important}
  body:not(#o) .payments-summary{padding:8px 14px!important}
}

/* ---------- ACCESSIBILITY */
body:not(#o) button:focus-visible,body:not(#o) input:focus-visible,body:not(#o) [role="button"]:focus-visible{
  outline:3px solid rgba(37,99,235,.55)!important;outline-offset:2px}
body:not(#o) .mat-dialog-container button{min-height:44px}

/* =========================================================================
 * v1.8.1 - cashier name, keypad colours + fit, user header in menu
 * ========================================================================= */

/* ---- cashier / user name: full name visible (text buttons are NOT 44px icon squares) */
body:not(#o) .top-nav-container:has(input) > :not(:has(input)) button:not(:has(mat-icon)):not(:has(svg)):not(.mat-icon-button){
  width:auto!important;min-width:max-content!important;max-width:240px!important;height:42px!important;
  padding:0 16px!important;font-weight:600;white-space:nowrap}
body:not(#o) .top-nav-container:has(input) > :not(:has(input)) button:not(:has(mat-icon)):not(:has(svg)) .mat-button-wrapper{
  display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:not(#o) .top-nav-container:has(input) > :has(button:not(:has(mat-icon)):not(:has(svg)):not(.mat-icon-button)){overflow:visible!important}

/* ---- keypad: special keys get their colours (outrank the base key rule) */
body:not(#o) .cash-payment-content mat-grid-tile.cash-num.opdc-k-clear .mat-figure{background:var(--pos-warning-50)!important;color:#B45309!important;border:1px solid #FDE68A!important}
body:not(#o) .cash-payment-content mat-grid-tile.cash-num.opdc-k-back .mat-figure{background:var(--pos-danger-50)!important;color:var(--pos-danger)!important;border:1px solid #FECACA!important}
body:not(#o) .cash-payment-content mat-grid-tile.cash-num.opdc-k-enter .mat-figure{background:var(--pos-success)!important;color:#fff!important;border:1px solid var(--pos-success)!important}
body:not(#o) .cash-payment-content mat-grid-tile.cash-num.opdc-k-enter .mat-figure *,
body:not(#o) .cash-payment-content mat-grid-tile.cash-num.opdc-k-enter mat-icon{color:#fff!important;fill:#fff!important}
body:not(#o) .cash-payment-content mat-grid-tile.cash-num.opdc-k-quick .mat-figure{background:var(--pos-primary-50)!important;color:var(--pos-primary-600)!important;border:1px solid var(--pos-primary-100)!important}
body:not(#o) .cash-payment-content mat-grid-tile.cash-num .mat-figure{margin:2px!important;overflow:hidden}
body:not(#o) .cash-payment-content mat-grid-tile.cash-num .mat-figure mat-icon,
body:not(#o) .cash-payment-content mat-grid-tile.cash-num .mat-figure .mat-icon{font-size:26px;width:26px;height:26px;line-height:26px}

/* ---- payment dialog: compact so nothing scrolls and the keypad stays inside its margins */
body:not(#o) .mat-dialog-container{padding:14px 16px!important}
body:not(#o) .opdc-panel{padding:8px 12px!important}
body:not(#o) .opdc-head{margin-bottom:2px!important}
body:not(#o) .opdc-table th,body:not(#o) .opdc-table td{padding:3px 8px!important}
body:not(#o) .opdc-total td{font-size:18px!important}
body:not(#o) .opdc-remain td,body:not(#o) .opdc-remain th{font-size:17px!important}
body:not(#o) .opdc-recv input{height:38px!important;font-size:18px!important}
@media (max-height:820px){
  body:not(#o) .opdc-recv input{height:34px!important;font-size:16px!important}
  body:not(#o) .opdc-table th,body:not(#o) .opdc-table td{padding:2px 8px!important}
}

/* ---- popup menu: modern list + user header (header added by opdc-ui.js) */
body:not(#o) .mat-menu-panel{border-radius:14px!important;box-shadow:var(--pos-shadow-lg)!important;min-width:250px!important;overflow:hidden}
body:not(#o) .mat-menu-content:not(:empty){padding:0 0 6px!important}
body:not(#o) .mat-menu-item{height:48px!important;line-height:48px!important;font-weight:500;color:var(--pos-text)!important;
  border-radius:10px;margin:2px 6px;width:calc(100% - 12px)!important}
body:not(#o) .mat-menu-item:hover:not([disabled]),body:not(#o) .mat-menu-item.cdk-keyboard-focused{background:var(--pos-primary-50)!important}
body:not(#o) .mat-menu-item .mat-icon{color:#64748B!important;margin-right:14px}
body:not(#o) .mat-menu-item:hover .mat-icon{color:var(--pos-primary)!important}
.opdc-menu-user{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:6px;background:var(--pos-primary-50);border-bottom:1px solid var(--pos-primary-100)}
.opdc-menu-user .opdc-avatar{flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:var(--pos-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;text-transform:uppercase}
.opdc-menu-user .opdc-uname{font-weight:700;font-size:15px;color:var(--pos-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}


/* =========================================================================
 * v1.8.2 - camera / barcode scan button in the header (#scan-barcode-btn, #scan-qrcode-btn)
 * It lives in its own .top-nav-scan block, holds an icon-font glyph (.icon-op-barcode / .icon-op-qrcode)
 * and must stay a normal, visible 44px button right next to the search field.
 * ========================================================================= */
body:not(#o) #scan-barcode-btn,body:not(#o) #scan-qrcode-btn{
  position:static!important;transform:none!important;inset:auto!important;
  display:flex!important;align-items:center;justify-content:center;
  width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;margin:0!important;padding:0!important;
  background:var(--pos-primary-50)!important;color:var(--pos-primary)!important;
  border:1px solid var(--pos-primary-100)!important;border-radius:10px!important;overflow:visible!important;
  cursor:pointer;transition:background .15s,transform .05s}
body:not(#o) #scan-barcode-btn:hover,body:not(#o) #scan-qrcode-btn:hover{background:var(--pos-primary-100)!important}
body:not(#o) #scan-barcode-btn:active,body:not(#o) #scan-qrcode-btn:active{transform:scale(.94)!important}
body:not(#o) #scan-barcode-btn .mat-button-wrapper,body:not(#o) #scan-qrcode-btn .mat-button-wrapper{
  display:flex!important;align-items:center;justify-content:center;overflow:visible!important;padding:0!important;width:100%;height:100%}
body:not(#o) #scan-barcode-btn [class^="icon-op-"],body:not(#o) #scan-qrcode-btn [class^="icon-op-"],
body:not(#o) #scan-barcode-btn [class*=" icon-op-"],body:not(#o) #scan-qrcode-btn [class*=" icon-op-"]{
  display:inline-block!important;font-size:26px!important;line-height:1!important;color:var(--pos-primary)!important;
  width:auto;height:auto;opacity:1!important;visibility:visible!important}
body:not(#o) #scan-barcode-btn[disabled],body:not(#o) #scan-qrcode-btn[disabled]{opacity:.5;cursor:not-allowed}
/* the block that holds it: sized to the button, never clipped */
body:not(#o) .top-nav-container:has(#scan-barcode-btn) > .top-nav-scan,
body:not(#o) .top-nav-container:has(#scan-qrcode-btn) > .top-nav-scan,
body:not(#o) .top-nav-scan:has(#scan-barcode-btn),body:not(#o) .top-nav-scan:has(#scan-qrcode-btn){
  flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;padding:0!important;
  overflow:visible!important;position:static!important;display:flex!important;align-items:center;justify-content:center}

/* =========================================================================
 * v1.10.0 - login, welcome (lock) screen, PIN login and logged-out screens
 * ========================================================================= */

/* ---- calm background instead of the animated diagonal stripes */
body:not(#o) .bg{
  animation:none!important;opacity:1!important;left:0!important;right:0!important;
  background-image:
    radial-gradient(900px 520px at 12% 8%,rgba(37,99,235,.16),transparent 62%),
    radial-gradient(760px 520px at 92% 92%,rgba(22,163,74,.12),transparent 62%),
    linear-gradient(135deg,#F8FAFC 0%,#EEF4FF 100%)!important}
body:not(#o) .bg2,body:not(#o) .bg3{display:none!important}

/* ---- welcome / lock screen */
body:not(#o) .welcome-msg{
  color:var(--pos-text)!important;text-transform:none!important;font-size:28px!important;font-weight:700!important;
  letter-spacing:-.3px;margin-bottom:6px;align-items:center}
body:not(#o) .welcome-msg + div{
  display:flex!important;flex-direction:row!important;flex-wrap:wrap;justify-content:center;align-items:stretch;
  gap:16px;flex:0 0 auto!important;height:auto!important;max-height:none!important;padding:8px 16px;box-sizing:border-box}
body:not(#o) .welcome-msg + div > div{
  flex:0 0 200px!important;max-width:200px!important;width:200px;height:200px!important;box-sizing:border-box;
  display:flex!important;flex-direction:column;align-items:center;justify-content:space-between;
  padding:20px 14px!important;background:#fff!important;color:var(--pos-text)!important;
  border:1px solid var(--pos-border);border-radius:20px;box-shadow:var(--pos-shadow);text-align:center;
  transition:transform .15s,box-shadow .15s,background .15s}
body:not(#o) .welcome-msg + div > div > div{flex:0 0 auto!important;height:auto!important;max-height:none!important;width:100%;display:flex;align-items:center;justify-content:center}
body:not(#o) .welcome-msg + div > div span{color:inherit!important;font-size:15px;font-weight:600;word-break:break-word;line-height:1.3}
body:not(#o) .welcome-msg + div > div > div:last-child span{font-size:12px;font-weight:500;color:var(--pos-muted)!important}
body:not(#o) .welcome-msg + div > div .mat-icon{
  width:46px!important;height:46px!important;line-height:46px!important;font-size:22px!important;border-radius:50%;
  background:var(--pos-primary-50);color:var(--pos-primary)!important;display:flex;align-items:center;justify-content:center;margin:0!important}
body:not(#o) .today-info > div:nth-child(2) span{font-size:34px!important;font-weight:700!important;letter-spacing:-1px}
/* Login tile = the primary action */
body:not(#o) .welcome-msg + div > .login-info{
  background:var(--pos-primary)!important;color:#fff!important;border-color:var(--pos-primary)!important;cursor:pointer;
  box-shadow:0 10px 24px rgba(37,99,235,.35)}
body:not(#o) .login-info span,body:not(#o) .login-info > div:last-child span{color:#fff!important}
body:not(#o) .login-info .mat-icon{background:rgba(255,255,255,.2)!important;color:#fff!important}
body:not(#o) .welcome-msg + div > .login-info:hover{background:var(--pos-primary-600)!important;transform:translateY(-3px)}
body:not(#o) .welcome-msg + div > .login-info:active{transform:scale(.98)}
body:not(#o) .welcome-msg + div > .login-info:focus-visible{outline:3px solid rgba(37,99,235,.5);outline-offset:3px}
@media (max-width:640px){
  body:not(#o) .welcome-msg + div > div{flex:1 1 calc(50% - 16px)!important;max-width:none!important;width:auto;height:170px!important}
  body:not(#o) .welcome-msg{font-size:22px!important}
}

/* ---- sign-in card (password form, choose drawer, site URL) */
body:not(#o) .login-container{
  background:#fff!important;border:1px solid var(--pos-border);border-radius:22px!important;
  padding:26px 30px!important;box-shadow:var(--pos-shadow-lg);max-width:460px;margin:0 auto;box-sizing:border-box}
body:not(#o) .login-title h1{font-size:22px!important;font-weight:700;text-transform:none!important;color:var(--pos-text);letter-spacing:-.2px}
body:not(#o) .login-container .close-btn{
  top:-6px!important;right:-10px!important;width:40px;height:40px;border-radius:50%;background:var(--pos-bg)!important;color:var(--pos-muted)!important}
body:not(#o) .login-container .close-btn:hover{background:var(--pos-danger-50)!important;color:var(--pos-danger)!important}
body:not(#o) .login-container .close-btn .mat-icon{color:inherit!important}
body:not(#o) .login-message{color:var(--pos-muted);font-size:14px;line-height:1.5}
body:not(#o) .login-container .mat-form-field{width:100%;margin-bottom:4px}
body:not(#o) .login-container .mat-form-field-label{color:var(--pos-muted)!important}
body:not(#o) .login-container .mat-input-element{font-size:16px;color:var(--pos-text);caret-color:var(--pos-primary)}
body:not(#o) .login-container .mat-form-field-underline{background:var(--pos-border)!important;height:2px}
body:not(#o) .login-container .mat-form-field.mat-focused .mat-form-field-ripple{background:var(--pos-primary)!important;height:2px}
body:not(#o) .login-container .mat-form-field.mat-focused .mat-form-field-label{color:var(--pos-primary)!important}
body:not(#o) .login-container button.mat-flat-button,body:not(#o) .login-container button[type="submit"]{
  min-height:50px!important;border-radius:12px!important;background:var(--pos-primary)!important;color:#fff!important;
  font-weight:700;font-size:16px;box-shadow:var(--pos-shadow-sm)}
body:not(#o) .login-container button.mat-flat-button:hover{background:var(--pos-primary-600)!important}
body:not(#o) .login-container button[disabled]{background:#E5E7EB!important;color:#9CA3AF!important;box-shadow:none}
/* choose cash drawer list */
body:not(#o) .cashdrawer-item{
  border:1.5px solid var(--pos-border)!important;border-radius:12px!important;margin:8px 0!important;
  background:#fff!important;color:var(--pos-text)!important;font-weight:600;transition:background .12s,border-color .12s}
body:not(#o) .cashdrawer-item:hover{background:var(--pos-primary-50)!important;border-color:var(--pos-primary)!important;color:var(--pos-primary)!important}

/* ---- PIN login */
body:not(#o) .pin-form-container{
  background:#fff!important;border:1px solid var(--pos-border);border-radius:24px;padding:22px 22px 14px!important;
  box-shadow:var(--pos-shadow-lg);box-sizing:border-box}
body:not(#o) .pin-form-container img{width:92px;height:92px;object-fit:cover;border-radius:50%;box-shadow:var(--pos-shadow);margin:0 auto 6px;display:block}
body:not(#o) .pin-form-container .mat-input-element{font-size:22px;letter-spacing:6px;text-align:center}
body:not(#o) .pin-form-container .mat-form-field-underline{background:var(--pos-border)!important;height:2px}
body:not(#o) .pin-form-container .mat-form-field.mat-focused .mat-form-field-ripple{background:var(--pos-primary)!important}
body:not(#o) .pin-form-container button[type="submit"]{
  width:46px;height:46px;border-radius:50%!important;background:var(--pos-primary)!important;color:#fff!important;box-shadow:var(--pos-shadow-sm)}
body:not(#o) .pin-form-container button[type="submit"] .mat-icon{color:#fff!important}
body:not(#o) .unlock-popup{color:var(--pos-muted)!important;left:6px!important;top:6px!important}
body:not(#o) .unlock-popup:hover{color:var(--pos-primary)!important}

/* ---- logged-out screen (and the Z-report print screen that shares the layout) */
body:not(#o) .z-report-print-screen-container{
  background:#fff!important;border:1px solid var(--pos-border);border-radius:24px!important;padding:30px 28px!important;
  box-shadow:var(--pos-shadow-lg);box-sizing:border-box;text-align:center;max-width:520px}
body:not(#o) .z-report-print-screen-container .mat-icon{
  width:76px!important;height:76px!important;line-height:76px!important;font-size:38px!important;border-radius:50%;
  background:var(--pos-primary-50);color:var(--pos-primary)!important;display:flex;align-items:center;justify-content:center;margin:0 auto 8px}
body:not(#o) .z-report-print-screen-container h2{font-size:24px;font-weight:700;color:var(--pos-text);margin:6px 0 18px;letter-spacing:-.3px}
body:not(#o) .z-report-print-screen-container button{
  min-height:52px!important;border-radius:12px!important;font-weight:700;font-size:16px;
  background:#fff!important;color:var(--pos-text)!important;border:1.5px solid var(--pos-border)!important;box-shadow:var(--pos-shadow-sm)}
body:not(#o) .z-report-print-screen-container button:hover{background:var(--pos-bg)!important}
body:not(#o) .z-report-print-screen-container button.mat-primary,
body:not(#o) .z-report-print-screen-container button.mat-flat-button.mat-primary{
  background:var(--pos-primary)!important;color:#fff!important;border-color:var(--pos-primary)!important;box-shadow:0 8px 20px rgba(37,99,235,.3)}
body:not(#o) .z-report-print-screen-container button.mat-primary:hover{background:var(--pos-primary-600)!important}
body:not(#o) .z-report-print-screen-container button.mat-warn{background:var(--pos-danger-50)!important;color:var(--pos-danger)!important;border-color:#FECACA!important}

/* =========================================================================
 * v1.10.1 - welcome cards: aligned, nothing clipped, readable on the Login card
 * Same stack in every card (icon / main text / small text), centred as a group.
 * ========================================================================= */
body:not(#o) .welcome-msg + div > div{
  justify-content:center!important;gap:10px!important;padding:18px 14px!important;overflow:hidden}
body:not(#o) .welcome-msg + div > div > div{
  flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;
  width:100%!important;margin:0!important;padding:0!important;
  display:flex!important;align-items:center!important;align-content:center!important;
  justify-content:center!important;place-content:center!important}
body:not(#o) .welcome-msg + div > div > div > span,
body:not(#o) .welcome-msg + div > div > div span{
  position:static!important;display:block!important;width:100%;text-align:center!important;line-height:1.35!important;transform:none!important}
/* fixed heights for the 2nd and 3rd block, so icons and texts line up across all three cards */
body:not(#o) .welcome-msg + div > div > div:nth-child(2){min-height:44px!important}
body:not(#o) .welcome-msg + div > div > div:nth-child(3){min-height:18px!important}
body:not(#o) .welcome-msg + div > div > div:nth-child(3) span{font-size:12px!important;font-weight:500!important;color:var(--pos-muted)!important}
/* Login card: small text in white */
body:not(#o) .welcome-msg + div > .login-info > div:nth-child(3) span{color:rgba(255,255,255,.88)!important}
body:not(#o) .welcome-msg + div > .login-info > div:nth-child(2) span{color:#fff!important;font-size:18px!important;font-weight:700!important}
