/* Theme 2 — match https://fiji-smart-till.base44.app/ exactly. Theme 1 unchanged. */

.pos-theme-select {
    min-height: 32px;
    background: #ffffff;
    color: #0f172a;
}

.pos-theme-2.card {
    background: #e2e8f0;
    border: none;
    box-shadow: none;
    margin-bottom: 0 !important;
    border-radius: 0;
    overflow: hidden;
}

.pos-theme-2 .card-body {
    background: #e2e8f0;
    padding: 0 !important;
}

#customize-form:has(.pos-theme-2) {
    padding: 0 !important;
}

.layout-page:has(.pos-theme-2) .container-p-y {
    padding: 0 !important;
}

.pos-theme-2 .t2-till {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 1px;
    height: calc(100vh - 72px);
    max-height: calc(100vh - 72px);
    width: 100%;
    min-width: 0;
    font-family: "Public Sans", "Segoe UI", sans-serif;
    color: #0f172a;
    background: #e2e8f0;
    overflow: hidden;
    align-items: stretch;
}

.pos-theme-2 .t2-till button,
.pos-theme-2 .t2-till input,
.pos-theme-2 .t2-till select {
    font-family: inherit;
    background-image: none !important;
}

.pos-theme-2 .t2-till button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    text-transform: none;
    cursor: pointer;
    min-width: 0;
    min-height: 0;
    line-height: 1.2;
    box-shadow: none !important;
    letter-spacing: normal;
}

.pos-theme-2 .t2-till input:focus,
.pos-theme-2 .t2-till button:focus {
    outline: none;
    box-shadow: none !important;
}

.pos-theme-2 .t2-no-caret::after,
.pos-theme-2 .dropdown-toggle.t2-ghost::after {
    display: none !important;
}

.pos-theme-2 .t2-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 0 0 10px;
    margin: 0 0 4px;
}

.pos-theme-2 .t2-toolbar-theme { width: 120px; }

.pos-theme-2 .t2-toolbar-btn {
    border: 1px solid #e2e8f0;
    background: #fff !important;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a !important;
}

.pos-theme-2 .t2-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none !important;
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1d4ed8 !important;
}

.pos-theme-2 .t2-toolbar-year { width: 140px; }

.pos-theme-2 .t2-barcode-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.pos-theme-2 .t2-barcode-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    max-width: 220px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.pos-theme-2 .t2-barcode-ico {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}

.pos-theme-2 .t2-barcode-input {
    flex: 1;
    min-width: 0;
    border: none !important;
    background: transparent !important;
    font-size: 12px;
    font-weight: 500;
    color: #0f172a;
    padding: 0 !important;
    height: 28px;
}

.pos-theme-2 .t2-barcode-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.pos-theme-2 .t2-meta-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
}

.pos-theme-2 .t2-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #334155 !important;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.pos-theme-2 .t2-chip i {
    font-size: 14px;
    color: #64748b;
}

.pos-theme-2 .t2-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
}

.pos-theme-2 .t2-chip:hover {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1e40af !important;
}

.pos-theme-2 .t2-sync {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pos-theme-2 .t2-sync-ok {
    background: #dcfce7;
    color: #166534;
}

.pos-theme-2 .t2-sync-no {
    background: #fee2e2;
    color: #991b1b;
}

.pos-theme-2 .t2-fiji-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
}

.pos-theme-2 .t2-fiji-badges > span {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
}

.pos-theme-2 .t2-sale,
.pos-theme-2 .t2-items,
.pos-theme-2 .t2-padcol {
    background: #fff;
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    padding: 16px;
    justify-content: flex-start;
}

.pos-theme-2 .t2-padcol {
    overflow-y: auto;
}

.pos-theme-2 .t2-toolbar,
.pos-theme-2 .t2-sale-head,
.pos-theme-2 .t2-sale-footer,
.pos-theme-2 .t2-padcol h2,
.pos-theme-2 .t2-fields,
.pos-theme-2 .t2-padwrap,
.pos-theme-2 .t2-discbar,
.pos-theme-2 .t2-help {
    flex-shrink: 0;
}

