/* Rixzo-inspired POS theme */
:root {
  --primary-rgb: 123, 114, 241;
  --primary: rgb(var(--primary-rgb));
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --primary-strong: rgba(var(--primary-rgb), 0.2);
  --secondary: #f06f93;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --surface-3: #eef1f7;
  --border: #e2e7f2;
  --text-main: #1c2440;
  --text-muted: #7c89a6;
  --shadow: 0 16px 36px rgba(25, 35, 72, 0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --glass: rgba(255, 255, 255, 0.72);
  --sidebar-bg: #232b4f;
  --sidebar-bg-2: #2a355f;
  --sidebar-text: #d6dcf7;
  --sidebar-muted: rgba(255, 255, 255, 0.55);
}

body {
  font-family: "Poppins", "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #f8f9fd 0%, #f3f5fb 45%, #eef1f7 100%);
  color: var(--text-main);
}
.public-landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.app-body {
  height: 100vh;
  overflow: hidden;
}

a {
  color: var(--primary);
}
a:hover {
  color: rgba(var(--primary-rgb), 0.8);
}

.navbar {
  background: transparent !important;
}
.topbar-mobile {
  background: #fff !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.topbar-mobile .navbar-brand,
.topbar-mobile .nav-link,
.topbar-mobile .btn-outline-light,
.topbar-mobile .navbar-toggler {
  color: var(--text-main) !important;
}
.topbar-mobile .navbar-toggler {
  border-color: var(--border);
}

main.container {
  max-width: 1320px;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background-color: var(--surface);
}
.card.border-0 {
  border: 1px solid var(--border);
}
.card-gradient {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--primary-soft);
}

/* Public landing / home */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: -120px -40px auto auto;
  background: radial-gradient(circle at top, rgba(var(--primary-rgb), 0.18), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}
.hero-section .container {
  position: relative;
  z-index: 1;
}
.hero-title {
  letter-spacing: -0.03em;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}
.hero-cta {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}
.hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}
.hero-secondary {
  border-color: rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.9);
}
.hero-secondary:hover {
  background: #ffffff;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
}

.hero-visual {
  background: radial-gradient(circle at top left, rgba(var(--primary-rgb), 0.16), rgba(255, 255, 255, 0.95));
}
.pos-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}
.hero-screen {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.6);
}
.hero-screen-left {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.hero-screen-row {
  display: grid;
  grid-template-columns: 0.8fr 2fr auto auto;
  gap: 0.25rem;
  font-size: 0.8rem;
}
.hero-screen-row-muted {
  opacity: 0.7;
}
.hero-sku {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #9ca3af;
}
.hero-name {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.hero-qty {
  text-align: right;
  color: #9ca3af;
}
.hero-amount {
  text-align: right;
}
.hero-screen-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 0.75rem;
  border-left: 1px dashed rgba(148, 163, 184, 0.6);
}
.hero-total-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: #9ca3af;
}
.hero-total-amount {
  font-size: 1.6rem;
  font-weight: 700;
}
.hero-total-meta {
  font-size: 0.75rem;
  color: #9ca3af;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}
.status-dot-success {
  background: #22c55e;
}
.status-dot-info {
  background: #38bdf8;
}

.feature-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  border-color: rgba(79, 70, 229, 0.45);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.pricing-section {
  position: relative;
}
.pricing-section::before {
  content: "";
  position: absolute;
  inset: auto 10% -80px 10%;
  background: radial-gradient(circle at bottom, rgba(var(--primary-rgb), 0.12), transparent 60%);
  pointer-events: none;
}
.pricing-section .container {
  position: relative;
  z-index: 1;
}
.pricing-card {
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.pricing-card::after {
  content: "";
  position: absolute;
  inset: -40px -60px auto auto;
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.25), transparent 60%);
  opacity: 0.6;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  border-color: rgba(79, 70, 229, 0.6);
}
.pricing-card-featured {
  border-color: rgba(79, 70, 229, 0.85);
  box-shadow: 0 22px 55px rgba(79, 70, 229, 0.35);
}
.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  border-radius: 999px;
}
.pricing-amount {
  font-size: 1.7rem;
  font-weight: 700;
}

/* Public navbar tweaks */
.brand-logo-pill {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 1), rgba(249, 115, 22, 1));
  color: #fff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
}

