html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
  background: #f3f6f9;
  color: #1f2937;
}

/* Login and register screens follow the main YAMY Enterprise portal theme. */
.pos-auth-body {
  background: #f4f7fb;
  color: #263651;
}

.pos-auth-body > .container-fluid,
.pos-auth-body > .container-fluid > main {
  min-height: 100vh;
  padding: 0 !important;
}

.pos-auth-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.pos-auth-card {
  background: #fff;
  border: 1px solid #dde6ef;
  border-radius: 10px;
  box-shadow: 0 8px 26px rgba(24, 39, 75, .08);
  overflow: hidden;
  width: min(100%, 440px);
}

.pos-auth-card--register { width: min(100%, 500px); }

.pos-auth-header {
  align-items: center;
  border-bottom: 1px solid #e7edf3;
  display: flex;
  justify-content: space-between;
  padding: 20px 28px;
}

.pos-auth-brand { color: #102a54; font-size: 20px; font-weight: 750; letter-spacing: .01em; }
.pos-auth-brand span { color: #7181a1; font-weight: 350; }
.pos-auth-badge { background: #e8f2fc; border: 1px solid #c8ddf0; border-radius: 6px; color: #0d5798; font-size: 11px; font-weight: 750; letter-spacing: .1em; padding: 5px 8px; }
.pos-auth-content { padding: 28px; }
.pos-auth-content h1 { color: #102a54; font-size: 22px; font-weight: 650; margin: 0 0 6px; }
.pos-auth-subtitle { color: #7181a1; font-size: 13px; margin: 0 0 24px; }
.pos-restaurant-intro { align-items: center; display: flex; gap: 12px; }
.pos-restaurant-icon { align-items: center; background: #fff4dd; border: 1px solid #f1d79c; border-radius: 50%; display: flex; flex: 0 0 44px; font-size: 21px; height: 44px; justify-content: center; margin-bottom: 24px; }
.pos-auth-field { margin-bottom: 17px; }
.pos-auth-field > label { color: #465a74; display: block; font-size: 12px; font-weight: 650; margin-bottom: 7px; }

.pos-auth-control {
  background: #fff;
  border: 1px solid #ccd7e4;
  border-radius: 6px;
  color: #2f405c;
  display: block;
  font-size: 14px;
  height: 44px;
  outline: 0;
  padding: 0 13px;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}

.pos-auth-control::placeholder { color: #9aa8b9; }
.pos-auth-control:focus { background: #fff; border-color: #0d5798; box-shadow: 0 0 0 3px rgba(13, 87, 152, .11); color: #2f405c; }
.pos-auth-select { appearance: auto; }
.pos-auth-select option { background: #fff; color: #182230; }
.pos-auth-select option:disabled { color: #8b95a5; }
.pos-auth-money { position: relative; }
.pos-auth-money > span { color: #7181a1; font-size: 11px; font-weight: 700; left: 13px; position: absolute; top: 50%; transform: translateY(-50%); }
.pos-auth-money .pos-auth-control { padding-left: 48px; }
.pos-auth-validation { color: #b42318; display: block; font-size: 11px; margin-top: 5px; }

.pos-auth-primary {
  background: #0d5798;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  margin-top: 4px;
  min-height: 44px;
  transition: background-color .15s;
  width: 100%;
}

.pos-auth-primary:hover { background: #0a477d; }
.pos-auth-alert:empty { display: none; }
.pos-auth-alert, .pos-auth-warning, .pos-auth-info, .pos-auth-success { border-radius: 6px; font-size: 12px; margin-bottom: 17px; padding: 10px 12px; }
.pos-auth-alert { background: #fdecec; border: 1px solid #f3c6c2; color: #b42318; }
.pos-auth-warning { background: #fff4dd; border: 1px solid #f1d79c; color: #8c5c00; }
.pos-auth-info { background: #e8f2fc; border: 1px solid #c8ddf0; color: #0d5798; }
.pos-auth-success { background: #e6f6ee; border: 1px solid #bfe5d2; color: #18794e; }
.pos-auto-dismiss { transition: opacity .2s ease, transform .2s ease; }
.pos-auto-dismiss.is-closing { opacity: 0; transform: translateY(-4px); }
.pos-auth-signout-form { margin-top: 16px; text-align: center; }
.pos-auth-signout { background: transparent; border: 0; color: #7181a1; font-size: 12px; padding: 5px 10px; text-decoration: underline; }
.pos-auth-signout:hover { color: #0d5798; }
.pos-auth-footer { color: #9aa8b9; font-size: 10px; margin-top: 24px; text-align: center; }

@media (max-width: 520px) {
  .pos-auth-page { padding: 14px; }
  .pos-auth-header { padding: 17px 20px; }
  .pos-auth-content { padding: 22px 20px; }
}

.pos-shell { padding: 1rem 0; }
.pos-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.pos-header h1 { margin: 0; font-size: 1.5rem; font-weight: 750; }
.pos-session { color: #667085; font-size: .88rem; margin-top: .2rem; }
.pos-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: .8rem; min-height: calc(100vh - 105px); }
.pos-catalog, .pos-cart-panel { background: #fff; border: 1px solid #dde4ec; border-radius: 12px; box-shadow: 0 5px 18px rgba(16, 24, 40, .06); }
.pos-catalog { padding: 1rem; }
.pos-search { border-width: 2px; margin-bottom: 1rem; }
.pos-message { color: #667085; padding: 2rem; text-align: center; }
.pos-item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .75rem; }
.pos-item-card { background: #fff; border: 1px solid #d9e2ec; border-radius: 10px; color: #1f2937; display: flex; flex-direction: column; gap: .35rem; min-height: 112px; padding: .85rem; text-align: left; transition: border-color .12s, box-shadow .12s, transform .12s; }
.pos-item-card:hover:not(:disabled) { border-color: #0d6efd; box-shadow: 0 4px 14px rgba(13, 110, 253, .14); transform: translateY(-1px); }
.pos-item-card:disabled { background: #f7f7f8; color: #98a2b3; }
.pos-item-card strong { font-size: .95rem; line-height: 1.25; }
.pos-item-card > span { color: #667085; font-size: .78rem; }
.pos-item-card .pos-item-card-footer { color: #0d6efd; font-size: .85rem; font-weight: 700; margin-top: auto; }
.pos-cart-panel { display: flex; flex-direction: column; padding: .7rem; }
.pos-cart-title { align-items: center; display: flex; justify-content: space-between; margin-bottom: .45rem; }
.pos-cart-title h2 { font-size: .95rem; margin: 0; }
.pos-cart-title .btn { font-size: .68rem; padding: .2rem .42rem; }
.pos-customer-picker { margin-bottom: .5rem; position: relative; }
.pos-customer-picker > label { color: #475467; display: block; font-size: .76rem; font-weight: 700; margin-bottom: .3rem; }
.pos-customer-picker > label span { color: #98a2b3; font-weight: 500; }
.pos-customer-picker .form-control { font-size: .75rem; min-height: 33px; padding: .35rem .55rem; }
.pos-customer-results { background: #fff; border: 1px solid #ccd7e4; border-radius: 7px; box-shadow: 0 10px 24px rgba(16,24,40,.12); left: 0; max-height: 230px; overflow-y: auto; position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; }
.pos-customer-results button { background: #fff; border: 0; border-bottom: 1px solid #edf1f5; display: flex; flex-direction: column; padding: .65rem .75rem; text-align: left; width: 100%; }
.pos-customer-results button:last-child { border-bottom: 0; }
.pos-customer-results button:hover { background: #f4f8fc; }
.pos-customer-results strong { color: #263651; font-size: .78rem; }
.pos-customer-results small { color: #718096; font-size: .68rem; margin-top: .1rem; }
.pos-customer-empty { color: #718096; font-size: .75rem; padding: .8rem; text-align: center; }
.pos-selected-customer { align-items: center; background: #e8f2fc; border: 1px solid #c8ddf0; border-radius: 7px; color: #0d5798; display: flex; font-size: .7rem; justify-content: space-between; margin-top: .3rem; padding: .35rem .5rem; }
.pos-selected-customer button { background: transparent; border: 0; color: #0d5798; font-size: 1.05rem; line-height: 1; padding: 0 .15rem; }
.pos-payment-method { margin-bottom: .5rem !important; }
.pos-payment-method .form-select { font-size: .76rem; min-height: 34px; padding: .3rem 1.9rem .3rem .55rem; }
.pos-credit-info { background: #e8f2fc; border: 1px solid #c8ddf0; border-radius: 7px; color: #0d5798; font-size: .68rem; line-height: 1.35; margin-bottom: .5rem; padding: .45rem .55rem; }
.pos-empty-cart { border: 1px dashed #cbd5e1; border-radius: 7px; color: #667085; font-size: .75rem; padding: 1.25rem .65rem; text-align: center; }
.pos-cart-lines { flex: 1; max-height: calc(100vh - 355px); min-height: 80px; overflow-y: auto; }
.pos-cart-line { align-items: center; border-bottom: 1px solid #edf1f5; display: grid; gap: .35rem; grid-template-columns: minmax(0, 1fr) auto auto; padding: .45rem 0; }
.pos-cart-line > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.pos-cart-line strong:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos-cart-line strong { font-size: .76rem; }
.pos-cart-line small { color: #667085; font-size: .65rem; }
.pos-qty-controls { display: flex; }
.pos-qty-controls button, .pos-qty-controls input { border: 1px solid #cbd5e1; height: 27px; text-align: center; width: 27px; }
.pos-qty-controls button { background: #f8fafc; font-size: .9rem; line-height: 1; }
.pos-qty-controls input { border-left: 0; border-right: 0; font-size: .7rem; width: 36px; }
.pos-totals { border-top: 1px solid #e5e7eb; margin-top: .45rem; padding: .45rem 0; }
.pos-totals > div, .pos-change { display: flex; font-size: .75rem; justify-content: space-between; padding: .12rem 0; }
.pos-grand-total { color: #0d6efd; font-size: 1.05rem !important; margin-top: .2rem; }
.pos-change { font-size: .85rem; margin: -.15rem 0 .5rem; }
.pos-cart-panel .form-label { font-size: .72rem; margin-bottom: .2rem; }
.pos-cart-panel .form-control-lg { font-size: .85rem; min-height: 36px; padding: .4rem .55rem; }
.pos-cash-received { font-size: 1.2rem !important; font-weight: 700; min-height: 46px !important; padding: .55rem .7rem !important; text-align: right; }
.pos-numeric-keypad { display: grid; gap: 7px; grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
.pos-numeric-keypad button { background: #f8fafc; border: 1px solid #ccd7e4; border-radius: 6px; color: #263651; font-size: 1rem; font-weight: 700; min-height: 46px; padding: 7px 4px; }
.pos-numeric-keypad button:hover { background: #eef6fc; border-color: #0d5798; color: #0d5798; }
.pos-numeric-keypad button:active { background: #dcecf8; transform: translateY(1px); }
.pos-numeric-keypad .pos-numeric-keypad--action { color: #b42318; font-size: .8rem; }
.pos-numeric-keypad .pos-numeric-keypad--exact { background: #0d5798; border-color: #0d5798; color: #fff; grid-row: span 2; }
.pos-numeric-keypad .pos-numeric-keypad--exact:hover { background: #0a477d; color: #fff; }
.pos-cart-panel .mb-3 { margin-bottom: .5rem !important; }
.pos-cart-panel .pos-message { font-size: .72rem; padding: .45rem; }
.pos-cart-panel #completeSale { font-size: .85rem; padding: .5rem .7rem; }
.shift-summary { border: 1px solid #dde4ec; border-radius: 10px; overflow: hidden; }
.shift-summary > div { display: flex; justify-content: space-between; padding: .7rem .85rem; border-bottom: 1px solid #edf1f5; }
.shift-summary > div:last-child { border-bottom: 0; }
.shift-summary span { color: #667085; }
.shift-expected { background: #eef6ff; color: #0d6efd; font-size: 1.12rem; }

@media (max-width: 900px) {
  .pos-workspace { grid-template-columns: 1fr; }
  .pos-cart-lines { max-height: none; }
}
.pos-checkout-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: .5rem;
}

.pos-checkout-actions .btn {
  white-space: nowrap;
}

.pos-history-card { background: #fff; border: 1px solid #dde6ef; border-radius: 9px; box-shadow: 0 7px 22px rgba(24,39,75,.055); overflow: hidden; }
.pos-history-card thead th { background: #f8fafc; border-bottom-color: #dde6ef; color: #7181a1; font-size: .68rem; font-weight: 700; padding: .65rem .85rem; text-transform: uppercase; }
.pos-history-card tbody td { border-color: #edf1f5; color: #465a74; font-size: .78rem; padding: .67rem .85rem; }
.pos-history-empty { color: #667085; padding: 3rem 1rem; text-align: center; }
.pos-payment-badge { border-radius: 999px; display: inline-block; font-size: .72rem; font-weight: 700; padding: .25rem .55rem; }
.pos-payment-badge.is-cash { background: #e8f7ef; color: #18794e; }
.pos-payment-badge.is-credit { background: #fff4dd; color: #8c5c00; }
.pos-history-heading { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 12px; }
.pos-history-heading h1 { color: #102a54; font-size: 20px; font-weight: 650; margin: 0 0 3px; }
.pos-history-heading p { color: #7181a1; font-size: 11px; margin: 0; }
.pos-history-action { border: 1px solid #b9cde0; border-radius: 5px; color: #0d5798; display: inline-block; font-size: .7rem; font-weight: 650; padding: .3rem .5rem; text-decoration: none; white-space: nowrap; }
.pos-history-action:hover { background: #eef6fc; border-color: #0d5798; color: #0a477d; }
.pos-receipt-toolbar { display: flex; justify-content: center; gap: .6rem; margin: 1.25rem 0; }
.thermal-receipt { background: #fff; box-shadow: 0 5px 24px rgba(16,24,40,.1); color: #000; font: 12px/1.35 Arial,sans-serif; margin: 0 auto 2rem; padding: 4mm; width: 80mm; }
.thermal-receipt h1 { font-size: 18px; margin: 0; text-align: center; }
.thermal-receipt hr { border: 0; border-top: 1px dashed #000; margin: 7px 0; opacity: 1; }
.thermal-receipt dl { margin: 0; }
.thermal-receipt dl > div, .receipt-line-value { display: flex; justify-content: space-between; gap: .5rem; }
.thermal-receipt dt { font-weight: 400; }
.thermal-receipt dd { margin: 0; text-align: right; }
.receipt-line-name { font-weight: 600; margin-top: 4px; }
.receipt-total { border-top: 1px solid #000; font-size: 15px; font-weight: 700; margin-top: 4px; padding-top: 4px; }
.receipt-thanks { font-size: 10px; }

@media print {
  @page { size: 80mm auto; margin: 0; }
  body { background: #fff !important; }
  body > .container-fluid { padding: 0 !important; }
  .pos-receipt-toolbar { display: none !important; }
  .thermal-receipt { box-shadow: none; margin: 0; width: 80mm; }
}

/* Sales workspace uses the same restrained white YAMY portal theme as authentication. */
.pos-sales-body { background: #f4f7fb; color: #263651; }
.pos-sales-body > .container-fluid { padding: 0 !important; }
.pos-sales-body > .container-fluid > main { padding: 0 !important; }
.pos-sales-page { min-height: 100vh; }
.pos-sales-topbar { align-items: center; background: #fff; border-bottom: 1px solid #e3eaf2; display: flex; justify-content: space-between; min-height: 66px; padding: 0 30px; }
.pos-sales-brand { align-items: center; display: flex; gap: 12px; }
.pos-order-mode-nav { align-items: center; display: flex; gap: 7px; margin-left: auto; margin-right: 18px; }
.pos-order-mode { align-items: center; background: #fff; border: 1px solid #ccd7e4; border-radius: 7px; color: #465a74; display: flex; gap: 8px; min-width: 128px; padding: 7px 11px; text-align: left; text-decoration: none; }
.pos-order-mode:hover { background: #f4f8fc; border-color: #8fb4d3; color: #0d5798; }
.pos-order-mode.is-active { background: #e8f2fc; border-color: #8fb9dc; color: #0d5798; }
.pos-order-mode-icon { align-items: center; background: #edf2f7; border-radius: 5px; display: flex; font-size: 18px; height: 31px; justify-content: center; width: 31px; }
.pos-order-mode-icon svg, .pos-order-heading-icon svg { fill: none; height: 19px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 19px; }
.pos-order-mode.is-active .pos-order-mode-icon { background: #0d5798; color: #fff; }
.pos-order-mode span:last-child { display: flex; flex-direction: column; }
.pos-order-mode strong { font-size: 11px; line-height: 1.2; }
.pos-order-mode small { color: #8a98ad; font-size: 9px; line-height: 1.25; }
.pos-sales-actions { align-items: center; display: flex; gap: 7px; }
.pos-sales-actions form { margin: 0; }
.pos-topbar-link { background: #fff; border: 1px solid #ccd7e4; border-radius: 6px; color: #465a74; display: inline-block; font-size: 12px; font-weight: 650; line-height: 1.2; padding: 9px 12px; text-decoration: none; }
.pos-topbar-link:hover { background: #f7f9fc; border-color: #aebdcd; color: #102a54; }
.pos-topbar-link--danger { color: #b42318; }
.pos-sales-content { margin: 0 auto; max-width: 1720px; padding: 12px 30px 10px; }
.pos-sales-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 8px; min-height: 38px; }
.pos-sales-heading h1 { color: #102a54; font-size: 20px; font-weight: 650; margin: 0; }
.pos-order-heading { align-items: center; display: flex; gap: 9px; }
.pos-order-heading-icon { align-items: center; background: #e8f2fc; border-radius: 6px; color: #0d5798; display: flex; font-size: 17px; height: 34px; justify-content: center; width: 34px; }
.pos-order-heading h1 { font-size: 15px; margin: 0 0 1px; }
.pos-order-heading p { color: #8a98ad; font-size: 9px; margin: 0; }
.pos-shift-context { align-items: center; color: #7181a1; display: flex; flex-direction: row; flex-wrap: nowrap; font-size: 11px; gap: 6px; line-height: 1; white-space: nowrap; }
.pos-shift-context strong { color: #263651; font-size: 11px; }
@media (max-width: 1050px) {
  .pos-sales-topbar { flex-wrap: wrap; gap: 8px; padding-bottom: 8px; padding-top: 8px; }
  .pos-order-mode-nav { margin: 0; order: 3; width: 100%; }
  .pos-order-mode { flex: 1; justify-content: center; }
}
.pos-sales-body .pos-workspace { gap: 14px; grid-template-columns: minmax(0, 1fr) 340px; min-height: calc(100vh - 126px); }
.pos-sales-body .pos-catalog,
.pos-sales-body .pos-cart-panel { border: 1px solid #dde6ef; border-radius: 9px; box-shadow: 0 7px 22px rgba(24,39,75,.055); }
.pos-sales-body .pos-catalog { padding: 0; }
.pos-section-heading { align-items: center; border-bottom: 1px solid #e7edf3; display: flex; min-height: 65px; padding: 13px 18px; }
.pos-section-heading h2, .pos-cart-title h2 { color: #102a54; font-size: 14px; font-weight: 700; margin: 0 0 2px; }
.pos-section-heading p, .pos-cart-title p { color: #8a98ad; font-size: 10px; margin: 0; }
.pos-search-wrap { margin: 15px 18px 13px; position: relative; }
.pos-search-wrap > span { color: #7181a1; font-size: 21px; left: 13px; line-height: 1; position: absolute; top: 50%; transform: translateY(-53%); z-index: 2; }
.pos-sales-body .pos-search { border: 1px solid #ccd7e4; border-radius: 6px; color: #2f405c; font-size: 13px; height: 43px; margin: 0; padding: 0 13px 0 40px; }
.pos-sales-body .pos-search:focus { border-color: #0d5798; box-shadow: 0 0 0 3px rgba(13,87,152,.1); }
.pos-category-tabs { display: flex; gap: 7px; margin: 0 18px 13px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.pos-category-tab { background: #fff; border: 1px solid #ccd7e4; border-radius: 999px; color: #465a74; flex: 0 0 auto; font-size: 11px; font-weight: 650; min-height: 34px; padding: 6px 13px; }
.pos-category-tab:hover { background: #f4f8fc; border-color: #8fb4d3; color: #0d5798; }
.pos-category-tab.is-active { background: #0d5798; border-color: #0d5798; color: #fff; }
.pos-sales-body .pos-item-grid { gap: 9px; grid-template-columns: repeat(auto-fill,minmax(155px,1fr)); padding: 0 18px 18px; }
.pos-sales-body .pos-item-card { border-color: #dde6ef; border-radius: 7px; min-height: 102px; padding: 11px; }
.pos-sales-body .pos-item-card:hover:not(:disabled) { border-color: #0d5798; box-shadow: 0 3px 11px rgba(13,87,152,.1); transform: none; }
.pos-sales-body .pos-item-card strong { color: #263651; font-size: 12px; }
.pos-sales-body .pos-item-card > span { font-size: 10px; }
.pos-sales-body .pos-item-card .pos-item-card-footer { color: #0d5798; font-size: 11px; }
.pos-sales-body .pos-cart-panel { padding: 0; }
.pos-sales-body .pos-cart-title { border-bottom: 1px solid #e7edf3; margin: 0 0 12px; min-height: 65px; padding: 13px 15px; }
.pos-clear-button { background: #fff; border: 0; color: #b42318; font-size: 11px; font-weight: 650; padding: 5px; }
.pos-clear-button:hover { text-decoration: underline; }
.pos-sales-body .pos-customer-picker,
.pos-sales-body .pos-empty-cart,
.pos-sales-body .pos-cart-lines,
.pos-sales-body .pos-totals,
.pos-sales-body .pos-payment-method,
.pos-sales-body #cashPaymentFields,
.pos-sales-body .pos-credit-info,
.pos-sales-body #checkoutMessage,
.pos-sales-body .pos-checkout-actions,
.pos-sales-body .pos-order-submit-actions { margin-left: 15px !important; margin-right: 15px !important; }
.pos-sales-body .pos-cart-lines { max-height: calc(100vh - 315px); }
.pos-sales-body .pos-totals { border-top-color: #e7edf3; }
.pos-sales-body .pos-grand-total { color: #0d5798; }
.pos-sales-body .form-control, .pos-sales-body .form-select { border-color: #ccd7e4; border-radius: 6px; }
.pos-sales-body .form-control:focus, .pos-sales-body .form-select:focus { border-color: #0d5798; box-shadow: 0 0 0 3px rgba(13,87,152,.1); }
.pos-sales-body .pos-checkout-actions { margin-bottom: 15px; margin-top: 3px; }
.pos-order-submit-actions { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin-bottom: 15px; margin-top: 5px; }
.pos-sale-button { border-radius: 6px; font-size: 12px; font-weight: 700; min-height: 40px; padding: 8px 10px; }
.pos-sale-button--secondary { background: #fff; border: 1px solid #0d5798; color: #0d5798; }
.pos-sale-button--secondary:hover { background: #eef6fc; }
.pos-sale-button--primary { background: #0d5798; border: 1px solid #0d5798; color: #fff; }
.pos-sale-button--primary:hover { background: #0a477d; }
.pos-dinein-content { margin: 0 auto; max-width: 1500px; padding: 24px 30px; }
.pos-dinein-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 18px; }
.pos-dinein-heading h1 { color: #102a54; font-size: 23px; margin: 0 0 3px; }
.pos-dinein-heading p { color: #7181a1; font-size: 12px; margin: 0; }
.pos-new-table-button { align-items: center; background: #0d5798; border: 1px solid #0d5798; border-radius: 7px; color: #fff; display: flex; font-size: 13px; font-weight: 700; gap: 6px; min-height: 42px; padding: 8px 15px; }
.pos-new-table-button:hover { background: #0a477d; }
.pos-new-table-button span { font-size: 20px; line-height: 1; }
.pos-new-table-panel { background: #fff; border: 1px solid #d8e3ed; border-radius: 9px; box-shadow: 0 7px 22px rgba(24,39,75,.055); margin-bottom: 18px; padding: 18px; }
.pos-new-table-fields { align-items: start; display: grid; gap: 14px; grid-template-columns: minmax(220px,1fr) 180px auto; }
.pos-new-table-fields .pos-auth-field { margin: 0; }
.pos-new-table-actions { align-items: center; display: flex; gap: 8px; padding-top: 23px; }
.pos-table-grid { display: grid; gap: 13px; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); }
.pos-table-card { align-items: center; background: #f0faf4; border: 1px solid #b9dfc7; border-radius: 10px; color: #263651; display: grid; gap: 11px; grid-template-columns: 43px minmax(0,1fr) auto; min-height: 100px; padding: 15px; text-align: left; transition: border-color .15s,box-shadow .15s,transform .15s; }
.pos-table-card:hover { border-color: #5fb27a; box-shadow: 0 6px 17px rgba(25,115,60,.12); transform: translateY(-1px); }
.pos-table-card.is-occupied { background: #fff7e8; border-color: #efd295; }
.pos-table-card.is-occupied:hover { border-color: #d9a94b; box-shadow: 0 6px 17px rgba(166,105,0,.11); }
.pos-table-card.is-occupied .pos-table-card-icon, .pos-table-card.is-occupied .pos-table-status { background: #ffedc2; color: #9a6500; }
.pos-table-card-icon { align-items: center; background: #d9f2e2; border-radius: 8px; color: #18794e; display: flex; height: 43px; justify-content: center; width: 43px; }
.pos-table-card-icon svg { fill: none; height: 24px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 24px; }
.pos-table-card-details { display: flex; flex-direction: column; min-width: 0; }
.pos-table-card-details strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos-table-card-details small { color: #7181a1; font-size: 11px; margin-top: 4px; }
.pos-table-status { background: #d9f2e2; border-radius: 999px; color: #18794e; font-size: 9px; font-weight: 750; padding: 5px 8px; text-transform: uppercase; }
.pos-tables-empty { align-items: center; background: #fff; border: 1px dashed #b9c9d8; border-radius: 10px; color: #7181a1; display: flex; flex-direction: column; gap: 5px; justify-content: center; min-height: 260px; text-align: center; }
.pos-tables-empty strong { color: #263651; font-size: 16px; }
.pos-tables-empty span { font-size: 12px; }
.pos-modal-open { overflow: hidden; }
.pos-table-modal { inset: 0; position: fixed; z-index: 1000; }
.pos-table-modal-backdrop { background: rgba(16,42,84,.42); inset: 0; position: absolute; }
.pos-table-modal-dialog { background: #fff; border-radius: 11px; box-shadow: 0 22px 60px rgba(16,42,84,.25); left: 50%; max-height: min(680px,calc(100vh - 40px)); overflow: hidden; position: absolute; top: 50%; transform: translate(-50%,-50%); width: min(640px,calc(100% - 30px)); }
.pos-table-modal-dialog > header { align-items: flex-start; border-bottom: 1px solid #e3eaf2; display: flex; justify-content: space-between; padding: 18px 20px; }
.pos-table-modal-dialog h2 { color: #102a54; font-size: 19px; margin: 0 0 3px; }
.pos-table-modal-dialog header p { color: #7181a1; font-size: 11px; margin: 0; }
.pos-table-modal-dialog header > button { background: transparent; border: 0; color: #7181a1; font-size: 25px; line-height: 1; padding: 0 3px; }
.pos-modal-table-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); max-height: 430px; overflow-y: auto; padding: 18px 20px; }
.pos-modal-table-card { background: #f0faf4; border: 1px solid #b9dfc7; border-radius: 8px; color: #263651; display: flex; flex-direction: column; min-height: 78px; padding: 13px; text-align: left; }
.pos-modal-table-card strong { font-size: 14px; }
.pos-modal-table-card span { color: #7181a1; font-size: 10px; margin-top: 4px; }
.pos-modal-table-card:hover, .pos-modal-table-card.is-selected { border-color: #0d5798; box-shadow: 0 0 0 2px rgba(13,87,152,.12); }
.pos-modal-table-card.is-selected { background: #e8f2fc; }
.pos-table-modal-dialog > .pos-message { padding: 35px 20px; }
.pos-table-modal-dialog > footer { border-top: 1px solid #e3eaf2; display: flex; gap: 8px; justify-content: flex-end; padding: 13px 20px; }
.pos-payment-choice-dialog { background: #fff; border-radius: 11px; box-shadow: 0 22px 60px rgba(16,42,84,.25); left: 50%; overflow: hidden; position: absolute; top: 50%; transform: translate(-50%,-50%); width: min(570px,calc(100% - 30px)); }
.pos-payment-choice-dialog > header { align-items: flex-start; border-bottom: 1px solid #e3eaf2; display: flex; justify-content: space-between; padding: 18px 20px; }
.pos-payment-choice-dialog h2 { color: #102a54; font-size: 19px; margin: 0 0 3px; }
.pos-payment-choice-dialog header p { color: #7181a1; font-size: 11px; margin: 0; }
.pos-payment-choice-dialog header > button { background: transparent; border: 0; color: #7181a1; font-size: 25px; line-height: 1; }
.pos-payment-choice-options { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; padding: 20px; }
.pos-payment-choice-card { align-items: flex-start; background: #fff; border: 1px solid #ccd7e4; border-radius: 9px; color: #263651; display: flex; flex-direction: column; min-height: 150px; padding: 16px; text-align: left; }
.pos-payment-choice-card:hover { background: #f4f8fc; border-color: #8fb4d3; }
.pos-payment-choice-card.is-primary { background: #eef6ff; border-color: #8fb9dc; }
.pos-payment-choice-icon { align-items: center; background: #edf2f7; border-radius: 7px; color: #465a74; display: flex; font-size: 18px; height: 38px; justify-content: center; margin-bottom: 12px; width: 38px; }
.pos-payment-choice-card.is-primary .pos-payment-choice-icon { background: #0d5798; color: #fff; }
.pos-payment-choice-card strong { color: #102a54; font-size: 14px; }
.pos-payment-choice-card small { color: #7181a1; font-size: 10px; line-height: 1.45; margin-top: 5px; }
@media (max-width: 560px) { .pos-payment-choice-options { grid-template-columns: 1fr; } }
.pos-kitchen-content { margin: 0 auto; max-width: 1700px; padding: 22px 30px; }
.pos-kitchen-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 17px; }
.pos-kitchen-heading h1 { color: #102a54; font-size: 23px; margin: 0 0 3px; }
.pos-kitchen-heading p { color: #7181a1; font-size: 12px; margin: 0; }
.pos-kot-grid { align-items: start; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); }
.pos-kot-card { background: #fff; border: 1px solid #d8e3ed; border-radius: 9px; box-shadow: 0 6px 18px rgba(24,39,75,.06); overflow: hidden; }
.pos-kot-card > header { align-items: flex-start; background: #f8fafc; border-bottom: 1px solid #e5ebf1; display: flex; justify-content: space-between; padding: 13px 15px; }
.pos-kot-card.is-dinein > header { background: #eef6ff; }
.pos-kot-card.is-takeaway > header { background: #fff7e8; }
.pos-kot-card h2 { color: #102a54; font-size: 17px; margin: 3px 0 0; }
.pos-kot-card time { color: #7181a1; font-size: 11px; font-weight: 650; }
.pos-kot-type { color: #0d5798; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.pos-kot-card.is-takeaway .pos-kot-type { color: #996300; }
.pos-kot-order-number { color: #7181a1; font-size: 10px; padding: 8px 15px 0; }
.pos-kot-card ul { list-style: none; margin: 0; padding: 8px 15px 13px; }
.pos-kot-card li { align-items: center; border-top: 1px solid #edf1f5; display: grid; gap: 7px; grid-template-columns: auto minmax(0,1fr) auto; padding: 10px 0; }
.pos-kot-card li strong { color: #102a54; font-size: 13px; }
.pos-kot-card li span { color: #263651; font-size: 12px; }
.pos-kot-card li small { background: #fff1cc; border-radius: 999px; color: #8c5c00; font-size: 8px; font-weight: 750; padding: 4px 7px; text-transform: uppercase; }
.pos-kot-card.is-preparing li small { background: #e8f2fc; color: #0d5798; }
.pos-kot-card.is-ready li small { background: #e5f6ec; color: #18794e; }
.pos-kot-card > footer { border-top: 1px solid #e3eaf2; padding: 11px 15px 14px; }
.pos-kot-card > footer form { margin: 0; }
.pos-kot-action { border: 0; border-radius: 6px; color: #fff; font-size: 12px; font-weight: 750; min-height: 40px; padding: 8px 12px; width: 100%; }
.pos-kot-action--preparing { background: #0d5798; }
.pos-kot-action--preparing:hover { background: #0a477d; }
.pos-kot-action--ready { background: #18794e; }
.pos-kot-action--ready:hover { background: #12613e; }
.pos-kot-action--completed { background: #465a74; }
.pos-kot-action--completed:hover { background: #34445a; }
.pos-orders-content, .pos-order-details-content { margin: 0 auto; max-width: 1500px; padding: 22px 30px; }
.pos-orders-heading, .pos-order-details-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 17px; }
.pos-orders-heading h1, .pos-order-details-heading h1 { color: #102a54; font-size: 23px; margin: 0 0 3px; }
.pos-orders-heading p, .pos-order-details-heading p { color: #7181a1; font-size: 11px; margin: 0; }
.pos-active-orders-card, .pos-order-details-card { background: #fff; border: 1px solid #d8e3ed; border-radius: 9px; box-shadow: 0 6px 18px rgba(24,39,75,.055); overflow: hidden; }
.pos-active-orders-table thead th, .pos-order-lines-table thead th { background: #f8fafc; border-bottom-color: #dfe7ef; color: #7181a1; font-size: 9px; font-weight: 800; letter-spacing: .05em; padding: 11px 13px; text-transform: uppercase; white-space: nowrap; }
.pos-active-orders-table tbody td, .pos-order-lines-table tbody td { border-color: #edf1f5; color: #465a74; font-size: 11px; padding: 12px 13px; vertical-align: middle; }
.pos-active-orders-table tbody td strong, .pos-order-lines-table tbody td strong { color: #263651; }
.pos-order-row-actions { display: flex; gap: 6px; justify-content: flex-end; white-space: nowrap; }
.pos-settle-link { background: #18794e; border-color: #18794e; color: #fff; }
.pos-settle-link:hover { background: #12613e; border-color: #12613e; color: #fff; }
.pos-order-type-badge, .pos-order-status { border-radius: 999px; display: inline-block; font-size: 8px; font-weight: 800; padding: 5px 8px; text-transform: uppercase; white-space: nowrap; }
.pos-order-type-badge.is-dinein { background: #e8f2fc; color: #0d5798; }
.pos-order-type-badge.is-takeaway { background: #fff1cc; color: #8c5c00; }
.pos-order-status.is-pending, .pos-order-status.is-payment-pending { background: #fff1cc; color: #8c5c00; }
.pos-order-status.is-payment-paid { background: #e5f6ec; color: #18794e; }
.pos-order-status.is-payment-processing { background: #e8f2fc; color: #0d5798; }
.pos-order-status.is-held { background: #f4e8ff; color: #7540a3; }
.pos-order-status.is-preparing { background: #e8f2fc; color: #0d5798; }
.pos-order-status.is-ready, .pos-order-status.is-completed { background: #e5f6ec; color: #18794e; }
.pos-order-details-heading > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.pos-order-details-statuses { display: flex; gap: 7px; }
.pos-settle-button { background: #18794e; border: 1px solid #18794e; border-radius: 6px; color: #fff; font-size: 11px; font-weight: 750; min-height: 34px; padding: 6px 11px; }
.pos-settle-button:hover { background: #12613e; }
.pos-settle-button:disabled { background: #e5f6ec; border-color: #bfe5d2; color: #18794e; cursor: default; }
.pos-order-table-context { align-items: center; background: #eef6ff; border-bottom: 1px solid #d7e8f6; display: flex; justify-content: space-between; padding: 12px 16px; }
.pos-order-table-context span { color: #7181a1; font-size: 10px; }
.pos-order-table-context strong { color: #0d5798; font-size: 14px; }
.pos-order-lines-table td:first-child { display: flex; flex-direction: column; }
.pos-order-lines-table td:first-child small { color: #8a98ad; font-size: 9px; margin-top: 2px; }
.pos-order-totals-summary { border-top: 1px solid #e3eaf2; margin-left: auto; padding: 13px 17px 17px; width: min(100%,330px); }
.pos-order-totals-summary > div { color: #7181a1; display: flex; font-size: 11px; justify-content: space-between; padding: 4px 0; }
.pos-order-totals-summary strong { color: #263651; }
.pos-order-totals-summary .is-total { border-top: 1px solid #dfe7ef; color: #102a54; font-size: 15px; margin-top: 5px; padding-top: 9px; }
.pos-payment-dialog { background: #fff; border-radius: 11px; box-shadow: 0 22px 60px rgba(16,42,84,.25); left: 50%; max-height: calc(100vh - 30px); overflow-y: auto; position: absolute; top: 50%; transform: translate(-50%,-50%); width: min(480px,calc(100% - 30px)); }
.pos-payment-dialog > header { align-items: flex-start; border-bottom: 1px solid #e3eaf2; display: flex; justify-content: space-between; padding: 17px 20px; }
.pos-payment-dialog h2 { color: #102a54; font-size: 19px; margin: 0 0 3px; }
.pos-payment-dialog header p { color: #7181a1; font-size: 10px; margin: 0; }
.pos-payment-dialog header > button { background: transparent; border: 0; color: #7181a1; font-size: 25px; line-height: 1; }
.pos-payment-dialog-body { padding: 17px 20px; }
.pos-payment-total, .pos-payment-change { align-items: center; display: flex; justify-content: space-between; }
.pos-payment-total { background: #eef6ff; border-radius: 7px; color: #0d5798; margin-bottom: 13px; padding: 12px; }
.pos-payment-total strong { font-size: 20px; }
.pos-payment-dialog-body > label { color: #465a74; display: block; font-size: 11px; font-weight: 700; margin-bottom: 5px; }
.pos-payment-change { color: #465a74; font-size: 13px; margin-top: 12px; }
.pos-payment-change strong { color: #18794e; font-size: 18px; }
.pos-payment-dialog-body .pos-auth-alert, .pos-payment-dialog-body .pos-auth-info { margin: 12px 0 0; }
.pos-payment-dialog > footer { border-top: 1px solid #e3eaf2; display: flex; gap: 8px; justify-content: flex-end; padding: 13px 20px; }
@media (max-width: 760px) {
  .pos-orders-content, .pos-order-details-content { padding: 17px 15px; }
  .pos-order-details-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 760px) {
  .pos-dinein-content { padding: 17px 15px; }
  .pos-new-table-fields { grid-template-columns: 1fr; }
  .pos-new-table-actions { padding-top: 0; }
}
.pos-close-content { display: flex; justify-content: center; padding: 22px 20px; }
.pos-close-card { background: #fff; border: 1px solid #dde6ef; border-radius: 9px; box-shadow: 0 7px 22px rgba(24,39,75,.055); overflow: hidden; width: min(100%, 720px); }
.pos-close-header { align-items: flex-start; border-bottom: 1px solid #e7edf3; display: flex; justify-content: space-between; padding: 17px 20px; }
.pos-close-header h1 { color: #102a54; font-size: 19px; font-weight: 650; margin: 0 0 3px; }
.pos-close-header p { color: #7181a1; font-size: 11px; margin: 0; }
.pos-close-header .pos-shift-context { max-width: 55%; overflow: hidden; padding-top: 5px; }
.pos-close-body { padding: 18px 20px 20px; }
.pos-close-summary { margin-bottom: 18px; }
.pos-close-summary > div { font-size: 12px; padding: .55rem .75rem; }
.pos-close-summary .shift-expected { background: #eef6fc; color: #0d5798; font-size: 14px; }
.pos-close-help { color: #8a98ad; font-size: 10px; margin-top: 5px; }
.pos-close-notes { height: auto; min-height: 58px; padding-bottom: 9px; padding-top: 9px; resize: vertical; }
.pos-close-actions { display: grid; gap: 8px; grid-template-columns: 1fr 1.35fr; }
.pos-close-actions a { align-items: center; display: flex; justify-content: center; text-decoration: none; }
.pos-close-submit { background: #b42318; border: 1px solid #b42318; color: #fff; }
.pos-close-submit:hover { background: #912018; }

@media (max-width: 900px) {
  .pos-sales-topbar { padding: 12px 16px; }
  .pos-sales-actions { flex-wrap: wrap; justify-content: flex-end; }
  .pos-sales-content { padding: 18px 16px; }
  .pos-sales-heading { align-items: center; gap: 12px; }
  .pos-shift-context { max-width: 68vw; overflow-x: auto; }
  .pos-sales-body .pos-workspace { grid-template-columns: 1fr; }
}

