.checkoutease-pos-page::-webkit-scrollbar {
    display: none;
}

:root {
    --pos-bg: #dde4eb;
    --pos-card: #ffffff;
    --pos-primary: #0073aa;
    --pos-primary-700: #005177;
    --pos-accent: #27ae60;
    --pos-text: #333333;
    --pos-muted: #6b7280;
    --pos-border: #e5e7eb;
    --pos-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.08);
    --pos-radius: 12px;
    --pos-radius-sm: 8px;
    --pos-radius-lg: 16px;
    --pos-gap: 12px;
    --pos-gap-lg: 16px;
    --pos-header-h: auto;
}

*,
*::before,
*::after { box-sizing: border-box; }

.checkoutease-pos-platform, .checkoutease-pos-body {
    height: 100%;
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    font-family: var(--pos-font);
    color: var(--pos-text);
    background: var(--pos-bg);
}

.checkoutease-pos-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.checkoutease-pos-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.checkoutease-pos-header-section {
    background: #435756;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--pos-gap);
}

.checkoutease-pos-header-section i {
    font-size: 18px;
}

.checkoutease-pos-header-section-left,
.checkoutease-pos-header-section-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.checkoutease-pos-logo-container {
    height: 100%;
    padding: 8px 10px;
    padding-right: 15px;
    border-right: 1px solid rgba(255,255,255,0.25);
}

.checkoutease-pos-header-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.checkoutease-pos-header-store-tagline {
    font-size: 13px;
    opacity: 0.85;
}

.checkoutease-pos-header-store-selection-container {
    height: 100%;
    padding: 8px 10px;
}

#checkoutease-pos-store-selector {
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.12);
    color: #fff;
    outline: none;
}

#checkoutease-pos-store-selector:focus {
    border-color: #fff;
}

.checkoutease-pos-sound-on-off-bell {
    cursor:pointer;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px;
}

.checkoutease-pos-sound-on-off-bell:hover {
  background: hsla(0,0%,100%,.1);
}

.checkoutease-pos-sound-on-icon,
.checkoutease-pos-sound-off-icon {
  display: none;
}

.checkoutease-pos-full-screen {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: rgba(255,255,255,0.12);
    height: 100%;
}

.checkoutease-pos-full-screen:hover {
    filter: brightness(125%);
}

.checkoutease-pos-current-date-time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 14px;
    height: 100%;
    padding: 8px 10px;
}

.checkoutease-pos-current-date { font-weight: 700; }
.checkoutease-pos-current-time { font-weight: 400; font-size: 13px;}

.checkoutease-pos-header-profile {
    background: rgba(255,255,255,0.12);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
}

.checkoutease-pos-profile-image-name-logout {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkoutease-pos-profile-photo {
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease;
}

.checkoutease-pos-profile-photo:hover { transform: scale(1.06); }

.checkoutease-pos-profile-greeting {
    line-height: 1.1;
    font-weight: 700;
}

.checkoutease-pos-logout-option {
    font-size: 13px;
    cursor: pointer;
    opacity: 0.95;
}
.checkoutease-pos-logout-option:hover { text-decoration: underline; }

.checkoutease-pos-store-message-box {
    position: relative;
    height: 60px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

.checkoutease-pos-store-message-box-content {
    display: flex;
    align-items: center;
    height: 100%;
}

.checkoutease-pos-store-message-left-section {
    background: #e09914;
    color: #fff;
    height: 100%;
    z-index: 1;
    padding: 10px;
    display: flex;
    align-items: center;
}

.checkoutease-pos-store-message-left-section i {
    animation: ring 1s ease-in-out infinite;
    transform-origin: top center;
    font-size: 18px;
}

@keyframes ring {
  0%   { transform: rotate(0); }
  10%  { transform: rotate(15deg); }
  20%  { transform: rotate(-15deg); }
  30%  { transform: rotate(12deg); }
  40%  { transform: rotate(-12deg); }
  50%  { transform: rotate(8deg); }
  60%  { transform: rotate(-8deg); }
  70%  { transform: rotate(4deg); }
  80%  { transform: rotate(-4deg); }
  90%  { transform: rotate(2deg); }
  100% { transform: rotate(0); }
}

.checkoutease-pos-store-message-content {
    position: absolute;
    display: flex;
    align-items: center;
    right: -25%;
    height: 100%;
    white-space: nowrap;
    animation: slide-left 20s linear infinite;
}

.checkoutease-pos-store-message {
    color: #4d4d4d;
    font-size: 15px;
    font-weight: 600;
    height: 100%;
    display: flex;
    align-items: center;
}

@keyframes slide-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100vw); }
}

#checkoutease-pos-container {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    gap: var(--pos-gap);
    padding: var(--pos-gap);
    background-color: var(--pos-bg);
}

.checkoutease-pos-categories-section{
  flex:1.3;
  background:var(--pos-card);
  display:flex;
  flex-direction:column;
  padding:10px;
  gap:10px;
  border-radius:var(--pos-radius);
  position:relative;
  box-sizing:border-box;
  transition:
    max-width .28s ease,
    flex-basis .28s ease,
    padding .28s ease,
    margin .28s ease,
    opacity .22s ease,
    transform .28s ease;
}

.checkoutease-pos-categories-section.is-collapsing{
  max-width:0;
  flex-basis:0 !important;
  padding:0 !important;
  margin:0 !important;
  opacity:0;
  transform:translateX(-12px);
  overflow:hidden;
}

.checkoutease-pos-categories-section.is-hidden{
  display:none;
}


.checkoutease-pos-show-categories-section {
    position: absolute;
    left: 0;
    bottom: 40px;
    height: 38px;
    width: 30px;
    font-size: 22px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(9,173,170);
    color: #fff;
    cursor: pointer;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.checkoutease-pos-hide-categories-section {
    position: absolute;
    right: -30px;
    bottom: 40px;
    height: 38px;
    width: 30px;
    font-size: 22px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(9,173,170);
    color: #fff;
    cursor: pointer;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.checkoutease-pos-product-categories-container {
    overflow: auto;
    min-height: 0;
}

.checkoutease-pos-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.checkoutease-pos-category-list li { margin: 8px 0; }

.checkoutease-pos-category-list a {
    text-decoration: none;
    color: var(--pos-text);
    font-size: 14px;
    display: inline-block;
    padding: 8px 12px;
    background-color: #eff3f6;
    transition: all 0.2s ease;
    border-radius: 8px;
    width: 100%;
    border: 1px solid transparent;
}
.checkoutease-pos-category-list a:hover {
    color: var(--pos-primary);
    border-color: #d9e2ec;
}

.checkoutease-pos-category-list ul {
    list-style: none;
    padding-left: 12px;
    margin: 5px 0;
    border-left: 1px dashed #ddd;
}

.checkoutease-pos-product-section {
    flex: 5;
    gap: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.checkoutease-pos-product-search-box-container #checkoutease-pos-product-search-box {
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    height: 48px;
    background-color: var(--pos-card);
    padding: 0 14px;
    outline: none;
}
#checkoutease-pos-product-search-box:focus {
    border-color: var(--pos-primary);
    box-shadow: 0 0 0 3px rgba(0,115,170,0.14);
}

.checkoutease-pos-items-container {
    background-color: var(--pos-card);
    border-radius: var(--pos-radius);
    padding: 15px;
    overflow: hidden;
    min-height: 0;
    height: 100%;
}

.checkoutease-pos-products-container {
    overflow-y: auto;
    height: 100%;
    min-height: 0;
}

.checkoutease-pos-products-container::-webkit-scrollbar {
    display: none;
}

.checkoutease-pos-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(23%, 1fr));
    gap: 15px;
    box-sizing: border-box;
    width: 100%;
}