.app-shell {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(135deg, #f7f8fb 0%, #f1f3f8 100%);
  height: 100vh;
  overflow: hidden;
}
.app-sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-2) 100%);
  color: #fff;
  padding: 1.25rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  overscroll-behavior: contain;
  box-shadow: 10px 0 30px rgba(16, 23, 48, 0.28);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sidebar-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 0;
  -ms-overflow-style: none;
  scrollbar-color: transparent transparent;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  position: relative;
}
.brand-title {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.sidebar-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}
.sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.24);
}
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--sidebar-text);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}
.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.sidebar-link.active {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.sidebar-section-title {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: var(--sidebar-muted);
  margin-bottom: 0.4rem;
}
.sidebar-footer {
  margin-top: auto;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}
.sidebar-text {
  display: inline-block;
}
.app-main {
  flex: 1;
  padding: 1.5rem 2rem 2.5rem;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(28, 36, 64, 0.35) transparent;
}
.app-main::-webkit-scrollbar {
  width: 10px;
}
.app-main::-webkit-scrollbar-track {
  background: transparent;
}
.app-main::-webkit-scrollbar-thumb {
  background: rgba(28, 36, 64, 0.25);
  border-radius: 999px;
}
.app-main::-webkit-scrollbar-thumb:hover {
  background: rgba(28, 36, 64, 0.4);
}
.app-shell.is-collapsed .app-sidebar {
  width: 90px;
  padding: 1.25rem 0.75rem;
}
.app-shell.is-collapsed .sidebar-text,
.app-shell.is-collapsed .sidebar-section-title,
.app-shell.is-collapsed .sidebar-org-name {
  display: none;
}
.app-shell.is-collapsed .sidebar-link {
  justify-content: center;
}
.app-shell.is-collapsed .sidebar-link i {
  margin: 0;
  font-size: 1.1rem;
}
.app-shell.is-collapsed .sidebar-link::after {
  content: attr(data-label);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(10px, -50%);
  background: #fff;
  color: var(--text-main);
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.app-shell.is-collapsed .sidebar-link:hover::after {
  opacity: 1;
}
.app-shell.is-collapsed .sidebar-brand {
  justify-content: center;
}
.app-shell.is-collapsed .sidebar-toggle {
  position: absolute;
  top: 16px;
  right: 12px;
}
.app-shell.is-collapsed .sidebar-footer {
  text-align: center;
}
.app-shell.is-collapsed .sidebar-footer .btn {
  width: auto !important;
  padding: 0.45rem 0.6rem;
}
.app-shell.is-collapsed .dropdown .btn {
  text-align: center;
}

.sidebar-body {
  scrollbar-width: none;
}
.sidebar-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}
.sidebar-body::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-body::-webkit-scrollbar-thumb {
  background: transparent;
}

.mobile-sidebar .offcanvas-body {
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scrollbar-color: transparent transparent;
}
.mobile-sidebar .offcanvas-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}
.mobile-sidebar .offcanvas-body::-webkit-scrollbar-track {
  background: transparent;
}
.mobile-sidebar .offcanvas-body::-webkit-scrollbar-thumb {
  background: transparent;
}

