:root {
  /* BPTheme.cs exact palette */
  --bp-bg: #f4f7fb;
  --bp-card: #ffffff;
  --bp-border: #eaeff6;
  --bp-border-light: #f0f4f9;
  --bp-neutral-border: #e2e9f2;
  --bp-neutral-text: #4a5a72;
  --bp-neutral-hover-bg: #f5f9fe;
  --bp-neutral-hover-border: #c3dcfb;
  --bp-neutral-hover-text: #0060d6;
  --bp-neutral-press-bg: #eaf3fe;
  --bp-input-border: #dde6f1;
  --bp-input-kenar: #a8b6c8;
  --bp-input-hover: #8796ab;
  --bp-hover: #f5f9fe;
  --bp-disabled: #d5dde8;
  --bp-table-header-bg: #fbfcfe;
  --bp-table-header-text: #6b7a90;
  --bp-table-cell-text: #3d4c63;
  --bp-table-grid: #edf1f7;
  --bp-row-hover: #f8fbff;
  --bp-row-selected: #d6e8ff;
  --bp-text-primary: #2b3648;
  --bp-text-heading: #1f2937;
  --bp-text-secondary: #4a5a72;
  --bp-text-muted: #8b98ac;
  --bp-primary: #0080ff;
  --bp-primary-hover: #0069d9;
  --bp-primary-dark: #0060d6;
  --bp-primary-soft: #e8f2ff;
  --bp-success: #1d7044;
  --bp-success-hover: #175c38;
  --bp-warning: #f0ad4e;
  --bp-danger: #d9534f;
  --bp-danger-hover: #c9302c;
  --bp-danger-border: #f0d2d2;
  --bp-danger-text: #a03a3a;
  --bp-danger-bg: #fdf4f4;

  /* SatisRenk.cs exact palette */
  --satis-mavi: #2d71f8;
  --satis-mavi-koyu: #1e5bd6;
  --satis-mavi-acik: #eaf1fe;
  --satis-yesil: #1c8370;
  --satis-yesil-koyu: #146657;
  --satis-yesil-acik: #e3f3ef;
  --satis-kirmizi: #fc4a4a;
  --satis-kirmizi-yazi: #d93434;
  --satis-kirmizi-acik: #ffeeee;
  --satis-amber: #d97706;
  --satis-amber-yazi: #92400e;
  --satis-amber-acik: #fef3c7;

  /* Legacy variable aliases mapped to BenimPOS V5 palette so existing inline styles & mobile views inherit BPTheme */
  --paper: var(--bp-bg);
  --paper-2: var(--bp-card);
  --ink: var(--bp-text-heading);
  --muted: var(--bp-text-muted);
  --line: var(--bp-border);
  --forest: var(--bp-primary);
  --forest-2: var(--satis-mavi);
  --copper: var(--satis-yesil);
  --brass: var(--satis-amber);
  --danger: var(--bp-danger);
  --ok: var(--bp-success);
  --pos: var(--bp-bg);
  --pos-panel: var(--bp-card);
  --pos-line: var(--bp-border);
  --pos-text: var(--bp-text-heading);
  --pos-muted: var(--bp-text-muted);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Radii & shadows from BPTheme / AnaKart / SatisPanel */
  --bp-card-radius: 14px;
  --bp-ana-radius: 16px;
  --bp-satis-radius: 20px;
  --bp-btn-radius: 9px;
  --bp-input-radius: 9px;
  --bp-shadow: 0 4px 12px rgba(20, 50, 100, 0.05);
  --bp-shadow-hover: 0 6px 18px rgba(20, 50, 100, 0.09);
  --bp-shadow-satis: 0 3px 10px rgba(20, 40, 80, 0.055);
  --shadow: var(--bp-shadow);

  font-family: "Urbanist", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--bp-text-primary);
  background: var(--bp-bg);
  font-variant-numeric: tabular-nums;
  -webkit-tap-highlight-color: transparent;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--bp-bg);
  color: var(--bp-text-primary);
  font-family: "Urbanist", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--bp-primary);
  text-decoration: none;
}

a:hover {
  color: var(--bp-primary-dark);
}

button, input, select, textarea {
  font: inherit;
}

h1, h2, h3, h4 {
  font-family: "Urbanist", "Segoe UI", sans-serif;
  color: var(--bp-text-heading);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

h1 { font-size: 24px; }
h2 { font-size: 17px; }
h3 { font-size: 14.5px; }

p {
  margin: 6px 0;
  color: var(--bp-text-secondary);
  font-size: 13.5px;
  line-height: 1.5;
}

code {
  background: var(--bp-primary-soft);
  color: var(--bp-primary-dark);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
}

/* =========================================================
   LOGIN SCREEN: ilkSayfa.cs + GirisVitrini.cs
   ========================================================= */
.guest,
.bp-login-screen {
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(900px 520px at 15% 15%, #e3eefc 0%, var(--bp-bg) 65%);
  display: grid;
  place-items: center;
  padding: 20px;
}

.bp-login-window {
  width: min(1040px, 100%);
  min-height: 640px;
  background: var(--bp-card);
  border-radius: 18px;
  border: 1px solid #cfd8e3;
  box-shadow: 0 24px 60px rgba(9, 40, 112, 0.14), 0 4px 16px rgba(15, 23, 42, 0.06);
  display: grid;
  grid-template-columns: 460px 1fr;
  overflow: hidden;
}

.brand-panel,
.bp-vitrin {
  position: relative;
  padding: 44px 44px 36px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(152deg, #092870 0%, #0e4fa8 38%, #167ad0 74%, #1ea0de 100%);
}

.brand-panel::before,
.bp-vitrin::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 360px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.3px, transparent 1.3px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at top right, rgba(0,0,0,1) 10%, rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(circle at top right, rgba(0,0,0,1) 10%, rgba(0,0,0,0) 75%);
  pointer-events: none;
}

.bp-vitrin::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(250px circle at 86% 10%, rgba(90, 210, 255, 0.35), transparent 70%),
    radial-gradient(290px circle at 8% 70%, rgba(40, 110, 230, 0.32), transparent 70%);
  pointer-events: none;
}

.bp-vitrin > * {
  position: relative;
  z-index: 1;
}

.bp-vitrin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bp-vitrin-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(4, 20, 60, 0.22);
  display: grid;
  place-items: center;
  color: #1a55a5;
  font-size: 25px;
  font-weight: 800;
  flex-shrink: 0;
}