.checkoutease-pos-product {
    background: #fff;
    border: 1px solid #e0e3ff;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 .14px 2.29266px rgba(0,0,0,.032), 0 .37px 4.42626px rgba(0,0,0,.048), 0 3px 7px rgba(0,0,0,.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.checkoutease-pos-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.checkoutease-pos-product-bottom-container { padding: 8px 10px 12px; }
.checkoutease-pos-product-image { margin-bottom: 10px; }
.checkoutease-pos-product-image img {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    background: #fafbff;
}

.checkoutease-pos-product-title {
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: var(--pos-text);
}
.checkoutease-pos-product-price {
    font-size: 14px;
    color: var(--pos-primary);
    margin-top: 3px;
    font-weight: 700;
}

.checkoutease-pos-billing-section {
    flex: 3.7;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.checkoutease-pos-billing-top-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
}

#checkoutease-pos-customer {
    height: 48px;
    background-color: var(--pos-card);
    border-radius: var(--pos-radius);
    border: 1px solid var(--pos-border);
    padding: 0 12px;
    outline: none;
}
#checkoutease-pos-customer:focus {
    border-color: var(--pos-primary);
    box-shadow: 0 0 0 3px rgba(0,115,170,0.14);
}

.checkoutease-pos-billing-items-container {
    background-color: var(--pos-card);
    border-radius: var(--pos-radius);
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
}

.checkoutease-pos-billing-items-container::-webkit-scrollbar {
    display: none;
}

#checkoutease-pos-cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    font-size: 14px;
    text-align: left;
}
#checkoutease-pos-cart-table thead th {
    position: sticky;
    top: 0;
    background: #f9fafc;
    z-index: 2;
    border-bottom: 1px solid var(--pos-border);
    font-size: 14px;
    padding: 10px 12px;
    text-align: center;
    font-weight: 700;
}
#checkoutease-pos-cart-table tbody { display: table-row-group; }
#checkoutease-pos-cart-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--pos-border);
    text-align: center;
}
#checkoutease-pos-cart-table tbody tr:hover { background-color: #f8fafc; }

#checkoutease-pos-cart-table .checkoutease-pos-cart-item-title-th, #checkoutease-pos-cart-table .checkoutease-pos-cart-item-title-td {
    text-align: left;
    width: 45%;
}

.checkoutease-pos-cart-item { border-bottom: 1px solid var(--pos-border); }
.checkoutease-pos-cart-item:last-child { border-bottom: 0; }

.checkoutease-pos-cart-item-image-title-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkoutease-pos-cart-item-image {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
}

.checkoutease-pos-cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  display: block;
}

.checkoutease-pos-cart-item-qty button {
    padding: 5px 10px;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    min-height: 30px;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.checkoutease-pos-cart-item-qty button:hover {
    background-color: #eef2f7;
    border-color: #d1d5db;
}

.checkoutease-pos-cart-item-delete button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 13px;
    min-height: 30px;
    transition: filter 0.15s ease;
}
.checkoutease-pos-cart-item-delete button:hover { filter: brightness(0.95); }

.checkoutease-pos-billing-bottom-section {
    background: var(--pos-card);
    padding: 12px;
    z-index: 1;
    border-radius: var(--pos-radius);
}

#checkoutease-pos-summary {
    font-size: 15px;
    font-weight: 600;
    padding: 4px 4px 10px;
}
.checkoutease-pos-total span { color: var(--pos-accent); }

.checkoutease-pos-top-actions {
    display: flex;
    gap: 10px;
}

.checkoutease-pos-select-customer-container {
    width: 100%;
}

.checkoutease-pos-calculator-wrapper .button {
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    height: 48px;
    background-color: var(--pos-card);
    outline: none;
    padding: 5px 15px;
    position: relative;
}

.checkoutease-pos-calculator-wrapper i {
    font-size: 20px;
}

.checkoutease-pos-recall-save-cart-button-wrapper .button {
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    height: 48px;
    background-color: var(--pos-card);
    outline: none;
    padding: 5px 15px;
    position: relative;
}

.checkoutease-pos-recall-save-cart-button-wrapper i {
    font-size: 20px;
}

.checkoutease-pos-saved-cart-count-wrapper {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: #e09914;
    width: 16px;
    height: 16px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkoutease-pos-saved-cart-count {
    font-size: 11px;
    line-height: normal;
}

.checkoutease-pos-bottom-actions{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
    ". . . . clear clear"
    "note fee coupon suspend pay pay";
  gap: 10px;
}

.checkoutease-pos-bottom-actions .ga-clear   { grid-area: clear; }
.checkoutease-pos-bottom-actions .ga-note    { grid-area: note; }
.checkoutease-pos-bottom-actions .ga-fee     { grid-area: fee; }
.checkoutease-pos-bottom-actions .ga-coupon  { grid-area: coupon; }
.checkoutease-pos-bottom-actions .ga-suspend { grid-area: suspend; }
.checkoutease-pos-bottom-actions .ga-pay     { grid-area: pay; }

.checkoutease-pos-bottom-actions .button{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:6px; min-height:70px; border-radius:8px; width:100%; padding: 5px;
  font-weight:600; text-transform:uppercase; color:#fff; border:0; cursor:pointer;
}

.checkoutease-pos-bottom-actions .pos-text{ font-size:10px; line-height:1.5; letter-spacing:.8px; }

#checkoutease-pos-clear-cart-button { background:#c65338; min-height: 35px; flex-direction: row;}
#checkoutease-pos-save-cart-button { background: #e09914;}
#checkoutease-pos-add-fee-discount-button,
#checkoutease-pos-coupon-toggle-button { background:#09adAA; }
#checkoutease-pos-add-notes-button { background:#4d4d4d; }
#checkoutease-pos-pay-button { background:#a0a700; font-size:23px; }

.checkoutease-pos-bottom-actions .button:hover{ filter:brightness(1.05); }
.checkoutease-pos-bottom-actions .button.is-disabled,
.checkoutease-pos-bottom-actions .button[disabled]{ opacity:.6; cursor:not-allowed; }

.checkoutease-pos-login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.checkoutease-pos-login-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: -1;
}

.checkoutease-pos-login-wrapper-content {
    width: 100%;
    max-width: 420px;
    padding: 24px 26px;
    border-radius: 12px;
    background-color: #ffffff;
    text-align: center;
}

.checkoutease-pos-login-form-logo { margin-bottom: 16px; }
.checkoutease-pos-login-form-logo img { max-width: 100px; height: auto; }

.checkoutease-pos-login-form-header-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
}
.checkoutease-pos-store-tagline { font-size: 15px; color: var(--pos-muted); }

