:root {
  --navy: #1B427A;
  --navy-dark: #143360;
  --red: #A62626;
  --red-dark: #8A1E1E;
  --green: #3B7A2A;
  --blue-act: #4A89DC;
  --cream: #FFFDE4;
  --cream-border: #ECE9C8;
  --gray-bg: #F4F5F7;
  --gray-panel: #E6E7E9;
  --text-dark: #1E293B;
  --text-muted: #64748B;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #12151C;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-frame {
  width: min(100vw, calc(100dvh * 9 / 16));
  height: min(100dvh, calc(100vw * 16 / 9));
  aspect-ratio: 9 / 16;
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

@media (max-width: 540px) {
  .app-frame {
    width: 100vw;
    height: 100dvh;
    aspect-ratio: auto;
    box-shadow: none;
  }
}

.app-bar {
  background-color: var(--navy);
  color: #FFFFFF;
  height: 54px;
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 12px;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.app-bar-title {
  font-size: 19px;
  font-weight: 500;
  flex: 1;
  letter-spacing: 0.2px;
}

.app-bar-spacer {
  flex: 1;
}

.icon-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: background 0.15s;
}

.icon-btn:active {
  background: rgba(255, 255, 255, 0.18);
}

.screen {
  display: none;
  flex-direction: column;
  flex: 1;
  height: 100%;
  overflow: hidden;
  background: #FFFFFF;
}

.screen.active {
  display: flex;
}

/* ================= SIDEBAR DRAWER ================= */
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 81%;
  background: #FFFFFF;
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 16px rgba(0,0,0,0.25);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  background-color: #2B2B2B;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #FFFFFF;
}

.store-logo {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.store-info .role {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
}

.store-info .name {
  font-size: 12px;
  color: #E2E8F0;
  margin-top: 2px;
}

.badge-toko {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--red);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 5px;
  margin-top: 8px;
}

.drawer-menu {
  flex: 1;
  overflow-y: auto;
  list-style: none;
}

.drawer-menu li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 700;
  color: #1A1A1A;
  border-bottom: 1px solid #EEEEEE;
  cursor: pointer;
}

.drawer-menu li.active {
  background-color: var(--red);
  color: #FFFFFF;
}

/* ================= HOME SCREEN ================= */
.home-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  overflow: hidden;
  justify-content: space-between;
}

.badge-no-ads {
  display: inline-block;
  background-color: var(--red);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.big-cta-wrap {
  display: flex;
  justify-content: center;
  margin: 4px 0 8px;
}

.big-cta-btn {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background-color: var(--red);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(166, 38, 38, 0.3);
}

.big-cta-btn:active {
  transform: scale(0.95);
}

.mid-actions {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 12px;
}

.mid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.mid-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(27, 66, 122, 0.25);
}

.mid-item span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}

.bottom-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: auto;
  scrollbar-width: none;
}

.bottom-strip::-webkit-scrollbar {
  display: none;
}

.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 58px;
  cursor: pointer;
}

.strip-box {
  width: 52px;
  height: 36px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.strip-box.blue {
  background-color: var(--navy);
}

.strip-box.red {
  background-color: var(--red);
}

.strip-item span {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* ================= PRODUK LIST SCREEN ================= */
.search-bar-hidden {
  display: none;
  padding: 6px 12px;
  background: var(--navy-dark);
}

.search-bar-hidden input {
  width: 100%;
  padding: 7px 10px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  outline: none;
}

.sub-banner {
  background-color: var(--navy);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.scroll-list {
  flex: 1;
  overflow-y: auto;
  position: relative;
}

.produk-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 11px 14px;
  border-bottom: 1px solid #E5E7EB;
  cursor: pointer;
}

.produk-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
  max-width: 62%;
  line-height: 1.3;
}

.produk-price-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.produk-price {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
}

.produk-laba {
  font-size: 12px;
  color: #4B5563;
  margin-top: 2px;
}

.produk-badges {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}

.badge-dollar {
  background-color: #2B6CB0;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 15px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.badge-barcode {
  color: #2B6CB0;
  line-height: 1;
}

.fab-add {
  position: absolute;
  right: 16px;
  bottom: 74px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--red);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}

.ad-banner-mock {
  background-color: #FFFFFF;
  border-top: 1px solid #CBD5E1;
  padding: 6px 10px;
  font-size: 10.5px;
  line-height: 1.25;
}

.ad-banner-mock .title {
  color: #1A0DAB;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ad-banner-mock .desc {
  color: #4D5156;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ad-banner-mock .meta {
  color: #70757A;
  margin-top: 2px;
}

/* ================= FORM PRODUK SCREEN ================= */
.form-scroll {
  flex: 1;
  overflow-y: auto;
  background: #FFFFFF;
}