.bp-vitrin-brand-title {
  font-size: 25px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.bp-vitrin-brand-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 3px;
}

.bp-vitrin-headline {
  font-size: 31px;
  font-weight: 700;
  line-height: 1.22;
  color: #ffffff;
  margin: 22px 0 10px;
}

.bp-vitrin-headline .accent {
  color: #84deff;
}

.bp-vitrin-desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.bp-vitrin-chart {
  margin: 20px 0;
  padding: 15px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.27);
  box-shadow: 0 8px 18px rgba(3, 18, 60, 0.16);
}

.bp-vitrin-chart-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.bp-vitrin-chart-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.bp-vitrin-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
}

.bp-vitrin-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5af0a0;
  box-shadow: 0 0 0 4px rgba(90, 240, 160, 0.28);
}

.bp-vitrin-bars {
  height: 78px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 9px;
  align-items: end;
}

.bp-vitrin-bar {
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.24) 100%);
}

.bp-vitrin-bar.active {
  background: linear-gradient(180deg, #8ce4ff 0%, rgba(140, 228, 255, 0.58) 100%);
  box-shadow: 0 0 12px rgba(140, 228, 255, 0.45);
}

.bp-vitrin-features {
  display: grid;
  gap: 11px;
}

.bp-vitrin-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.bp-vitrin-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.bp-vitrin-footer {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 16px;
}

.login-panel,
.bp-login-right {
  background: var(--bp-card);
  padding: 40px 56px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-card,
.bp-login-form-box {
  width: min(380px, 100%);
  margin: auto;
}

.bp-login-greeting {
  font-size: 32px;
  font-weight: 700;
  color: var(--bp-text-heading);
  margin: 0 0 6px;
}

.bp-login-sub {
  font-size: 14px;
  color: var(--bp-text-muted);
  margin: 0 0 22px;
}

.bp-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f3f6fa;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 22px;
}

.bp-segment a,
.bp-segment button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bp-text-secondary);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.14s ease;
}

.bp-segment a.active,
.bp-segment button.active {
  background: var(--satis-mavi);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(45, 113, 248, 0.24);
}

.bp-segment a:not(.active):hover,
.bp-segment button:not(.active):hover {
  background: var(--bp-card);
  color: var(--bp-text-heading);
}

.bp-field-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bp-text-secondary);
  margin: 14px 0 6px 2px;
}

.bp-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.bp-input-wrap svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--bp-text-muted);
  pointer-events: none;
}

.bp-input-wrap input {
  padding-left: 42px;
  height: 48px;
  font-size: 16px;
  border-radius: 10px;
}

.bp-login-submit {
  width: 100%;
  height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #1a8cff 0%, var(--bp-primary-dark) 100%);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 96, 214, 0.26);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.bp-login-submit:hover {
  filter: brightness(0.96);
  box-shadow: 0 10px 24px rgba(0, 96, 214, 0.34);
}

.bp-login-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--bp-border-light);
  font-size: 12px;
  color: var(--bp-text-muted);
}

.bp-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: #22b160;
}

.bp-online-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22b160;
}

/* =========================================================
   ADMIN SHELL: AnaSolMenu.cs + AnaUstBar.cs + Mobile Chrome
   ========================================================= */
.mobile-topbar {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

.shell {
  display: grid;
  grid-template-columns: 252px 1fr;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bp-bg);
}

.nav {
  background: var(--bp-card);
  border-right: 1px solid var(--bp-border);
  display: flex;
  flex-direction: column;
  padding: 0 12px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  gap: 2px;
}

.bp-nav-brand {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--bp-border);
  flex-shrink: 0;
}

.bp-nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(145deg, #1a8cff, #0060d6);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 128, 255, 0.24);
  flex-shrink: 0;
}

.bp-nav-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--bp-text-heading);
  line-height: 1.1;
}

.bp-nav-sub {
  font-size: 11.5px;
  color: var(--bp-text-muted);
  margin-top: 2px;
}

.bp-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.bp-nav-group {
  margin: 12px 12px 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bp-muted, #8a8f98);
}

.nav a,
.nav .bp-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--bp-text-heading);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.nav a svg,
.nav .bp-nav-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: currentColor;
}

.nav a:hover,
.nav .bp-nav-btn:hover {
  background: var(--bp-hover);
  color: var(--bp-primary);
}

.nav a.active {
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
}

.nav a.bp-nav-pos {
  margin-top: 4px;
  background: var(--satis-yesil-acik);
  color: var(--satis-yesil-koyu);
}

.nav a.bp-nav-pos:hover {
  background: #d2ece5;
  color: var(--satis-yesil-koyu);
}

.bp-nav-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--bp-border-light);
}

.bp-shell-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}

.bp-ustbar {
  height: 54px;
  background: var(--bp-card);
  border-bottom: 1px solid var(--bp-border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 18px 0 14px;
  gap: 12px;
}

.bp-ustbar-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  overflow-x: auto;
}

.bp-ustbar-tab {
  height: 38px;
  padding: 0 16px;
  border-radius: 10px 10px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bp-text-secondary);
  border: 1px solid transparent;
  border-bottom: 0;
  position: relative;
  top: 1px;
  white-space: nowrap;
}

.bp-ustbar-tab svg {
  width: 15px;
  height: 15px;
  color: var(--bp-text-muted);
}

.bp-ustbar-tab:hover {
  background: var(--bp-bg);
  color: var(--bp-text-primary);
}