.pos-theme-2 .t2-sale-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pos-theme-2 .t2-sale-head h2,
.pos-theme-2 .t2-items h2,
.pos-theme-2 .t2-padcol h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    color: #0f172a;
}

.pos-theme-2 .t2-sale-head h2 {
    flex: 1;
}

.pos-theme-2 .t2-padcol h2 {
    flex: 0 0 auto;
}

.pos-theme-2 .t2-invoice {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    font-weight: 400;
}

.pos-theme-2 .t2-sale-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pos-theme-2 .t2-add-cust {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #bfdbfe !important;
    background: #fff !important;
    color: #2563eb !important;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pos-theme-2 .t2-add-cust:hover {
    background: #eff6ff !important;
}

.pos-theme-2 .t2-dots {
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    color: #64748b !important;
    display: grid;
    place-items: center;
}

.pos-theme-2 .t2-dots:hover { background: #f8fafc !important; }

.pos-theme-2 .t2-more-menu {
    min-width: 220px;
    padding: 8px;
    max-height: 360px;
    overflow-y: auto;
}

.pos-theme-2 .t2-more-menu button {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent !important;
    padding: 7px 10px;
    font-size: 13px;
    border-radius: 6px;
    color: #0f172a !important;
}

.pos-theme-2 .t2-more-menu button:hover { background: #f1f5f9 !important; }

.pos-theme-2 .t2-more-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 4px 4px;
}

.pos-theme-2 .t2-lines {
    flex: 1;
    overflow-y: auto;
    min-height: 140px;
    margin-top: 12px;
}

.pos-theme-2 .t2-empty {
    color: #94a3b8;
    text-align: center;
    min-height: 140px;
    display: grid;
    place-items: center;
    font-size: 14px;
}

.pos-theme-2 .t2-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pos-theme-2 .t2-card-pending {
    border-style: dashed;
    background: #f8fafc;
}

.pos-theme-2 .t2-card-editing {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
}

.pos-theme-2 .t2-card-top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.pos-theme-2 .t2-idx {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.pos-theme-2 .t2-card-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.35;
    overflow: hidden;
}

.pos-theme-2 .t2-stepper-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-left: 36px;
}

.pos-theme-2 .t2-stepper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pos-theme-2 .t2-stepper button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0 !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}