.checkoutease-pos-login-form-container { margin-top: 18px; }
.checkoutease-pos-login-option { margin-bottom: 14px; text-align: left; }
.checkoutease-pos-login-option label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}
.checkoutease-pos-login-option input {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.checkoutease-pos-login-option input:focus {
    border-color: var(--pos-primary);
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.14);
}

.checkoutease-pos-login-button-container { margin-top: 18px; }
.checkoutease-pos-login-button-container .button {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    font-weight: 700;
    background-color: var(--pos-primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.06s ease;
    box-shadow: 0 2px 10px rgba(0, 115, 170, 0.25);
}
.checkoutease-pos-login-button-container .button:hover {
    background-color: var(--pos-primary-700);
    transform: translateY(-1px);
}

#checkoutease-pos-login-error {
    margin-top: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #d9534f;
    text-align: center;
}

#checkoutease-pos-customer-search {
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    height: 48px;
    background-color: var(--pos-card);
    padding: 0 14px;
    outline: none;
}
#checkoutease-pos-customer-search:focus {
    border-color: var(--pos-primary);
    box-shadow: 0 0 0 3px rgba(0,115,170,0.14);
}

.pos-customer-search { position: relative; }

.pos-customer-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    max-height: 320px;
    overflow: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(16,24,40,.12);
    z-index: 1000;
    padding: 6px 0;
}
.pos-customer-suggestions::-webkit-scrollbar { width: 6px; }
.pos-customer-suggestions::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 6px; }

.pos-suggest-item {
    display: flex; gap: 10px; align-items: center;
    padding: 10px 12px; cursor: pointer;
}
.pos-suggest-item .meta { display: flex; flex-direction: column; gap: 2px; }
.pos-suggest-item .name { font-weight: 600; color: #111827; }
.pos-suggest-item .sub { font-size: 12px; color: #6b7280; }
.pos-suggest-item .muted { color: #6b7280; }
.pos-suggest-item i { width: 16px; text-align: center; color: #6b7280; }
.pos-suggest-item:hover, .pos-suggest-item.active { background: #f3f4f6; }
.pos-suggest-add { border-bottom: 1px dashed #e5e7eb; margin-bottom: 4px; padding-bottom: 12px; }
.pos-suggest-empty { color: #6b7280; }

.pos-search-icon,
.pos-clear-icon,
.pos-edit-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    cursor: pointer;
    font-size: 14px;
}
.pos-clear-icon:hover, .pos-edit-icon:hover {
    color: #111827;
}

.pos-edit-icon {
    margin-right: 20px;
}

.checkoutease-pos-variation-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    z-index: 9999;
    display: flex;
    align-items: center; 
    justify-content: center;
    background: rgba(20, 23, 28, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.checkoutease-pos-variation-popup-content {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    width: 350px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.25)
}

.checkoutease-pos-variation-popup-title-qty-controls {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.checkoutease-pos-variation-popup-title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.checkoutease-pos-variation-popup-qty-controls {
    display: flex;
    justify-content: center;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.checkoutease-pos-variation-popup-qty-controls button {
    background-color: transparent;
    border: none;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.checkoutease-pos-variation-popup-qty-controls button:hover {
    background-color: #ddd;
    border-radius: 0;
}

.checkoutease-pos-variation-qty {
    font-size: 18px;
    font-weight: 500;
    width: 100%;
    text-align: center;
    display: inline-block;
    line-height: 38px;
}

.checkoutease-pos-selected-variation-price {
    font-size: 18px;
    font-weight: 600;
    color: #28a745;
    margin-top: 12px;
    text-align: center;
}

.checkoutease-pos-selected-variation-price del {
    color: #888;
    font-weight: 400;
}

.checkoutease-pos-product-variation-options {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.checkoutease-pos-variation-group-label {
    font-weight: 500;
    font-size: 14px;
    margin: 10px 0 5px;
    color: #666;
}

.checkoutease-pos-variation-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.checkoutease-pos-variation-group .checkoutease-pos-variation-option {
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    font-size: 14px;
    text-transform: capitalize;
}

.checkoutease-pos-variation-group .checkoutease-pos-variation-option:hover {
    background-color: #e9ecef;
}

.checkoutease-pos-variation-group .checkoutease-pos-variation-option.selected {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.checkoutease-pos-variation-popup-action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.checkoutease-pos-variation-popup-action-buttons .button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: white;
    width: 50%;
}

.checkoutease-pos-variation-popup-action-buttons .checkoutease-pos-cancel-variation {
    background-color: #f44336;
}

.checkoutease-pos-variation-popup-action-buttons .checkoutease-pos-cancel-variation:hover {
    background-color: #d32f2f;
}

.checkoutease-pos-variation-popup-action-buttons .checkoutease-pos-add-variation-to-cart {
    background-color: #3f51b5;
}

.checkoutease-pos-variation-popup-action-buttons .checkoutease-pos-add-variation-to-cart:hover {
    background-color: #303f9f;
}

.checkoutease-pos-country-details-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: rgba(20, 23, 28, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.checkoutease-pos-country-details-popup-content {
    background-color: #fff;
    position: relative;
    width: 320px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.checkoutease-pos-country-list-container {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
}

.checkoutease-pos-country-list-container::-webkit-scrollbar {
  width: 5px;
}

.checkoutease-pos-country-list-container::-webkit-scrollbar-track {
  background: #f1f1f1; 
}

.checkoutease-pos-country-list-container::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 20px;
}

.checkoutease-pos-country-list-container::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

.checkoutease-pos-country-search-wraper {
    box-shadow: 0 1px 8px rgba(0,0,0,0.1);
    padding: 10px;
}

.checkoutease-pos-country-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checkoutease-pos-country-list-item {
    border-bottom: 1px solid #ddd;
    margin: 0;
    cursor: pointer;
}

.checkoutease-pos-country-list-item:last-child {
    border-bottom: 0;
}

.checkoutease-pos-country-name-dialling-code {
    display: flex;
    justify-content: space-between;
    padding: 6px 15px;
    font-size: 13px;
    color: #00192F;
}

.checkoutease-pos-country-name-country-code {
    display: flex;
    gap: 5px;
}

.checkoutease-pos-country-details-popup-close-btn-wraper {
    background-color: #fff;
    box-shadow: 0 0 9px rgba(0,0,0,0.12);
    padding: 10px;
}

.checkoutease-pos-country-details-popup-close-btn-wraper .button {
    height: 38px;
    color: #fff;
    background-color: #00192F;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.checkoutease-pos-add-new-customer-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    z-index: 9999;
    display: flex;
    align-items: center; 
    justify-content: center;
    background: rgba(20, 23, 28, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.checkoutease-pos-add-new-customer-popup-content {
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    color: #333;
}

.checkoutease-pos-add-new-customer-popup-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.pos-mobile-number-field {
    display: flex;
    gap: 8px;
}

#checkoutease-pos-country-dial-code {
    width: 15%;
    text-align: center;
    cursor: pointer;
    padding: 0 5px;
}

#checkoutease-pos-phone-number {
    flex: 1;
}

.pos-form-row {
    margin-bottom: 10px;
}

.pos-form-two-cols-row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.pos-field-wrapper {
    width: 100%;
}

.pos-add-new-customer-label {
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 500;
}

.checkoutease-pos-add-new-customer-action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.checkoutease-pos-add-new-customer-action-buttons .button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: white;
    width: 50%;
}

.checkoutease-pos-add-new-customer-action-buttons .checkoutease-pos-add-new-customer-cancel-btn {
    background-color: #f44336;
}

.checkoutease-pos-add-new-customer-action-buttons .checkoutease-pos-add-new-customer-cancel-btn:hover {
    background-color: #d32f2f;
}

.checkoutease-pos-add-new-customer-action-buttons .checkoutease-pos-add-new-customer-btn {
    background-color: #3f51b5;
}

.checkoutease-pos-add-new-customer-action-buttons .checkoutease-pos-add-new-customer-btn:hover {
    background-color: #303f9f;
}

.checkoutease-pos-add-new-customer-form-options {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 65vh;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.checkoutease-pos-add-new-customer-form-options::-webkit-scrollbar {
    width: 5px;
}

.checkoutease-pos-add-new-customer-form-options::-webkit-scrollbar-track {
    background: transparent;
}

.checkoutease-pos-add-new-customer-form-options::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.checkoutease-pos-add-new-customer-form-options::-webkit-scrollbar-thumb:hover {
    background-color: #999;    /* darker on hover */
}

.checkoutease-pos-totals { margin-top: 8px; }
.checkoutease-pos-total-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 14px;
}
.checkoutease-pos-total-row.grand { font-weight: 600; border-top: 1px solid #eee; margin-top: 6px; padding-top: 8px; }

#checkoutease-pos-coupon-form {
  margin-top: 6px;
}

#checkoutease-pos-coupon-form .checkoutease-pos-coupon-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

#checkoutease-pos-coupon-code {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--pos-border);
  background: var(--pos-card);
  outline: none;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

#checkoutease-pos-coupon-code::placeholder {
  color: var(--pos-muted);
}

#checkoutease-pos-coupon-code:focus {
  border-color: var(--pos-primary);
  box-shadow: 0 0 0 3px rgba(0,115,170,0.14);
}

#checkoutease-pos-apply-coupon,
#checkoutease-pos-remove-coupon {
  height: 38px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease, transform .06s ease, border-color .2s ease, color .2s ease;
}

/* Apply = Primary */
#checkoutease-pos-apply-coupon {
  background: var(--pos-primary);
  color: #fff;
  border: 1px solid var(--pos-primary);
  box-shadow: 0 2px 8px rgba(0,115,170,0.20);
}

#checkoutease-pos-apply-coupon:hover {
  background: var(--pos-primary-700);
  border-color: var(--pos-primary-700);
  transform: translateY(-1px);
}

#checkoutease-pos-apply-coupon:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

#checkoutease-pos-remove-coupon {
    background: #e74c3c;
    color: #fff;
    border: 1px solid #e5e7eb;
}

#checkoutease-pos-remove-coupon:hover {
  background: #fff;
  color: #e74c3c;
  border-color: #e74c3c;
  transform: translateY(-1px);
}

/* Feedback messages */
#checkoutease-pos-coupon-feedback {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

#checkoutease-pos-coupon-feedback.ok {
  color: #147a14;
}

#checkoutease-pos-coupon-feedback.error {
  color: #b32d2e;
}

.checkoutease-pos-product.is-disabled {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(100%);
}

.checkoutease-pos-variation-popup .checkoutease-pos-add-variation-to-cart.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checkoutease-pos-tax-breakdown {
    font-size: 12px;
    line-height: 1.3;
    margin-top: 2px;
    opacity: .85;
    display: flex;
    gap: 5px;
}

.checkoutease-pos-tax-breakdown .tax-line {
    display: block;
    border-right: 1px solid #ccc;
    padding-right: 5px;
}

.checkoutease-pos-tax-breakdown .tax-line:last-of-type {
    border-right: none;
    padding-right: 0;
}

.checkoutease-pos-empty-cart-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkoutease-pos-empty-cart-content {
    text-align: center;
    padding: 10%;
}

.checkoutease-pos-empty-cart-content img {
    width: 140px;
    opacity: 0.1;
}

.checkoutease-pos-empty-cart-text {
    font-size: 16px;
    font-weight: 600;
    color: #e5e5e5;
    margin-top: 10px;
}

.checkoutease-pos-add-notes-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    z-index: 9999;
    display: flex;
    align-items: center; 
    justify-content: center;
    background: rgba(20, 23, 28, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.checkoutease-pos-add-notes-popup-content {
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.25)
}

.checkoutease-pos-add-notes-popup-close-button {
    width: 35px;
    position: absolute;
    top: -12px;
    right: -12px;
    cursor: pointer;
    height: 35px;
    background: #4d4d4d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkoutease-pos-notes-box {
    width: 100%;
    border: 1px solid #d1d1d1;
    padding: 10px;
    font-size: .8em;
    margin: 10px 0;
    display: flex;
    gap: 14px;
    position: relative;
    cursor: pointer;
}

.checkoutease-pos-notes-box-text {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    line-height: 1.4;
}

.checkoutease-pos-notes-box i {
    font-size: 18px;
}

.checkoutease-pos-add-notes-form-group {
    margin-bottom: 15px;
}

.checkoutease-pos-add-notes-popup-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
}