.bp-ustbar-tab.active {
  background: var(--bp-bg);
  border-color: var(--bp-border);
  color: var(--bp-text-heading);
  font-weight: 700;
}

.bp-ustbar-tab.active svg {
  color: var(--bp-primary);
}

.bp-ustbar-right {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-ustbar-user {
  text-align: right;
  line-height: 1.25;
}

.bp-ustbar-user strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bp-text-secondary);
}

.bp-ustbar-user span {
  font-size: 11px;
  color: var(--bp-text-muted);
}

.main {
  padding: 18px 20px 28px;
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

/* =========================================================
   DASHBOARD: AnaBaslik + AnaSatisKarti + AnaKpiKarti
   ========================================================= */
.bp-ana-baslik {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.bp-ana-baslik h1 {
  font-size: 27px;
  font-weight: 700;
  color: var(--bp-text-heading);
  margin: 0;
}

.bp-ana-baslik-alt {
  font-size: 14px;
  color: var(--bp-text-muted);
  margin-top: 4px;
}

.bp-donem-grup {
  display: inline-flex;
  background: var(--bp-card);
  border: 1px solid var(--bp-neutral-border);
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
}

.bp-donem-hap {
  padding: 6px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bp-text-secondary);
}

.bp-donem-hap.active {
  background: var(--bp-primary);
  color: #ffffff;
}

.bp-pano-ust {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.bp-satis-karti {
  position: relative;
  border-radius: 18px;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(125deg, #1e8eff 0%, #0a50c4 100%);
  box-shadow: 0 10px 26px rgba(0, 80, 200, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 196px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.bp-satis-karti:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 80, 200, 0.32);
}

.bp-satis-karti::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  right: -70px;
  top: -80px;
}

.bp-satis-karti::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  right: -20px;
  bottom: -60px;
}

.bp-satis-karti-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.bp-satis-karti-ikon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
}

.bp-satis-karti-rozet {
  padding: 4px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.bp-satis-karti-alt {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.bp-satis-karti-baslik {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.bp-satis-karti-aciklama {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 6px;
}

.bp-satis-karti-ok {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--bp-primary-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.bp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.bp-kpi-card {
  background: var(--bp-card);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-ana-radius);
  box-shadow: var(--bp-shadow);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 92px;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.bp-kpi-card:hover {
  border-color: #bedaf8;
  box-shadow: var(--bp-shadow-hover);
}

.bp-kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.bp-kpi-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bp-text-muted);
}

.bp-kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.bp-kpi-icon.blue { background: #2d8cff; }
.bp-kpi-icon.green { background: #22a05f; }
.bp-kpi-icon.purple { background: #8b5cf6; }
.bp-kpi-icon.amber { background: #f59e0b; }

.bp-kpi-val {
  font-size: 25px;
  font-weight: 700;
  color: var(--bp-text-heading);
  margin: 6px 0 8px;
  line-height: 1.15;
}

.bp-kpi-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--bp-text-secondary);
}

.bp-kpi-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: #e7f6ee;
  color: #1d8a52;
}

.bp-kpi-pill.neutral {
  background: #f1f4f9;
  color: var(--bp-text-secondary);
}

.bp-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.bp-quick-tile {
  background: var(--bp-card);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-ana-radius);
  box-shadow: var(--bp-shadow);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all 0.14s ease;
}

.bp-quick-tile:hover {
  border-color: #bedaf8;
  box-shadow: var(--bp-shadow-hover);
}

.bp-quick-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.bp-quick-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bp-text-heading);
}

.bp-quick-sub {
  font-size: 12.5px;
  color: var(--bp-text-muted);
  margin-top: 2px;
}

/* =========================================================
   CARDS, FORMS, BUTTONS & TABLES (BPYeniForm.cs & BPTablo.cs)
   ========================================================= */
.card {
  background: var(--bp-card);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-card-radius);
  box-shadow: var(--bp-shadow);
  padding: 18px 20px;
  max-width: 100%;
}

.top {
  background: var(--bp-card);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-card-radius);
  box-shadow: var(--bp-shadow);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.top h1 {
  font-size: 19px;
  margin: 0;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stats {
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 14px 18px;
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3.5px;
  border-radius: 0 4px 4px 0;
  background: var(--bp-primary);
}

.stat span {
  display: block;
  color: var(--bp-text-muted);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stat b {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--bp-text-heading);
  margin-top: 6px;
  word-break: break-word;
}

label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--bp-text-muted);
  margin: 12px 0 5px 2px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--bp-input-kenar);
  background: var(--bp-card);
  border-radius: var(--bp-input-radius);
  padding: 10px 12px;
  min-height: 42px;
  font-size: 15px;
  color: var(--bp-text-primary);
  outline: none;
  transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

input:hover, select:hover, textarea:hover {
  border-color: var(--bp-input-hover);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--bp-primary);
  background: var(--bp-hover);
  box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.12);
}

.input-flash {
  background-color: var(--satis-yesil-acik) !important;
  border-color: var(--satis-yesil) !important;
}

textarea {
  min-height: 84px;
}

.input-group {
  display: flex;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}

.input-group input {
  flex: 1;
  min-width: 0;
}

.input-sm {
  max-width: 180px;
}

.input-xs {
  max-width: 130px;
}

/* BPTheme buttons: Birincil, Notr, Tehlike */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--bp-btn-radius);
  border: 1px solid transparent;
  background: var(--bp-primary);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  transition: transform 0.1s ease, background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.btn:hover {
  background: var(--bp-primary-hover);
  color: #ffffff;
}

.btn:active {
  transform: scale(0.98);
  background: var(--bp-primary-dark);
}

.btn.copper,
.btn.ok {
  background: var(--satis-yesil);
  color: #ffffff;
}

.btn.copper:hover,
.btn.ok:hover {
  background: var(--satis-yesil-koyu);
  color: #ffffff;
}

.btn.brass {
  background: var(--satis-amber);
  color: #ffffff;
}