.pos-theme-2 .t2-stepper button:hover { background: #e2e8f0 !important; }

.pos-theme-2 .t2-stepper span {
    width: 40px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.pos-theme-2 .t2-line-actions {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

.pos-theme-2 .t2-icon {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    padding: 0;
    display: grid;
    place-items: center;
}

.pos-theme-2 .t2-icon-edit {
    background: #eff6ff !important;
    color: #2563eb !important;
}

.pos-theme-2 .t2-icon-edit:hover { background: #dbeafe !important; }

.pos-theme-2 .t2-icon-del {
    background: #fff1f2 !important;
    color: #e11d48 !important;
}

.pos-theme-2 .t2-icon-del:hover { background: #ffe4e6 !important; }

.pos-theme-2 .t2-card-meta {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    margin-top: 12px;
    padding: 10px 0 0 36px;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
}

.pos-theme-2 .t2-card-meta em {
    display: block;
    font-style: normal;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 2px;
}

.pos-theme-2 .t2-card-meta span {
    font-weight: 600;
    color: #0f172a;
}

.pos-theme-2 .t2-card-meta-edit input.t2-inline-qty,
.pos-theme-2 .t2-card-meta-edit input.t2-inline-rate,
.pos-theme-2 .t2-card-meta-edit input.t2-inline-disc,
.pos-theme-2 .t2-stepper input.t2-inline-qty {
    width: 72px;
    height: 28px;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px;
    background: #fff !important;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    padding: 0 6px;
}

.pos-theme-2 .t2-card-meta-edit input.t2-inline-rate,
.pos-theme-2 .t2-card-meta-edit input.t2-inline-disc {
    width: 88px;
    text-align: right;
}

.pos-theme-2 .t2-meta-total {
    margin-left: auto;
    text-align: right;
}

.pos-theme-2 .t2-meta-total strong {
    color: #2563eb;
    font-weight: 700;
}

.pos-theme-2 .t2-sale-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.pos-theme-2 .t2-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}

.pos-theme-2 .t2-total-row .ti-info-circle {
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    vertical-align: middle;
}

.pos-theme-2 .t2-total-row strong {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
}

.pos-theme-2 .t2-sale-actions {
    display: flex;
    gap: 8px;
    margin: 12px 0 0;
    align-items: center;
}

.pos-theme-2 .t2-ghost-wrap { flex: 1; }

.pos-theme-2 .t2-ghost {
    flex: 1;
    width: 100%;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    border-radius: 12px;
    padding: 8px 6px;
    font-size: 10px;
    font-weight: 500;
    color: #475569 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pos-theme-2 .t2-ghost:hover { background: #f8fafc !important; }

.pos-theme-2 .t2-ghost-ico { font-size: 16px; }
.pos-theme-2 .t2-ico-blue { color: #2563eb; }
.pos-theme-2 .t2-ico-violet { color: #7c3aed; }
.pos-theme-2 .t2-ico-slate { color: #475569; }

.pos-theme-2 .t2-nav {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: none !important;
    background: #ebebeb !important;
    border-radius: 12px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000 !important;
}

.pos-theme-2 .t2-nav:hover { background: #cbd5e1 !important; }

.pos-theme-2 .t2-checkout {
    width: 100%;
    margin-top: 12px;
    border: none !important;
    border-radius: 16px;
    background: #059669 !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pos-theme-2 .t2-checkout .ti-chevron-right { margin-left: auto; }

.pos-theme-2 .t2-checkout:hover {
    background: #047857 !important;
    color: #fff !important;
}

.pos-theme-2 .t2-checkout:disabled { opacity: 0.55; }

.pos-theme-2 .t2-items-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-bottom: 4px;
}

.pos-theme-2 .t2-items-head h2 { flex: 0 0 auto; }

.pos-theme-2 .t2-search {
    position: relative;
    flex: 1;
    min-width: 0;
}

.pos-theme-2 .t2-search input {
    width: 100%;
    border: none !important;
    background: #f1f5f9 !important;
    border-radius: 8px;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    color: #0f172a;
}

.pos-theme-2 .t2-search input:focus {
    box-shadow: 0 0 0 2px #3b82f6 !important;
}

.pos-theme-2 .t2-search input::placeholder { color: #94a3b8; }

.pos-theme-2 .t2-search .fa-search,
.pos-theme-2 .t2-search .fa-times {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: #94a3b8;
}

.pos-theme-2 .t2-search .fa-times { cursor: pointer; }

.pos-theme-2 .t2-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0 12px;
    max-height: none;
    border-bottom: none;
    position: relative;
    z-index: 2;
}

.pos-theme-2 .t2-tabs::-webkit-scrollbar { height: 6px; }
.pos-theme-2 .t2-tabs::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }

/* Fiji: shrink-0 px-3 py-1.5 text-[11px] font-bold rounded-lg */
.pos-theme-2 .t2-tab,
.pos-theme-2 button.t2-tab {
    flex: 0 0 auto;
    box-sizing: border-box !important;
    width: auto !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    border: none !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

.pos-theme-2 .t2-tab:hover { background: #e2e8f0 !important; }

.pos-theme-2 .t2-tab.is-active { color: #fff !important; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12) !important; }
.pos-theme-2 .t2-tab.t2-cat-all.is-active { background: #0f172a !important; color: #fff !important; }
.pos-theme-2 .t2-tab.is-active.t2-cat-0 { background: #0ea5e9 !important; }
.pos-theme-2 .t2-tab.is-active.t2-cat-1 { background: #fbbf24 !important; color: #0f172a !important; }
.pos-theme-2 .t2-tab.is-active.t2-cat-2 { background: #f97316 !important; }
.pos-theme-2 .t2-tab.is-active.t2-cat-3 { background: #d946ef !important; }
.pos-theme-2 .t2-tab.is-active.t2-cat-4 { background: #fb7185 !important; }
.pos-theme-2 .t2-tab.is-active.t2-cat-5 { background: #10b981 !important; }
.pos-theme-2 .t2-tab.is-active.t2-cat-6 { background: #7c3aed !important; }
.pos-theme-2 .t2-tab.is-active.t2-cat-7 { background: #14b8a6 !important; }

.pos-theme-2 .t2-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 200px;
    align-content: start;
    grid-auto-rows: 88px;
}

.pos-theme-2 .t2-grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #94a3b8;
    padding: 40px 8px;
    font-size: 14px;
    height: auto;
}

/* Fiji: min-h-[88px] rounded-2xl text-base/lg font-extrabold uppercase */
.pos-theme-2 .t2-tile,
.pos-theme-2 button.t2-tile {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 8px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    line-height: 1.15 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: hidden !important;
    word-break: break-word !important;
    white-space: normal !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
    gap: 4px;
}

.pos-theme-2 .t2-tile-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}

.pos-theme-2 .t2-tile-rate {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    opacity: 0.85;
}

.pos-theme-2 .t2-tile-0 { background: #e0f2fe !important; color: #0c4a6e !important; }
.pos-theme-2 .t2-tile-1 { background: #d1fae5 !important; color: #064e3b !important; }
.pos-theme-2 .t2-tile-2 { background: #ffedd5 !important; color: #7c2d12 !important; }
.pos-theme-2 .t2-tile-3 { background: #ffe4e6 !important; color: #881337 !important; }
.pos-theme-2 .t2-tile-4 { background: #fef3c7 !important; color: #78350f !important; }
.pos-theme-2 .t2-tile-5 { background: #ede9fe !important; color: #4c1d95 !important; }
.pos-theme-2 .t2-tile-6 { background: #ccfbf1 !important; color: #134e4a !important; }
.pos-theme-2 .t2-tile-7 { background: #ecfccb !important; color: #365314 !important; }
.pos-theme-2 .t2-tile-8 { background: #cffafe !important; color: #164e63 !important; }
.pos-theme-2 .t2-tile-9 { background: #fce7f3 !important; color: #831843 !important; }

.pos-theme-2 .t2-tile:hover { filter: brightness(0.97); }

.pos-theme-2 .t2-fields {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}

.pos-theme-2 .t2-fields label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 16px;
    background: #fff;
    cursor: pointer;
}

.pos-theme-2 .t2-fields label.is-on {
    border-color: #2563eb;
    background: #eff6ff;
}

.pos-theme-2 .t2-fields input {
    border: none !important;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    text-align: left;
    background: transparent !important;
    width: 100%;
    min-height: 32px;
}

.pos-theme-2 .t2-fields input::placeholder {
    color: #0f172a;
    opacity: 1;
    font-weight: 600;
}

.pos-theme-2 .t2-padwrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    flex: 0 0 auto;
}

.pos-theme-2 .t2-padwrap > button {
    border: none !important;
    border-radius: 16px;
    height: 64px;
    min-height: 64px;
    font-size: 20px;
    font-weight: 600;
    color: #0f172a !important;
    background: #f1f5f9 !important;
}

.pos-theme-2 .t2-padwrap > button:hover {
    background: #e2e8f0 !important;
}

.pos-theme-2 .t2-clear {
    background: #fef3c7 !important;
    color: #b45309 !important;
}

.pos-theme-2 .t2-clear:hover { background: #fde68a !important; }

.pos-theme-2 .t2-fn-qty {
    background: #e0f2fe !important;
    color: #0c4a6e !important;
    font-size: 16px !important;
}

.pos-theme-2 .t2-fn-qty:hover { background: #bae6fd !important; }

.pos-theme-2 .t2-fn-price {
    background: #d1fae5 !important;
    color: #064e3b !important;
    font-size: 16px !important;
}

.pos-theme-2 .t2-fn-price:hover { background: #a7f3d0 !important; }

.pos-theme-2 .t2-fn-disc {
    background: #ede9fe !important;
    color: #4c1d95 !important;
    font-size: 16px !important;
}

.pos-theme-2 .t2-fn-disc:hover { background: #ddd6fe !important; }

.pos-theme-2 .t2-fn-back {
    background: #ffe4e6 !important;
    color: #be123c !important;
    font-size: 20px !important;
}

.pos-theme-2 .t2-fn-back:hover { background: #fecdd3 !important; }

.pos-theme-2 .t2-fn-star {
    background: #fef3c7 !important;
    color: #b45309 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

.pos-theme-2 .t2-fn-star:hover { background: #fde68a !important; }

.pos-theme-2 .t2-clear-wide {
    width: 100%;
    margin-top: 10px;
    height: 40px;
    border: none !important;
    border-radius: 12px;
    background: #fef3c7 !important;
    color: #b45309 !important;
    font-size: 14px;
    font-weight: 700;
}

.pos-theme-2 .t2-clear-wide:hover { background: #fde68a !important; }

.pos-theme-2 .t2-batch-popup {
    position: absolute;
    z-index: 40;
    left: 12px;
    right: 12px;
    top: 72px;
    max-height: calc(100% - 96px);
    overflow: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    padding: 12px;
}

.pos-theme-2 .t2-items {
    position: relative;
}

.pos-theme-2 .t2-batch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.pos-theme-2 .t2-batch-head strong {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.pos-theme-2 .t2-batch-close {
    width: 32px;
    height: 32px;
    border: none !important;
    border-radius: 8px;
    background: #f1f5f9 !important;
    color: #475569 !important;
    display: grid;
    place-items: center;
}

.pos-theme-2 .t2-batch-close:hover { background: #e2e8f0 !important; }

.pos-theme-2 .t2-batch-popup .table {
    font-size: 12px;
}

.pos-theme-2 .t2-padwrap > button.is-on {
    box-shadow: inset 0 0 0 2px #2563eb !important;
}

.pos-theme-2 .t2-discbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.pos-theme-2 .t2-disc-toggle {
    display: inline-flex;
    border-radius: 12px;
    overflow: hidden;
    margin-left: auto;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 2px;
}

.pos-theme-2 .t2-disc-toggle button {
    border: none !important;
    background: transparent !important;
    padding: 4px 10px;
    font-weight: 600;
    font-size: 12px;
    color: #64748b !important;
    border-radius: 8px;
}

.pos-theme-2 .t2-disc-toggle button.is-active {
    background: #2563eb !important;
    color: #fff !important;
}

.pos-theme-2 .t2-discbar strong {
    color: #0f172a;
    min-width: 80px;
    text-align: right;
    font-weight: 600;
}

.pos-theme-2 .t2-help {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #94a3b8;
}

@media (max-width: 1199px) {
    .pos-theme-2 .t2-till {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        height: auto;
        max-height: none;
        min-height: auto;
        overflow: visible;
        gap: 1px;
    }

    .pos-theme-2 .t2-padcol {
        position: sticky;
        bottom: 0;
        z-index: 4;
        max-height: 55vh;
        box-shadow: 0 -8px 16px rgba(15, 23, 42, 0.08);
    }

    .pos-theme-2 .t2-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 88px;
    }

    .pos-theme-2 .t2-tile,
    .pos-theme-2 button.t2-tile {
        height: 88px !important;
        min-height: 88px !important;
        max-height: 88px !important;
        font-size: 15px !important;
    }

    .pos-theme-2 .t2-tab,
    .pos-theme-2 button.t2-tab {
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        font-size: 11px !important;
        padding: 0 12px !important;
    }
}

@media (min-width: 1200px) {
    .pos-theme-2 .t2-tile,
    .pos-theme-2 button.t2-tile {
        font-size: 18px !important;
    }
}

@media (max-width: 1399px) {
    .pos-theme-2 .t2-padwrap > button {
        height: 52px;
        min-height: 52px;
        font-size: 18px;
        border-radius: 12px;
    }
}

/* ===== Theme 2 Checkout / Payment (Fiji Mode of Payment) ===== */
.t2-pay-card.card {
    background: #f1f5f9;
    border: none;
    box-shadow: none;
    margin-bottom: 0 !important;
    border-radius: 0;
    overflow: hidden;
}

.t2-pay-card .card-body {
    background: #f1f5f9;
    padding: 0 !important;
}

.t2-pay-card .t2-pay,
.pos-theme-2 .t2-pay {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 72px);
    max-height: calc(100vh - 72px);
    background: #f1f5f9;
    font-family: "Public Sans", "Segoe UI", sans-serif;
    color: #0f172a;
}

.t2-pay-hdr {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    background: #061a40;
    color: #fff;
    padding: 12px 20px;
    min-height: 56px;
}

.t2-pay-hdr h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.t2-pay-back {
    border: none !important;
    background: transparent !important;
    color: #bae6fd !important;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.t2-pay-back:hover { color: #fff !important; }

.t2-pay-home {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #bae6fd !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    margin-right: 12px;
}

.t2-pay-home:hover { color: #fff !important; }

.t2-pay-hdr-meta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.t2-pay-hdr-total {
    font-size: 14px;
    font-weight: 500;
    color: #bae6fd;
}

.t2-pay-hdr-total b {
    color: #fff;
    font-weight: 700;
}

.t2-pay-hdr-due {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #e2e8f0;
}

.t2-pay-hdr-due strong {
    color: #fb7185;
    font-weight: 700;
}

.t2-pay-main {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
    gap: 0;
    background: #f1f5f9;
}

.t2-pay-left,
.t2-pay-right {
    min-height: 0;
    overflow: auto;
    padding: 16px 18px 18px;
    background: #fff;
}

.t2-pay-right {
    border-left: 1px solid #e2e8f0;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.t2-pay-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

.t2-pay-methods {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.t2-pay-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 70px;
    border: 1.5px solid transparent !important;
    border-radius: 10px;
    padding: 8px 4px !important;
    font-size: 11px;
    font-weight: 600;
    color: #0f172a !important;
    line-height: 1.15;
    text-align: center;
}

.t2-pay-method i { font-size: 20px; }
.t2-pay-method span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.t2-pay-m0 { background: #ecfdf5 !important; }
.t2-pay-m0 i { color: #0f172a; }
.t2-pay-m1 { background: #dbeafe !important; }
.t2-pay-m1 i { color: #2563eb; }
.t2-pay-m2 { background: #ede9fe !important; }
.t2-pay-m2 i { color: #7c3aed; }
.t2-pay-m3 { background: #ffedd5 !important; }
.t2-pay-m3 i { color: #ea580c; }
.t2-pay-m4 { background: #ccfbf1 !important; }
.t2-pay-m4 i { color: #0d9488; }
.t2-pay-m5 { background: #fef9c3 !important; }
.t2-pay-m5 i { color: #ca8a04; }

.t2-pay-method.is-on {
    background: #fff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 1px #3b82f6;
}

.t2-pay-amount-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    padding: 10px 14px;
    min-height: 52px;
}

.t2-pay-amount-box em {
    font-style: normal;
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
}

.t2-pay-amount-box input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    padding: 0 !important;
    min-width: 0;
}

.t2-pay-clear-link {
    border: none !important;
    background: transparent !important;
    color: #2563eb !important;
    font-size: 12px;
    font-weight: 700;
    padding: 0 !important;
    white-space: nowrap;
}

.t2-pay-mid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(160px, 0.75fr);
    gap: 12px;
    margin-bottom: 12px;
    align-items: start;
}

.t2-pay-padwrap {
    background: #eef2f7;
    border-radius: 12px;
    padding: 10px;
}

.t2-pay-pad {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

.t2-pay-pad-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr 0.85fr;
    gap: 8px;
}

.t2-pay-pad > button,
.t2-pay-pad-bottom > button {
    height: 52px;
    border: none !important;
    border-radius: 10px;
    background: #fff !important;
    color: #0f172a !important;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.t2-pay-pad-remarks {
    background: #2563eb !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.t2-pay-pad-del {
    background: #fb7185 !important;
    color: #fff !important;
}

.t2-pay-pad-del i {
    font-size: 18px;
    color: #fff;
}

.t2-pay-denoms {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px;
}

.t2-pay-denoms-title {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
}

.t2-pay-denoms-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 8px;
}

.t2-pay-denom-note-btn {
    position: relative;
    display: block;
    width: 100%;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9 !important;
    padding: 0 !important;
    height: 36px;
}

.t2-pay-denom-img {
    width: 100%;
    height: 36px;
    object-fit: cover;
    display: block;
}

.t2-pay-denom-overlay {
    position: absolute;
    left: 4px;
    bottom: 4px;
    background: rgba(71, 85, 105, 0.92);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    line-height: 1.2;
    border-radius: 3px;
}

.t2-pay-denoms-coins {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
}

.t2-pay-denom-coin {
    border: none !important;
    border-radius: 999px;
    background: #e2e8f0 !important;
    color: #334155 !important;
    font-size: 10px;
    font-weight: 700;
    padding: 7px 2px !important;
}

.t2-pay-fields {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.t2-pay-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.t2-pay-field input {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px;
    height: 40px;
    padding: 0 10px;
    background: #fff !important;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
}

.t2-pay-device {
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
}

.t2-pay-dev-btn {
    border: none !important;
    border-radius: 8px;
    background: #2563eb !important;
    color: #fff !important;
    font-weight: 700;
    padding: 10px;
}

.t2-pay-add-main {
    width: 100%;
    height: 52px;
    border: none !important;
    border-radius: 10px;
    background: #061a40 !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
}

.t2-pay-add-main:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.t2-pay-disc-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
}

.t2-pay-disc-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.t2-pay-disc-toggle {
    display: inline-flex;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.t2-pay-disc-toggle button {
    border: none !important;
    background: transparent !important;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b !important;
}

.t2-pay-disc-toggle button.is-on {
    background: #2563eb !important;
    color: #fff !important;
}

.t2-pay-disc-input {
    flex: 1;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px;
    height: 40px;
    text-align: right;
    padding: 0 10px;
    font-weight: 600;
    background: #fff !important;
}

.t2-pay-summary-table {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 14px;
}

.t2-pay-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.t2-pay-row:last-child { border-bottom: none; }

.t2-pay-row strong {
    font-weight: 600;
    color: #0f172a;
}

.t2-pay-row-total span,
.t2-pay-row-total strong {
    font-weight: 800;
    font-size: 15px;
    color: #0f172a;
}

.t2-pay-green { color: #16a34a !important; font-weight: 700 !important; }
.t2-pay-red { color: #e11d48 !important; font-weight: 700 !important; }

.t2-pay-added-title {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
}

.t2-pay-added-list {
    min-height: 36px;
    max-height: 96px;
    overflow: auto;
}

.t2-pay-added-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 6px;
    font-size: 13px;
}

.t2-pay-added-item strong { margin-left: auto; }
.t2-pay-added-item button {
    width: 24px;
    height: 24px;
    border: none !important;
    border-radius: 6px;
    background: #fee2e2 !important;
    color: #b91c1c !important;
    display: grid;
    place-items: center;
    padding: 0;
}

.t2-pay-txn label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
}

.t2-pay-txn select {
    width: 100%;
    height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    padding: 0 10px;
    font-weight: 600;
}

.t2-pay-exact {
    width: 100%;
    height: 42px;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px;
    background: #fff !important;
    color: #0f172a !important;
    font-weight: 600;
    font-size: 14px;
}

.t2-pay-await {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #075985;
}

.t2-pay-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #f97316;
    flex-shrink: 0;
}

.t2-pay-await.is-paid {
    color: #166534;
    background: #dcfce7;
}

.t2-pay-await.is-paid .t2-pay-dot { background: #22c55e; }

.t2-pay-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}

.t2-pay-save {
    flex: 1;
    height: 48px;
    border: none !important;
    border-radius: 8px;
    background: #475569 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.t2-pay-save:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.t2-pay-sec {
    width: 48px;
    height: 48px;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px;
    background: #fff !important;
    color: #334155 !important;
    display: grid;
    place-items: center;
    font-size: 18px;
    padding: 0;
}

.t2-pay-sec:disabled {
    opacity: 0.4;
}

@media (max-width: 1100px) {
    .t2-pay-methods {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .t2-pay-card .t2-pay,
    .pos-theme-2 .t2-pay {
        max-height: none;
        min-height: auto;
    }

    .t2-pay-main {
        grid-template-columns: 1fr;
    }

    .t2-pay-right {
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }

    .t2-pay-mid {
        grid-template-columns: 1fr;
    }

    .t2-pay-fields {
        grid-template-columns: 1fr;
    }
}