.checkoutease-pos-add-notes-form .button {
    background: #4d4d4d;
    color: #fff;
    width: 100%;
}

.checkoutease-pos-items-container .empty,
.checkoutease-pos-billing-items-container .empty {
    color: var(--pos-muted);
    text-align: center;
    padding: 24px 8px;
}

.checkout-ease-pos-fee-discount-label-remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.checkoutease-pos-fee-discount-row .button {
    color: #e74c3c;
    padding: 0;
    background-color: transparent;
    min-height: unset;
    font-size: 16px;
}

.checkoutease-pos-add-discount-or-fee-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(20, 23, 28, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.checkoutease-pos-add-discount-or-fee-popup-content {
  position: relative;
  width: min(720px, 92vw);
  margin: 8vh auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
  color: #1f2937;
  padding: 24px 24px 28px;
}

/* Header */
.checkoutease-pos-add-discount-or-fee-popup-title-order-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.checkoutease-pos-add-discount-or-fee-popup-title {
  font-weight: 600;
  font-size: 18px;
  color: #111827;
  letter-spacing: .2px;
}

.checkoutease-pos-add-discount-or-fee-popup-order-total {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 22px;
  color: #111827;
}

.checkoutease-pos-add-discount-or-fee-form {
  display: grid;
  gap: 16px;
}

.checkoutease-pos-select-discount-or-fee-options {
  display: flex;
  gap: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  width: 100%;
}

.checkoutease-pos-select-discount-or-fee-amount-type-options {
  display: flex;
  gap: 12px;
  width: 60%;
}

.checkoutease-pos-label {
  font-size: 12px;
  color: #6b7280;
  letter-spacing: .3px;
}

.checkoutease-pos-select-discount-or-fee-option,
.checkoutease-pos-select-discount-or-fee-amount-type-option {
    width: 50%;
}

.checkoutease-pos-discount-or-fee-amount-field-option {
    flex: 1;
}

#checkoutease-pos-discount-or-fee-amount,
#checkoutease-pos-discount-or-fee-amount-to-pay {
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}