.btn.ghost {
  background: var(--bp-card);
  color: var(--bp-neutral-text);
  border: 1px solid var(--bp-neutral-border);
}

.btn.ghost:hover {
  background: var(--bp-neutral-hover-bg);
  border-color: var(--bp-neutral-hover-border);
  color: var(--bp-neutral-hover-text);
}

.btn.danger {
  background: var(--bp-card);
  color: var(--bp-danger-text);
  border: 1px solid var(--bp-danger-border);
}

.btn.danger:hover {
  background: var(--bp-danger-bg);
  border-color: #e6b4b4;
  color: var(--bp-danger-hover);
}

.btn.full {
  width: 100%;
}

.btn-sm {
  padding: 6px 12px;
  min-height: 36px;
  font-size: 13px;
}

/* UrunDurumBandi.cs alert banners */
.alert {
  padding: 11px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid var(--bp-neutral-hover-border);
  background: var(--bp-primary-soft);
  color: var(--bp-primary-dark);
}

.alert.error {
  background: #fdeeee;
  border-color: #f4c4c4;
  color: var(--bp-danger-text);
}

.alert.ok {
  background: #e9f6ef;
  border-color: #bce2cc;
  color: var(--bp-success);
}

.demo {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bp-bg);
  border: 1px solid var(--bp-border);
  font-size: 12.5px;
  color: var(--bp-text-secondary);
  line-height: 1.65;
}

/* BPTablo.cs table styling */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bp-card);
}

thead tr {
  background: var(--bp-table-header-bg);
  border-bottom: 1px solid #e9eef5;
}

th {
  text-align: left;
  padding: 11px 12px;
  color: var(--bp-text-muted);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--bp-table-grid);
  color: var(--bp-table-cell-text);
  font-size: 13.5px;
  vertical-align: middle;
}

tbody tr:hover td {
  background: var(--bp-row-hover);
}

.bp-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--bp-primary-soft);
  color: var(--bp-primary-dark);
}

.bp-pill.green {
  background: var(--satis-yesil-acik);
  color: var(--satis-yesil-koyu);
}

.bp-pill.amber {
  background: var(--satis-amber-acik);
  color: var(--satis-amber-yazi);
}

.bp-pill.red {
  background: var(--satis-kirmizi-acik);
  color: var(--satis-kirmizi-yazi);
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.check {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  min-height: 36px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bp-text-primary);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--bp-primary);
  cursor: pointer;
}

.muted {
  color: var(--bp-text-muted);
}

/* =========================================================
   POS & MOBILE KASA: satis.cs + SatisPanel + SatisUstBar + Mobile Tabs
   ========================================================= */
.pos {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bp-bg);
  color: var(--bp-text-primary);
  padding: 12px 16px calc(88px + var(--safe-bottom));
}

/* POS inside shared staff shell (left nav + kasa) */
.shell-pos {
  background: var(--bp-bg);
}

.shell-pos .bp-shell-body {
  min-height: 100vh;
  min-height: 100dvh;
}

.shell-pos .pos {
  min-height: 100%;
  padding-left: 14px;
  padding-right: 14px;
}

.shell-pos .pos-bar,
.shell-pos .pos-tabs,
.shell-pos .pos-grid {
  width: 100%;
  max-width: none;
}

.pos-bar,
.pos-tabs,
.pos-grid {
  width: min(1400px, 100%);
  margin: 0 auto;
}

/* SatisUstBar.cs (sUst) */
.pos-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 4px 0 12px;
  flex-wrap: wrap;
}

.bp-pos-hap {
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--bp-card);
  border: 1px solid var(--bp-border);
  color: var(--bp-text-heading);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  white-space: nowrap;
}

.bp-pos-hap svg {
  width: 16px;
  height: 16px;
  color: var(--satis-mavi);
  flex-shrink: 0;
}

.bp-pos-hap.personel {
  background: var(--satis-mavi-acik);
  border-color: rgba(45, 113, 248, 0.42);
  color: var(--satis-mavi-koyu);
}

.bp-pos-hap.son-satis {
  background: var(--satis-yesil-acik);
  border-color: rgba(28, 131, 112, 0.42);
  color: var(--satis-yesil-koyu);
}

.bp-pos-hap.son-satis svg {
  color: var(--satis-yesil);
}

/* Pos view tabs (Ürünler / Sepet / Telefon NFC Okuyucu) styled like SatisBolmeliSecim */
.pos-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  background: var(--bp-card);
  border: 1px solid var(--bp-border);
  border-radius: 13px;
  padding: 4px;
  overflow-x: auto;
}

.pos-tab {
  flex: 1;
  min-height: 40px;
  border-radius: 9px;
  border: 0;
  background: transparent;
  color: var(--bp-text-secondary);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.14s ease;
}

.pos-tab:hover:not(.active) {
  background: var(--bp-bg);
  color: var(--bp-text-heading);
}

.pos-tab.active {
  background: var(--satis-mavi);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(45, 113, 248, 0.25);
}

/* POS 2-column layout (satis.cs) */
.pos-grid {
  display: grid;
  grid-template-columns: 1.38fr 0.88fr;
  gap: 14px;
  align-items: start;
}

.panel {
  background: var(--bp-card);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-satis-radius);
  box-shadow: var(--bp-shadow-satis);
  padding: 16px;
  min-width: 0;
}

/* SatisKategoriSeridi.cs */
.bp-pos-kategoriler {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 1px 4px;
  -webkit-overflow-scrolling: touch;
}

.bp-kat-kart {
  min-width: 138px;
  height: 54px;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--bp-card);
  border: 1px solid var(--bp-border);
  box-shadow: 0 2px 5px rgba(20, 40, 80, 0.035);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  flex-shrink: 0;
  transition: all 0.12s ease;
}

.bp-kat-kart:hover {
  border-color: #bed4f0;
}

.bp-kat-kart.active {
  background: var(--satis-mavi-acik);
  border: 1.6px solid var(--satis-mavi);
}