.form-row {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #E5E7EB;
  gap: 14px;
}

.form-icon {
  color: #2B6CB0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 11.5px;
  color: #4B5563;
  margin-bottom: 2px;
}

.form-field input {
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  width: 100%;
  background: transparent;
}

.form-split-row {
  display: flex;
  border-bottom: 1px solid #E5E7EB;
}

.split-left {
  flex: 1.3;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 14px;
}

.split-right {
  flex: 1;
  background-color: var(--gray-panel);
  display: flex;
  align-items: center;
  padding: 10px 12px;
  gap: 10px;
}

.laba-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #111827;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.laba-val {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.checkbox-row {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  gap: 12px;
  border-bottom: 1px solid #E5E7EB;
  font-size: 14px;
  font-weight: 700;
  color: #1F2937;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.barcode-row {
  display: flex;
  align-items: center;
  padding: 8px 10px 8px 14px;
  border-bottom: 1px solid #E5E7EB;
  gap: 10px;
}

.btn-clear-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2B6CB0;
  color: #FFFFFF;
  border: none;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-scan-square {
  width: 52px;
  height: 40px;
  background-color: var(--navy);
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.image-upload-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 14px;
  border-bottom: 1px solid #E5E7EB;
}

.image-upload-section .title {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.image-box {
  width: 122px;
  height: 122px;
  border: 1.5px solid #9CA3AF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  cursor: pointer;
}

.image-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-img-action {
  width: 58px;
  height: 36px;
  border: none;
  border-radius: 4px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-img-action.blue {
  background-color: #2B6CB0;
}

.btn-img-action.red {
  background-color: var(--red);
}

.bottom-save-wrap {
  padding: 10px 8px;
  background: #FFFFFF;
}

.btn-save-full {
  width: 100%;
  height: 46px;
  background-color: var(--navy);
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

/* ================= TRANSAKSI BARU (POS) ================= */
.trx-toolbar {
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
}

.trx-tool-btn {
  background-color: var(--navy);
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.trx-tool-btn.red {
  background-color: var(--red);
}

.trx-tool-btn.wide {
  flex: 1;
}

.trx-tool-btn.sq {
  width: 48px;
}

.trx-item-row {
  display: flex;
  background-color: var(--cream);
  border-bottom: 1px solid var(--cream-border);
  min-height: 58px;
}

.trx-item-info {
  flex: 1;
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}

.trx-item-name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.trx-item-price {
  font-size: 13px;
  font-weight: 700;
  color: #1F2937;
  margin-top: 2px;
}

.trx-item-controls {
  display: flex;
  align-items: stretch;
}

.trx-btn-minus {
  width: 56px;
  background-color: #F3F4F6;
  border: none;
  border-left: 1px solid #E5E7EB;
  color: var(--red);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.trx-btn-minus:active {
  background-color: #E5E7EB;
}

.trx-btn-qty-green {
  width: 68px;
  background-color: var(--green);
  border: none;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.trx-btn-qty-green:active {
  filter: brightness(0.92);
}

.trx-item-plus {
  width: 68px;
  background-color: #F3F4F6;
  border: none;
  border-left: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
}

.trx-item-plus:active {
  background-color: #E2E8F0;
}

.red-cart-bar {
  background-color: var(--red);
  color: #FFFFFF;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  min-height: 50px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
}

.red-cart-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}

.red-cart-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
}

/* ================= KERANJANG & CHECKOUT ================= */
.customer-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
}

.cust-btn {
  width: 44px;
  height: 36px;
  background: #FFFFFF;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cust-btn.red-outline {
  border: 1.5px solid var(--red);
  color: var(--red);
}

.cust-btn.blue-outline {
  border: 1.5px solid #2B6CB0;
  color: #1E293B;
}

.cust-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-left: 4px;
}

.cart-row {
  padding: 10px 12px;
  border-bottom: 1px solid #E5E7EB;
  background: #FFFFFF;
}

.cart-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.cart-row-name {
  flex: 1;
}

.cart-row-qty {
  width: 40px;
  text-align: center;
}

.cart-row-subtotal {
  width: 85px;
  text-align: right;
  color: var(--navy);
}

.cart-row-unit {
  font-size: 13px;
  color: #374151;
  margin-top: 2px;
}

.cart-row-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.cart-act-btn {
  width: 42px;
  height: 34px;
  border: none;
  border-radius: 4px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cart-act-btn.red {
  background-color: var(--red);
}

.cart-act-btn.dark {
  background-color: #4A4A4A;
}

.cart-act-btn.blue {
  background-color: var(--blue-act);
}

.checkout-summary {
  background-color: #EEEEEE;
  padding: 12px 14px;
  border-top: 1px solid #D1D5DB;
}

.total-line {
  text-align: right;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

.summary-meta {
  font-size: 12.5px;
  font-weight: 700;
  color: #1F2937;
  margin-top: 2px;
}

.summary-tools {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.dark-sq-btn {
  width: 42px;
  height: 34px;
  background-color: #4A4A4A;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.checkout-bottom-bar {
  display: flex;
  gap: 6px;
  padding: 6px 8px 8px;
  background-color: #FFFFFF;
  border-top: 1px solid #E5E7EB;
}

.btn-note-red {
  width: 92px;
  height: 46px;
  background-color: var(--red);
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-pay-red {
  flex: 1;
  height: 46px;
  background-color: var(--red);
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

/* ================= HALAMAN PEMBAYARAN ================= */
.pay-tagihan-bar {
  background-color: #525252;
  color: #FFFFFF;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.pay-tagihan-badge {
  background-color: #FFFFFF;
  color: #2E7D32;
  border: 1.5px solid #2E7D32;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 4px;
  line-height: 1.1;
}

.pay-tagihan-badge.small {
  font-size: 9.5px;
  padding: 1px 3px;
}

.pay-tagihan-badge.nav-badge {
  background-color: #4A4A4A;
  color: #FFFFFF;
  border: none;
  font-size: 10px;
  padding: 2px 5px;
}

.pay-body {
  flex: 1;
  padding: 28px 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pay-label {
  font-size: 13px;
  color: #4B5563;
  margin-bottom: 6px;
}

.pay-amount-input {
  width: 210px;
  border: none;
  border-bottom: 1.5px solid #D1D5DB;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  padding: 6px 4px;
  outline: none;
  background: transparent;
}

.nontunai-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}

.nontunai-label {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #D1D5DB;
  border-radius: 24px;
  transition: 0.2s;
}

.switch-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: 0.2s;
}

.switch-toggle input:checked + .switch-slider {
  background-color: var(--navy);
}

.switch-toggle input:checked + .switch-slider::before {
  transform: translateX(20px);
}

.quick-denom-strip {
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-denom-strip::-webkit-scrollbar {
  display: none;
}

.denom-card {
  min-width: 72px;
  flex: 1;
  border: 1.5px solid #374151;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}

.denom-top {
  background-color: #4A4A4A;
  color: #FFFFFF;
  border: none;
  padding: 11px 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.denom-top:active {
  background-color: #333333;
}

.denom-bottom {
  background-color: var(--red);
  color: #FFFFFF;
  border: none;
  padding: 7px 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.denom-bottom:active {
  background-color: var(--red-dark);
}

.pay-bottom-wrap {
  padding: 6px 8px 10px;
}

.btn-bayar-sekarang {
  width: 100%;
  height: 46px;
  background-color: var(--navy);
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

/* ================= NOTA TRANSAKSI SELESAI ================= */
.nota-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 14px;
  background-color: #F3F4F6;
  border-bottom: 1px solid #E5E7EB;
}

.nota-total-blue {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.nota-date-col {
  text-align: right;
}

.nota-date {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}

.nota-customer {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-top: 2px;
}

.nota-scroll {
  max-height: 170px;
}

.nota-item-row {
  padding: 9px 14px;
  border-bottom: 1px solid #E5E7EB;
}

.nota-item-top {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.nota-item-sub {
  font-size: 13px;
  font-weight: 700;
  color: #1F2937;
  margin-top: 2px;
}

.nota-summary-box {
  flex: 1;
  padding: 10px 14px;
  background-color: #FFFFFF;
  overflow-y: auto;
}

.nota-add-item-wrap {
  margin-bottom: 4px;
}

.nota-green-plus {
  width: 44px;
  height: 36px;
  border: 1.5px solid #2E7D32;
  background: #FFFFFF;
  color: #2E7D32;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nota-grand-total {
  text-align: right;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

.nota-status-lunas {
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  color: #2E7D32;
  margin-top: 2px;
}

.nota-payment-detail {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #E5E7EB;
}

.nota-detail-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.nota-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #1F2937;
  margin-top: 2px;
}

.nota-detail-row.bold {
  font-weight: 700;
  color: #111827;
  margin-top: 4px;
}

.nota-detail-row.muted {
  font-size: 12px;
  color: #64748B;
  margin-top: 2px;
}

.nota-admin-sign {
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  color: #1F2937;
  margin-top: 12px;
}

.nota-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 8px;
  border-top: 1px solid #E5E7EB;
  background-color: #FFFFFF;
}

.nota-nav-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 700;
  color: #1F2937;
  cursor: pointer;
}

/* Toast Notification */
.toast {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #FFFFFF;
  color: #111827;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 200;
}

.toast::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
  flex-shrink: 0;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