.mobile-sidebar .offcanvas-header,
.mobile-sidebar .offcanvas-body {
  background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-2) 100%);
  color: #fff;
}
.mobile-sidebar .sidebar-links {
  padding-top: 0.5rem;
}
.mobile-sidebar .sidebar-link {
  color: var(--sidebar-text);
}
.mobile-sidebar .sidebar-link:hover {
  color: #fff;
}
.mobile-sidebar .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
}
.mobile-sidebar .dropdown-menu {
  border-radius: var(--radius-md);
}
.app-topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 1.6rem;
}
.topbar-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
}
.topbar-search input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  color: var(--text-main);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.topbar-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  box-shadow: none;
}
.topbar-icon:hover {
  color: var(--primary);
  border-color: var(--primary-soft);
}
.topbar-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--primary), #6a63ef);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.02em;
}
@media (max-width: 991.98px) {
  .app-shell {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  .app-sidebar {
    position: relative;
    height: auto;
    width: 100%;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .app-main {
    padding: 1.25rem 1rem;
    height: auto;
    overflow: visible;
  }
  .app-body {
    height: auto;
    overflow: auto;
  }
  .app-topbar {
    display: none;
  }
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.page-header .title-block h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-header .subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.rixzo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.rixzo-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.rixzo-breadcrumb {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.rixzo-breadcrumb .rixzo-sep {
  margin: 0 0.35rem;
  color: var(--border);
}
.rixzo-search {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}
.rixzo-search input {
  border: none;
  background: transparent;
  outline: none;
  min-width: 200px;
  color: var(--text-main);
}
.rixzo-search .btn {
  box-shadow: none;
}

.rixzo-section {
  margin-bottom: 1.6rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}
.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.category-card.featured {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.88), #6f67ef);
  color: #fff;
  border-color: transparent;
}
.category-card.featured .category-count {
  color: rgba(255, 255, 255, 0.85);
}
.category-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.category-card:not(.featured) .category-icon {
  background: var(--primary-soft);
  color: var(--primary);
}
.category-name {
  font-weight: 700;
}
.category-count {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card-media {
  position: relative;
  height: 160px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-placeholder {
  font-size: 2rem;
  color: var(--text-muted);
}
.product-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.product-status {
  position: absolute;
  top: 12px;
  right: 12px;
}
.product-card-body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-card-actions {
  margin-top: 0.35rem;
}
.product-card-price {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}
.price-current {
  font-size: 1.35rem;
}

.status-pill {
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.status-available {
  background: rgba(15, 180, 90, 0.12);
  color: #0fb45a;
}
.status-unavailable {
  background: rgba(230, 64, 64, 0.12);
  color: #e64040;
}

.scan-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.scan-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 0.35rem 0.9rem;
}
.scan-input input {
  border: none;
  background: transparent;
  outline: none;
  min-width: 200px;
}
.scan-qty {
  max-width: 90px;
}

.btn {
  border-radius: var(--radius-md);
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 22px rgba(var(--primary-rgb), 0.16);
  border: none;
}
.btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.3);
}
.btn-primary {
  background: linear-gradient(120deg, var(--primary), #6e67ef);
}
.btn-outline-dark {
  border: 1px solid var(--border);
  color: var(--text-main);
  background: #fff;
}
.btn-outline-dark:hover {
  background: var(--surface-2);
  border-color: var(--primary);
  color: var(--primary);
}
.btn-soft {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--primary-strong);
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge {
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
}

.form-control, .form-select {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.75rem 0.95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.15);
}

.table thead th {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.table tbody td {
  vertical-align: middle;
  color: var(--text-main);
}
.table-hover tbody tr:hover {
  background: var(--surface-2);
}
.table-actions {
  display: flex;
  gap: 0.4rem;
  justify-content: flex-end;
}

.pagination-rixzo .page-link {
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text-main);
  margin: 0 0.15rem;
  box-shadow: none;
}
.pagination-rixzo .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pagination-rixzo .page-item.disabled .page-link {
  color: var(--text-muted);
  background: #fff;
}

.stat-tile {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-tile .label {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.stat-tile .value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-tile .subvalue {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.pos-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.table-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pill {
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 600;
  background: var(--primary-soft);
  color: var(--primary);
}

.shadow-soft {
  box-shadow: var(--shadow) !important;
}

@media print {
  body {
    background: #fff !important;
  }
  .app-sidebar,
  .topbar-mobile,
  .page-header,
  .alert,
  .btn,
  .sidebar-footer,
  .sidebar-brand,
  .sidebar-links,
  .sidebar-section-title,
  .dropdown,
  .navbar {
    display: none !important;
  }
  main,
  .app-main,
  .app-shell,
  .container,
  .container-fluid,
  .row,
  .col-md-7,
  .col-lg-6 {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .card,
  .card-body,
  .table {
    box-shadow: none !important;
    border: none !important;
  }
  .receipt-card {
    margin: 0 !important;
  }
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}
.auth-shell {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 1.5rem;
}
.auth-panel {
  background: linear-gradient(140deg, rgba(123, 108, 246, 0.18), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}
.auth-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.auth-card .card-body {
  padding: 2rem;
}
.auth-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.auth-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.auth-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-main);
  font-weight: 600;
}
.auth-list i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
}
.auth-card .errorlist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.75rem;
  color: #d64545;
  font-weight: 600;
}
@media (max-width: 991.98px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-panel {
    display: none;
  }
}