.bp-kat-ikon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f4f8;
  color: var(--satis-mavi);
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 700;
  flex-shrink: 0;
}

.bp-kat-kart.active .bp-kat-ikon {
  background: var(--satis-mavi);
  color: #ffffff;
}

.bp-kat-metin strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--bp-text-heading);
  line-height: 1.15;
}

.bp-kat-kart.active .bp-kat-metin strong {
  color: var(--satis-mavi-koyu);
}

.bp-kat-metin small {
  display: block;
  font-size: 11px;
  color: var(--bp-text-muted);
  margin-top: 2px;
}

/* UrunKartiBoya (satis.cs) */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.product {
  text-align: left;
  background: var(--bp-card);
  color: var(--bp-text-heading);
  border: 1px solid var(--bp-border);
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(20, 40, 80, 0.045);
  padding: 7px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  min-height: 116px;
  touch-action: manipulation;
  transition: transform 0.1s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.product:hover {
  border-color: rgba(45, 113, 248, 0.65);
  box-shadow: 0 6px 14px rgba(20, 40, 80, 0.09);
}

.product:active {
  transform: scale(0.975);
}

.bp-urun-ust {
  flex: 1;
  border-radius: 10px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: #f4f6fa;
}

.bp-urun-ust strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--bp-text-heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-urun-oran {
  position: absolute;
  top: 5px;
  right: 6px;
  padding: 1.5px 6px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  color: var(--satis-yesil-koyu);
  border: 1px solid rgba(28, 131, 112, 0.22);
}

.bp-urun-alt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 4px 1px;
}

.bp-urun-kod {
  font-size: 11px;
  color: var(--bp-text-muted);
  font-weight: 600;
}

.product small,
.bp-urun-fiyat {
  font-size: 13px;
  font-weight: 700;
  color: var(--bp-text-heading);
}

/* Receipt modal & thermal paper strip */
.receipt-modal {
  background: rgba(18, 22, 28, 0.72) !important;
  backdrop-filter: blur(4px);
}

.receipt-modal .card,
.receipt-modal .receipt-modal-card {
  width: min(560px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 12px 10px 16px;
}

.receipt-modal-chrome h2 {
  color: #f3f4f6;
  font-size: 1rem;
  font-weight: 600;
}

.receipt-page {
  max-width: 560px;
  margin: 0 auto;
}

.receipt-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.receipt-paper {
  width: min(300px, 100%);
  margin: 0 auto;
  padding: 18px 16px 14px;
  background: #fffef8;
  color: #1a1a1a;
  font-family: "Courier New", Courier, ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.22);
  position: relative;
  border-radius: 2px;
}

.receipt-tear {
  height: 10px;
  margin: -18px -16px 12px;
  background:
    linear-gradient(135deg, #fffef8 33.33%, transparent 33.33%) 0 0 / 12px 10px,
    linear-gradient(225deg, #fffef8 33.33%, transparent 33.33%) 0 0 / 12px 10px,
    linear-gradient(#e8e4d8, #e8e4d8);
  background-repeat: repeat-x;
  background-position: 0 0, 6px 0, 0 0;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.06));
}

.receipt-tear-bottom {
  margin: 12px -16px -14px;
  transform: scaleY(-1);
}

.receipt-paper-header {
  text-align: center;
  margin-bottom: 4px;
}

.receipt-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
}

.receipt-branch {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 600;
}

.receipt-meta {
  margin-top: 2px;
  font-size: 11.5px;
  color: #333;
}

.receipt-uuid {
  margin-top: 4px;
  font-size: 10px;
  color: #666;
  word-break: break-all;
}

.receipt-sep {
  text-align: center;
  color: #888;
  font-size: 11px;
  letter-spacing: 0.05em;
  margin: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

.receipt-sep-soft {
  margin: 6px 0;
  opacity: 0.85;
}

.receipt-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.receipt-line-name {
  font-weight: 700;
  font-size: 12.5px;
  word-break: break-word;
}

.receipt-line-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-top: 1px;
}

.receipt-line-qty {
  color: #333;
  font-size: 11.5px;
}

.receipt-line-amt {
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}

.receipt-line-note {
  font-size: 10.5px;
  color: #555;
  margin-top: 1px;
}

.receipt-totals {
  margin-top: 2px;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 0;
  font-size: 12px;
}

.receipt-total-grand {
  font-size: 13.5px;
  font-weight: 800;
  margin: 4px 0 6px;
  padding-top: 4px;
  border-top: 1px dashed #bbb;
}

.receipt-status {
  text-align: center;
  margin-top: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #444;
}