.checkoutease-pos-discount-or-fee-amount-to-pay-field-wrapper input[readonly] {
  background: #f3f4f6;
}

.checkoutease-pos-add-discount-or-fee-popup select:focus,
.checkoutease-pos-add-discount-or-fee-popup input:focus {
  border-color: #3b82f6; /* blue-500 */
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

/* Middle row: reason + amount-to-pay */
.checkoutease-pos-discount-or-fee-reason-amount-to-pay {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 12px;
}

/* Popular rates */
.checkoutease-pos-popular-discount-or-fee-option { margin-top: 2px; }

.checkoutease-pos-popular-discount-or-fee-wrapper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.checkoutease-pos-popular-discount-or-fee-wrapper button {
  height: 40px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .05s;
}

.checkoutease-pos-popular-discount-or-fee-wrapper button:hover {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

/* Keypad */
.checkoutease-pos-discount-or-fee-calculator-option {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.checkoutease-pos-discount-or-fee-calculator-option button {
  height: 54px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: background .12s, border-color .12s, transform .04s;
}

.checkoutease-pos-discount-or-fee-calculator-option button:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

/* Emphasis buttons */
.checkoutease-pos-discount-or-fee-calculator-option button.large {
  background: #111827;
  color: #fff;
  border-color: #111827;
}
.checkoutease-pos-discount-or-fee-calculator-option .pos-discount-fee-clear.large {
    background: #f59e0b;
    border-color: #f59e0b;
    font-size: 16px;
}
.checkoutease-pos-discount-or-fee-calculator-option .pos-discount-fee-clear.large:hover { background: #d97706; }
.checkoutease-pos-discount-or-fee-calculator-option .pos-discount-fee-cancel.large {
    background: #ef4444;
    border-color: #ef4444;
    font-size: 16px;
}
.checkoutease-pos-discount-or-fee-calculator-option .pos-discount-fee-cancel.large:hover { background: #dc2626; }
.checkoutease-pos-discount-or-fee-calculator-option .pos-discount-fee-backspace.large { background: #111827; border-color: #111827; }
.checkoutease-pos-discount-or-fee-calculator-option .pos-discount-fee-update-total.large {
    background: #16a34a;
    border-color: #16a34a;
    font-size: 15px;
}
.checkoutease-pos-discount-or-fee-calculator-option .pos-discount-fee-update-total.large:hover { background: #15803d; }

/* Put the action buttons in the last column (desktop) */
.checkoutease-pos-discount-or-fee-calculator-option .pos-discount-fee-backspace,
.checkoutease-pos-discount-or-fee-calculator-option .pos-discount-fee-clear,
.checkoutease-pos-discount-or-fee-calculator-option .pos-discount-fee-update-total,
.checkoutease-pos-discount-or-fee-calculator-option .pos-discount-fee-cancel {
  grid-column: 4;
}

.checkoutease-pos-add-discount-or-fee-popup .button {
  font-size: 14px;
  line-height: 1;
}

.checkoutease-pos-add-discount-or-fee-popup button:focus,
.checkoutease-pos-add-discount-or-fee-popup input:focus,
.checkoutease-pos-add-discount-or-fee-popup select:focus {
  outline: 2px solid rgba(59,130,246,.6);
  outline-offset: 2px;
}

.checkoutease-pos-payment-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none; /* toggled by JS */
  background: rgba(20, 23, 28, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.checkoutease-pos-payment-popup-content {
  position: relative;
  width: min(1040px, 92vw);
  margin: 6vh auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  color: #1f2937;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 12vh);
  overflow: hidden;
  border-radius: 20px;
}

.checkoutease-pos-payment-left-right-section {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  min-height: 520px;

  /* NEW: stretch inside modal */
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.checkoutease-pos-payment-left-section {
  background: #0f172a;
  color: #f8fafc;
  padding: 28px 24px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.checkoutease-pos-payment-right-section {
  padding: 28px 28px 32px;
  background: #ffffff;

  /* NEW: vertical layout */
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.checkoutease-pos-payment-popup-title-order-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 14px;
  margin-bottom: 18px;
  flex: 0 0 auto;
}

.checkoutease-pos-payment-popup-title {
  font-weight: 600;
  font-size: 18px;
  color: #111827;
  letter-spacing: .2px;
}

.checkoutease-pos-payment-popup-order-total {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 22px;
  color: #111827;
}

.checkoutease-pos-total-paying-amount-wrapper,
.checkoutease-pos-balance-payment-wrapper,
.checkoutease-pos-change-amount-wrapper {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 14px 16px;
  border-radius: 12px;
}

.checkoutease-pos-total-paying-text,
.checkoutease-pos-balance-payment-amount-text,
.checkoutease-pos-change-amount-text {
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 6px;
}

.checkoutease-pos-total-paying-amount,
.checkoutease-pos-balance-payment-amount,
.checkoutease-pos-change-amount {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
}

.checkoutease-pos-total-paying-amount { color: #a7f3d0; }
.checkoutease-pos-balance-payment-amount { color: #fde68a; }
.checkoutease-pos-change-amount { color: #bfdbfe; }

.checkoutease-pos-payment-right-section > .checkoutease-pos-payment-options-wrapper {
  display: grid;
  gap: 16px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
}

.checkoutease-pos-payment-right-section > .checkoutease-pos-payment-options-wrapper::-webkit-scrollbar {
  display: none;
}

/* Reset the inner select wrapper */
.checkoutease-pos-payment-amount-and-options .checkoutease-pos-payment-options-wrapper {
  display: block;
  overflow: visible;
  flex: 0 0 auto;
  padding-right: 0;
}

.checkoutease-pos-payment-amount-and-options {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
}

.checkoutease-pos-payment-amount-option,
.checkoutease-pos-payment-option {
  display: grid;
  gap: 8px;
}

.checkoutease-pos-label {
  font-size: 12px;
  color: #6b7280;
  letter-spacing: .3px;
}

.checkoutease-pos-payment-amount-field-wrapper input.checkoutease-pos-payment-amount {
  width: 100%;
  height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0 12px;
  outline: none;
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  background: #fff;
  color: #111827;
  transition: box-shadow .15s, border-color .15s, background-color .15s;
}

.checkoutease-pos-payment-amount-field-wrapper input.checkoutease-pos-payment-amount:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.checkoutease-pos-payment-options-wrapper select.checkoutease-pos-payment-options {
  width: 100%;
  height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: #111827;
  font-size: 15px;
  outline: none;
}

.checkoutease-pos-payment-amount-and-options .pos-remove-payment {
  justify-self: end;
  height: 42px;
  min-width: 42px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  background: #fff1f2;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.checkoutease-pos-payment-amount-and-options .pos-remove-payment:hover {
  background: #fee2e2;
  border-color: #ef4444;
}

.checkoutease-pos-add-payment-method-btn-wrapper {
  margin-top: 4px;
}

.checkoutease-pos-add-payment-method-btn-wrapper .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  border: 1px solid #111827;
  box-shadow: 0 2px 0 rgba(17,24,39,.2);
  cursor: pointer;
  width: 100%;
  transition: transform .05s ease, background .15s ease, box-shadow .15s ease;
}

.checkoutease-pos-add-payment-method-btn-wrapper .button:hover { background: #0b1220; color: #b9b9b9; }
.checkoutease-pos-add-payment-method-btn-wrapper .button:active { transform: translateY(1px); }

.checkoutease-pos-popular-payment-tendered {
  margin-top: 2px;
}

.checkoutease-pos-popular-payment-tendered-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.checkoutease-pos-popular-payment-tendered-wrapper button {
  height: 40px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .05s;
}

.checkoutease-pos-popular-payment-tendered-wrapper button:hover {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.checkoutease-pos-payment-calculator-option {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.checkoutease-pos-payment-calculator-option button {
  height: 54px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: background .12s, border-color .12s, transform .04s;
}

.checkoutease-pos-payment-calculator-option button:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.checkoutease-pos-payment-calculator-option button.large {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.checkoutease-pos-payment-calculator-option .pos-place-order.large { background: #16a34a; border-color: #16a34a; }
.checkoutease-pos-payment-calculator-option .pos-place-order.large:hover { background: #15803d; }
.checkoutease-pos-payment-calculator-option .pos-payment-clear.large { background: #f59e0b; border-color: #f59e0b; }
.checkoutease-pos-payment-calculator-option .pos-payment-clear.large:hover { background: #d97706; }
.checkoutease-pos-payment-calculator-option .pos-cancel-payment.large { background: #ef4444; border-color: #ef4444; }
.checkoutease-pos-payment-calculator-option .pos-cancel-payment.large:hover { background: #dc2626; }

.checkoutease-pos-payment-calculator-option .pos-payment-backspace,
.checkoutease-pos-payment-calculator-option .pos-payment-clear,
.checkoutease-pos-payment-calculator-option .pos-place-order,
.checkoutease-pos-payment-calculator-option .pos-cancel-payment {
  grid-column: 4;
}

.checkoutease-pos-payment-popup .button {
  font-size: 14px;
  line-height: 1;
}

.checkoutease-pos-payment-popup button:focus,
.checkoutease-pos-payment-popup input:focus,
.checkoutease-pos-payment-popup select:focus {
  outline: 2px solid rgba(59,130,246,.6);
  outline-offset: 2px;
}

.checkoutease-pos-calculator-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none; /* toggled by JS */
  background: rgba(20, 23, 28, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: #1f2937;
}

.checkoutease-pos-calculator-content {
  position: relative;
  width: 520px;
  margin: 8vh auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
}

.pos-calc-header {
  background: #0f172a; 
  color: #f8fafc;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pos-calc-display-wrap {
  display: grid;
  gap: 4px;
  text-align: right;
}

.pos-calc-mini {
  font-size: 12px;
  line-height: 1.2;
  opacity: .75;
  font-variant-numeric: tabular-nums;
  min-height: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pos-calc-main {
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: .3px;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

.pos-calc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  background: #ffffff;
}

/* Base button look (matches payment keypad) */
.pos-calc-grid button {
  height: 56px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #111827;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: background .12s, border-color .12s, transform .04s, box-shadow .12s;
  user-select: none;
}

.pos-calc-grid button:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.pos-calc-grid button:active {
  transform: translateY(1px);
}

.pos-calc-grid button.op {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #3730a3;
}
.pos-calc-grid button.op:hover {
  background: #e0e7ff;
  border-color: #a5b4fc;
}

.pos-calc-grid button.accent {
  background: #111827;
  color: #fff;
  border-color: #111827;
  box-shadow: 0 2px 0 rgba(17,24,39,.2);
}
.pos-calc-grid button.accent:hover {
  background: #0b1220;
}

.pos-calc-grid button[data-action="undo"],
.pos-calc-grid button[data-action="back"],
.pos-calc-grid button[data-action="clear"] {
  font-size: 16px;
  font-weight: 700;
}

.pos-calc-grid button[data-action="equals"].accent {
  background: #16a34a;
  border-color: #16a34a;
}
.pos-calc-grid button[data-action="equals"].accent:hover {
  background: #15803d;
}

.checkoutease-pos-calculator-popup button:focus {
  outline: 2px solid rgba(59,130,246,.6);
  outline-offset: 2px;
}

.checkoutease-pos-save-cart-notes-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    z-index: 9999;
    display: flex;
    align-items: center; 
    justify-content: center;
    background: rgba(20, 23, 28, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.checkoutease-pos-save-cart-notes-popup-content {
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.25)
}

.checkoutease-pos-save-cart-notes-popup-close-button {
    width: 35px;
    position: absolute;
    top: -12px;
    right: -12px;
    cursor: pointer;
    height: 35px;
    background: #4d4d4d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkoutease-pos-save-cart-notes-popup-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
}

.checkoutease-pos-save-cart-notes-popup-content .button {
    background: #4d4d4d;
    color: #fff;
    width: 100%;
    margin-top: 15px;
    border-radius: 4px;
}

.checkoutease-pos-recall-saved-cart-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    z-index: 9999;
    display: flex;
    align-items: center; 
    justify-content: center;
    background: rgba(20, 23, 28, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.checkoutease-pos-recall-saved-cart-popup-content {
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.checkoutease-pos-recall-saved-cart-popup-close-button {
    width: 35px;
    position: absolute;
    top: -12px;
    right: -12px;
    cursor: pointer;
    height: 35px;
    background: #4d4d4d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   Saved Carts Table Styling
   ========================= */
.checkoutease-pos-saved-carts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0;
  background-color: #fff;
}

.checkoutease-pos-saved-carts-table thead th {
  text-align: left;
  font-weight: 600;
  padding: 10px;
  color: #374151;
  font-size: 12px;
  border-bottom: 1px solid #d1d5db;
}

.checkoutease-pos-saved-carts-table tbody td {
  padding: 10px;
  color: #111827;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

.checkoutease-pos-saved-carts-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.checkoutease-pos-saved-carts-table tbody tr:hover {
  background: #f9fafb;
}

.checkoutease-pos-saved-cart-notes {
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #6b7280;
  font-size: 13px;
  cursor: pointer;
}

/* Action buttons */
.checkoutease-pos-saved-cart-actions {
  white-space: nowrap;
}

.checkoutease-pos-saved-cart-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  padding: 4px 8px;
  min-height: 30px;
  line-height: 1.4;
  border-radius: 4px;
  margin-right: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.checkoutease-pos-saved-cart-actions .checkoutease-pos-load-saved-cart {
  background: #2563eb;
  color: #fff;
  border: none;
}
.checkoutease-pos-saved-cart-actions .checkoutease-pos-load-saved-cart:hover {
  background: #1e40af;
}

.checkoutease-pos-saved-cart-actions .checkoutease-pos-remove-saved-cart-entry {
  background: #ef4444;
  color: #fff;
  border: none;
  margin: 0;
}
.checkoutease-pos-saved-cart-actions .checkoutease-pos-remove-saved-cart-entry:hover {
  background: #b91c1c;
}

.checkoutease-pos-recall-saved-cart-empty {
  padding: 16px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  border-radius: 6px;
}

.pos-edit-saved-cart-notes {
    margin-left: 5px;
}

.checkoutease-pos-edit-saved-cart-notes-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    z-index: 9999;
    display: flex;
    align-items: center; 
    justify-content: center;
    background: rgba(20, 23, 28, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.checkoutease-pos-edit-saved-cart-notes-popup-content {
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.25)
}

.checkoutease-pos-edit-saved-cart-notes-popup-close-button {
    width: 35px;
    position: absolute;
    top: -12px;
    right: -12px;
    cursor: pointer;
    height: 35px;
    background: #4d4d4d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkoutease-pos-edit-saved-cart-notes-popup-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
}

.checkoutease-pos-edit-saved-cart-notes-popup-content .button {
    background: #4d4d4d;
    color: #fff;
    width: 100%;
    margin-top: 15px;
    border-radius: 4px;
}

/* ===== POS Order Summary Popup (FULL CSS) ===== */

.checkoutease-pos-order-summary-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  background: rgba(20, 23, 28, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.checkoutease-pos-order-summary-popup-content {
  position: relative;
  width: min(860px, 94vw);
  margin: 6vh auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  color: #1f2937;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 12vh);
  overflow: hidden;
}

/* Header */
.checkoutease-pos-order-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #eee;
}
.checkoutease-pos-order-summary-header .title {
  font-size: 18px;
  font-weight: 600;
}

/* Body */
.checkoutease-pos-order-summary-body {
  padding: 18px 22px;
  overflow: auto;
}

/* ===== Grid: Items (left) | Totals (right) ===== */
.checkoutease-pos-order-summary-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 18px;
  align-items: start;
}
@media (max-width: 820px) {
  .checkoutease-pos-order-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Items table (left) ===== */
.checkoutease-pos-order-summary-items {
  width: 100%;
  border-collapse: collapse;
}
.checkoutease-pos-order-summary-items th,
.checkoutease-pos-order-summary-items td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  color: #111;
}
.checkoutease-pos-order-summary-items .col-item { text-align: left; }
.checkoutease-pos-order-summary-items .col-qty  { text-align: center; width: 70px; }
.checkoutease-pos-order-summary-items .col-price{ text-align: right; width: 160px; }

/* ===== Totals card (right) ===== */
.checkoutease-pos-order-summary-right { position: sticky; top: 18px; }
.pos-summary-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px;
}

/* Meta rows at top of totals card */
.pos-summary-meta > div {
  padding: 6px 0;
  border-bottom: 1px dashed #e5e7eb;
}
.pos-summary-meta > div:last-child { border-bottom: 0; }
.pos-summary-meta .k { color: #6b7280; font-size: 12px; }
.pos-summary-meta .v { font-weight: 600; float: right; }
.pos-summary-grand { margin-top: 6px; font-size: 15px; }
.pos-summary-grand .v { font-size: 16px; }

/* Totals list (inserted by JS) */
.checkoutease-pos-order-summary-totals .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #e5e7eb;
  font-size: 13px;
}
.checkoutease-pos-order-summary-totals .row.total {
  border-bottom: 0;
  margin-top: 6px;
  font-weight: 700;
  font-size: 14px;
}
.checkoutease-pos-order-summary-totals .subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 4px 10px;
  font-size: 12px;
  color: #374151;
}

/* Helpful accents for negatives/discounts */
.checkoutease-pos-order-summary-totals .row[style*="color:#059669"],
.checkoutease-pos-order-summary-totals .subrow[style*="color:#059669"] {
  /* keep intended green if passed inline from JS */
}
.checkoutease-pos-order-summary-totals .row .negative,
.checkoutease-pos-order-summary-totals .subrow .negative {
  color: #dc2626;
}

/* ===== Actions ===== */
.checkoutease-pos-order-summary-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
    justify-content: flex-end;
}
.checkoutease-pos-order-summary-actions .button {
  background: #111827;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.checkoutease-pos-order-summary-actions .button:hover {
  opacity: 0.95;
}

/* Optional: make default .button look decent if theme doesn't style it */
.button.checkoutease-pos-order-summary-close {
  background: #e5e7eb;
  color: #111827;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.button.checkoutease-pos-order-summary-close:hover { opacity: 0.95; }

.checkoutease-pos-header-report-memu-text {
    cursor: pointer;
}

.pos-report-filters-inner .pos-filter-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkoutease-pos-header-report-memu-text{
  cursor:pointer;
  padding:6px 10px;
  border-radius: var(--pos-radius-sm);
  font-weight:600;
  letter-spacing:.02em;
  transition: background .18s ease, color .18s ease;
}
.checkoutease-pos-header-report-memu-text:hover{
  background: color-mix(in srgb, var(--pos-primary) 12%, transparent);
  color:#000;
}

/* -------- Layout -------- */
.checkoutease-pos-reports-section{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: var(--pos-gap-lg);
  background: var(--pos-bg);
  padding: calc(var(--pos-gap-lg) * 1.25);
  min-height: 100vh;
  box-sizing: border-box;
}
.checkoutease-pos-reports-filters-order-list {
    display: flex;
    flex-direction: column;
    gap: var(--pos-gap-lg);
}
/* Right: stats */
.checkoutease-pos-order-stats{
  background: var(--pos-card);
  border: 1px solid var(--pos-border);
  border-radius: var(--pos-radius);
  box-shadow: var(--pos-shadow);
  padding: 16px;
}

/* -------- Filters -------- */
.checkoutease-pos-report-filters {
    padding: 14px 16px;
    border-bottom: 1px solid var(--pos-border);
    background: var(--pos-card);
    box-shadow: var(--pos-shadow);
    border-radius: var(--pos-radius);
}

.pos-report-filters-inner label{
  font-size:12px;
  color: var(--pos-muted);
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom: 0;
}
.pos-filter-date{
  height:36px;
  border:1px solid var(--pos-border);
  border-radius: var(--pos-radius-sm);
  padding:0 10px;
  font-size:14px;
  color: var(--pos-text);
  background:#fff;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.pos-filter-date:focus{
  outline:none;
  border-color: var(--pos-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pos-primary) 20%, transparent);
}

.pos-apply-report-filter.button{
  background: var(--pos-primary);
  border:1px solid var(--pos-primary);
  color:#fff;
  height:36px;
  padding:0 14px;
  border-radius: var(--pos-radius-sm);
  font-weight:600;
}
.pos-apply-report-filter.button:hover{ filter:brightness(.96); }

.pos-exit-reports.button.button-secondary{
  background:#fff;
  border:1px solid var(--pos-border);
  color: var(--pos-text);
  height:36px;
  padding:0 12px;
  border-radius: var(--pos-radius-sm);
  width: 300px;
}
.pos-exit-reports.button.button-secondary:hover{ background:#f9fafb; }

/* Sticky header */
.pos-report-order-header{
  position:sticky; top:0; z-index:2;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1.3fr 0.8fr; /* Date | Order | Status | Customer | Total */
  gap:8px;
  background:#fff;
  border-bottom:1px solid var(--pos-border);
  padding:12px 16px;
  font: 700 12px/1 var(--pos-font, system-ui, -apple-system, Segoe UI, Roboto, Arial);
  color: var(--pos-text);
  letter-spacing:.08em;
  text-transform:uppercase;
}

.pos-report-order-row{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1.3fr 0.8fr;
  gap:8px;
  padding:14px 16px;
  border-bottom:1px dashed var(--pos-border);
  align-items:center;
  cursor:pointer;
  transition: background .15s ease, transform .05s ease;
}
.pos-report-order-row:hover{ background:#fafcff; }
.pos-report-order-row:active{ transform: scale(.999); }

.pos-report-order-row .cell.when{
  color: var(--pos-muted);
  font-size:13px;
}
.pos-report-order-row .cell.status{
  font-weight:700;
  letter-spacing:.04em;
}
.pos-report-order-row .cell.total{
  justify-self:end;
  font-weight:800;
  color: var(--pos-accent);
}

/* Empty + loading */
.pos-report-empty,
.pos-report-loading{
  padding:22px 16px;
  color: var(--pos-muted);
  text-align:center;
}
.pos-report-loading::after{
  content:'';
  display:block; margin:12px auto 0;
  width:120px; height:6px; border-radius:999px;
  background: linear-gradient(90deg,#f3f4f6 0%,#e5e7eb 50%,#f3f4f6 100%);
  background-size:200% 100%; animation: ce-shimmer 1.15s infinite linear;
}
@keyframes ce-shimmer{ to{ background-position:-200% 0; } }

/* -------- Details view -------- */

.checkoutease-pos-order-details {
    display: flex;
    flex-direction: column;
    gap: var(--pos-gap-lg);
}

.pos-order-details-header {
    background: var(--pos-card);
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    box-shadow: var(--pos-shadow);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pos-order-details-header .title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .01em;
    margin-bottom: 0;
}

.pos-order-details-body{ display:grid; grid-template-columns: 1.4fr 1fr; gap: var(--pos-gap-lg); }

/* Items table */
.pos-order-items{ width:100%; border-collapse:collapse; }
.pos-order-items thead th{
  background:#fafbff;
  border-bottom:1px solid var(--pos-border);
  color: var(--pos-muted);
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:12px; font-weight:700;
  padding:12px 16px;
}
.pos-order-items tbody td{
  padding:12px 16px;
  border-bottom:1px dashed var(--pos-border);
  font-size:14px;
}
.pos-order-items tbody td.qty,
.pos-order-items tbody td.sum{ text-align:right; }

.pos-order-details-body .left {
    background: var(--pos-card);
    border-radius: var(--pos-radius);
    box-shadow: var(--pos-shadow);
    overflow: hidden;
}

.pos-order-details-body .right {
    background: var(--pos-card);
    border-radius: var(--pos-radius);
    box-shadow: var(--pos-shadow);
    padding: 16px;
}

.pos-order-meta .meta-row,
.pos-order-totals .t-row{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:8px 0; border-bottom:1px dashed var(--pos-border);
}
.pos-order-meta .meta-row span:first-child,
.pos-order-totals .t-row span:first-child{
  color: var(--pos-muted); font-size:13px;
}
.pos-order-totals .grand span:last-child{ font-weight:800; color: var(--pos-text); }
.pos-order-totals .paid  span:last-child{ color: var(--pos-accent); font-weight:700; }
.pos-order-totals .disc  span:last-child{ color:#c62828; }

.pos-order-payments .title{ font-weight:700; margin-bottom:8px; }
.pos-order-payments .pay-row{ display:flex; justify-content:space-between; padding:6px 0; }

/* -------- Stats (right column) -------- */
.pos-report-stats-card .row,
.pos-report-stats-card .stat-line{
  display:flex; align-items:center; justify-content:space-between; padding:6px 2px;
}
.pos-report-stats-card .row .key{ color: var(--pos-muted); }
.pos-report-stats-card .row .val{ font-weight:800; }
.pos-report-stats-card .group-title{
  margin:10px 0 6px;
  font-size:12px; font-weight:800; color: var(--pos-muted);
  letter-spacing:.06em; text-transform:uppercase;
}
.pos-report-stats-card .method .label{ color: var(--pos-text); }
.pos-report-stats-card .method .value{ font-weight:700; }

.checkoutease-pos-orders-list {
    background: var(--pos-card);
    border: 1px solid var(--pos-border);
    border-radius: var(--pos-radius);
    box-shadow: var(--pos-shadow);
    overflow: hidden;
    overflow-y: auto;
    height: 70vh;
}
/* -------- Scrollbars (WebKit) -------- */
.checkoutease-pos-orders-list::-webkit-scrollbar{ height:10px; width:10px; }
.checkoutease-pos-orders-list::-webkit-scrollbar-thumb{ background:#d1d5db; border-radius:999px; }
.checkoutease-pos-orders-list::-webkit-scrollbar-track{ background:transparent; }

/* ========= Order Created Popup (final styling) ========= */

.checkoutease-pos-order-created-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  background: rgba(20, 23, 28, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

/* Content panel */
.checkoutease-pos-order-created-popup-content {
  position: relative;
  width: 400px;
  max-height: calc(100vh - 12vh);
  margin: 6vh auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  color: #1f2937;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.04);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: posFadeIn 180ms ease-out;
}

/* Image + text */
.checkout-ease-pos-order-created-img-text {
  padding: 12px 8px 4px;
}
.checkout-ease-pos-order-created-img-text img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: inline-block;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.12));
}
.checkout-ease-pos-order-created-title {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .2px;
  margin-bottom: 6px;
  color: #111827;
}
.checkout-ease-pos-order-created-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 18px;
}

/* Buttons row */
.checkout-ease-pos-order-created-action-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
}

/* Base button look (override global .button) */
.checkoutease-pos-order-created-popup .checkout-ease-pos-order-created-action-btns .button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  min-width: 158px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
  transition:
    transform 80ms ease-out,
    box-shadow 120ms ease,
    background-color 120ms ease,
    border-color 120ms ease,
    color 120ms ease;
}

/* OK button (secondary) */
.checkoutease-pos-order-created-popup .checkout-ease-pos-order-created-close-popup.button {
  background: #f9fafb;              /* gray-50 */
  color: #111827;                   /* gray-900 */
  border-color: #e5e7eb;            /* gray-200 */
}
.checkoutease-pos-order-created-popup .checkout-ease-pos-order-created-close-popup.button:hover {
  background: #f3f4f6;              /* gray-100 */
  border-color: #d1d5db;            /* gray-300 */
}
.checkoutease-pos-order-created-popup .checkout-ease-pos-order-created-close-popup.button:active {
  transform: translateY(1px);
}

/* View/Print Invoice (primary) */
.checkoutease-pos-order-created-popup .checkout-ease-pos-order-created-view-print-invoice.button {
  background: #2563eb;              /* blue-600 */
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}
.checkoutease-pos-order-created-popup .checkout-ease-pos-order-created-view-print-invoice.button:hover {
  background: #1d4ed8;              /* blue-700 */
  border-color: #1d4ed8;
  box-shadow: 0 10px 22px rgba(29, 78, 216, 0.32);
}
.checkoutease-pos-order-created-popup .checkout-ease-pos-order-created-view-print-invoice.button:active {
  transform: translateY(1px);
}

/* Focus states (keyboard a11y) */
.checkoutease-pos-order-created-popup .checkout-ease-pos-order-created-action-btns .button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25), 0 1px 0 rgba(0,0,0,.04);
}

/* Entrance motion */
@keyframes posFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .checkoutease-pos-order-created-popup-content { animation: none; }
  .checkoutease-pos-order-created-popup .checkout-ease-pos-order-created-action-btns .button { transition: none; }
}