.receipt-footer {
  text-align: center;
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.receipt-refund {
  width: 100%;
  margin-top: 18px;
  padding: 14px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.receipt-page .receipt-refund {
  border-top-color: var(--bp-border, #e5e7eb);
  max-width: 100%;
}

.receipt-modal .receipt-refund-title {
  color: #f3f4f6;
}

.receipt-modal .receipt-refund-help,
.receipt-modal .receipt-refund-hint {
  color: #c4c9d1;
}

.receipt-refund-title {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.receipt-refund-help {
  margin: 0 0 10px;
  font-size: 13px;
}

.receipt-refund-hint {
  font-size: 12.5px;
  margin: 10px 0 0;
}

.receipt-refund-submit {
  margin-top: 12px;
}

/* Match sales .products grid: 2–4 columns inside the modal */
.receipt-refund-grid.products {
  margin-top: 4px;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
  align-items: stretch;
}

.receipt-refund-item.product {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  min-height: 128px;
  outline: none;
  /* div role=button: kill leftover button quirks if class reused */
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  text-align: left;
}

.receipt-refund-item.product:focus-visible {
  border-color: var(--satis-mavi, #2d71f8);
  box-shadow: 0 0 0 3px rgba(45, 113, 248, 0.28);
}

.receipt-refund-item.is-selected,
.receipt-refund-item[aria-pressed="true"] {
  border-color: var(--satis-mavi, #2d71f8);
  border-width: 2px;
  box-shadow: 0 0 0 2px rgba(45, 113, 248, 0.28), 0 6px 14px rgba(20, 40, 80, 0.1);
  padding: 6px; /* compensate 2px border so layout doesn't jump */
}

/* Qty stepper lives INSIDE the card; never float outside.
   Class display:flex must not override the HTML hidden attribute. */
.receipt-refund-stepper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0 2px;
  width: 100%;
  flex-shrink: 0;
}

.receipt-refund-stepper[hidden] {
  display: none !important;
}

.receipt-refund-item.is-selected .receipt-refund-stepper:not([hidden]),
.receipt-refund-item[aria-pressed="true"] .receipt-refund-stepper:not([hidden]) {
  display: flex;
}

.receipt-refund-stepper .qty-controls {
  width: 100%;
  justify-content: center;
  gap: 8px;
  padding: 4px;
  background: #eef3fa;
}

.receipt-refund-qty {
  min-width: 32px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--bp-text-heading);
  line-height: 1;
}

.receipt-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  position: sticky;
  bottom: 0;
  padding-top: 8px;
  justify-content: center;
  background: linear-gradient(to top, rgba(18, 22, 28, 0.92) 65%, transparent);
}

.receipt-modal-actions .btn.ghost {
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.22);
}

.receipt-modal-body {
  margin-top: 8px;
}

.receipt-modal-status {
  margin-bottom: 10px;
}

@media (min-width: 560px) {
  .receipt-refund-grid.products {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 480px) {
  .receipt-refund-grid.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .receipt-refund-item.product {
    min-height: 112px;
  }
}

/* Cart lines & controls */
.ticket-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 6px;
  border-bottom: 1px solid var(--bp-border-light);
  border-radius: 8px;
}

.ticket-line:hover {
  background: var(--satis-mavi-acik);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f3f6fa;
  padding: 2px;
  border-radius: 9px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--bp-border);
  background: var(--bp-card);
  color: var(--bp-text-heading);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  padding: 0;
}

.qty-btn:hover,
.qty-btn:active {
  background: var(--satis-mavi);
  border-color: var(--satis-mavi);
  color: #ffffff;
}

/* SatisToplamPaneli total box */
.bp-toplam-kutu {
  background: #f5f8fe;
  border: 1px solid #e3ecfb;
  border-radius: 16px;
  padding: 12px 16px;
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.total {
  font-family: "Urbanist", "Segoe UI", sans-serif;
  font-size: clamp(28px, 4.5vw, 38px);
  font-weight: 800;
  color: var(--bp-text-heading);
  margin: 2px 0;
  line-height: 1.05;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.chip {
  border: 1px solid var(--bp-neutral-border);
  background: var(--bp-card);
  color: var(--bp-text-heading);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.chip:hover {
  background: var(--bp-hover);
  border-color: var(--bp-neutral-hover-border);
}

.chip:active,
.chip.active {
  background: var(--satis-mavi);
  border-color: var(--satis-mavi);
  color: #ffffff;
}

/* Sticky Mobile POS Bar */
.pos-mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--bp-border);
  box-shadow: 0 -6px 20px rgba(20, 40, 80, 0.08);
  padding: 10px 14px calc(10px + var(--safe-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* NFC Radar & Modals (BenimPOS V5 royal blue / emerald / danger) */
.modal,
.nfc-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal[hidden],
.nfc-sheet-backdrop[hidden] {
  display: none !important;
}

.modal .card,
.nfc-sheet {
  width: min(520px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: var(--bp-card);
  color: var(--bp-text-primary);
  border: 1px solid var(--bp-border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.nfc-sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: var(--bp-disabled);
  margin: 0 auto 12px;
  display: none;
}

.nfc-radar-box {
  margin-top: 14px;
  padding: 20px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, #092870 0%, #0e4fa8 55%, #167ad0 100%);
  color: #ffffff;
  text-align: center;
  border: 1px solid rgba(132, 222, 255, 0.32);
  box-shadow: 0 8px 22px rgba(9, 40, 112, 0.18);
}

.nfc-radar-box[data-state="error"] {
  background: linear-gradient(145deg, #7f1d1d, #b91c1c);
  border-color: #f87171;
}

.nfc-radar-box[data-state="paid"] {
  background: linear-gradient(145deg, #146657, #1c8370);
  border-color: #6ee7b7;
}

.nfc-radar-rings {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
}

.nfc-radar-rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(132, 222, 255, 0.65);
  animation: nfc-pulse 2.1s infinite ease-out;
}

.nfc-radar-rings span:nth-child(2) { animation-delay: 0.65s; }
.nfc-radar-rings span:nth-child(3) { animation-delay: 1.3s; }

.nfc-radar-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--bp-primary-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 20px rgba(0, 40, 100, 0.35);
}

@keyframes nfc-pulse {
  0% { transform: scale(0.6); opacity: 0.95; }
  100% { transform: scale(1.35); opacity: 0; }
}

.nfc-status-text {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
}

.nfc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--satis-yesil-acik);
  border: 1px solid rgba(28, 131, 112, 0.35);
  color: var(--satis-yesil-koyu);
}

.nfc-badge.warn {
  background: var(--satis-amber-acik);
  border-color: rgba(217, 119, 6, 0.35);
  color: var(--satis-amber-yazi);
}

.nfc-camera-wrap {
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
  position: relative;
}

.nfc-camera-wrap video {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
}

.nfc-camera-hint {
  padding: 8px 12px;
  font-size: 12px;
  text-align: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);
}

/* Customer Portal */
.customer-wrap {
  width: min(900px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 calc(48px + var(--safe-bottom));
}

.member {
  background: linear-gradient(135deg, #092870 0%, #0e4fa8 48%, #167ad0 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 26px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 34px rgba(9, 40, 112, 0.22);
}

.member::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(132, 222, 255, 0.18);
  right: -45px;
  top: -55px;
}

.member strong {
  position: relative;
  z-index: 1;
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 800;
  display: block;
  margin-top: 4px;
}

.balances {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

/* =========================================================
   METRO MENU PAGE & CATEGORIZED ICON GRID (BenimPOS Metro + Mobil Menu)
   ========================================================= */
.bp-metro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.bp-metro-tile {
  position: relative;
  min-height: 126px;
  padding: 16px 18px;
  border-radius: 16px;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.bp-metro-tile:hover {
  color: #ffffff;
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.20);
}

.bp-metro-tile:active {
  transform: scale(0.98);
}

.bp-metro-tile.wide {
  grid-column: span 2;
}

.bp-metro-tile::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  right: -36px;
  bottom: -44px;
  pointer-events: none;
}

.bp-metro-tile.t-blue {
  background: linear-gradient(135deg, #0080ff 0%, #0058c4 100%);
}
.bp-metro-tile.t-green {
  background: linear-gradient(135deg, #1c8370 0%, #135e50 100%);
}
.bp-metro-tile.t-teal {
  background: linear-gradient(135deg, #0e7490 0%, #155e75 100%);
}
.bp-metro-tile.t-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}
.bp-metro-tile.t-amber {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}
.bp-metro-tile.t-navy {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
}
.bp-metro-tile.t-slate {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

.bp-metro-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.bp-metro-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}

.bp-metro-icon svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
}

.bp-metro-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

.bp-metro-bottom {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

.bp-metro-bottom strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.bp-metro-bottom span {
  display: block;
  font-size: 12.5px;
  opacity: 0.88;
  margin-top: 3px;
  line-height: 1.3;
}

/* BenimPOS Mobil menu.php categorized icon grid */
.bp-menu-cat {
  background: var(--bp-card);
  border: 1px solid var(--bp-border);
  border-radius: 16px;
  box-shadow: var(--bp-shadow);
  padding: 16px 14px 14px;
  margin-bottom: 14px;
}

.bp-menu-cat-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--bp-text-muted);
  margin: 0 6px 12px;
  text-transform: uppercase;
}

.bp-menu-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  gap: 8px;
}

.bp-menu-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--bp-text-heading);
  background: var(--bp-bg);
  border: 1px solid var(--bp-border-light);
  text-align: center;
  cursor: pointer;
  transition: transform 0.1s ease, border-color 0.14s ease, background 0.14s ease;
}

.bp-menu-cat-item:hover {
  background: var(--bp-primary-soft);
  border-color: var(--bp-neutral-hover-border);
  color: var(--bp-primary-dark);
}

.bp-menu-cat-item:active {
  transform: scale(0.97);
}

.bp-menu-cat-item .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
  display: grid;
  place-items: center;
}

.bp-menu-cat-item .ic.green {
  background: var(--satis-yesil-acik);
  color: var(--satis-yesil);
}
.bp-menu-cat-item .ic.teal {
  background: #e0f2fe;
  color: #0284c7;
}
.bp-menu-cat-item .ic.purple {
  background: #f3e8ff;
  color: #7c3aed;
}
.bp-menu-cat-item .ic.amber {
  background: var(--satis-amber-acik);
  color: var(--satis-amber);
}

.bp-menu-cat-item .ic svg {
  width: 24px;
  height: 24px;
}

.bp-menu-cat-item strong {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
}

/* =========================================================
   LANDING PAGE (welcome.blade.php)
   ========================================================= */
.lp-page {
  min-height: 100dvh;
  background: radial-gradient(1200px 600px at 50% -10%, #dcebff 0%, var(--bp-bg) 60%);
  display: flex;
  flex-direction: column;
}

.lp-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bp-border);
  position: sticky;
  top: 0;
  z-index: 45;
}

.lp-header-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.lp-brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(0, 128, 255, 0.22);
  flex-shrink: 0;
}

.lp-brand-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--bp-text-heading);
  display: block;
  line-height: 1.15;
}

.lp-brand-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--bp-text-muted);
  display: block;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lp-main {
  flex: 1;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 56px;
}

.lp-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 44px;
}

.lp-hero-title {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.14;
  margin: 0 0 14px;
  color: var(--bp-text-heading);
}

.lp-hero-desc {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--bp-text-secondary);
  margin: 0 0 22px;
}

.lp-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.lp-cta-row .btn {
  min-height: 46px;
  padding: 0 20px;
  font-size: 14.5px;
}

.lp-checks {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--bp-text-secondary);
  font-weight: 600;
}

.lp-showcase {
  background: linear-gradient(145deg, #092870 0%, #0e4fa8 52%, #167ad0 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 22px 50px rgba(9, 40, 112, 0.22);
  position: relative;
  overflow: hidden;
}

.lp-showcase-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.lp-showcase-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.5px;
}

.lp-showcase-line:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.lp-showcase-line strong {
  white-space: nowrap;
  flex-shrink: 0;
  color: #ffffff;
}

.lp-showcase-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: rgba(28, 131, 112, 0.42);
  border: 1px solid rgba(110, 231, 183, 0.38);
  border-radius: 14px;
  padding: 12px 16px;
}

.lp-showcase-total strong {
  white-space: nowrap;
  display: block;
}

.lp-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* =========================================================
   RESPONSIVE TABLET & MOBILE (Preserves 100% of Mobile UX)
   ========================================================= */
@media (max-width: 980px) {
  .guest,
  .bp-login-window,
  .pos-grid,
  .bp-pano-ust,
  .bp-kpi-grid,
  .bp-quick-grid,
  .lp-hero,
  .lp-packages-grid,
  .stats,
  .form-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .lp-main {
    padding: 22px 0 40px;
  }

  .lp-hero {
    gap: 20px;
    margin-bottom: 28px;
  }

  .lp-brand-sub {
    display: none;
  }

  .lp-header-inner {
    min-height: 58px;
    padding: 8px 0;
  }

  .lp-nav {
    gap: 6px;
  }

  .lp-nav .btn-sm {
    padding: 5px 10px;
    min-height: 34px;
    font-size: 12px;
  }

  .lp-hide-mobile {
    display: none !important;
  }

  .bp-metro-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .bp-metro-tile.wide {
    grid-column: 1 / -1;
  }

  .bp-menu-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-panel,
  .bp-vitrin {
    display: none;
  }

  .bp-login-screen {
    padding: 14px;
  }

  .bp-login-window {
    min-height: auto;
  }

  .login-panel,
  .bp-login-right {
    padding: 24px 20px;
  }

  .shell {
    display: block;
    padding-bottom: calc(74px + var(--safe-bottom));
  }

  .bp-ustbar {
    display: none;
  }

  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bp-card);
    color: var(--bp-text-heading);
    border-bottom: 1px solid var(--bp-border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 10px rgba(20, 40, 80, 0.06);
  }

  .mobile-topbar .brand {
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    color: var(--bp-text-heading);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  /* Never drop the sidebar down from the top on mobile */
  .nav,
  .nav.open {
    display: none !important;
  }

  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    background: var(--bp-card);
    border-top: 1px solid var(--bp-border);
    padding: 6px 6px calc(6px + var(--safe-bottom));
    box-shadow: 0 -6px 24px rgba(20, 40, 80, 0.08);
  }

  .mobile-bottom-nav.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .shell-pos {
    padding-bottom: calc(74px + var(--safe-bottom));
  }

  /* Stack POS cart bar above the shared mobile bottom nav */
  .shell-pos .pos-mobile-bar {
    bottom: calc(58px + var(--safe-bottom));
    padding-bottom: 10px;
    z-index: 44;
  }

  .shell-pos .pos {
    padding-bottom: calc(168px + var(--safe-bottom));
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    border: 0;
    background: transparent;
    color: var(--bp-text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 4px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
  }

  .mobile-bottom-nav a.active,
  .mobile-bottom-nav button.active {
    color: var(--bp-primary);
    background: var(--bp-primary-soft);
  }

  .mobile-bottom-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .main {
    padding: 14px;
  }

  .card {
    padding: 16px;
    border-radius: 16px;
  }

  .pos-mobile-bar {
    display: flex;
  }

  .pos [data-pos-pane="hidden-mobile"] {
    display: none !important;
  }

  /* Bottom sheet feel for modals on mobile */
  .modal,
  .nfc-sheet-backdrop {
    align-items: end;
    padding: 0;
  }

  .modal .card,
  .nfc-sheet {
    width: 100%;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    padding: 16px 18px calc(20px + var(--safe-bottom));
  }

  .nfc-sheet-handle {
    display: block;
  }
}

@media (max-width: 600px) {
  .balances {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 14px;
  }

  .stat b {
    font-size: 20px;
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .product {
    min-height: 98px;
    font-size: 13.5px;
  }

  .input-sm,
  .input-xs {
    max-width: 100%;
    width: 100%;
  }

  .input-group {
    flex-wrap: wrap;
  }

  .input-group .btn {
    flex: 1 1 auto;
  }

  .nav.open {
    grid-template-columns: 1fr;
  }

  th, td {
    padding: 9px 6px;
    font-size: 13px;
  }
}

.bp-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0 4px;
}

.bp-pager-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bp-pager-list a,
.bp-pager-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--bp-border, var(--line, #d8dee8));
  background: var(--bp-card, #fff);
  color: var(--bp-text-heading, #162033);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}

.bp-pager-list a:hover {
  border-color: var(--satis-mavi-koyu, #2d71f8);
  color: var(--satis-mavi-koyu, #2d71f8);
}

.bp-pager-list .active span {
  background: var(--satis-mavi-koyu, #2d71f8);
  border-color: var(--satis-mavi-koyu, #2d71f8);
  color: #fff;
}

.bp-pager-list .disabled span {
  opacity: .45;
}

.bp-pager-meta {
  margin: 0;
  font-size: 12.5px;
}

.pos-iskonto {
  display: grid;
  gap: 8px;
  margin: 10px 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed var(--pos-line, #d5dce8);
  background: rgba(45, 113, 248, .04);
}

.pos-iskonto .row {
  gap: 8px;
  align-items: center;
}

.pos-iskonto label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.pos-iskonto select,
.pos-iskonto input {
  height: 34px;
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
}

.ticket-line .line-disc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.ticket-line .line-disc input,
.ticket-line .line-disc select {
  height: 28px;
  min-height: 28px;
  padding: 0 6px;
  font-size: 12px;
  max-width: 88px;
}

.quick-price-form {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.quick-price-form input {
  width: 88px;
  max-width: 100%;
  height: 32px;
  min-height: 32px;
  padding: 0 8px;
  font-size: 12.5px;
}

@media print {
  .nav,
  .bp-ustbar,
  .mobile-topbar,
  .mobile-bottom-nav,
  .pos-bar,
  .pos-tabs,
  .pos-mobile-bar,
  .no-print {
    display: none !important;
  }
  body {
    background: #ffffff;
  }
  .card {
    box-shadow: none;
    border: 0;
  }
  body:has(#receipt-modal:not([hidden])) .pos,
  body:has(#receipt-modal:not([hidden])) #modal,
  body:has(#receipt-modal:not([hidden])) #balance-modal {
    display: none !important;
  }
  #receipt-modal:not([hidden]) {
    position: static !important;
    inset: auto !important;
    display: block !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
  }
  #receipt-modal:not([hidden]) .card,
  #receipt-modal:not([hidden]) .receipt-modal-card {
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .receipt-modal-chrome,
  .receipt-modal-actions,
  .receipt-modal-status,
  .receipt-page-chrome,
  .receipt-refund {
    display: none !important;
  }
  .receipt-panel {
    align-items: flex-start;
  }
  .receipt-paper {
    width: 80mm !important;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: none !important;
    background: #fff !important;
    color: #000 !important;
  }
  .receipt-tear,
  .receipt-tear-bottom {
    display: none !important;
  }
}
