/* client/src/components/cashier-login.css */
.theme-cashier {
  --sidebar: #0F2D2E;
  --primary: #0F766E;
  --primary-hover: #115E59;
  --primary-soft: #E6F4F3;
  --bg: #E8E1D5;
  --bg-cream: #E8E1D5;
  --surface: #FAF7F2;
  --border: #D0C7B8;
  --text: #0F172A;
  --text-muted: #475569;
  --text-on-primary: #FFFFFF;
  --danger: #B91C1C;
  --danger-bg: #FEE2E2;
  --success: #15803D;
  --success-bg: #DCFCE7;
  --ring: #14B8A6;
  color-scheme: light;
}
.theme-cashier.login-split-page,
.theme-cashier .login-split-page {
  background-color: var(--bg) !important;
  color: var(--text) !important;
  font-family:
    "Plus Jakarta Sans",
    "Geist",
    system-ui,
    -apple-system,
    sans-serif;
}
.theme-cashier.login-split-page .login-left-pane,
.theme-cashier .login-left-pane {
  background: var(--sidebar) !important;
  border-right: 1px solid rgba(217, 229, 229, 0.15) !important;
  color: #FFFFFF !important;
  position: relative;
  overflow: hidden;
}
.theme-cashier.login-split-page .login-left-pane::before,
.theme-cashier .login-left-pane::before {
  background:
    radial-gradient(
      circle,
      rgba(20, 184, 166, 0.22) 0%,
      transparent 70%) !important;
}
.theme-cashier.login-split-page .login-brand,
.theme-cashier .login-brand {
  color: #FFFFFF !important;
}
.theme-cashier.login-split-page .brand-name,
.theme-cashier .brand-name {
  color: #FFFFFF !important;
}
.theme-cashier.login-split-page .login-hero-title,
.theme-cashier .login-hero-title {
  color: #FFFFFF !important;
}
.theme-cashier.login-split-page .login-hero-highlight,
.theme-cashier .login-hero-highlight {
  color: var(--ring) !important;
}
.theme-cashier.login-split-page .login-hero-sub,
.theme-cashier .login-hero-sub {
  color: rgba(255, 255, 255, 0.7) !important;
}
.theme-cashier.login-split-page .preview-tablet-frame,
.theme-cashier .preview-tablet-frame {
  background: #FFFFFF !important;
  border: 1px solid rgba(217, 229, 229, 0.3) !important;
  box-shadow: 0 20px 45px -10px rgba(15, 45, 46, 0.45) !important;
}
.theme-cashier.login-split-page .tablet-title-bar,
.theme-cashier .tablet-title-bar {
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
}
.theme-cashier.login-split-page .chip-val,
.theme-cashier .chip-val {
  color: var(--primary) !important;
}
.theme-cashier.login-split-page .value-tag,
.theme-cashier .value-tag {
  background: rgba(20, 184, 166, 0.15) !important;
  border: 1px solid rgba(20, 184, 166, 0.3) !important;
  color: #FFFFFF !important;
}
.theme-cashier.login-split-page .login-right-pane,
.theme-cashier .login-right-pane {
  background: var(--bg) !important;
}
.theme-cashier.login-split-page .nav-back-home-btn,
.theme-cashier .nav-back-home-btn {
  background: var(--surface) !important;
  color: var(--primary) !important;
  border: 1px solid var(--border) !important;
  min-height: 44px;
}
.theme-cashier.login-split-page .nav-back-home-btn:hover,
.theme-cashier .nav-back-home-btn:hover {
  background: var(--primary-soft) !important;
  color: var(--primary-hover) !important;
  border-color: var(--ring) !important;
}
.theme-cashier.login-split-page .login-card,
.theme-cashier .login-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 24px rgba(15, 45, 46, 0.08) !important;
  padding: 2.5rem 2rem !important;
}
.theme-cashier.login-split-page .login-card-title,
.theme-cashier .login-card-title {
  color: var(--text) !important;
}
.theme-cashier.login-split-page .login-card-subtitle,
.theme-cashier .login-card-subtitle {
  color: var(--text-muted) !important;
}
.theme-cashier.login-split-page .login-auth-form .form-group,
.theme-cashier .login-auth-form .form-group {
  gap: 0.4rem;
}
.theme-cashier.login-split-page .login-auth-form .form-label,
.theme-cashier .login-auth-form .form-label {
  color: var(--text-muted) !important;
  font-size: 0.875rem;
  font-weight: 600;
}
.theme-cashier.login-split-page .form-input,
.theme-cashier .form-input {
  background: #FFFFFF !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  height: 48px !important;
  min-height: 48px !important;
  font-size: 16px !important;
  color: var(--text) !important;
  padding: 0 1rem !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}
.theme-cashier.login-split-page .form-input:focus,
.theme-cashier .form-input:focus {
  border-color: var(--primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px var(--ring) !important;
}
.theme-cashier.login-split-page .password-input-wrapper .form-input,
.theme-cashier .password-input-wrapper .form-input {
  padding-right: 3rem !important;
}
.theme-cashier.login-split-page .password-toggle-btn,
.theme-cashier .password-toggle-btn {
  color: var(--text-muted) !important;
  width: 44px;
  height: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-cashier.login-split-page .password-toggle-btn:hover,
.theme-cashier .password-toggle-btn:hover {
  color: var(--primary) !important;
}
.theme-cashier.login-split-page .checkbox-label,
.theme-cashier .checkbox-label {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}
.theme-cashier.login-split-page .forgot-password-link,
.theme-cashier .forgot-password-link {
  color: var(--primary) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.theme-cashier.login-split-page .forgot-password-link:hover,
.theme-cashier .forgot-password-link:hover {
  color: var(--primary-hover) !important;
  text-decoration: underline !important;
}
.theme-cashier.login-split-page .btn-primary-login,
.theme-cashier .btn-primary-login {
  background: var(--primary) !important;
  color: var(--text-on-primary) !important;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  width: 100% !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25) !important;
  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease !important;
}
.theme-cashier.login-split-page .btn-primary-login:hover:not(:disabled),
.theme-cashier .btn-primary-login:hover:not(:disabled) {
  background: var(--primary-hover) !important;
  box-shadow: 0 6px 18px rgba(17, 94, 89, 0.35) !important;
  transform: translateY(-1px);
}
.theme-cashier.login-split-page .btn-primary-login:disabled,
.theme-cashier .btn-primary-login:disabled {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
}
.theme-cashier.login-split-page .login-alert-error,
.theme-cashier .login-alert-error {
  background: var(--danger-bg) !important;
  border: 1px solid var(--danger) !important;
  color: var(--danger) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
}
.theme-cashier .role-tab-cashier-active {
  background: var(--primary) !important;
  color: var(--text-on-primary) !important;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3) !important;
  border-bottom: 2px solid var(--primary-hover) !important;
}
.theme-cashier .demo-cashier-active {
  background: var(--primary-soft) !important;
  border-color: var(--ring) !important;
  color: var(--primary) !important;
}
.theme-cashier.login-split-page .register-highlight-link,
.theme-cashier .register-highlight-link {
  color: var(--primary) !important;
  font-weight: 700 !important;
}
.theme-cashier.login-split-page .register-highlight-link:hover,
.theme-cashier .register-highlight-link:hover {
  color: var(--primary-hover) !important;
  text-decoration: underline !important;
}
.theme-cashier.app-container,
.theme-cashier .app-sidebar {
  background: var(--sidebar) !important;
  border-right: 1px solid rgba(217, 229, 229, 0.12) !important;
  box-shadow: 4px 0 24px rgba(15, 45, 46, 0.25) !important;
}
.theme-cashier .sidebar-brand-icon {
  background: rgba(20, 184, 166, 0.15) !important;
  color: var(--ring) !important;
}
.theme-cashier .sidebar-nav-item {
  color: #E2E8F0 !important;
}
.theme-cashier .sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
}
.theme-cashier .sidebar-nav-item.active {
  background: var(--primary) !important;
  color: var(--text-on-primary) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 10px rgba(15, 118, 110, 0.35) !important;
}
.theme-cashier .sidebar-nav-item.active .nav-icon {
  color: #FFFFFF !important;
}
.theme-cashier .sidebar-nav-item .nav-shift-badge.active {
  background: var(--ring) !important;
  color: #0F2D2E !important;
  font-weight: 800 !important;
}
.theme-cashier .sidebar-user-avatar {
  background: var(--primary) !important;
  color: var(--text-on-primary) !important;
}
.theme-cashier .user-status-dot {
  background: var(--ring) !important;
}
.theme-cashier .top-user-avatar {
  background: var(--primary) !important;
  color: #FFFFFF !important;
}
.theme-cashier .top-pos-bento-badge {
  background: var(--surface) !important;
  border-color: var(--border) !important;
}
.theme-cashier .top-pos-badge-icon.branch,
.theme-cashier .top-pos-badge-icon.counter,
.theme-cashier .top-pos-badge-icon.register {
  color: var(--primary) !important;
  background: var(--primary-soft) !important;
}
.theme-cashier .top-notification-btn.active {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
}
.theme-cashier .top-notification-btn:hover .notif-icon svg {
  color: var(--primary) !important;
}
.theme-cashier .bento-badge-icon {
  background: var(--primary) !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(15, 118, 110, 0.3) !important;
}
.theme-cashier .bento-loyalty-pill,
.theme-cashier .bento-loyalty-pill.active {
  background: var(--primary-soft) !important;
  border: 1px solid var(--ring) !important;
  color: var(--primary) !important;
  box-shadow: 0 1px 4px rgba(15, 118, 110, 0.15) !important;
}
.theme-cashier .bento-loyalty-pill span[style*=background] {
  background: var(--primary) !important;
  color: #FFFFFF !important;
}
.theme-cashier .terminal-icon-box {
  background: var(--primary-soft) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--primary) !important;
}
.theme-cashier .bento-exchange-btn {
  background: var(--primary) !important;
  border: 1px solid var(--primary-hover) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3) !important;
}
.theme-cashier .bento-exchange-btn:hover {
  background: var(--primary-hover) !important;
  border-color: var(--sidebar) !important;
}
.theme-cashier .bento-hold-cart-btn:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
.theme-cashier .bento-empty-cart-state svg,
.theme-cashier .empty-icon-box svg,
.theme-cashier .bento-empty-cart svg {
  stroke: var(--primary) !important;
}
.theme-cashier .empty-cart-ping {
  background: var(--primary) !important;
  color: #FFFFFF !important;
}
.theme-cashier .bento-start-add-btn {
  background: var(--primary) !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(15, 118, 110, 0.3) !important;
}
.theme-cashier .bento-start-add-btn:hover {
  background: var(--primary-hover) !important;
}
div.app-container.theme-cashier .discount-label svg,
.theme-cashier .discount-label svg {
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-disc-pill,
.theme-cashier .bento-disc-pill {
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-disc-pill:hover,
.theme-cashier .bento-disc-pill:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  transform: translateY(-1.5px) !important;
}
div.app-container.theme-cashier .bento-disc-pill.active,
.theme-cashier .bento-disc-pill.active {
  background: var(--primary) !important;
  border-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.3) !important;
}
div.app-container.theme-cashier .cat-pill-total,
.theme-cashier .cat-pill-total {
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-qty-btn:hover,
.theme-cashier .bento-qty-btn:hover {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-store-val,
.theme-cashier .bento-store-val {
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-cust-browse-btn,
body.theme-cashier .bento-cust-browse-btn,
.theme-cashier .bento-cust-browse-btn {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-cust-browse-btn:hover,
.theme-cashier .bento-cust-browse-btn:hover {
  background: var(--primary-soft) !important;
  border-color: var(--ring) !important;
  color: var(--primary-hover) !important;
  text-decoration: underline !important;
}
div.app-container.theme-cashier .bento-cust-browse-btn svg,
.theme-cashier .bento-cust-browse-btn svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
div.app-container.theme-cashier .bento-cust-input:focus,
div.app-container.theme-cashier .bento-barcode-input:focus,
div.app-container.theme-cashier input.bento-cust-input:focus,
.theme-cashier .bento-cust-input:focus,
.theme-cashier .bento-barcode-input:focus,
.theme-cashier input.bento-cust-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px var(--ring) !important;
}
div.app-container.theme-cashier .bento-pay-mode-btn,
.theme-cashier .bento-pay-mode-btn {
  border-color: var(--border) !important;
  color: var(--text) !important;
}
div.app-container.theme-cashier .bento-pay-mode-btn .pay-mode-svg,
.theme-cashier .bento-pay-mode-btn .pay-mode-svg {
  color: var(--text-muted);
  stroke: var(--text-muted);
}
div.app-container.theme-cashier .bento-pay-mode-btn:hover,
.theme-cashier .bento-pay-mode-btn:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: var(--primary-soft) !important;
}
div.app-container.theme-cashier .bento-pay-mode-btn:hover .pay-mode-svg,
.theme-cashier .bento-pay-mode-btn:hover .pay-mode-svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
div.app-container.theme-cashier .bento-pay-mode-btn.active,
.theme-cashier .bento-pay-mode-btn.active {
  background: var(--primary) !important;
  border-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35) !important;
  transform: translateY(-1px) !important;
}
div.app-container.theme-cashier .bento-pay-mode-btn.active .pay-mode-svg,
.theme-cashier .bento-pay-mode-btn.active .pay-mode-svg {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}
div.app-container.theme-cashier .quick-tender-btn.active,
div.app-container.theme-cashier .bento-quick-tender-btn.active,
div.app-container.theme-cashier .quick-tender-chip.active,
.theme-cashier .quick-tender-btn.active,
.theme-cashier .bento-quick-tender-btn.active,
.theme-cashier .quick-tender-chip.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #FFFFFF !important;
}
div.app-container.theme-cashier .quick-tender-btn:hover,
div.app-container.theme-cashier .bento-quick-tender-btn:hover,
div.app-container.theme-cashier .quick-tender-chip:hover,
.theme-cashier .quick-tender-btn:hover,
.theme-cashier .bento-quick-tender-btn:hover,
.theme-cashier .quick-tender-chip:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-checkout-btn,
div.app-container.theme-cashier .bento-checkout-btn:not(:disabled),
.theme-cashier .bento-checkout-btn,
.theme-cashier .bento-checkout-btn:not(:disabled) {
  background: var(--primary) !important;
  color: var(--text-on-primary) !important;
  box-shadow: 0 4px 18px rgba(15, 118, 110, 0.35) !important;
  animation: none !important;
}
div.app-container.theme-cashier .bento-checkout-btn:not(:disabled):hover,
.theme-cashier .bento-checkout-btn:not(:disabled):hover {
  background: var(--primary-hover) !important;
  box-shadow: 0 6px 22px rgba(17, 94, 89, 0.45) !important;
  transform: translateY(-2px) scale(1.015) !important;
}
div.app-container.theme-cashier .bento-checkout-btn:disabled,
.theme-cashier .bento-checkout-btn:disabled {
  background: #0F766E !important;
  color: rgba(255, 255, 255, 0.75) !important;
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  animation: none !important;
}
div.app-container.theme-cashier .bento-checkout-btn .checkout-arrow svg,
.theme-cashier .bento-checkout-btn .checkout-arrow svg {
  stroke: #FFFFFF !important;
}
div.app-container.theme-cashier .bento-barcode-icon-box svg,
div.app-container.theme-cashier .bento-scanner-card svg.scanner-icon,
div.app-container.theme-cashier .barcode-input-wrapper svg,
.theme-cashier .bento-barcode-icon-box svg,
.theme-cashier .bento-scanner-card svg.scanner-icon,
.theme-cashier .barcode-input-wrapper svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
div.app-container.theme-cashier .bento-trigger-scan-btn:not(.camera-active),
.theme-cashier .bento-trigger-scan-btn:not(.camera-active) {
  background: var(--primary) !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(15, 118, 110, 0.3) !important;
}
div.app-container.theme-cashier .bento-trigger-scan-btn:not(.camera-active):hover,
.theme-cashier .bento-trigger-scan-btn:not(.camera-active):hover {
  background: var(--primary-hover) !important;
}
div.app-container.theme-cashier .bento-mobile-scanner-btn:not(.connected),
.theme-cashier .bento-mobile-scanner-btn:not(.connected) {
  background: var(--primary-soft) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-mobile-scanner-btn:not(.connected):hover,
.theme-cashier .bento-mobile-scanner-btn:not(.connected):hover {
  background: #D1FAE5 !important;
  border-color: var(--ring) !important;
  color: var(--primary-hover) !important;
}
div.app-container.theme-cashier .bento-find-product-btn,
.theme-cashier .bento-find-product-btn {
  background: var(--primary-soft) !important;
  border: 1.5px solid var(--ring) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-find-product-btn:hover,
.theme-cashier .bento-find-product-btn:hover {
  background: #CCFBF1 !important;
  border-color: var(--primary) !important;
  color: var(--primary-hover) !important;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2) !important;
}
div.app-container.theme-cashier .bento-pos-root,
body.theme-cashier .bento-pos-root,
.theme-cashier .bento-pos-root {
  background-color: var(--bg) !important;
}
div.app-container.theme-cashier .top-global-bar,
body.theme-cashier .top-global-bar,
.theme-cashier .top-global-bar {
  background-color: var(--bg) !important;
  border-bottom: 1px solid var(--border) !important;
}
div.app-container.theme-cashier .top-pos-bento-badge,
body.theme-cashier .top-pos-bento-badge,
.theme-cashier .top-pos-bento-badge {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 1px 3px rgba(15, 45, 46, 0.05) !important;
}
div.app-container.theme-cashier .top-pos-badge-icon.branch,
div.app-container.theme-cashier .top-pos-badge-icon.counter,
body.theme-cashier .top-pos-badge-icon.branch,
body.theme-cashier .top-pos-badge-icon.counter,
.theme-cashier .top-pos-badge-icon.branch,
.theme-cashier .top-pos-badge-icon.counter {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(20, 184, 166, 0.3) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .top-pos-badge-icon svg,
body.theme-cashier .top-pos-badge-icon svg,
.theme-cashier .top-pos-badge-icon svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
div.app-container.theme-cashier .top-pos-badge-label,
body.theme-cashier .top-pos-badge-label,
.theme-cashier .top-pos-badge-label {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .top-pos-badge-val,
body.theme-cashier .top-pos-badge-val,
.theme-cashier .top-pos-badge-val {
  color: var(--sidebar) !important;
  font-weight: 700 !important;
}
div.app-container.theme-cashier .top-pos-code-tag,
body.theme-cashier .top-pos-code-tag,
.theme-cashier .top-pos-code-tag {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
  border: 1px solid rgba(20, 184, 166, 0.3) !important;
}
div.app-container.theme-cashier .top-pos-lock-tag,
body.theme-cashier .top-pos-lock-tag,
.theme-cashier .top-pos-lock-tag {
  background: #DCFCE7 !important;
  color: #15803D !important;
  border: 1px solid #BBF7D0 !important;
}
div.app-container.theme-cashier .top-notification-btn,
body.theme-cashier .top-notification-btn,
.theme-cashier .top-notification-btn {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--sidebar) !important;
  box-shadow: 0 1px 3px rgba(15, 45, 46, 0.05) !important;
}
div.app-container.theme-cashier .top-notification-btn:hover,
body.theme-cashier .top-notification-btn:hover,
.theme-cashier .top-notification-btn:hover {
  background: var(--primary-soft) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .top-user-chip,
body.theme-cashier .top-user-chip,
.theme-cashier .top-user-chip {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 1px 3px rgba(15, 45, 46, 0.05) !important;
}
div.app-container.theme-cashier .top-user-avatar,
body.theme-cashier .top-user-avatar,
.theme-cashier .top-user-avatar {
  background: var(--primary) !important;
  color: #FFFFFF !important;
}
div.app-container.theme-cashier .top-user-name,
body.theme-cashier .top-user-name,
.theme-cashier .top-user-name {
  color: var(--sidebar) !important;
  font-weight: 700 !important;
}
div.app-container.theme-cashier .top-user-role,
body.theme-cashier .top-user-role,
.theme-cashier .top-user-role {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-top-bar,
body.theme-cashier .bento-top-bar,
.theme-cashier .bento-top-bar {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px rgba(15, 45, 46, 0.06), 0 1px 3px rgba(15, 45, 46, 0.04) !important;
}
div.app-container.theme-cashier .bento-pos-badge .bento-badge-icon,
body.theme-cashier .bento-pos-badge .bento-badge-icon,
.theme-cashier .bento-pos-badge .bento-badge-icon {
  background: var(--primary) !important;
  color: #FFFFFF !important;
}
div.app-container.theme-cashier .bento-badge-title,
body.theme-cashier .bento-badge-title,
.theme-cashier .bento-badge-title {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
div.app-container.theme-cashier .bento-badge-sub,
body.theme-cashier .bento-badge-sub,
.theme-cashier .bento-badge-sub {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-shift-pill.open,
body.theme-cashier .bento-shift-pill.open,
.theme-cashier .bento-shift-pill.open {
  background: #DCFCE7 !important;
  border: 1px solid #BBF7D0 !important;
  color: #15803D !important;
}
div.app-container.theme-cashier .bento-cfd-pill,
body.theme-cashier .bento-cfd-pill,
.theme-cashier .bento-cfd-pill {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
div.app-container.theme-cashier .bento-cfd-pill:hover,
body.theme-cashier .bento-cfd-pill:hover,
.theme-cashier .bento-cfd-pill:hover {
  background: var(--primary-soft) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-alert-pill,
body.theme-cashier .bento-alert-pill,
.theme-cashier .bento-alert-pill {
  background: #FEE2E2 !important;
  border: 1px solid #FECACA !important;
  color: #B91C1C !important;
}
div.app-container.theme-cashier .bento-card,
div.app-container.theme-cashier .bento-card-3d,
div.app-container.theme-cashier .bento-billing-terminal,
div.app-container.theme-cashier .bento-scanner-card,
div.app-container.theme-cashier .bento-register-card,
body.theme-cashier .bento-card,
body.theme-cashier .bento-card-3d,
body.theme-cashier .bento-billing-terminal,
body.theme-cashier .bento-scanner-card,
body.theme-cashier .bento-register-card,
.theme-cashier .bento-card,
.theme-cashier .bento-card-3d,
.theme-cashier .bento-billing-terminal,
.theme-cashier .bento-scanner-card,
.theme-cashier .bento-register-card {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 4px 18px rgba(15, 45, 46, 0.06), 0 1px 3px rgba(15, 45, 46, 0.04) !important;
}
div.app-container.theme-cashier .bento-card::before,
div.app-container.theme-cashier .bento-card-3d::before,
div.app-container.theme-cashier .bento-billing-terminal::before,
div.app-container.theme-cashier .bento-scanner-card::before,
div.app-container.theme-cashier .bento-register-card::before,
body.theme-cashier .bento-card::before,
body.theme-cashier .bento-card-3d::before,
body.theme-cashier .bento-billing-terminal::before,
body.theme-cashier .bento-scanner-card::before,
body.theme-cashier .bento-register-card::before,
.theme-cashier .bento-card::before,
.theme-cashier .bento-card-3d::before,
.theme-cashier .bento-billing-terminal::before,
.theme-cashier .bento-scanner-card::before,
.theme-cashier .bento-register-card::before {
  display: none !important;
  opacity: 0 !important;
  content: none !important;
}
div.app-container.theme-cashier .bento-terminal-header,
body.theme-cashier .bento-terminal-header,
.theme-cashier .bento-terminal-header {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--border) !important;
}
div.app-container.theme-cashier .terminal-icon-box,
body.theme-cashier .terminal-icon-box,
.theme-cashier .terminal-icon-box {
  background: var(--primary-soft) !important;
  border: 1.5px solid rgba(20, 184, 166, 0.35) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .terminal-heading,
body.theme-cashier .terminal-heading,
.theme-cashier .terminal-heading {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
div.app-container.theme-cashier .terminal-subheading,
body.theme-cashier .terminal-subheading,
.theme-cashier .terminal-subheading {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-exchange-btn,
body.theme-cashier .bento-exchange-btn,
.theme-cashier .bento-exchange-btn {
  background: var(--primary) !important;
  border-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
}
div.app-container.theme-cashier .bento-hold-cart-btn,
body.theme-cashier .bento-hold-cart-btn,
.theme-cashier .bento-hold-cart-btn {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
div.app-container.theme-cashier .bento-hold-cart-btn:hover,
body.theme-cashier .bento-hold-cart-btn:hover,
.theme-cashier .bento-hold-cart-btn:hover {
  background: var(--primary-soft) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-clear-cart-btn,
body.theme-cashier .bento-clear-cart-btn,
.theme-cashier .bento-clear-cart-btn {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--danger) !important;
}
div.app-container.theme-cashier .bento-clear-cart-btn:hover:not(:disabled),
body.theme-cashier .bento-clear-cart-btn:hover:not(:disabled),
.theme-cashier .bento-clear-cart-btn:hover:not(:disabled) {
  background: var(--danger-bg) !important;
  border-color: var(--danger) !important;
  color: var(--danger) !important;
}
div.app-container.theme-cashier .bento-clear-cart-btn:disabled,
body.theme-cashier .bento-clear-cart-btn:disabled,
.theme-cashier .bento-clear-cart-btn:disabled {
  opacity: 0.45 !important;
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-cart-body,
div.app-container.theme-cashier .bento-empty-cart,
body.theme-cashier .bento-cart-body,
body.theme-cashier .bento-empty-cart,
.theme-cashier .bento-cart-body,
.theme-cashier .bento-empty-cart {
  background: transparent !important;
}
div.app-container.theme-cashier .bento-start-add-btn,
body.theme-cashier .bento-start-add-btn,
.theme-cashier .bento-start-add-btn {
  background: var(--primary) !important;
  border-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25) !important;
}
div.app-container.theme-cashier .bento-start-add-btn:hover,
body.theme-cashier .bento-start-add-btn:hover,
.theme-cashier .bento-start-add-btn:hover {
  background: var(--primary-hover) !important;
}
div.app-container.theme-cashier .bento-cart-table-wrapper,
body.theme-cashier .bento-cart-table-wrapper,
.theme-cashier .bento-cart-table-wrapper {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
}
div.app-container.theme-cashier .bento-cart-table-header,
body.theme-cashier .bento-cart-table-header,
.theme-cashier .bento-cart-table-header {
  background: #EFE9DE !important;
  border-bottom: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-cart-row,
body.theme-cashier .bento-cart-row,
.theme-cashier .bento-cart-row {
  background: var(--surface) !important;
  border-bottom: 1px solid var(--border) !important;
}
div.app-container.theme-cashier .bento-cart-row:hover,
body.theme-cashier .bento-cart-row:hover,
.theme-cashier .bento-cart-row:hover {
  background: #F4EFE6 !important;
}
div.app-container.theme-cashier .bento-cart-item-name,
body.theme-cashier .bento-cart-item-name,
.theme-cashier .bento-cart-item-name {
  color: var(--sidebar) !important;
  font-weight: 700 !important;
}
div.app-container.theme-cashier .bento-cart-cat-badge,
body.theme-cashier .bento-cart-cat-badge,
.theme-cashier .bento-cart-cat-badge {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(20, 184, 166, 0.3) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-qty-stepper,
body.theme-cashier .bento-qty-stepper,
.theme-cashier .bento-qty-stepper {
  background: #EFE9DE !important;
  border: 1px solid var(--border) !important;
}
div.app-container.theme-cashier .bento-qty-btn,
body.theme-cashier .bento-qty-btn,
.theme-cashier .bento-qty-btn {
  color: var(--sidebar) !important;
}
div.app-container.theme-cashier .bento-qty-btn:hover:not(:disabled),
body.theme-cashier .bento-qty-btn:hover:not(:disabled),
.theme-cashier .bento-qty-btn:hover:not(:disabled) {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-qty-value,
body.theme-cashier .bento-qty-value,
.theme-cashier .bento-qty-value {
  color: var(--sidebar) !important;
  font-weight: 700 !important;
}
div.app-container.theme-cashier .bento-discount-bar,
body.theme-cashier .bento-discount-bar,
.theme-cashier .bento-discount-bar {
  background: #FAF7F2 !important;
  background-color: #FAF7F2 !important;
  border: 1px solid var(--border) !important;
}
div.app-container.theme-cashier .discount-label,
body.theme-cashier .discount-label,
.theme-cashier .discount-label {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-disc-pill,
body.theme-cashier .bento-disc-pill,
.theme-cashier .bento-disc-pill {
  background: #EFE9DE !important;
  background-color: #EFE9DE !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
div.app-container.theme-cashier .bento-disc-pill:hover,
body.theme-cashier .bento-disc-pill:hover,
.theme-cashier .bento-disc-pill:hover {
  background: var(--primary-soft) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-disc-pill.active,
body.theme-cashier .bento-disc-pill.active,
.theme-cashier .bento-disc-pill.active {
  background: var(--primary) !important;
  background-color: var(--primary) !important;
  border-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
}
div.app-container.theme-cashier .bento-summary-box,
body.theme-cashier .bento-summary-box,
.theme-cashier .bento-summary-box {
  background: #EFE9DE !important;
  background-color: #EFE9DE !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
}
div.app-container.theme-cashier .bento-summary-row .summary-label,
body.theme-cashier .bento-summary-row .summary-label,
.theme-cashier .bento-summary-row .summary-label {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-summary-row .summary-val,
body.theme-cashier .bento-summary-row .summary-val,
.theme-cashier .bento-summary-row .summary-val {
  color: var(--sidebar) !important;
  font-weight: 700 !important;
}
div.app-container.theme-cashier .tax-sub-breakdown,
body.theme-cashier .tax-sub-breakdown,
.theme-cashier .tax-sub-breakdown {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-savings-alert,
body.theme-cashier .bento-savings-alert,
.theme-cashier .bento-savings-alert {
  background: #DCFCE7 !important;
  border: 1px solid #BBF7D0 !important;
  color: #166534 !important;
}
div.app-container.theme-cashier .bento-billing-customer-box,
body.theme-cashier .bento-billing-customer-box,
.theme-cashier .bento-billing-customer-box {
  background: #FAF7F2 !important;
  background-color: #FAF7F2 !important;
  border: 1.5px solid var(--border) !important;
}
div.app-container.theme-cashier .bento-cust-prefix,
div.app-container.theme-cashier .bento-billing-customer-box div[style*="padding: 0 0.55rem"],
body.theme-cashier .bento-cust-prefix,
body.theme-cashier .bento-billing-customer-box div[style*="padding: 0 0.55rem"],
.theme-cashier .bento-cust-prefix,
.theme-cashier .bento-billing-customer-box div[style*="padding: 0 0.55rem"] {
  background: var(--primary-soft) !important;
  background-color: var(--primary-soft) !important;
  color: var(--sidebar) !important;
  border-color: var(--border) !important;
}
div.app-container.theme-cashier .bento-cust-input,
div.app-container.theme-cashier .bento-billing-customer-box input[type=tel],
div.app-container.theme-cashier .bento-billing-customer-box input[type=text],
body.theme-cashier .bento-cust-input,
body.theme-cashier .bento-billing-customer-box input[type=tel],
body.theme-cashier .bento-billing-customer-box input[type=text],
.theme-cashier .bento-cust-input,
.theme-cashier .bento-billing-customer-box input[type=tel],
.theme-cashier .bento-billing-customer-box input[type=text] {
  background: #FAF7F2 !important;
  background-color: #FAF7F2 !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
}
div.app-container.theme-cashier .bento-billing-customer-box input:focus,
body.theme-cashier .bento-billing-customer-box input:focus,
.theme-cashier .bento-billing-customer-box input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.25) !important;
}
div.app-container.theme-cashier .bento-cust-browse-btn,
body.theme-cashier .bento-cust-browse-btn,
.theme-cashier .bento-cust-browse-btn {
  background: var(--primary-soft) !important;
  background-color: var(--primary-soft) !important;
  border: 1px solid var(--ring) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-cust-browse-btn:hover,
body.theme-cashier .bento-cust-browse-btn:hover,
.theme-cashier .bento-cust-browse-btn:hover {
  background: #CCFBF1 !important;
  color: var(--primary-hover) !important;
}
div.app-container.theme-cashier .bento-payment-modes,
body.theme-cashier .bento-payment-modes,
.theme-cashier .bento-payment-modes {
  background: transparent !important;
}
div.app-container.theme-cashier .bento-pay-mode-btn,
body.theme-cashier .bento-pay-mode-btn,
.theme-cashier .bento-pay-mode-btn {
  background: #FAF7F2 !important;
  background-color: #FAF7F2 !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
}
div.app-container.theme-cashier .bento-pay-mode-btn:hover:not(:disabled),
body.theme-cashier .bento-pay-mode-btn:hover:not(:disabled),
.theme-cashier .bento-pay-mode-btn:hover:not(:disabled) {
  background: var(--primary-soft) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-pay-mode-btn.active,
body.theme-cashier .bento-pay-mode-btn.active,
.theme-cashier .bento-pay-mode-btn.active {
  background: var(--primary) !important;
  background-color: var(--primary) !important;
  border-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
}
div.app-container.theme-cashier .bento-pay-mode-btn svg,
body.theme-cashier .bento-pay-mode-btn svg,
.theme-cashier .bento-pay-mode-btn svg {
  color: inherit !important;
  stroke: currentColor !important;
}
div.app-container.theme-cashier .bento-tender-cash-panel,
div.app-container.theme-cashier .bento-upi-tender-card,
div.app-container.theme-cashier .bento-bank-tender-card,
div.app-container.theme-cashier .bento-split-tender-card,
body.theme-cashier .bento-tender-cash-panel,
body.theme-cashier .bento-upi-tender-card,
body.theme-cashier .bento-bank-tender-card,
body.theme-cashier .bento-split-tender-card,
.theme-cashier .bento-tender-cash-panel,
.theme-cashier .bento-upi-tender-card,
.theme-cashier .bento-bank-tender-card,
.theme-cashier .bento-split-tender-card {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
}
div.app-container.theme-cashier .bento-tender-input,
body.theme-cashier .bento-tender-input,
.theme-cashier .bento-tender-input {
  background: #FAF7F2 !important;
  border: 1.5px solid var(--border) !important;
  color: var(--sidebar) !important;
}
div.app-container.theme-cashier .bento-tender-input:focus,
body.theme-cashier .bento-tender-input:focus,
.theme-cashier .bento-tender-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.25) !important;
}
div.app-container.theme-cashier .bento-tender-change-box,
body.theme-cashier .bento-tender-change-box,
.theme-cashier .bento-tender-change-box {
  background: #EFE9DE !important;
  border: 1px solid var(--border) !important;
}
div.app-container.theme-cashier .tender-chip-btn,
body.theme-cashier .tender-chip-btn,
.theme-cashier .tender-chip-btn {
  background: #EFE9DE !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
div.app-container.theme-cashier .tender-chip-btn:hover,
body.theme-cashier .tender-chip-btn:hover,
.theme-cashier .tender-chip-btn:hover {
  background: var(--primary-soft) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .tender-chip-btn.active,
body.theme-cashier .tender-chip-btn.active,
.theme-cashier .tender-chip-btn.active {
  background: var(--primary) !important;
  border-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
}
div.app-container.theme-cashier .split-row-box,
body.theme-cashier .split-row-box,
.theme-cashier .split-row-box {
  background: #EFE9DE !important;
  border: 1px solid var(--border) !important;
}
div.app-container.theme-cashier .split-method-select,
body.theme-cashier .split-method-select,
.theme-cashier .split-method-select {
  background: #FAF7F2 !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
div.app-container.theme-cashier .split-fill-btn,
div.app-container.theme-cashier .split-quick-half-btn,
body.theme-cashier .split-fill-btn,
body.theme-cashier .split-quick-half-btn,
.theme-cashier .split-fill-btn,
.theme-cashier .split-quick-half-btn {
  background: var(--primary-soft) !important;
  border: 1px solid var(--ring) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-checkout-row,
body.theme-cashier .bento-checkout-row,
.theme-cashier .bento-checkout-row {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border-top: 1px solid var(--border) !important;
}
div.app-container.theme-cashier .grand-total-label,
body.theme-cashier .grand-total-label,
.theme-cashier .grand-total-label {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .grand-total-val,
body.theme-cashier .grand-total-val,
.theme-cashier .grand-total-val {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
div.app-container.theme-cashier .bento-checkout-btn,
body.theme-cashier .bento-checkout-btn,
.theme-cashier .bento-checkout-btn {
  background: var(--primary) !important;
  background-color: var(--primary) !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid var(--primary-hover) !important;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3) !important;
}
div.app-container.theme-cashier .bento-checkout-btn:hover:not(:disabled),
body.theme-cashier .bento-checkout-btn:hover:not(:disabled),
.theme-cashier .bento-checkout-btn:hover:not(:disabled) {
  background: var(--primary-hover) !important;
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.4) !important;
}
div.app-container.theme-cashier .bento-checkout-btn:disabled,
body.theme-cashier .bento-checkout-btn:disabled,
.theme-cashier .bento-checkout-btn:disabled {
  background: #C8C0B2 !important;
  background-color: #C8C0B2 !important;
  background-image: none !important;
  color: #645E54 !important;
  border: 1px solid #B4AC9E !important;
  opacity: 0.7 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}
div.app-container.theme-cashier .bento-input.scanner-input,
div.app-container.theme-cashier #pos-product-search-input,
body.theme-cashier .bento-input.scanner-input,
body.theme-cashier #pos-product-search-input,
.theme-cashier .bento-input.scanner-input,
.theme-cashier #pos-product-search-input {
  background: #FAF7F2 !important;
  background-color: #FAF7F2 !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
}
div.app-container.theme-cashier .bento-input.scanner-input:focus,
div.app-container.theme-cashier #pos-product-search-input:focus,
body.theme-cashier .bento-input.scanner-input:focus,
body.theme-cashier #pos-product-search-input:focus,
.theme-cashier .bento-input.scanner-input:focus,
.theme-cashier #pos-product-search-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2) !important;
  background: #FAF7F2 !important;
}
div.app-container.theme-cashier .scanner-laser-icon svg,
body.theme-cashier .scanner-laser-icon svg,
.theme-cashier .scanner-laser-icon svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
div.app-container.theme-cashier .bento-trigger-scan-btn,
body.theme-cashier .bento-trigger-scan-btn,
.theme-cashier .bento-trigger-scan-btn {
  background: var(--primary) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--primary-hover) !important;
}
div.app-container.theme-cashier .bento-mobile-scanner-btn,
body.theme-cashier .bento-mobile-scanner-btn,
.theme-cashier .bento-mobile-scanner-btn {
  background: #FAF7F2 !important;
  background-color: #FAF7F2 !important;
  border: 1.5px solid var(--border) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-mobile-scanner-btn:hover,
body.theme-cashier .bento-mobile-scanner-btn:hover,
.theme-cashier .bento-mobile-scanner-btn:hover {
  background: var(--primary-soft) !important;
  border-color: var(--primary) !important;
  color: var(--primary-hover) !important;
}
div.app-container.theme-cashier .bento-find-product-btn,
body.theme-cashier .bento-find-product-btn,
.theme-cashier .bento-find-product-btn {
  background: var(--primary-soft) !important;
  background-color: var(--primary-soft) !important;
  background-image: none !important;
  border: 1.5px solid var(--ring) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-find-product-btn:hover,
body.theme-cashier .bento-find-product-btn:hover,
.theme-cashier .bento-find-product-btn:hover {
  background: #CCFBF1 !important;
  border-color: var(--primary) !important;
  color: var(--primary-hover) !important;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2) !important;
}
div.app-container.theme-cashier .bento-hero-metric,
body.theme-cashier .bento-hero-metric,
.theme-cashier .bento-hero-metric {
  background: #EFE9DE !important;
  background-color: #EFE9DE !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
}
div.app-container.theme-cashier .bento-hero-sep,
body.theme-cashier .bento-hero-sep,
.theme-cashier .bento-hero-sep {
  background: var(--border) !important;
}
div.app-container.theme-cashier .bento-cell-label,
body.theme-cashier .bento-cell-label,
.theme-cashier .bento-cell-label {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-cell-val,
body.theme-cashier .bento-cell-val,
.theme-cashier .bento-cell-val {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
div.app-container.theme-cashier .bento-cell-unit,
body.theme-cashier .bento-cell-unit,
.theme-cashier .bento-cell-unit {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-action-tile,
body.theme-cashier .bento-action-tile,
.theme-cashier .bento-action-tile {
  background: #FAF7F2 !important;
  background-color: #FAF7F2 !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 11px !important;
  transition: all 0.15s ease !important;
  box-shadow: 0 1px 3px rgba(15, 45, 46, 0.05) !important;
}
div.app-container.theme-cashier .bento-action-tile:hover:not(:disabled),
body.theme-cashier .bento-action-tile:hover:not(:disabled),
.theme-cashier .bento-action-tile:hover:not(:disabled) {
  border-color: var(--primary) !important;
  background: var(--primary-soft) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15) !important;
}
div.app-container.theme-cashier .bento-tile-icon,
body.theme-cashier .bento-tile-icon,
.theme-cashier .bento-tile-icon {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(20, 184, 166, 0.3) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-tile-icon svg,
body.theme-cashier .bento-tile-icon svg,
.theme-cashier .bento-tile-icon svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
div.app-container.theme-cashier .bento-action-tile:hover:not(:disabled) .bento-tile-icon,
body.theme-cashier .bento-action-tile:hover:not(:disabled) .bento-tile-icon,
.theme-cashier .bento-action-tile:hover:not(:disabled) .bento-tile-icon {
  background: var(--primary) !important;
  border-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
}
div.app-container.theme-cashier .bento-action-tile:hover:not(:disabled) .bento-tile-icon svg,
body.theme-cashier .bento-action-tile:hover:not(:disabled) .bento-tile-icon svg,
.theme-cashier .bento-action-tile:hover:not(:disabled) .bento-tile-icon svg {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}
div.app-container.theme-cashier .bento-action-tile.active-scanner .bento-tile-icon,
body.theme-cashier .bento-action-tile.active-scanner .bento-tile-icon,
.theme-cashier .bento-action-tile.active-scanner .bento-tile-icon {
  background: #ECFDF5 !important;
  border-color: #D1FAE5 !important;
  color: var(--success) !important;
}
div.app-container.theme-cashier .bento-tile-heading,
body.theme-cashier .bento-tile-heading,
.theme-cashier .bento-tile-heading {
  color: var(--sidebar) !important;
  font-weight: 700 !important;
}
div.app-container.theme-cashier .bento-tile-caption,
body.theme-cashier .bento-tile-caption,
.theme-cashier .bento-tile-caption {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-icon-circle.purple,
body.theme-cashier .bento-icon-circle.purple,
.theme-cashier .bento-icon-circle.purple {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .btn-primary,
div.app-container.theme-cashier .btn-cash-primary,
div.app-container.theme-cashier .btn-tender-cash,
div.app-container.theme-cashier .find-products-btn,
div.app-container.theme-cashier button.btn-tender-active,
.theme-cashier .btn-primary,
.theme-cashier .btn-cash-primary,
.theme-cashier .btn-tender-cash,
.theme-cashier .find-products-btn,
.theme-cashier button.btn-tender-active {
  background: var(--primary) !important;
  color: var(--text-on-primary) !important;
}
div.app-container.theme-cashier .btn-primary:hover,
div.app-container.theme-cashier .btn-cash-primary:hover,
div.app-container.theme-cashier .btn-tender-cash:hover,
div.app-container.theme-cashier .find-products-btn:hover,
.theme-cashier .btn-primary:hover,
.theme-cashier .btn-cash-primary:hover,
.theme-cashier .btn-tender-cash:hover,
.theme-cashier .find-products-btn:hover {
  background: var(--primary-hover) !important;
}
div.app-container.theme-cashier button[style*="background: linear-gradient(135deg, #6d4aff"],
div.app-container.theme-cashier button[style*="background: #6d4aff"],
div.app-container.theme-cashier button[style*="background: #4f46e5"],
div.app-container.theme-cashier span[style*="background: #4f46e5"],
.theme-cashier button[style*="background: linear-gradient(135deg, #6d4aff"],
.theme-cashier button[style*="background: #6d4aff"],
.theme-cashier button[style*="background: #4f46e5"],
.theme-cashier span[style*="background: #4f46e5"] {
  background: var(--primary) !important;
  color: var(--text-on-primary) !important;
  border-color: var(--primary-hover) !important;
}
body.theme-cashier .bento-catalog-drawer-overlay,
.theme-cashier .bento-catalog-drawer-overlay,
.bento-catalog-drawer-overlay.theme-cashier {
  background: rgba(15, 45, 46, 0.45) !important;
  backdrop-filter: blur(4px) !important;
}
body.theme-cashier .bento-catalog-drawer,
.theme-cashier .bento-catalog-drawer,
.bento-catalog-drawer.theme-cashier {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
  border-left: 1.5px solid var(--border) !important;
  box-shadow: -14px 0 45px rgba(15, 45, 46, 0.25) !important;
}
body.theme-cashier .bento-drawer-header,
.theme-cashier .bento-drawer-header {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border-bottom: 1.5px solid var(--border) !important;
}
body.theme-cashier .bento-drawer-header h3,
.theme-cashier .bento-drawer-header h3 {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
body.theme-cashier .bento-drawer-header span,
.theme-cashier .bento-drawer-header span {
  color: var(--text-muted) !important;
}
body.theme-cashier .bento-drawer-header .bento-icon-circle.indigo,
.theme-cashier .bento-drawer-header .bento-icon-circle.indigo {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(15, 118, 110, 0.25) !important;
  color: var(--primary) !important;
}
body.theme-cashier .bento-drawer-header .bento-icon-circle.indigo svg,
.theme-cashier .bento-drawer-header .bento-icon-circle.indigo svg {
  stroke: var(--primary) !important;
}
body.theme-cashier .bento-drawer-close-btn,
.theme-cashier .bento-drawer-close-btn {
  background: #EFE9DE !important;
  border: 1px solid var(--border) !important;
  color: var(--sidebar) !important;
}
body.theme-cashier .bento-drawer-close-btn:hover,
.theme-cashier .bento-drawer-close-btn:hover {
  background: #FEE2E2 !important;
  border-color: #FECACA !important;
  color: #DC2626 !important;
}
body.theme-cashier .bento-add-btn,
.theme-cashier .bento-add-btn {
  background: var(--primary) !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid var(--primary-hover) !important;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25) !important;
}
body.theme-cashier .bento-add-btn:hover,
.theme-cashier .bento-add-btn:hover {
  background: var(--primary-hover) !important;
}
body.theme-cashier .bento-drawer-search-bar,
.theme-cashier .bento-drawer-search-bar {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border-bottom: 1px solid var(--border) !important;
}
body.theme-cashier .bento-drawer-search-bar svg,
.theme-cashier .bento-drawer-search-bar svg {
  stroke: var(--primary) !important;
}
body.theme-cashier .bento-drawer-search-input,
body.theme-cashier #pos-catalog-search-input,
.theme-cashier .bento-drawer-search-input,
.theme-cashier #pos-catalog-search-input {
  background: #FAF7F2 !important;
  background-color: #FAF7F2 !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
}
body.theme-cashier .bento-drawer-search-input:focus,
body.theme-cashier #pos-catalog-search-input:focus,
.theme-cashier .bento-drawer-search-input:focus,
.theme-cashier #pos-catalog-search-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2) !important;
}
body.theme-cashier .bento-drawer-cats,
.theme-cashier .bento-drawer-cats {
  background: #EFE9DE !important;
  background-color: #EFE9DE !important;
  border-bottom: 1px solid var(--border) !important;
}
body.theme-cashier .bento-drawer-cat-pill,
.theme-cashier .bento-drawer-cat-pill {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--sidebar) !important;
  font-weight: 600 !important;
}
body.theme-cashier .bento-drawer-cat-pill:hover,
.theme-cashier .bento-drawer-cat-pill:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
body.theme-cashier .bento-drawer-cat-pill.active,
.theme-cashier .bento-drawer-cat-pill.active {
  background: var(--primary) !important;
  background-color: var(--primary) !important;
  border-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3) !important;
}
body.theme-cashier .bento-drawer-grid,
.theme-cashier .bento-drawer-grid {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
}
body.theme-cashier .bento-product-tile,
.theme-cashier .bento-product-tile {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 6px rgba(15, 45, 46, 0.05) !important;
}
body.theme-cashier .bento-product-tile:hover,
.theme-cashier .bento-product-tile:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 8px 22px -4px rgba(15, 118, 110, 0.22) !important;
  transform: translateY(-2px) !important;
}
body.theme-cashier .bento-product-tile.in-cart,
.theme-cashier .bento-product-tile.in-cart {
  border-color: var(--primary) !important;
  background: #FAF7F2 !important;
  box-shadow: 0 0 0 1.5px var(--primary), 0 6px 18px rgba(15, 118, 110, 0.16) !important;
}
body.theme-cashier .bento-product-tile.keyboard-selected,
.theme-cashier .bento-product-tile.keyboard-selected {
  outline: 3px solid var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.35), 0 8px 20px rgba(15, 45, 46, 0.15) !important;
  background: var(--primary-soft) !important;
}
body.theme-cashier .bento-tile-cat,
.theme-cashier .bento-tile-cat {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(15, 118, 110, 0.25) !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
}
body.theme-cashier .bento-stock-tag.in,
.theme-cashier .bento-stock-tag.in {
  background: #DCFCE7 !important;
  border: 1px solid #BBF7D0 !important;
  color: #15803D !important;
}
body.theme-cashier .bento-stock-tag.out,
.theme-cashier .bento-stock-tag.out {
  background: #FEE2E2 !important;
  border: 1px solid #FECACA !important;
  color: #B91C1C !important;
}
body.theme-cashier .bento-product-tile .bento-tile-title,
.theme-cashier .bento-product-tile .bento-tile-title {
  color: var(--sidebar) !important;
  font-weight: 700 !important;
}
body.theme-cashier .pricing-store-val,
.theme-cashier .pricing-store-val {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
body.theme-cashier .mrp-strikethrough,
.theme-cashier .mrp-strikethrough {
  color: var(--text-muted) !important;
}
body.theme-cashier .pricing-save-badge,
.theme-cashier .pricing-save-badge {
  background: #DCFCE7 !important;
  border: 1px solid #BBF7D0 !important;
  color: #15803D !important;
}
body.theme-cashier .bento-tile-sku,
.theme-cashier .bento-tile-sku {
  background: #EFE9DE !important;
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
}
body.theme-cashier .bento-quick-add-btn,
.theme-cashier .bento-quick-add-btn {
  background: var(--primary) !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid var(--primary-hover) !important;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25) !important;
}
body.theme-cashier .bento-quick-add-btn:hover:not(:disabled),
.theme-cashier .bento-quick-add-btn:hover:not(:disabled) {
  background: var(--primary-hover) !important;
  background-image: none !important;
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.35) !important;
}
body.theme-cashier .bento-quick-add-btn:disabled,
.theme-cashier .bento-quick-add-btn:disabled {
  background: #EFE9DE !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}
body.theme-cashier .bento-tile-stepper,
.theme-cashier .bento-tile-stepper {
  background: #EFE9DE !important;
  border: 1px solid var(--border) !important;
}
body.theme-cashier .tile-stepper-btn,
.theme-cashier .tile-stepper-btn {
  background: var(--surface) !important;
  color: var(--sidebar) !important;
  border: 1px solid var(--border) !important;
}
body.theme-cashier .tile-stepper-btn:hover,
.theme-cashier .tile-stepper-btn:hover {
  background: var(--primary) !important;
  color: #FFFFFF !important;
  border-color: var(--primary-hover) !important;
}
body.theme-cashier .tile-stepper-btn.plus,
.theme-cashier .tile-stepper-btn.plus {
  background: var(--primary) !important;
  color: #FFFFFF !important;
  border-color: var(--primary-hover) !important;
}
body.theme-cashier .tile-stepper-qty,
.theme-cashier .tile-stepper-qty {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
body.theme-cashier .bento-drawer-footer,
.theme-cashier .bento-drawer-footer {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border-top: 1.5px solid var(--border) !important;
  color: var(--sidebar) !important;
}
body.theme-cashier .bento-drawer-footer span,
.theme-cashier .bento-drawer-footer span {
  color: var(--sidebar) !important;
}
body.theme-cashier .product-edit-rectangle-modal,
.theme-cashier .product-edit-rectangle-modal {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 60px -15px rgba(15, 45, 46, 0.35) !important;
}
body.theme-cashier .product-edit-rectangle-modal .modal-header,
.theme-cashier .product-edit-rectangle-modal .modal-header {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border-bottom: 1.5px solid var(--border) !important;
}
body.theme-cashier .product-edit-rectangle-modal .card-title,
.theme-cashier .product-edit-rectangle-modal .card-title {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
body.theme-cashier .product-edit-split-grid,
.theme-cashier .product-edit-split-grid {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
}
body.theme-cashier .product-edit-split-grid > div > div,
.theme-cashier .product-edit-split-grid > div > div {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 12px !important;
}
body.theme-cashier .product-edit-rectangle-modal .form-label,
.theme-cashier .product-edit-rectangle-modal .form-label {
  color: var(--sidebar) !important;
  font-weight: 700 !important;
}
body.theme-cashier .product-edit-rectangle-modal .form-input,
.theme-cashier .product-edit-rectangle-modal .form-input,
body.theme-cashier .product-edit-rectangle-modal select.form-input,
.theme-cashier .product-edit-rectangle-modal select.form-input {
  background: #FAF7F2 !important;
  background-color: #FAF7F2 !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
}
body.theme-cashier .product-edit-rectangle-modal .form-input:focus,
.theme-cashier .product-edit-rectangle-modal .form-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2) !important;
}
body.theme-cashier .product-edit-rectangle-modal div[style*="border-top: 1px solid #e2e8f0"],
body.theme-cashier .product-edit-rectangle-modal div[style*="background: #f8fafc"],
.theme-cashier .product-edit-rectangle-modal div[style*="border-top: 1px solid #e2e8f0"],
.theme-cashier .product-edit-rectangle-modal div[style*="background: #f8fafc"] {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border-top: 1.5px solid var(--border) !important;
}
body.theme-cashier .modal-overlay,
.theme-cashier .modal-overlay {
  background: rgba(15, 45, 46, 0.45) !important;
  backdrop-filter: blur(4px) !important;
}
body.theme-cashier .modal-content,
.theme-cashier .modal-content {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  box-shadow: 0 20px 50px rgba(15, 45, 46, 0.25) !important;
  color: var(--text) !important;
}
body.theme-cashier .modal-header,
.theme-cashier .modal-header {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border-bottom: 1.5px solid var(--border) !important;
}
body.theme-cashier .modal-title,
.theme-cashier .modal-title {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
body.theme-cashier .modal-subtitle,
.theme-cashier .modal-subtitle {
  color: var(--text-muted) !important;
}
body.theme-cashier .modal-body,
.theme-cashier .modal-body {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
}
body.theme-cashier .modal-icon-badge,
.theme-cashier .modal-icon-badge {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
  border: 1px solid rgba(15, 118, 110, 0.25) !important;
}
body.theme-cashier .modal-icon-badge svg,
.theme-cashier .modal-icon-badge svg {
  stroke: var(--primary) !important;
}
body.theme-cashier .modal-close-btn,
.theme-cashier .modal-close-btn {
  background: #EFE9DE !important;
  border: 1px solid var(--border) !important;
  color: var(--sidebar) !important;
}
body.theme-cashier .btn-secondary,
.theme-cashier .btn-secondary {
  background: #EFE9DE !important;
  background-color: #EFE9DE !important;
  border: 1px solid var(--border) !important;
  color: var(--sidebar) !important;
  font-weight: 600 !important;
}
body.theme-cashier .btn-secondary:hover,
.theme-cashier .btn-secondary:hover {
  background: #E5DCCE !important;
  border-color: #C2B8A8 !important;
  color: var(--sidebar) !important;
}
div.app-container.theme-cashier .main-content,
div.app-container.theme-cashier .shifts-dashboard-wrapper,
div.app-container.theme-cashier .tab-content-wrapper,
body.theme-cashier .main-content,
body.theme-cashier .shifts-dashboard-wrapper,
body.theme-cashier .tab-content-wrapper,
.theme-cashier .main-content,
.theme-cashier .shifts-dashboard-wrapper,
.theme-cashier .tab-content-wrapper {
  background-color: var(--bg) !important;
}
div.app-container.theme-cashier .top-global-bar,
body.theme-cashier .top-global-bar,
.theme-cashier .top-global-bar {
  background-color: var(--bg) !important;
  border-bottom: 1px solid var(--border) !important;
}
div.app-container.theme-cashier .cat-bento-header-card,
div.app-container.theme-cashier .shifts-bento-header-card,
body.theme-cashier .cat-bento-header-card,
body.theme-cashier .shifts-bento-header-card,
.theme-cashier .cat-bento-header-card,
.theme-cashier .shifts-bento-header-card {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 18px rgba(15, 45, 46, 0.06), 0 1px 3px rgba(15, 45, 46, 0.04) !important;
}
div.app-container.theme-cashier .cat-bento-icon-box,
body.theme-cashier .cat-bento-icon-box,
.theme-cashier .cat-bento-icon-box {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(20, 184, 166, 0.35) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .cat-bento-icon-box svg,
body.theme-cashier .cat-bento-icon-box svg,
.theme-cashier .cat-bento-icon-box svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
div.app-container.theme-cashier .cat-bento-title,
body.theme-cashier .cat-bento-title,
.theme-cashier .cat-bento-title {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
div.app-container.theme-cashier .bento-location-chip,
div.app-container.theme-cashier .bento-counter-chip,
body.theme-cashier .bento-location-chip,
body.theme-cashier .bento-counter-chip,
.theme-cashier .bento-location-chip,
.theme-cashier .bento-counter-chip {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(20, 184, 166, 0.3) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-location-chip svg,
div.app-container.theme-cashier .bento-counter-chip svg,
body.theme-cashier .bento-location-chip svg,
body.theme-cashier .bento-counter-chip svg,
.theme-cashier .bento-location-chip svg,
.theme-cashier .bento-counter-chip svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
div.app-container.theme-cashier .cat-bento-subtitle,
body.theme-cashier .cat-bento-subtitle,
.theme-cashier .cat-bento-subtitle {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .cat-bento-subtitle strong,
body.theme-cashier .cat-bento-subtitle strong,
.theme-cashier .cat-bento-subtitle strong {
  color: var(--sidebar) !important;
}
div.app-container.theme-cashier .cat-btn-primary,
div.app-container.theme-cashier .bento-hero-btn.primary,
body.theme-cashier .cat-btn-primary,
body.theme-cashier .bento-hero-btn.primary,
.theme-cashier .cat-btn-primary,
.theme-cashier .bento-hero-btn.primary {
  background: var(--primary) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--primary-hover) !important;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3) !important;
}
div.app-container.theme-cashier .cat-btn-primary:hover,
div.app-container.theme-cashier .bento-hero-btn.primary:hover,
body.theme-cashier .cat-btn-primary:hover,
body.theme-cashier .bento-hero-btn.primary:hover,
.theme-cashier .cat-btn-primary:hover,
.theme-cashier .bento-hero-btn.primary:hover {
  background: var(--primary-hover) !important;
  box-shadow: 0 6px 18px rgba(17, 94, 89, 0.4) !important;
  transform: translateY(-2px) !important;
}
div.app-container.theme-cashier .cat-btn-outline,
div.app-container.theme-cashier .bento-hero-btn.secondary,
body.theme-cashier .cat-btn-outline,
body.theme-cashier .bento-hero-btn.secondary,
.theme-cashier .cat-btn-outline,
.theme-cashier .bento-hero-btn.secondary {
  background: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
  box-shadow: 0 1px 3px rgba(15, 45, 46, 0.05) !important;
}
div.app-container.theme-cashier .cat-btn-outline:hover,
div.app-container.theme-cashier .bento-hero-btn.secondary:hover,
body.theme-cashier .cat-btn-outline:hover,
body.theme-cashier .bento-hero-btn.secondary:hover,
.theme-cashier .cat-btn-outline:hover,
.theme-cashier .bento-hero-btn.secondary:hover {
  background: var(--primary-soft) !important;
  border-color: var(--ring) !important;
  color: var(--primary) !important;
  transform: translateY(-1px) !important;
}
div.app-container.theme-cashier .cat-btn-outline svg,
body.theme-cashier .cat-btn-outline svg,
.theme-cashier .cat-btn-outline svg {
  color: var(--text-muted);
}
div.app-container.theme-cashier .cat-btn-outline:hover svg,
body.theme-cashier .cat-btn-outline:hover svg,
.theme-cashier .cat-btn-outline:hover svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
div.app-container.theme-cashier .cat-bento-kpi-card,
div.app-container.theme-cashier .shifts-bento-kpi-tile,
body.theme-cashier .cat-bento-kpi-card,
body.theme-cashier .shifts-bento-kpi-tile,
.theme-cashier .cat-bento-kpi-card,
.theme-cashier .shifts-bento-kpi-tile {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(15, 45, 46, 0.06), 0 1px 3px rgba(15, 45, 46, 0.04) !important;
}
div.app-container.theme-cashier .cat-bento-kpi-card:hover,
div.app-container.theme-cashier .shifts-bento-kpi-tile:hover,
body.theme-cashier .cat-bento-kpi-card:hover,
body.theme-cashier .shifts-bento-kpi-tile:hover,
.theme-cashier .cat-bento-kpi-card:hover,
.theme-cashier .shifts-bento-kpi-tile:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(15, 45, 46, 0.09) !important;
}
div.app-container.theme-cashier .cat-kpi-title,
div.app-container.theme-cashier .kpi-tile-label,
body.theme-cashier .cat-kpi-title,
body.theme-cashier .kpi-tile-label,
.theme-cashier .cat-kpi-title,
.theme-cashier .kpi-tile-label {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .cat-kpi-footer,
div.app-container.theme-cashier .kpi-tile-footer,
body.theme-cashier .cat-kpi-footer,
body.theme-cashier .kpi-tile-footer,
.theme-cashier .cat-kpi-footer,
.theme-cashier .kpi-tile-footer {
  color: var(--text-muted) !important;
  border-top: 1px solid rgba(217, 229, 229, 0.6) !important;
}
div.app-container.theme-cashier .cat-icon-badge.blue,
div.app-container.theme-cashier .kpi-tile-icon-box.blue,
body.theme-cashier .cat-icon-badge.blue,
body.theme-cashier .kpi-tile-icon-box.blue,
.theme-cashier .cat-icon-badge.blue,
.theme-cashier .kpi-tile-icon-box.blue {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(20, 184, 166, 0.3) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .kpi-sub-badge.blue,
div.app-container.theme-cashier .bento-kpi-badge.blue,
body.theme-cashier .kpi-sub-badge.blue,
body.theme-cashier .bento-kpi-badge.blue,
.theme-cashier .kpi-sub-badge.blue,
.theme-cashier .bento-kpi-badge.blue {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(20, 184, 166, 0.3) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .cat-kpi-num.text-blue,
div.app-container.theme-cashier .kpi-tile-noncash .kpi-tile-value,
body.theme-cashier .cat-kpi-num.text-blue,
body.theme-cashier .kpi-tile-noncash .kpi-tile-value,
.theme-cashier .cat-kpi-num.text-blue,
.theme-cashier .kpi-tile-noncash .kpi-tile-value {
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-kpi-noncash:hover,
div.app-container.theme-cashier .kpi-tile-noncash:hover,
body.theme-cashier .bento-kpi-noncash:hover,
body.theme-cashier .kpi-tile-noncash:hover,
.theme-cashier .bento-kpi-noncash:hover,
.theme-cashier .kpi-tile-noncash:hover {
  border-color: var(--ring) !important;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.12) !important;
}
div.app-container.theme-cashier .cat-icon-badge.purple,
div.app-container.theme-cashier .kpi-tile-icon-box.purple,
body.theme-cashier .cat-icon-badge.purple,
body.theme-cashier .kpi-tile-icon-box.purple,
.theme-cashier .cat-icon-badge.purple,
.theme-cashier .kpi-tile-icon-box.purple {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(20, 184, 166, 0.35) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .kpi-sub-badge.purple,
div.app-container.theme-cashier .bento-kpi-badge.purple,
body.theme-cashier .kpi-sub-badge.purple,
body.theme-cashier .bento-kpi-badge.purple,
.theme-cashier .kpi-sub-badge.purple,
.theme-cashier .bento-kpi-badge.purple {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(20, 184, 166, 0.35) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .cat-kpi-num.text-purple,
div.app-container.theme-cashier .kpi-tile-turnover .kpi-tile-value,
body.theme-cashier .cat-kpi-num.text-purple,
body.theme-cashier .kpi-tile-turnover .kpi-tile-value,
.theme-cashier .cat-kpi-num.text-purple,
.theme-cashier .kpi-tile-turnover .kpi-tile-value {
  color: var(--sidebar) !important;
}
div.app-container.theme-cashier .bento-kpi-turnover:hover,
div.app-container.theme-cashier .kpi-tile-turnover:hover,
body.theme-cashier .bento-kpi-turnover:hover,
body.theme-cashier .kpi-tile-turnover:hover,
.theme-cashier .bento-kpi-turnover:hover,
.theme-cashier .kpi-tile-turnover:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.14) !important;
}
div.app-container.theme-cashier .shifts-bento-nav-tabs,
body.theme-cashier .shifts-bento-nav-tabs,
.theme-cashier .shifts-bento-nav-tabs {
  background: #DDD5C6 !important;
  border: 1px solid var(--border) !important;
  box-shadow: inset 0 2px 4px rgba(15, 45, 46, 0.05) !important;
}
div.app-container.theme-cashier .bento-nav-tab,
body.theme-cashier .bento-nav-tab,
.theme-cashier .bento-nav-tab {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-nav-tab:hover,
body.theme-cashier .bento-nav-tab:hover,
.theme-cashier .bento-nav-tab:hover {
  color: var(--primary-hover) !important;
  background: var(--primary-soft) !important;
}
div.app-container.theme-cashier .bento-nav-tab.active,
body.theme-cashier .bento-nav-tab.active,
.theme-cashier .bento-nav-tab.active {
  background: var(--surface) !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(15, 45, 46, 0.08) !important;
}
div.app-container.theme-cashier .bento-nav-tab svg,
body.theme-cashier .bento-nav-tab svg,
.theme-cashier .bento-nav-tab svg {
  color: var(--text-muted);
}
div.app-container.theme-cashier .bento-nav-tab.active svg,
body.theme-cashier .bento-nav-tab.active svg,
.theme-cashier .bento-nav-tab.active svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
div.app-container.theme-cashier .bento-tab-counter,
body.theme-cashier .bento-tab-counter,
.theme-cashier .bento-tab-counter {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-nav-tab.active .bento-tab-counter,
body.theme-cashier .bento-nav-tab.active .bento-tab-counter,
.theme-cashier .bento-nav-tab.active .bento-tab-counter {
  background: var(--primary) !important;
  color: #FFFFFF !important;
}
div.app-container.theme-cashier .cat-bento-card,
div.app-container.theme-cashier .cat-bento-card.bento-card-3d,
div.app-container.theme-cashier .formula-container-card,
div.app-container.theme-cashier .side-actions-bento-card,
div.app-container.theme-cashier .shifts-bento-card,
div.app-container.theme-cashier .shifts-bento-hero,
div.app-container.theme-cashier .shifts-overview-layout > div,
div.app-container.theme-cashier .shifts-tab-content > div,
div.app-container.theme-cashier .bento-empty-shift-card,
div.app-container.theme-cashier .bento-empty-state,
body.theme-cashier .cat-bento-card,
body.theme-cashier .cat-bento-card.bento-card-3d,
body.theme-cashier .formula-container-card,
body.theme-cashier .side-actions-bento-card,
body.theme-cashier .shifts-bento-card,
body.theme-cashier .shifts-bento-hero,
body.theme-cashier .shifts-overview-layout > div,
body.theme-cashier .shifts-tab-content > div,
body.theme-cashier .bento-empty-shift-card,
body.theme-cashier .bento-empty-state,
.theme-cashier .cat-bento-card,
.theme-cashier .cat-bento-card.bento-card-3d,
.theme-cashier .formula-container-card,
.theme-cashier .side-actions-bento-card,
.theme-cashier .shifts-bento-card,
.theme-cashier .shifts-bento-hero,
.theme-cashier .shifts-overview-layout > div,
.theme-cashier .shifts-tab-content > div,
.theme-cashier .bento-empty-shift-card,
.theme-cashier .bento-empty-state {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 18px rgba(15, 45, 46, 0.06), 0 1px 3px rgba(15, 45, 46, 0.04) !important;
}
div.app-container.theme-cashier .cat-bento-card:hover,
div.app-container.theme-cashier .shifts-bento-card:hover,
div.app-container.theme-cashier .formula-container-card:hover,
div.app-container.theme-cashier .side-actions-bento-card:hover,
body.theme-cashier .cat-bento-card:hover,
body.theme-cashier .shifts-bento-card:hover,
body.theme-cashier .formula-container-card:hover,
body.theme-cashier .side-actions-bento-card:hover,
.theme-cashier .cat-bento-card:hover,
.theme-cashier .shifts-bento-card:hover,
.theme-cashier .formula-container-card:hover,
.theme-cashier .side-actions-bento-card:hover {
  border-color: rgba(20, 184, 166, 0.5) !important;
  box-shadow: 0 8px 24px rgba(15, 45, 46, 0.08), 0 2px 6px rgba(15, 45, 46, 0.04) !important;
}
div.app-container.theme-cashier .cat-bento-header-card::before,
div.app-container.theme-cashier .shifts-bento-header-card::before,
div.app-container.theme-cashier .shifts-bento-hero::before,
div.app-container.theme-cashier .cat-bento-card::before,
div.app-container.theme-cashier .cat-bento-kpi-card::before,
div.app-container.theme-cashier .shifts-bento-card::before,
div.app-container.theme-cashier .shifts-bento-kpi-tile::before,
div.app-container.theme-cashier .bento-card-3d::before,
div.app-container.theme-cashier .today-section-card.bento-card-3d::before,
div.app-container.theme-cashier .formula-container-card::before,
div.app-container.theme-cashier .side-actions-bento-card::before,
body.theme-cashier .cat-bento-header-card::before,
body.theme-cashier .shifts-bento-header-card::before,
body.theme-cashier .shifts-bento-hero::before,
body.theme-cashier .cat-bento-card::before,
body.theme-cashier .cat-bento-kpi-card::before,
body.theme-cashier .shifts-bento-card::before,
body.theme-cashier .shifts-bento-kpi-tile::before,
body.theme-cashier .bento-card-3d::before,
body.theme-cashier .today-section-card.bento-card-3d::before,
body.theme-cashier .formula-container-card::before,
body.theme-cashier .side-actions-bento-card::before,
.theme-cashier .cat-bento-header-card::before,
.theme-cashier .shifts-bento-header-card::before,
.theme-cashier .shifts-bento-hero::before,
.theme-cashier .cat-bento-card::before,
.theme-cashier .cat-bento-kpi-card::before,
.theme-cashier .shifts-bento-card::before,
.theme-cashier .shifts-bento-kpi-tile::before,
.theme-cashier .bento-card-3d::before,
.theme-cashier .today-section-card.bento-card-3d::before,
.theme-cashier .formula-container-card::before,
.theme-cashier .side-actions-bento-card::before {
  display: none !important;
  content: none !important;
}
div.app-container.theme-cashier .bento-card-header,
div.app-container.theme-cashier .cat-card-header,
div.app-container.theme-cashier .bento-card-title-group,
div.app-container.theme-cashier .cat-bento-header-content,
body.theme-cashier .bento-card-header,
body.theme-cashier .cat-card-header,
body.theme-cashier .bento-card-title-group,
body.theme-cashier .cat-bento-header-content,
.theme-cashier .bento-card-header,
.theme-cashier .cat-card-header,
.theme-cashier .bento-card-title-group,
.theme-cashier .cat-bento-header-content {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-bottom: 1px solid var(--border) !important;
}
div.app-container.theme-cashier .bento-card-title,
body.theme-cashier .bento-card-title,
.theme-cashier .bento-card-title {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
div.app-container.theme-cashier .bento-card-desc,
body.theme-cashier .bento-card-desc,
.theme-cashier .bento-card-desc {
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-card-icon-pill.indigo,
div.app-container.theme-cashier .bento-card-icon-pill.purple,
body.theme-cashier .bento-card-icon-pill.indigo,
body.theme-cashier .bento-card-icon-pill.purple,
.theme-cashier .bento-card-icon-pill.indigo,
.theme-cashier .bento-card-icon-pill.purple {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(20, 184, 166, 0.35) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-card-icon-pill.indigo svg,
div.app-container.theme-cashier .bento-card-icon-pill.purple svg,
body.theme-cashier .bento-card-icon-pill.indigo svg,
body.theme-cashier .bento-card-icon-pill.purple svg,
.theme-cashier .bento-card-icon-pill.indigo svg,
.theme-cashier .bento-card-icon-pill.purple svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
div.app-container.theme-cashier .bento-pill-badge.info,
div.app-container.theme-cashier .bento-pill-badge.primary,
body.theme-cashier .bento-pill-badge.info,
body.theme-cashier .bento-pill-badge.primary,
.theme-cashier .bento-pill-badge.info,
.theme-cashier .bento-pill-badge.primary {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(20, 184, 166, 0.4) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .formula-step-box,
body.theme-cashier .formula-step-box,
.theme-cashier .formula-step-box {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 3px rgba(15, 45, 46, 0.04) !important;
}
div.app-container.theme-cashier .formula-step-box:hover,
body.theme-cashier .formula-step-box:hover,
.theme-cashier .formula-step-box:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.1) !important;
}
div.app-container.theme-cashier .step-box-badge,
body.theme-cashier .step-box-badge,
.theme-cashier .step-box-badge {
  background: #DDD5C6 !important;
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .formula-op-pill,
body.theme-cashier .formula-op-pill,
.theme-cashier .formula-op-pill {
  background: #DDD5C6 !important;
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .formula-step-box.result,
body.theme-cashier .formula-step-box.result,
.theme-cashier .formula-step-box.result {
  background:
    linear-gradient(
      145deg,
      var(--primary-soft) 0%,
      #D8EEEE 100%) !important;
  border: 2px solid var(--primary) !important;
  box-shadow: 0 4px 18px rgba(15, 118, 110, 0.22) !important;
}
div.app-container.theme-cashier .step-box-badge.result,
body.theme-cashier .step-box-badge.result,
.theme-cashier .step-box-badge.result {
  background: var(--primary) !important;
  color: #FFFFFF !important;
}
div.app-container.theme-cashier .formula-step-box.result .step-box-icon,
div.app-container.theme-cashier .formula-step-box.result .text-indigo-600,
body.theme-cashier .formula-step-box.result .step-box-icon,
body.theme-cashier .formula-step-box.result .text-indigo-600,
.theme-cashier .formula-step-box.result .step-box-icon,
.theme-cashier .formula-step-box.result .text-indigo-600 {
  color: var(--primary) !important;
}
div.app-container.theme-cashier .formula-step-box.result .step-box-title,
div.app-container.theme-cashier .formula-step-box.result .text-indigo-900,
body.theme-cashier .formula-step-box.result .step-box-title,
body.theme-cashier .formula-step-box.result .text-indigo-900,
.theme-cashier .formula-step-box.result .step-box-title,
.theme-cashier .formula-step-box.result .text-indigo-900 {
  color: var(--sidebar) !important;
}
div.app-container.theme-cashier .formula-step-box.result .step-box-amount,
body.theme-cashier .formula-step-box.result .step-box-amount,
.theme-cashier .formula-step-box.result .step-box-amount {
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-safety-guarantee,
body.theme-cashier .bento-safety-guarantee,
.theme-cashier .bento-safety-guarantee {
  background:
    linear-gradient(
      135deg,
      var(--primary-soft) 0%,
      #EBF6F6 100%) !important;
  border: 1px solid rgba(20, 184, 166, 0.45) !important;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.08) !important;
}
div.app-container.theme-cashier .safety-guarantee-icon,
body.theme-cashier .safety-guarantee-icon,
.theme-cashier .safety-guarantee-icon {
  color: var(--primary) !important;
}
div.app-container.theme-cashier .safety-guarantee-content,
body.theme-cashier .safety-guarantee-content,
.theme-cashier .safety-guarantee-content {
  color: var(--sidebar) !important;
}
div.app-container.theme-cashier .safety-guarantee-content strong,
body.theme-cashier .safety-guarantee-content strong,
.theme-cashier .safety-guarantee-content strong {
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-action-card,
body.theme-cashier .bento-action-card,
.theme-cashier .bento-action-card {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  transition: all 0.2s ease !important;
}
div.app-container.theme-cashier .bento-action-card:hover,
body.theme-cashier .bento-action-card:hover,
.theme-cashier .bento-action-card:hover {
  background: var(--primary-soft) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.14) !important;
}
div.app-container.theme-cashier .action-card-icon-box.indigo,
body.theme-cashier .action-card-icon-box.indigo,
.theme-cashier .action-card-icon-box.indigo {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(20, 184, 166, 0.35) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .action-card-icon-box.indigo svg,
body.theme-cashier .action-card-icon-box.indigo svg,
.theme-cashier .action-card-icon-box.indigo svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
div.app-container.theme-cashier .bento-action-card.indigo:hover,
body.theme-cashier .bento-action-card.indigo:hover,
.theme-cashier .bento-action-card.indigo:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.16) !important;
}
div.app-container.theme-cashier .bento-action-card:hover .action-card-arrow,
body.theme-cashier .bento-action-card:hover .action-card-arrow,
.theme-cashier .bento-action-card:hover .action-card-arrow {
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-table-wrapper,
body.theme-cashier .bento-table-wrapper,
.theme-cashier .bento-table-wrapper {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border: 1px solid var(--border) !important;
}
div.app-container.theme-cashier .shifts-table,
body.theme-cashier .shifts-table,
.theme-cashier .shifts-table {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
}
div.app-container.theme-cashier .shifts-table th,
body.theme-cashier .shifts-table th,
.theme-cashier .shifts-table th {
  background: #E2DACD !important;
  color: var(--text-muted) !important;
  border-bottom: 1.5px solid var(--border) !important;
}
div.app-container.theme-cashier .shifts-table td,
body.theme-cashier .shifts-table td,
.theme-cashier .shifts-table td {
  background: var(--surface) !important;
  border-bottom: 1px solid rgba(217, 229, 229, 0.5) !important;
}
div.app-container.theme-cashier .table-total-row,
div.app-container.theme-cashier .table-total-row td,
body.theme-cashier .table-total-row,
body.theme-cashier .table-total-row td,
.theme-cashier .table-total-row,
.theme-cashier .table-total-row td {
  background: #E2DACD !important;
  border-top: 2px solid var(--border) !important;
}
div.app-container.theme-cashier .table-total-row .text-primary,
body.theme-cashier .table-total-row .text-primary,
.theme-cashier .table-total-row .text-primary {
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-filter-pill,
body.theme-cashier .bento-filter-pill,
.theme-cashier .bento-filter-pill {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
}
div.app-container.theme-cashier .bento-filter-pill:hover,
body.theme-cashier .bento-filter-pill:hover,
.theme-cashier .bento-filter-pill:hover {
  border-color: var(--ring) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-filter-pill.active,
body.theme-cashier .bento-filter-pill.active,
.theme-cashier .bento-filter-pill.active {
  background: var(--primary) !important;
  border-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25) !important;
}
div.app-container.theme-cashier .bento-table-action-btn,
body.theme-cashier .bento-table-action-btn,
.theme-cashier .bento-table-action-btn {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--primary) !important;
}
div.app-container.theme-cashier .bento-table-action-btn:hover,
body.theme-cashier .bento-table-action-btn:hover,
.theme-cashier .bento-table-action-btn:hover {
  background: var(--primary-soft) !important;
  border-color: var(--primary) !important;
  color: var(--primary-hover) !important;
}
div.app-container.theme-cashier .bento-table-action-btn svg,
body.theme-cashier .bento-table-action-btn svg,
.theme-cashier .bento-table-action-btn svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
div.app-container.theme-cashier .bento-empty-shift-card,
body.theme-cashier .bento-empty-shift-card,
.theme-cashier .bento-empty-shift-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
}
div.app-container.theme-cashier .bento-empty-icon-ring,
body.theme-cashier .bento-empty-icon-ring,
.theme-cashier .bento-empty-icon-ring {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
  border: 2px solid var(--ring) !important;
}
body.theme-cashier .shift-bento-dialog,
.theme-cashier .shift-bento-dialog {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  background-image: none !important;
  border-radius: 20px !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 16px 48px rgba(15, 45, 46, 0.18), 0 4px 12px rgba(15, 45, 46, 0.08) !important;
}
body.theme-cashier .modal-top-accent.green-accent,
body.theme-cashier .modal-top-accent.purple-accent,
.theme-cashier .modal-top-accent.green-accent,
.theme-cashier .modal-top-accent.purple-accent {
  background:
    linear-gradient(
      90deg,
      var(--sidebar) 0%,
      var(--primary) 50%,
      var(--ring) 100%) !important;
}
body.theme-cashier .modal-top-accent.amber-accent,
.theme-cashier .modal-top-accent.amber-accent {
  background:
    linear-gradient(
      90deg,
      #92400e 0%,
      #d97706 50%,
      #f59e0b 100%) !important;
}
body.theme-cashier .shift-bento-header,
.theme-cashier .shift-bento-header {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  border-bottom: 1px solid var(--border) !important;
}
body.theme-cashier .shift-bento-title-wrap h3,
.theme-cashier .shift-bento-title-wrap h3 {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
body.theme-cashier .shift-bento-title-wrap p,
.theme-cashier .shift-bento-title-wrap p {
  color: var(--text-muted) !important;
}
body.theme-cashier .shift-bento-title-wrap p strong,
.theme-cashier .shift-bento-title-wrap p strong {
  color: var(--sidebar) !important;
}
body.theme-cashier .shift-ref-pill,
.theme-cashier .shift-ref-pill {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
  border: 1px solid rgba(20, 184, 166, 0.35) !important;
  font-family: "JetBrains Mono", monospace !important;
  font-weight: 700 !important;
}
body.theme-cashier .modal-close-btn,
.theme-cashier .modal-close-btn {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
  border-radius: 10px !important;
}
body.theme-cashier .modal-close-btn:hover,
.theme-cashier .modal-close-btn:hover {
  background: var(--danger-bg) !important;
  border-color: var(--danger) !important;
  color: var(--danger) !important;
}
body.theme-cashier .shift-bento-icon-badge.green,
body.theme-cashier .shift-bento-icon-badge.purple,
body.theme-cashier .shift-bento-icon-badge.indigo,
body.theme-cashier .modal-icon-badge.purple,
.theme-cashier .shift-bento-icon-badge.green,
.theme-cashier .shift-bento-icon-badge.purple,
.theme-cashier .shift-bento-icon-badge.indigo,
.theme-cashier .modal-icon-badge.purple {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
  border: 1px solid rgba(20, 184, 166, 0.4) !important;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.15) !important;
}
body.theme-cashier .shift-bento-icon-badge.green svg,
body.theme-cashier .shift-bento-icon-badge.purple svg,
body.theme-cashier .shift-bento-icon-badge.indigo svg,
.theme-cashier .shift-bento-icon-badge.green svg,
.theme-cashier .shift-bento-icon-badge.purple svg,
.theme-cashier .shift-bento-icon-badge.indigo svg {
  color: var(--primary) !important;
  stroke: var(--primary) !important;
}
body.theme-cashier .shift-bento-icon-badge.amber,
.theme-cashier .shift-bento-icon-badge.amber {
  background: #FEF3C7 !important;
  color: #D97706 !important;
  border: 1px solid #FDE68A !important;
}
body.theme-cashier .shift-bento-body,
.theme-cashier .shift-bento-body {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
}
body.theme-cashier .shift-bento-ribbon-tile,
.theme-cashier .shift-bento-ribbon-tile {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 3px rgba(15, 45, 46, 0.04) !important;
}
body.theme-cashier .shift-bento-ribbon-tile.highlight,
.theme-cashier .shift-bento-ribbon-tile.highlight {
  background:
    linear-gradient(
      135deg,
      var(--primary-soft) 0%,
      #FAF7F2 100%) !important;
  border: 1.5px solid var(--primary) !important;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.12) !important;
}
body.theme-cashier .ribbon-tile-label,
.theme-cashier .ribbon-tile-label {
  color: var(--text-muted) !important;
  font-weight: 800 !important;
}
body.theme-cashier .ribbon-tile-label svg,
.theme-cashier .ribbon-tile-label svg {
  color: var(--primary) !important;
}
body.theme-cashier .ribbon-tile-val,
.theme-cashier .ribbon-tile-val {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
body.theme-cashier .ribbon-tile-val[style*="color: #4338ca"],
body.theme-cashier .ribbon-tile-val[style*="color: #4f46e5"],
body.theme-cashier .ribbon-tile-val[style*="color: #6366f1"],
body.theme-cashier .ribbon-tile-val[style*="color: #7c3aed"],
.theme-cashier .ribbon-tile-val[style*="color: #4338ca"],
.theme-cashier .ribbon-tile-val[style*="color: #4f46e5"],
.theme-cashier .ribbon-tile-val[style*="color: #6366f1"],
.theme-cashier .ribbon-tile-val[style*="color: #7c3aed"] {
  color: var(--primary) !important;
}
body.theme-cashier .ribbon-tile-sub,
.theme-cashier .ribbon-tile-sub {
  color: var(--text-muted) !important;
}
body.theme-cashier .shift-bento-panel,
.theme-cashier .shift-bento-panel {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(15, 45, 46, 0.04) !important;
}
body.theme-cashier .shift-bento-panel-header,
.theme-cashier .shift-bento-panel-header {
  background: transparent !important;
  border-bottom: 1px solid var(--border) !important;
}
body.theme-cashier .panel-header-title,
.theme-cashier .panel-header-title {
  color: var(--sidebar) !important;
  font-weight: 800 !important;
}
body.theme-cashier .panel-header-title-box svg,
.theme-cashier .panel-header-title-box svg,
body.theme-cashier .panel-header-title svg[style*="color: #4f46e5"],
body.theme-cashier .panel-header-title svg[style*="color: #6366f1"],
.theme-cashier .panel-header-title svg[style*="color: #4f46e5"],
.theme-cashier .panel-header-title svg[style*="color: #6366f1"] {
  color: var(--primary) !important;
}
body.theme-cashier .movement-toggle-btn,
.theme-cashier .movement-toggle-btn {
  background: var(--surface) !important;
  border: 2px solid var(--border) !important;
  color: var(--text-muted) !important;
  border-radius: 14px !important;
  transition: all 0.18s ease !important;
}
body.theme-cashier .movement-toggle-btn:hover,
.theme-cashier .movement-toggle-btn:hover {
  background: var(--primary-soft) !important;
  border-color: var(--primary) !important;
  color: var(--primary-hover) !important;
}
body.theme-cashier .movement-toggle-btn.in.active,
.theme-cashier .movement-toggle-btn.in.active {
  background: var(--primary-soft) !important;
  border-color: var(--primary) !important;
  color: var(--primary-hover) !important;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2) !important;
}
body.theme-cashier .movement-toggle-btn.out.active,
.theme-cashier .movement-toggle-btn.out.active {
  background: #FEF3C7 !important;
  border-color: #D97706 !important;
  color: #92400E !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2) !important;
}
body.theme-cashier .rupee-input-wrapper,
.theme-cashier .rupee-input-wrapper {
  background: var(--surface) !important;
  border: 2px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 3px rgba(15, 45, 46, 0.04) !important;
  transition: all 0.2s ease !important;
}
body.theme-cashier .rupee-input-wrapper:focus-within,
.theme-cashier .rupee-input-wrapper:focus-within {
  background: var(--surface) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.22), 0 4px 12px rgba(15, 118, 110, 0.08) !important;
}
body.theme-cashier .rupee-badge-prefix,
.theme-cashier .rupee-badge-prefix {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
  border: 1px solid rgba(20, 184, 166, 0.35) !important;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.15) !important;
  border-radius: 10px !important;
}
body.theme-cashier .rupee-input,
.theme-cashier .rupee-input {
  color: var(--sidebar) !important;
}
body.theme-cashier .quick-pill,
.theme-cashier .quick-pill {
  background: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 2px rgba(15, 45, 46, 0.03) !important;
  transition: all 0.18s ease !important;
}
body.theme-cashier .quick-pill:hover,
.theme-cashier .quick-pill:hover {
  border-color: var(--primary) !important;
  background: var(--primary-soft) !important;
  color: var(--primary-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(15, 118, 110, 0.14) !important;
}
body.theme-cashier .quick-pill.active,
.theme-cashier .quick-pill.active {
  background: var(--primary) !important;
  border-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35) !important;
  transform: translateY(-1px) !important;
}
body.theme-cashier .quick-pill.active .quick-pill-check,
.theme-cashier .quick-pill.active .quick-pill-check {
  color: #FFFFFF !important;
}
body.theme-cashier .form-label,
.theme-cashier .form-label {
  color: var(--text-muted) !important;
  font-weight: 700 !important;
}
body.theme-cashier .form-input,
body.theme-cashier .form-select,
body.theme-cashier select.form-input,
.theme-cashier .form-input,
.theme-cashier .form-select,
.theme-cashier select.form-input {
  background: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 10px !important;
}
body.theme-cashier .form-input:focus,
body.theme-cashier .form-select:focus,
body.theme-cashier select.form-input:focus,
.theme-cashier .form-input:focus,
.theme-cashier .form-select:focus,
.theme-cashier select.form-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.25) !important;
}
body.theme-cashier .live-calc-box,
.theme-cashier .live-calc-box {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
}
body.theme-cashier .live-calc-row,
.theme-cashier .live-calc-row {
  color: var(--text-muted) !important;
}
body.theme-cashier .live-calc-row strong,
.theme-cashier .live-calc-row strong {
  color: var(--sidebar) !important;
}
body.theme-cashier .live-calc-divider,
.theme-cashier .live-calc-divider {
  background: var(--border) !important;
}
body.theme-cashier .live-calc-result-box,
.theme-cashier .live-calc-result-box {
  background: var(--primary-soft) !important;
  border: 1.5px solid rgba(20, 184, 166, 0.5) !important;
  border-radius: 10px !important;
}
body.theme-cashier .calc-result-title,
.theme-cashier .calc-result-title {
  color: var(--primary) !important;
}
body.theme-cashier .calc-result-amount,
.theme-cashier .calc-result-amount {
  color: var(--primary-hover) !important;
}
body.theme-cashier .shift-bento-panel > div[style*="background: #f8fafc"],
.theme-cashier .shift-bento-panel > div[style*="background: #f8fafc"] {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
}
body.theme-cashier .shift-bento-panel > div[style*="background: #f8fafc"] span,
.theme-cashier .shift-bento-panel > div[style*="background: #f8fafc"] span {
  color: var(--text-muted) !important;
}
body.theme-cashier .shift-bento-panel > div[style*="background: #f8fafc"] strong,
.theme-cashier .shift-bento-panel > div[style*="background: #f8fafc"] strong {
  color: var(--sidebar) !important;
}
body.theme-cashier .shift-bento-panel > div[style*="background: #f0fdf4"],
.theme-cashier .shift-bento-panel > div[style*="background: #f0fdf4"] {
  background: var(--primary-soft) !important;
  border: 1px solid rgba(20, 184, 166, 0.35) !important;
}
body.theme-cashier .shift-bento-panel > div[style*="background: #f0fdf4"] div,
.theme-cashier .shift-bento-panel > div[style*="background: #f0fdf4"] div {
  color: var(--sidebar) !important;
}
body.theme-cashier .shift-bento-panel > div[style*="background: #f0fdf4"] strong,
.theme-cashier .shift-bento-panel > div[style*="background: #f0fdf4"] strong {
  color: var(--primary) !important;
}
body.theme-cashier .shift-bento-panel > div[style*="background: #f0fdf4"] svg,
.theme-cashier .shift-bento-panel > div[style*="background: #f0fdf4"] svg {
  color: var(--primary) !important;
}
body.theme-cashier .shift-bento-footer,
.theme-cashier .shift-bento-footer {
  background: var(--surface) !important;
  border-top: 1px solid var(--border) !important;
}
body.theme-cashier .shift-bento-footer-left,
.theme-cashier .shift-bento-footer-left {
  color: var(--text-muted) !important;
}
body.theme-cashier .shift-bento-footer-left svg,
.theme-cashier .shift-bento-footer-left svg {
  color: var(--primary) !important;
}
body.theme-cashier .report-table,
.theme-cashier .report-table {
  background: var(--surface) !important;
}
body.theme-cashier .report-table th,
.theme-cashier .report-table th {
  background: #E2DACD !important;
  color: var(--text-muted) !important;
  border-bottom: 1.5px solid var(--border) !important;
}
body.theme-cashier .report-table td,
.theme-cashier .report-table td {
  border-bottom: 1px solid rgba(217, 229, 229, 0.5) !important;
  color: var(--text) !important;
}
body.theme-cashier .report-table tr.highlight-row,
body.theme-cashier .report-table tr.highlight-row td,
.theme-cashier .report-table tr.highlight-row,
.theme-cashier .report-table tr.highlight-row td {
  background: var(--primary-soft) !important;
}
body.theme-cashier .select-counter-card,
.theme-cashier .select-counter-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
}
body.theme-cashier .select-counter-card-active,
.theme-cashier .select-counter-card-active {
  background:
    linear-gradient(
      135deg,
      var(--primary-soft) 0%,
      var(--surface) 100%) !important;
  border: 2px solid var(--primary) !important;
}
div.app-container.theme-cashier .day-closing-wrapper,
body.theme-cashier .day-closing-wrapper,
.theme-cashier .day-closing-wrapper {
  background-color: var(--bg) !important;
}
div.app-container.theme-cashier .day-closing-header-card,
div.app-container.theme-cashier .day-closing-kpi-card,
div.app-container.theme-cashier .day-closing-panel,
div.app-container.theme-cashier .day-closing-table-card,
body.theme-cashier .day-closing-header-card,
body.theme-cashier .day-closing-kpi-card,
body.theme-cashier .day-closing-panel,
body.theme-cashier .day-closing-table-card,
.theme-cashier .day-closing-header-card,
.theme-cashier .day-closing-kpi-card,
.theme-cashier .day-closing-panel,
.theme-cashier .day-closing-table-card {
  background: var(--surface) !important;
  background-color: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(15, 45, 46, 0.06), 0 1px 3px rgba(15, 45, 46, 0.04) !important;
}

/* client/src/components/auth/authViews.css */
.auth-view-page {
  min-height: 100vh;
  background-color: #F8F7FF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  color: #1A1830;
  box-sizing: border-box;
}
.auth-view-container {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.auth-view-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.auth-brand-logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #5B3BE8;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(91, 59, 232, 0.28);
}
.auth-brand-title {
  font-size: 20px;
  font-weight: 800;
  color: #1A1830;
  letter-spacing: -0.02em;
}
.auth-card {
  background: #ffffff;
  border: 1px solid #E6E4F0;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(91, 59, 232, 0.06);
}
.auth-card-header {
  margin-bottom: 24px;
  text-align: left;
}
.auth-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F4F1FF;
  border: 1px solid #EFEBFF;
  color: #5B3BE8;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.auth-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #1A1830;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}
.auth-card-subtitle {
  font-size: 14px;
  color: #5F5B76;
  margin: 0;
  line-height: 1.5;
}
.auth-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FCFBFF;
  border: 1px solid #ECEAF4;
  padding: 4px 10px;
  border-radius: 8px;
  margin-top: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: #4A4760;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auth-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #1A1830;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-input {
  width: 100%;
  height: 46px;
  padding: 0 44px 0 14px;
  background: #ffffff;
  border: 1px solid #DAD8E6;
  border-radius: 10px;
  font-size: 14px;
  font-family: "JetBrains Mono", monospace;
  color: #1A1830;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-input:focus {
  outline: none;
  border-color: #5B3BE8;
  box-shadow: 0 0 0 3px rgba(91, 59, 232, 0.15);
}
.auth-input.has-error {
  border-color: #EF4444;
}
.auth-input.has-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.auth-toggle-pwd-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: #8C88A2;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-toggle-pwd-btn:hover {
  color: #1A1830;
  background: #F4F1FF;
}
.auth-strength-wrap {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-strength-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.auth-strength-segment {
  height: 4px;
  border-radius: 2px;
  background: #ECEAF4;
  transition: background-color 0.2s ease;
}
.auth-strength-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.auth-strength-label {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.auth-checklist {
  background: #FCFBFF;
  border: 1px solid #ECEAF4;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}
.auth-checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #5F5B76;
  transition: color 0.15s ease;
}
.auth-checklist-item.met {
  color: #11683F;
  font-weight: 500;
}
.auth-checklist-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.auth-field-error {
  font-size: 12px;
  color: #EF4444;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.auth-server-error {
  background: #FEF3F2;
  border: 1px solid #FECDCA;
  color: #B42318;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.auth-server-success {
  background: #E3F5EC;
  border: 1px solid #A6E5C5;
  color: #11683F;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.auth-submit-btn {
  width: 100%;
  height: 48px;
  background: #5B3BE8;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background-color 0.15s ease,
    transform 0.05s ease,
    opacity 0.15s ease;
  box-shadow: 0 4px 14px rgba(91, 59, 232, 0.25);
  margin-top: 6px;
}
.auth-submit-btn:hover:not(:disabled) {
  background: #4A2FC4;
}
.auth-submit-btn:active:not(:disabled) {
  transform: translateY(1px);
}
.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
.auth-btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: authSpin 0.7s linear infinite;
}
@keyframes authSpin {
  to {
    transform: rotate(360deg);
  }
}
.auth-secondary-action {
  text-align: center;
  margin-top: 14px;
}
.auth-text-link {
  background: none;
  border: none;
  color: #5B3BE8;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.auth-text-link:hover {
  text-decoration: underline;
  background: #F4F1FF;
}
.auth-success-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 24px;
}
.auth-success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #E3F5EC;
  color: #11683F;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

/* client/src/components/inventory/StockReportBentoView.css */
.stock-report-bento-root {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: #1e1b4b;
  padding: 0.25rem 0 2rem 0;
}
.srb-header-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 10px 30px -5px rgba(49, 46, 129, 0.04), 0 2px 6px -1px rgba(49, 46, 129, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.srb-header-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background:
    linear-gradient(
      90deg,
      #6d4aff 0%,
      #8b5cf6 50%,
      #10b981 100%);
}
.srb-header-left {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}
.srb-header-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      #f5f3ff 0%,
      #ede9fe 100%);
  color: #6d4aff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd6fe;
  box-shadow: 0 4px 12px rgba(109, 74, 255, 0.12);
  flex-shrink: 0;
}
.srb-header-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.srb-header-sub {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0.2rem 0 0 0;
  font-weight: 500;
}
.srb-badge-live {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.15);
}
.srb-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
  animation: srbPulseGreen 2s infinite;
}
@keyframes srbPulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.srb-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.srb-range-pills {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 3px;
  gap: 2px;
}
.srb-range-btn {
  padding: 0.42rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
}
.srb-range-btn:hover:not(.active) {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.7);
}
.srb-range-btn.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}
.srb-date-label-pill,
.srb-date-label-btn {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 700;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.42rem 0.8rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.srb-date-label-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e1b4b;
  transform: translateY(-1px);
}
.srb-input-date {
  height: 34px;
  padding: 0 0.6rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.78rem;
  font-family: inherit;
  outline: none;
  transition: all 0.15s ease;
}
.srb-input-date:focus {
  border-color: #6d4aff;
  box-shadow: 0 0 0 2px rgba(109, 74, 255, 0.15);
}
.srb-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-family: inherit;
}
.srb-btn-outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}
.srb-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 1.05rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #5b36f5 100%);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 3px 10px rgba(109, 74, 255, 0.28);
  font-family: inherit;
}
.srb-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(109, 74, 255, 0.35);
}
.srb-custom-popover {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  padding: 0.85rem 1.2rem;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  flex-wrap: wrap;
  margin-top: -0.25rem;
}
@keyframes srbCardCascade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.srb-hero-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
  width: 100%;
  animation: srbCardCascade 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.srb-hero-col-4 {
  grid-column: span 4;
}
@media (max-width: 1200px) {
  .srb-hero-col-4 {
    grid-column: span 12;
  }
}
.srb-bento-box {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 30px -5px rgba(49, 46, 129, 0.04), 0 2px 6px -1px rgba(49, 46, 129, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.srb-bento-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(49, 46, 129, 0.08), 0 4px 10px -2px rgba(49, 46, 129, 0.03);
  border-color: #cbd5e1;
}
.srb-box-circulation {
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #faf8ff 60%,
      #f4f0ff 100%);
  border-color: #e9e3fe;
}
.srb-arc-gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0 0.2rem 0;
  position: relative;
}
.srb-arc-svg {
  width: 170px;
  height: 98px;
  overflow: visible;
}
.srb-arc-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 11;
  stroke-linecap: round;
}
.srb-arc-fill {
  fill: none;
  stroke: url(#srbGaugeGrad);
  stroke-width: 11;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.srb-arc-center-text {
  position: absolute;
  bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.srb-arc-pct {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1;
}
.srb-arc-sub {
  font-size: 0.66rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.srb-inset-3d-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 14px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  margin-top: 0.65rem;
}
.srb-segmented-meter {
  display: flex;
  height: 7px;
  border-radius: 9999px;
  overflow: hidden;
  gap: 3px;
  background: #f1f5f9;
  margin-bottom: 0.5rem;
}
.srb-seg-block {
  height: 100%;
  border-radius: 9999px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.srb-seg-block.green {
  background: #10b981;
}
.srb-seg-block.amber {
  background: #f59e0b;
}
.srb-seg-block.red {
  background: #ef4444;
}
.srb-circ-legend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #64748b;
}
.srb-box-pulse {
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #faf8ff 60%,
      #f4f0ff 100%);
  border: 1px solid #e2d9fc;
  color: #0f172a;
  box-shadow: 0 10px 30px -5px rgba(49, 46, 129, 0.05), 0 2px 6px -1px rgba(49, 46, 129, 0.02);
}
.srb-box-pulse:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(49, 46, 129, 0.08), 0 4px 10px -2px rgba(49, 46, 129, 0.03);
  border-color: #c7bbf9;
}
.srb-pulse-badge {
  background: #f5f3ff;
  color: #6d4aff;
  border: 1px solid #ddd6fe;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.srb-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6d4aff;
  box-shadow: 0 0 6px rgba(109, 74, 255, 0.4);
  display: inline-block;
  animation: srbDotPulse 2s infinite ease-in-out;
}
.srb-pulse-dot.green {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}
.srb-pulse-dot.red {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}
@keyframes srbDotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}
.srb-pulse-num {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.35rem 0 0.1rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.srb-pulse-sub {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}
.srb-pillar-bars-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 7px;
  height: 52px;
  padding: 0.45rem 0.65rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin: 0.85rem 0;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.02);
}
.srb-pillar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}
@keyframes srbPulseShimmer {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.14);
  }
}
.srb-pillar-fill {
  width: 100%;
  border-radius: 9999px;
  background:
    linear-gradient(
      180deg,
      #a78bfa 0%,
      #6d4aff 100%);
  box-shadow: 0 2px 6px rgba(109, 74, 255, 0.2);
  transition: height 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: srbPulseShimmer 3s ease-in-out infinite alternate;
}
.srb-pillar-col:hover .srb-pillar-fill {
  background:
    linear-gradient(
      180deg,
      #c4b5fd 0%,
      #7c3aed 100%);
}
.srb-pulse-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.55rem;
}
.srb-box-radar {
  background:
    linear-gradient(
      145deg,
      #fff8f8 0%,
      #ffffff 70%);
  border-color: #fecdd3;
}
.srb-radar-items {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.65rem 0;
}
.srb-radar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
  transition: all 0.15s ease;
}
.srb-radar-row:hover {
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.srb-radar-row.alert-red {
  background: #fff5f5;
  border-color: #fed7d7;
}
.srb-radar-row.alert-amber {
  background: #fffdf5;
  border-color: #fef3c7;
}
.srb-radar-btn {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.6rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: inherit;
}
.srb-radar-btn.red {
  background: #fee2e2;
  color: #b91c1c;
}
.srb-radar-btn.red:hover {
  background: #ef4444;
  color: #ffffff;
}
.srb-radar-btn.amber {
  background: #fef3c7;
  color: #b45309;
}
.srb-radar-btn.amber:hover {
  background: #f59e0b;
  color: #ffffff;
}
.srb-metric-tiles-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
  width: 100%;
  animation: srbCardCascade 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}
.srb-metric-tile {
  grid-column: span 3;
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 22px -4px rgba(49, 46, 129, 0.04), 0 2px 6px -1px rgba(49, 46, 129, 0.02);
}
.srb-metric-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -4px rgba(49, 46, 129, 0.09);
}
@media (max-width: 1100px) {
  .srb-metric-tile {
    grid-column: span 6;
  }
}
@media (max-width: 640px) {
  .srb-metric-tile {
    grid-column: span 12;
  }
}
.srb-metric-tile.mint {
  background:
    linear-gradient(
      145deg,
      #f0fdf4 0%,
      #ffffff 80%);
  border: 1px solid #bbf7d0;
}
.srb-metric-tile.mint:hover,
.srb-metric-tile.mint.active {
  border-color: #10b981;
  box-shadow: 0 0 0 2px #10b981, 0 12px 28px -4px rgba(16, 185, 129, 0.2);
}
.srb-metric-tile.amber {
  background:
    linear-gradient(
      145deg,
      #fffbeb 0%,
      #ffffff 80%);
  border: 1px solid #fde68a;
}
.srb-metric-tile.amber:hover,
.srb-metric-tile.amber.active {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px #f59e0b, 0 12px 28px -4px rgba(245, 158, 11, 0.2);
}
.srb-metric-tile.coral {
  background:
    linear-gradient(
      145deg,
      #fef2f2 0%,
      #ffffff 80%);
  border: 1px solid #fca5a5;
}
.srb-metric-tile.coral:hover,
.srb-metric-tile.coral.active {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px #ef4444, 0 12px 28px -4px rgba(239, 68, 68, 0.2);
}
.srb-metric-tile.violet {
  background:
    linear-gradient(
      145deg,
      #f5f3ff 0%,
      #ffffff 80%);
  border: 1px solid #ddd6fe;
}
.srb-metric-tile.violet:hover,
.srb-metric-tile.violet.active {
  border-color: #6d4aff;
  box-shadow: 0 0 0 2px #6d4aff, 0 12px 28px -4px rgba(109, 74, 255, 0.2);
}
.srb-tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.srb-tile-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}
.srb-tile-icon-box.green {
  background: #dcfce7;
  color: #15803d;
}
.srb-tile-icon-box.amber {
  background: #fef3c7;
  color: #b45309;
}
.srb-tile-icon-box.red {
  background: #fee2e2;
  color: #b91c1c;
}
.srb-tile-icon-box.purple {
  background: #ede9fe;
  color: #6d4aff;
}
.srb-tile-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.srb-tile-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
}
.srb-tile-pill.green {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.srb-tile-pill.amber {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.srb-tile-pill.red {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}
.srb-tile-pill.purple {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}
.srb-tile-big-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.3rem 0;
}
.srb-tile-big-num.green {
  color: #059669;
}
.srb-tile-big-num.amber {
  color: #d97706;
}
.srb-tile-big-num.red {
  color: #dc2626;
}
.srb-tile-big-num.purple {
  color: #4338ca;
}
.srb-tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748b;
  border-top: 1px dashed rgba(203, 213, 225, 0.7);
  padding-top: 0.4rem;
  margin-top: 0.35rem;
}
.srb-visual-deck-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
  width: 100%;
  animation: srbCardCascade 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.srb-panel-sellers,
.srb-panel-intelligence {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.srb-panel-sellers {
  grid-column: span 7;
}
.srb-panel-intelligence {
  grid-column: span 5;
}
@media (max-width: 1100px) {
  .srb-panel-sellers,
  .srb-panel-intelligence {
    grid-column: span 12;
  }
}
.srb-deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.srb-deck-title-group {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.srb-icon-squircle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
.srb-icon-squircle.amber {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}
.srb-icon-squircle.purple {
  background: #ede9fe;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}
.srb-deck-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.srb-deck-subtitle {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  display: block;
  margin-top: 1px;
}
.srb-deck-badge-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.srb-leader-empty-state {
  padding: 2.5rem 1rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.84rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.srb-leader-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.srb-leader-cardlet {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(241, 245, 249, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.82rem;
}
.srb-leader-cardlet:hover {
  background: #fdfdfe;
  border-color: rgba(109, 74, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.06);
}
.srb-rank-squircle {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.74rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.srb-rank-squircle.gold {
  background:
    linear-gradient(
      135deg,
      #fef08a 0%,
      #f59e0b 100%);
  color: #78350f;
  border: 1px solid #fcd34d;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}
.srb-rank-squircle.silver {
  background:
    linear-gradient(
      135deg,
      #f8fafc 0%,
      #cbd5e1 100%);
  color: #334155;
  border: 1px solid #94a3b8;
  box-shadow: 0 2px 6px rgba(148, 163, 184, 0.2);
}
.srb-rank-squircle.bronze {
  background:
    linear-gradient(
      135deg,
      #fed7aa 0%,
      #ea580c 100%);
  color: #7c2d12;
  border: 1px solid #fb923c;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.2);
}
.srb-rank-squircle.standard {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.srb-rank-num {
  display: flex;
  align-items: center;
  gap: 2px;
}
.srb-rank-num.gold {
  color: #78350f;
}
.srb-leader-meta {
  width: 175px;
  min-width: 175px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.srb-leader-product-name {
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.82rem;
}
.srb-leader-meta-tags {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.srb-micro-pill {
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  line-height: 1.25;
}
.srb-micro-pill.cat {
  background: #f1f5f9;
  color: #475569;
}
.srb-micro-pill.sku {
  background: #eef2ff;
  color: #4f46e5;
}
.srb-micro-pill.txns {
  background: #fdf4ff;
  color: #a21caf;
}
.srb-leader-progress-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 90px;
}
.srb-leader-track-capsule {
  height: 9px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  position: relative;
}
.srb-leader-bar-fill-gradient {
  height: 100%;
  border-radius: 9999px;
  background:
    linear-gradient(
      90deg,
      #6d4aff 0%,
      #8b5cf6 55%,
      #ec4899 100%);
  transition: width 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 5px rgba(109, 74, 255, 0.35);
}
.srb-leader-pct-label {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 600;
  align-self: flex-end;
}
.srb-leader-volume-box {
  min-width: 80px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.srb-leader-volume-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}
.srb-leader-unit-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}
.srb-intel-cards-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.srb-intel-card {
  border-radius: 16px;
  padding: 0.95rem 1.15rem;
  font-size: 0.8rem;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.srb-intel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.srb-intel-card.amber-theme {
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #fffdf5 100%);
  border: 1px solid #fde68a;
  box-shadow: 0 4px 16px -2px rgba(245, 158, 11, 0.08);
}
.srb-intel-card.amber-theme::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background:
    linear-gradient(
      180deg,
      #f59e0b 0%,
      #fbbf24 100%);
  border-radius: 4px 0 0 4px;
}
.srb-intel-card.blue-theme {
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f0f7ff 100%);
  border: 1px solid #bfdbfe;
  box-shadow: 0 4px 16px -2px rgba(59, 130, 246, 0.08);
}
.srb-intel-card.blue-theme::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background:
    linear-gradient(
      180deg,
      #2563eb 0%,
      #60a5fa 100%);
  border-radius: 4px 0 0 4px;
}
.srb-intel-card.green-theme {
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f0fdf4 100%);
  border: 1px solid #bbf7d0;
  box-shadow: 0 4px 16px -2px rgba(16, 185, 129, 0.08);
}
.srb-intel-card.green-theme::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background:
    linear-gradient(
      180deg,
      #10b981 0%,
      #34d399 100%);
  border-radius: 4px 0 0 4px;
}
.srb-intel-card.red-theme {
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #fff5f5 100%);
  border: 1px solid #fecaca;
  box-shadow: 0 4px 16px -2px rgba(239, 68, 68, 0.08);
}
.srb-intel-card.red-theme::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background:
    linear-gradient(
      180deg,
      #dc2626 0%,
      #f87171 100%);
  border-radius: 4px 0 0 4px;
}
.srb-intel-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.srb-intel-tag-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.srb-intel-mini-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.srb-intel-mini-icon.amber {
  background: #fef3c7;
  color: #b45309;
}
.srb-intel-mini-icon.blue {
  background: #dbeafe;
  color: #1d4ed8;
}
.srb-intel-mini-icon.green {
  background: #dcfce7;
  color: #15803d;
}
.srb-intel-mini-icon.red {
  background: #fee2e2;
  color: #dc2626;
}
.srb-intel-kicker {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.srb-intel-kicker.amber {
  color: #b45309;
}
.srb-intel-kicker.blue {
  color: #1d4ed8;
}
.srb-intel-kicker.green {
  color: #15803d;
}
.srb-intel-kicker.red {
  color: #dc2626;
}
.srb-runway-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.srb-runway-badge.amber {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.srb-runway-badge.blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.srb-runway-badge.green {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.srb-runway-badge.red {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}
.srb-intel-item-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.srb-intel-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.srb-intel-stat-chip {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.srb-stat-chip-label {
  font-size: 0.64rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.srb-stat-chip-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}
.srb-stat-chip-val.blue {
  color: #1d4ed8;
}
.srb-stat-unit {
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
}
.srb-intel-runway-footer {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.15rem;
}
.srb-runway-track {
  height: 5px;
  background: rgba(203, 213, 225, 0.4);
  border-radius: 9999px;
  overflow: hidden;
}
.srb-runway-fill.amber {
  height: 100%;
  border-radius: 9999px;
  background:
    linear-gradient(
      90deg,
      #f59e0b 0%,
      #fbbf24 100%);
  transition: width 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}
.srb-runway-note {
  font-size: 0.7rem;
  color: #78350f;
  font-weight: 500;
  line-height: 1.35;
}
.srb-intel-insight-text {
  font-size: 0.74rem;
  color: #334155;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  border: 1px dashed rgba(203, 213, 225, 0.8);
}
.srb-dormant-hero-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
}
.srb-dormant-val-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.srb-dormant-val-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.srb-dormant-amount.red {
  font-size: 1.45rem;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.srb-dormant-skus-badge {
  background: #ffffff;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  padding: 0.45rem 0.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.06);
}
.srb-dormant-skus-count {
  font-size: 1.15rem;
  font-weight: 800;
  color: #b91c1c;
  line-height: 1.1;
}
.srb-dormant-skus-tag {
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}
.srb-dormant-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(254, 202, 202, 0.8);
  flex-wrap: wrap;
}
.srb-dormant-subtext {
  font-size: 0.72rem;
  color: #7f1d1d;
  line-height: 1.35;
  flex: 1;
  min-width: 170px;
}
.srb-intel-action-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  flex-shrink: 0;
}
.srb-intel-action-pill.red {
  background:
    linear-gradient(
      135deg,
      #fee2e2 0%,
      #fecaca 100%);
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.srb-intel-action-pill.red:hover {
  background:
    linear-gradient(
      135deg,
      #fecaca 0%,
      #f87171 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}
.srb-table-bento-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  animation: srbCardCascade 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
  box-shadow: 0 10px 30px -5px rgba(49, 46, 129, 0.04), 0 2px 6px -1px rgba(49, 46, 129, 0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.srb-table-toolbar {
  padding: 0.85rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.srb-toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  flex: 1 1 520px;
}
.srb-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 250px;
  max-width: 360px;
}
.srb-search-input {
  width: 100%;
  height: 38px;
  padding: 0 2rem 0 2.3rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.82rem;
  color: #0f172a;
  outline: none;
  transition: all 0.18s ease;
  box-sizing: border-box;
  font-family: inherit;
}
.srb-search-input:focus {
  border-color: #6d4aff;
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.12);
}
.srb-select {
  height: 38px;
  padding: 0 0.95rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
  font-family: inherit;
}
.srb-select:focus {
  border-color: #6d4aff;
}
.srb-filter-status-pills {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.srb-filter-pill-btn {
  padding: 0.32rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.srb-filter-pill-btn.active {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
}
.srb-master-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}
.srb-master-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.srb-master-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
  transition: background-color 0.12s ease;
}
.srb-master-table tr:hover td {
  background-color: #faf9ff;
}
.srb-table-product-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.86rem;
}
.srb-table-product-sku {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 2px;
}
.srb-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.8rem;
}
.srb-stock-pill.healthy {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.srb-stock-pill.low {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.srb-stock-pill.zero {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}
.srb-movement-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.srb-movement-status-badge.fast {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.srb-movement-status-badge.slow {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.srb-movement-status-badge.dead {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}
.srb-btn-restock-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  color: #6d4aff;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.srb-btn-restock-action:hover {
  background: #6d4aff;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(109, 74, 255, 0.25);
}
.srb-table-pagination {
  padding: 0.85rem 1.25rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
}
.srb-page-nav-btns {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.srb-page-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.srb-page-btn:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.srb-page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.srb-page-btn.current {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  font-weight: 700;
}

/* client/src/components/users/userManagement.css */
.um-page-wrapper {
  background-color: #F8F7FF;
  min-height: calc(100vh - 65px);
  padding: 24px;
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: #1A1830;
  box-sizing: border-box;
}
.um-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.um-locked-branch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  border: 1px solid #DAD8E6;
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1A1830;
  margin-bottom: 8px;
  box-shadow: 0 1px 3px rgba(26, 24, 48, 0.04);
}
.um-locked-branch-badge .code-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  background-color: #EFEEF7;
  color: #4A4760;
  padding: 2px 6px;
  border-radius: 4px;
}
.um-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.um-header-titles h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1A1830;
  margin: 0 0 4px 0;
  line-height: 1.2;
}
.um-header-titles p {
  font-size: 14.5px;
  color: #5F5B76;
  margin: 0;
}
.um-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.um-btn-base {
  min-height: 44px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
  text-decoration: none;
}
.um-btn-base:focus-visible {
  outline: 2px solid #5B3BE8;
  outline-offset: 2px;
}
.um-btn-primary {
  padding: 0 20px;
  background-color: #5B3BE8;
  color: #FFFFFF;
  border: 1px solid #5B3BE8;
}
.um-btn-primary:hover:not(:disabled) {
  background-color: #482BC2;
  border-color: #482BC2;
}
.um-btn-primary:disabled {
  background-color: #E6E4F0;
  border-color: #E6E4F0;
  color: #8C88A2;
  cursor: not-allowed;
}
.um-btn-secondary {
  padding: 0 18px;
  background-color: #FFFFFF;
  color: #1A1830;
  border: 1px solid #DAD8E6;
}
.um-btn-secondary:hover:not(:disabled) {
  background-color: #FCFBFF;
  border-color: #CFC6FF;
}
.um-btn-purple-tint {
  padding: 0 14px;
  min-height: 36px;
  background-color: #F4F1FF;
  border: 1px solid #CFC6FF;
  color: #4A2FC4;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
}
.um-btn-purple-tint:hover {
  background-color: #EFEBFF;
  border-color: #5B3BE8;
}
.um-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 992px) {
  .um-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .um-stats-grid {
    grid-template-columns: 1fr;
  }
}
.um-stat-card {
  background: #FFFFFF;
  border: 1px solid #E6E4F0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(26, 24, 48, 0.02);
}
.um-stat-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.um-stat-icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.um-stat-icon-tile.purple {
  background-color: #F4F1FF;
  color: #5B3BE8;
}
.um-stat-icon-tile.blue {
  background-color: #EBF3FF;
  color: #1F4FD1;
}
.um-stat-icon-tile.green {
  background-color: #E3F5EC;
  color: #11683F;
}
.um-stat-icon-tile.amber {
  background-color: #FEF6E7;
  color: #C27A0E;
}
.um-stat-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5F5B76;
}
.um-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #1A1830;
  line-height: 1;
}
.um-stat-hint {
  font-size: 13px;
  color: #5F5B76;
}
.um-tabs-row {
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid #ECEAF4;
  margin-top: 4px;
}
.um-tab-btn {
  background: none;
  border: none;
  padding: 12px 2px 14px 2px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #5F5B76;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: color 0.15s ease;
}
.um-tab-btn:hover {
  color: #1A1830;
}
.um-tab-btn.active {
  color: #5B3BE8;
  font-weight: 700;
}
.um-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #5B3BE8;
  border-radius: 2px 2px 0 0;
}
.um-tab-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  background-color: #EFEEF7;
  color: #4A4760;
}
.um-tab-btn.active .um-tab-badge {
  background-color: #EFEBFF;
  color: #4A2FC4;
}
.um-card {
  background: #FFFFFF;
  border: 1px solid #E6E4F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26, 24, 48, 0.03);
}
.um-toolbar {
  padding: 16px 20px;
  border-bottom: 1px solid #ECEAF4;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background-color: #FFFFFF;
}
.um-search-wrap {
  position: relative;
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
}
.um-search-icon {
  position: absolute;
  left: 14px;
  color: #5F5B76;
  pointer-events: none;
}
.um-search-input {
  width: 100%;
  height: 44px;
  border: 1px solid #DAD8E6;
  border-radius: 10px;
  padding: 0 14px 0 42px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  color: #1A1830;
  background-color: #FCFBFF;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.um-search-input:focus {
  outline: none;
  border-color: #5B3BE8;
}
.um-search-input::placeholder {
  color: #8C88A2;
}
.um-select {
  height: 44px;
  border: 1px solid #DAD8E6;
  border-radius: 10px;
  padding: 0 34px 0 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  color: #1A1830;
  background-color: #FCFBFF;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235F5B76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  box-sizing: border-box;
  min-width: 160px;
}
.um-select:focus {
  outline: none;
  border-color: #5B3BE8;
}
.um-table-container {
  width: 100%;
  overflow-x: auto;
}
.um-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.um-table th {
  background-color: #FCFBFF;
  border-bottom: 1px solid #ECEAF4;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5F5B76;
  white-space: nowrap;
}
.um-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #ECEAF4;
  color: #1A1830;
  vertical-align: middle;
}
.um-table tr:last-child td {
  border-bottom: none;
}
.um-table tr:hover td {
  background-color: #FCFBFF;
}
.um-user-col {
  display: flex;
  align-items: center;
  gap: 12px;
}
.um-avatar-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #EFEBFF;
  color: #4A2FC4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.um-avatar-initials.sm {
  width: 32px;
  height: 32px;
  font-size: 12px;
}
.um-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.um-user-name {
  font-weight: 700;
  color: #1A1830;
  font-size: 14.5px;
}
.um-user-sub {
  font-size: 13px;
  color: #5F5B76;
}
.um-user-handle {
  font-family: "JetBrains Mono", monospace;
  color: #5B3BE8;
  font-weight: 500;
  font-size: 12.5px;
}
.um-mono-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 600;
  background-color: #EFEEF7;
  color: #4A4760;
  padding: 2px 7px;
  border-radius: 5px;
  display: inline-block;
  white-space: nowrap;
}
.um-branch-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.um-branch-name {
  font-weight: 700;
  color: #1A1830;
}
.um-warning-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8A5300;
  font-weight: 600;
  font-size: 13.5px;
}
.um-status-pill {
  height: 26px;
  padding: 0 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-sizing: border-box;
}
.um-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.um-status-pill.active {
  background-color: #E3F5EC;
  color: #11683F;
}
.um-status-pill.active .um-status-dot {
  background-color: #11683F;
}
.um-status-pill.invited {
  background-color: #E6EEFF;
  color: #1F4FD1;
}
.um-status-pill.invited .um-status-dot {
  background-color: #1F4FD1;
}
.um-status-pill.disabled {
  background-color: #EFEEF7;
  color: #4A4760;
}
.um-status-pill.disabled .um-status-dot {
  background-color: #4A4760;
}
.um-status-pill.inactive {
  background-color: #FDECEA;
  color: #A3361F;
}
.um-status-pill.inactive .um-status-dot {
  background-color: #A3361F;
}
.um-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  white-space: nowrap;
}
.um-action-btn {
  position: relative;
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  border-radius: 8px;
  background-color: #FFFFFF;
  border: 1px solid #DAD8E6;
  color: #5F5B76;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}
.um-action-btn svg {
  width: 15px;
  height: 15px;
  display: block;
}
.um-action-btn:hover {
  background-color: #F4F1FF;
  border-color: #5B3BE8;
  color: #5B3BE8;
  box-shadow: 0 2px 6px rgba(91, 59, 232, 0.12);
}
.um-action-btn:focus-visible {
  outline: 2px solid #5B3BE8;
  outline-offset: 2px;
}
.um-action-btn.edit:hover,
.um-action-btn.view:hover,
.um-action-btn.manager:hover {
  background-color: #F4F1FF;
  border-color: #5B3BE8;
  color: #5B3BE8;
}
.um-action-btn.key:hover {
  background-color: #FFF9F2;
  border-color: #F59E0B;
  color: #D97706;
}
.um-action-btn.mail:hover {
  background-color: #EBF2FF;
  border-color: #3B82F6;
  color: #1D4ED8;
}
.um-action-btn.enable {
  color: #11683F;
  background-color: #F1F8F5;
  border-color: #D1E9DE;
}
.um-action-btn.enable:hover {
  background-color: #E3F5EC;
  border-color: #11683F;
  color: #11683F;
  box-shadow: 0 2px 6px rgba(17, 104, 63, 0.15);
}
.um-action-btn.disable {
  color: #7B7793;
}
.um-action-btn.disable:hover {
  background-color: #FFF2F0;
  border-color: #FECDCA;
  color: #B42318;
}
.um-action-btn.delete {
  color: #B42318;
  background-color: #FFF5F4;
  border-color: #FECDCA;
}
.um-action-btn.delete:hover {
  background-color: #FEE4E2;
  border-color: #F04438;
  color: #D92D20;
  box-shadow: 0 2px 6px rgba(217, 45, 32, 0.18);
}
.um-btn-action {
  height: 34px;
  padding: 0 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  background-color: #FFFFFF;
  border: 1px solid #DAD8E6;
  color: #1A1830;
  cursor: pointer;
  transition: all 0.12s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.um-btn-action:hover {
  background-color: #FCFBFF;
  border-color: #CFC6FF;
}
.um-btn-action.danger {
  color: #B42318;
}
.um-btn-action.danger:hover {
  background-color: #FDF2F1;
  border-color: #FECDCA;
}
.um-btn-action.success {
  color: #11683F;
}
.um-btn-action.success:hover {
  background-color: #E3F5EC;
  border-color: #A6E2C3;
}
.um-empty-state {
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.um-empty-title {
  font-size: 17px;
  font-weight: 700;
  color: #1A1830;
  margin: 0;
}
.um-empty-sub {
  font-size: 14px;
  color: #5F5B76;
  margin: 0;
}
.um-footer-strip {
  padding: 12px 20px;
  border-top: 1px solid #ECEAF4;
  background-color: #FCFBFF;
  font-size: 13px;
  color: #5F5B76;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.um-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 24, 48, 0.42);
  backdrop-filter: blur(2px);
  z-index: 1500;
  display: flex;
  justify-content: flex-end;
  animation: umFadeIn 0.2s ease;
}
.um-drawer {
  width: 480px;
  max-width: 100vw;
  height: 100%;
  background: #FFFFFF;
  box-shadow: -10px 0 35px rgba(26, 24, 48, 0.15);
  display: flex;
  flex-direction: column;
  animation: umSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
@keyframes umFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes umSlideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes umPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
.um-skeleton-pulse {
  animation: umPulse 1.5s infinite ease-in-out;
  background-color: #EAE8F2;
}
.um-drawer-header {
  padding: 24px;
  border-bottom: 1px solid #ECEAF4;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.um-drawer-title-group h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1A1830;
  margin: 0 0 6px 0;
}
.um-drawer-title-group p {
  font-size: 13.5px;
  color: #5F5B76;
  margin: 0;
  line-height: 1.4;
}
.um-drawer-close-btn {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  font-size: 22px;
  color: #5F5B76;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.um-drawer-close-btn:hover {
  background-color: #EFEEF7;
  color: #1A1830;
}
.um-drawer-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.um-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.um-form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #1A1830;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.um-form-input {
  width: 100%;
  height: 44px;
  border: 1px solid #DAD8E6;
  border-radius: 10px;
  padding: 0 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  color: #1A1830;
  background-color: #FFFFFF;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.um-form-input:focus {
  outline: none;
  border-color: #5B3BE8;
}
.um-form-input::placeholder {
  color: #8C88A2;
}
.um-signin-group-box {
  background-color: #FCFBFF;
  border: 1px solid #DAD8E6;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease;
}
.um-signin-group-box.valid {
  border-color: #A6E2C3;
  background-color: #FAFFFC;
}
.um-signin-group-title {
  font-size: 14px;
  font-weight: 700;
  color: #1A1830;
  margin: 0;
}
.um-signin-group-sub {
  font-size: 12.5px;
  color: #5F5B76;
  margin: -4px 0 0 0;
  line-height: 1.4;
}
.um-input-prefix-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.um-input-prefix {
  position: absolute;
  left: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  color: #5F5B76;
  pointer-events: none;
}
.um-form-input.has-prefix {
  padding-left: 30px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
}
.um-suggestion-btn {
  position: absolute;
  right: 10px;
  background-color: #F4F1FF;
  border: 1px solid #CFC6FF;
  color: #4A2FC4;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.um-suggestion-btn:hover {
  background-color: #EFEBFF;
}
.um-or-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8C88A2;
  margin: 2px 0;
}
.um-field-helper {
  font-size: 12px;
  margin-top: 3px;
  color: #5F5B76;
}
.um-field-helper.error {
  color: #B42318;
  font-weight: 500;
}
.um-field-helper.success {
  color: #11683F;
  font-weight: 600;
}
.um-signin-status-bar {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.um-signin-status-bar.amber {
  background-color: #FEF6E7;
  color: #8A5300;
}
.um-signin-status-bar.red {
  background-color: #FDF2F1;
  color: #B42318;
}
.um-signin-status-bar.green {
  background-color: #E3F5EC;
  color: #11683F;
}
.um-pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.um-form-input.mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  padding-right: 76px;
}
.um-pw-actions {
  position: absolute;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.um-pw-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: #5F5B76;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.um-pw-btn:hover {
  background-color: #EFEEF7;
  color: #1A1830;
}
.um-pw-strength-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.um-pw-strength-segment {
  height: 4px;
  border-radius: 2px;
  background-color: #E6E4F0;
  transition: background-color 0.2s ease;
}
.um-pw-strength-label {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
  color: #5F5B76;
}
.um-pw-checklist {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
}
.um-pw-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #5F5B76;
}
.um-pw-check-item.met {
  color: #11683F;
  font-weight: 500;
}
.um-options-box {
  background-color: #FCFBFF;
  border: 1px solid #ECEAF4;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.um-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.um-checkbox-input {
  width: 18px;
  height: 18px;
  accent-color: #5B3BE8;
  cursor: pointer;
  margin-top: 2px;
}
.um-checkbox-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.um-checkbox-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #1A1830;
}
.um-checkbox-hint {
  font-size: 12px;
  color: #5F5B76;
  line-height: 1.4;
}
.um-pick-existing-panel {
  background-color: #F4F1FF;
  border: 1px solid #CFC6FF;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.um-pick-title {
  font-size: 13px;
  font-weight: 700;
  color: #4A2FC4;
}
.um-drawer-footer {
  padding: 18px 24px;
  border-top: 1px solid #ECEAF4;
  background-color: #FFFFFF;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.um-error-banner {
  background-color: #FDF2F1;
  border: 1px solid #FECDCA;
  border-radius: 8px;
  padding: 10px 14px;
  color: #B42318;
  font-size: 13px;
  font-weight: 500;
}
.um-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 24, 48, 0.45);
  backdrop-filter: blur(2px);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: umFadeIn 0.15s ease;
}
.um-modal-card {
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(26, 24, 48, 0.16);
  border: 1px solid #E6E4F0;
  overflow: hidden;
  box-sizing: border-box;
}
.um-modal-header {
  padding: 20px 24px 16px 24px;
  border-bottom: 1px solid #ECEAF4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.um-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #1A1830;
  margin: 0;
}
.um-modal-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  color: #5F5B76;
}
.um-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #ECEAF4;
  background-color: #FCFBFF;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.um-temp-password-box {
  background-color: #F4F1FF;
  border: 1px solid #CFC6FF;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.um-temp-password-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  color: #4A2FC4;
  letter-spacing: 0.05em;
}
.um-toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1A1830;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(26, 24, 48, 0.25);
  z-index: 2000;
  animation: umToastUp 0.25s ease;
}
@keyframes umToastUp {
  from {
    opacity: 0;
    transform: translate(-50%, 15px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.um-toast-tick {
  color: #11683F;
  background-color: #E3F5EC;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.um-action-btn.delete {
  color: #B42318;
}
.um-action-btn.delete:hover {
  background-color: #FEE4E2;
  border-color: #FECDCA;
}
.um-drawer-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.um-drawer-footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.um-drawer-delete-btn {
  background: none;
  border: 1px solid transparent;
  color: #B42318;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.um-drawer-delete-btn:hover {
  background-color: #FEE4E2;
  border-color: #FECDCA;
}
.um-email-with-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.um-mail-status-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.um-mail-status-icon.sent {
  color: #11683F;
}
.um-mail-status-icon.failed {
  color: #B42318;
}
.um-mail-status-icon.never {
  color: #B6B3C6;
}
.um-tooltip {
  visibility: hidden;
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #1A1830;
  color: #FFFFFF;
  text-align: center;
  padding: 5px 8px;
  border-radius: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(26, 24, 48, 0.25);
}
.um-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #1A1830 transparent transparent transparent;
}
.um-mail-status-icon:hover .um-tooltip,
.um-action-btn:hover .um-tooltip {
  visibility: visible;
  opacity: 1;
}
.um-delete-dialog-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 24, 48, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  padding: 16px;
  backdrop-filter: blur(2px);
  animation: umFadeIn 0.2s ease;
}
.um-delete-dialog {
  background-color: #FFFFFF;
  border: 1px solid #E6E4F0;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  padding: 28px;
  box-shadow: 0 20px 45px rgba(26, 24, 48, 0.18);
  animation: umScaleUp 0.2s ease;
}
@keyframes umScaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.um-delete-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.um-delete-icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #FEE4E2;
  color: #B42318;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.um-delete-title-area h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1A1830;
  margin: 0 0 4px;
}
.um-delete-title-area p {
  font-size: 13.5px;
  color: #5F5B76;
  margin: 0;
}
.um-delete-impact-box {
  background-color: #FCFBFF;
  border: 1px solid #ECEAF4;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: #1A1830;
  line-height: 1.55;
  margin-bottom: 16px;
}
.um-delete-warning-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #B42318;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.um-delete-confirm-box {
  margin-bottom: 20px;
}
.um-delete-confirm-box label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1A1830;
  margin-bottom: 6px;
}
.um-delete-confirm-box input {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #DAD8E6;
  padding: 0 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  background-color: #FCFBFF;
  color: #1A1830;
  box-sizing: border-box;
}
.um-delete-confirm-box input:focus {
  outline: none;
  border-color: #B42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15);
}
.um-delete-alt-link {
  font-size: 13px;
  color: #5F5B76;
  margin-bottom: 22px;
}
.um-delete-alt-link button {
  background: none;
  border: none;
  color: #5B3BE8;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.um-delete-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.um-btn-danger {
  height: 44px;
  padding: 0 20px;
  background-color: #B42318;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.15s ease;
}
.um-btn-danger:hover:not(:disabled) {
  background-color: #911A11;
}
.um-btn-danger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.um-toast.um-toast-danger {
  border-left: 4px solid #B42318;
}
.um-toast-retry-btn {
  background-color: #FFFFFF;
  color: #B42318;
  border: 1px solid #FECDCA;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 8px;
}
.um-toast-retry-btn:hover {
  background-color: #FEE4E2;
}

/* client/src/components/common/BranchSelector.css */
.top-branch-selector-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0 6px 0 14px;
  background: #ffffff;
  border: 1px solid #E2E0EF;
  border-radius: 12px;
  box-sizing: border-box;
  font-size: 14px;
  box-shadow: none;
  flex-shrink: 0;
}
.top-branch-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.top-branch-label {
  font-size: 14px;
  font-weight: 500;
  color: #5F6275;
  white-space: nowrap;
  cursor: pointer;
  margin: 0;
  padding: 0;
  line-height: 1;
}
.top-branch-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.top-branch-select {
  height: 32px;
  padding: 0 32px 0 10px;
  border: none;
  background: #F3F2FA;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #1A1838;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  outline: none;
  max-width: 280px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
  transition: outline 0.15s ease;
}
.top-branch-select:focus {
  outline: 2px solid #5B4FE9;
  outline-offset: 2px;
}
.top-branch-chevron {
  position: absolute;
  right: 10px;
  pointer-events: none;
  color: #5F6275;
  flex-shrink: 0;
}
.top-branch-count-pill {
  font-size: 12px;
  font-weight: 600;
  color: #4F46E5;
  background: #EEEDFD;
  padding: 4px 8px;
  border-radius: 9999px;
  white-space: nowrap;
  line-height: 1.2;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .top-branch-selector-pill {
    width: 100%;
    justify-content: space-between;
  }
  .top-branch-select-wrapper {
    flex: 1;
    min-width: 0;
  }
  .top-branch-select {
    width: 100%;
    max-width: none !important;
  }
  .top-branch-count-pill {
    flex-shrink: 0;
  }
}

/* client/src/components/customers/CustomerDirectory.css */
.customer-dir-root {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}
.customer-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
}
.customer-kpi-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}
.customer-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(0, 0, 0, 0.08);
}
.customer-kpi-card.selected {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}
.customer-kpi-card.purple:hover {
  border-color: #8b5cf6;
}
.customer-kpi-card.amber:hover {
  border-color: #f59e0b;
}
.customer-kpi-card.emerald:hover {
  border-color: #10b981;
}
.kpi-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.kpi-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kpi-icon-box.purple {
  background: #f3f0ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}
.kpi-icon-box.amber {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fef3c7;
}
.kpi-icon-box.emerald {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.kpi-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}
.kpi-tag.purple {
  background: #ede9fe;
  color: #6d28d9;
}
.kpi-tag.amber {
  background: #fef3c7;
  color: #b45309;
}
.kpi-tag.emerald {
  background: #d1fae5;
  color: #047857;
}
.customer-kpi-card .kpi-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.customer-kpi-card .kpi-val.text-amber {
  color: #d97706;
}
.customer-kpi-card .kpi-val.text-emerald {
  color: #059669;
}
.customer-kpi-card .kpi-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  margin-top: 0.15rem;
}
.customer-kpi-card .kpi-sub {
  font-size: 0.74rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.customer-main-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.customer-card-header {
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #f1f5f9;
}
.header-info-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.header-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #f3f0ff;
  border: 1.5px solid #ddd6fe;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.header-subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}
.header-actions-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  flex-wrap: nowrap;
}
.btn-export-csv {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-export-csv:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.customer-primary-add-btn,
.customer-dir-root .btn-add-customer {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.55rem 1.15rem !important;
  background:
    linear-gradient(
      135deg,
      #6d28d9 0%,
      #4f46e5 100%) !important;
  border: 1px solid transparent !important;
  color: #ffffff !important;
  border-radius: 9px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 3px 10px rgba(109, 40, 217, 0.3) !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  width: auto !important;
  min-width: fit-content !important;
  height: auto !important;
  min-height: 38px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}
.customer-primary-add-btn:hover,
.customer-dir-root .btn-add-customer:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(109, 40, 217, 0.4) !important;
}
.customer-filter-strip {
  padding: 0.85rem 1.4rem;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.filter-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-pill:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}
.filter-pill.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}
.filter-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.pill-count {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.7rem;
  padding: 0.1rem 0.42rem;
  border-radius: 9999px;
  font-weight: 800;
}
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.pill-dot.amber {
  background: #f59e0b;
}
.pill-dot.slate {
  background: #94a3b8;
}
.search-and-sort-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.customer-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.customer-search-input-wrap svg {
  position: absolute;
  left: 0.75rem;
  pointer-events: none;
}
.customer-search-input-wrap input {
  padding: 0.45rem 2rem 0.45rem 2.2rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.82rem;
  width: 250px;
  color: #0f172a;
  outline: none;
  transition: all 0.15s ease;
}
.customer-search-input-wrap input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.clear-search-btn {
  position: absolute;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.2rem;
}
.sort-dropdown-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}
.sort-dropdown-wrap select {
  padding: 0.42rem 0.65rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  cursor: pointer;
}
.customer-table-container {
  overflow-x: auto;
  max-width: 100%;
}
.customer-modern-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.customer-modern-table thead th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.25rem;
  border-bottom: 1.5px solid #e2e8f0;
}
.customer-modern-table tbody tr.customer-row {
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.12s ease;
}
.customer-modern-table tbody tr.customer-row:hover {
  background: #f8fafc;
}
.customer-modern-table tbody tr.inactive-row {
  opacity: 0.6;
  background: #fafafa;
}
.customer-modern-table td {
  padding: 0.95rem 1.25rem;
  vertical-align: middle;
  font-size: 0.86rem;
}
.customer-cell-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.customer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1.5px solid transparent;
  flex-shrink: 0;
}
.customer-name-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.customer-full-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.92rem;
}
.customer-badges-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.badge-member-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #6d28d9;
  background: #f3f0ff;
  border: 1px solid #ddd6fe;
  padding: 0.08rem 0.38rem;
  border-radius: 4px;
}
.badge-inactive-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
}
.customer-contact-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.phone-copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.65rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  font-size: 0.85rem;
  color: #1e293b;
  width: fit-content;
  cursor: pointer;
  transition: all 0.15s ease;
}
.phone-copy-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.phone-copy-chip .bold {
  font-weight: 700;
}
.phone-copy-chip .copy-label {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
}
.loyalty-points-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.points-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.points-coin-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.points-number {
  font-size: 1.22rem;
  font-weight: 800;
  color: #b45309;
  letter-spacing: -0.01em;
}
.points-unit {
  font-size: 0.78rem;
  font-weight: 700;
  color: #d97706;
}
.points-value-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 0.14rem 0.5rem;
  border-radius: 5px;
  width: fit-content;
}
.customer-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}
.btn-action-edit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.8rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-action-edit:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
}
.btn-action-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.8rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-action-toggle.deactivate {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #e11d48;
}
.btn-action-toggle.deactivate:hover {
  background: #ffe4e6;
  border-color: #fda4af;
  color: #be123c;
  transform: translateY(-1px);
}
.btn-action-toggle.activate {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
}
.btn-action-toggle.activate:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
  color: #047857;
  transform: translateY(-1px);
}
.auto-points-info-card {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.customer-empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.empty-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.customer-empty-state h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #1e293b;
  font-weight: 700;
}
.customer-empty-state p {
  margin: 0.35rem 0 1.25rem;
  font-size: 0.84rem;
  color: #64748b;
  max-width: 380px;
}
.btn-reset-filters {
  padding: 0.5rem 1rem;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.points-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: #f1f5f9;
  padding: 0.3rem;
  border-radius: 10px;
}
.mode-btn {
  padding: 0.55rem;
  border: none;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: #64748b;
  transition: all 0.15s ease;
}
.mode-btn.active-add {
  background: #ffffff;
  color: #047857;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.mode-btn.active-redeem {
  background: #ffffff;
  color: #b45309;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.preset-point-pill {
  padding: 0.28rem 0.65rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.preset-point-pill:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}
.customer-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  animation: fadeIn 0.18s ease-out;
}
.customer-drawer-panel {
  width: 440px;
  max-width: 95vw;
  height: 100%;
  background: #ffffff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
.drawer-header {
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-customer-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.drawer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  border: 1.5px solid transparent;
}
.drawer-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}
.drawer-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
}
.drawer-close-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 6px;
}
.drawer-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.drawer-body {
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.supermarket-digital-card {
  border-radius: 16px;
  padding: 1.35rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background:
    linear-gradient(
      135deg,
      #1e1b4b 0%,
      #312e81 40%,
      #4338ca 100%);
  border: 1px solid rgba(221, 214, 254, 0.3);
}
.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.95;
}
.card-chip-graphic {
  margin: 0.15rem 0;
}
.card-middle-points {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.card-points-label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  opacity: 0.75;
}
.card-points-val {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fef08a;
  text-shadow: 0 0 12px rgba(254, 240, 138, 0.4);
}
.card-cash-equiv {
  font-size: 0.75rem;
  opacity: 0.9;
}
.card-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.65rem;
}
.card-holder-info,
.card-phone-info {
  display: flex;
  flex-direction: column;
}
.c-label {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  opacity: 0.7;
}
.c-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.c-phone {
  font-size: 0.8rem;
  font-weight: 700;
}
.drawer-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.drawer-metric-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.d-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}
.d-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}
.d-val.text-emerald {
  color: #059669;
}
.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.section-heading {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.drawer-info-list {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.4rem 0.85rem;
}
.drawer-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.82rem;
}
.drawer-info-item:last-child {
  border-bottom: none;
}
.info-key {
  color: #64748b;
  font-weight: 600;
}
.info-val {
  color: #0f172a;
  font-weight: 600;
}
.info-val.bold {
  font-weight: 700;
}
.btn-tiny-add-points {
  padding: 0.22rem 0.55rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-tiny-add-points:hover {
  background: #fef3c7;
}
.points-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 200px;
  overflow-y: auto;
}
.history-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.7rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.history-item-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.history-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.history-dot.earned,
.history-dot.bonus {
  background: #10b981;
}
.history-dot.redeemed {
  background: #f59e0b;
}
.history-dot.adjustment {
  background: #6366f1;
}
.history-desc {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
}
.history-date {
  font-size: 0.68rem;
  color: #94a3b8;
}
.history-points-val {
  font-size: 0.82rem;
  font-weight: 800;
}
.history-points-val.earned,
.history-points-val.bonus {
  color: #059669;
}
.history-points-val.redeemed {
  color: #d97706;
}
.drawer-actions-box {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.drawer-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.drawer-btn.primary {
  background:
    linear-gradient(
      135deg,
      #6d28d9 0%,
      #4f46e5 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.3);
}
.drawer-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.4);
}
.drawer-btn.points {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  color: #b45309;
}
.drawer-btn.points:hover {
  background: #fef3c7;
  border-color: #f59e0b;
}
.drawer-btn.whatsapp {
  background: #22c55e;
  border: none;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}
.drawer-btn.whatsapp:hover {
  background: #16a34a;
}
.drawer-btn.secondary {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
}
.drawer-btn.secondary:hover {
  background: #e2e8f0;
}
.btn-loyalty-rules {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  background: #fdf4ff;
  border: 1.5px solid #f0abfc;
  border-radius: 9px;
  color: #86198f;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-loyalty-rules:hover {
  background: #fae8ff;
  border-color: #d946ef;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(217, 70, 239, 0.15);
}
.loyalty-rule-badge {
  background: #f0abfc;
  color: #701a75;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  margin-left: 0.2rem;
  letter-spacing: 0.2px;
}
.loyalty-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.loyalty-modal-card {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 860px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e2e8f0;
}
@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.loyalty-modal-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background:
    linear-gradient(
      to right,
      #faf5ff,
      #ffffff);
}
.loyalty-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.loyalty-header-icon {
  width: 44px;
  height: 44px;
  background: #fdf4ff;
  border: 1.5px solid #f0abfc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #a855f7;
  flex-shrink: 0;
}
.loyalty-header-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}
.loyalty-header-sub {
  margin: 0.15rem 0 0 0;
  font-size: 0.8rem;
  color: #64748b;
}
.loyalty-modal-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  font-size: 1.1rem;
  transition: all 0.15s ease;
}
.loyalty-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.loyalty-modal-body.rectangular-view {
  padding: 1.15rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-height: 85vh;
  overflow-y: auto;
}
.loyalty-toggle-banner {
  background: #f8fafc;
  padding: 0.75rem 1.15rem;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
}
.loyalty-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 768px) {
  .loyalty-grid-2col {
    grid-template-columns: 1fr;
  }
}
.loyalty-config-pane {
  background: #ffffff;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.loyalty-config-pane.purple-pane {
  border-color: #e9d5ff;
}
.loyalty-config-pane.emerald-pane {
  border-color: #a7f3d0;
}
.pane-header {
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
}
.loyalty-config-pane.purple-pane .pane-header {
  background: #faf5ff;
  border-bottom-color: #f3e8ff;
}
.loyalty-config-pane.emerald-pane .pane-header {
  background: #f0fdf4;
  border-bottom-color: #dcfce7;
}
.pane-icon {
  font-size: 1.25rem;
}
.pane-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}
.pane-sub {
  margin: 0.1rem 0 0 0;
  font-size: 0.73rem;
  color: #64748b;
}
.pane-body {
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pane-field-label {
  font-weight: 700;
  font-size: 0.82rem;
  color: #1e293b;
  display: block;
  margin-bottom: 0.35rem;
}
.preset-chips-row.compact {
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.preset-chips-row.compact .preset-chip-btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.76rem;
}
.preset-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.preset-chip-btn {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.preset-chip-btn:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}
.preset-chip-btn.active {
  background: #fdf4ff;
  border-color: #c084fc;
  color: #7e22ce;
  font-weight: 700;
}
.loyalty-live-preview-box {
  background:
    linear-gradient(
      135deg,
      #f0fdf4 0%,
      #ecfdf5 100%);
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.loyalty-live-preview-box.purple {
  background:
    linear-gradient(
      135deg,
      #faf5ff 0%,
      #fdf4ff 100%);
  border: 1.5px solid #f0abfc;
}
.preview-pill-stat {
  font-weight: 800;
  color: #15803d;
  font-size: 0.95rem;
}
.preview-pill-stat.purple {
  color: #7e22ce;
}
.loyalty-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}
.btn-modal-cancel {
  padding: 0.6rem 1.15rem;
  border-radius: 9px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-modal-cancel:hover {
  background: #f1f5f9;
  color: #1e293b;
}
.btn-modal-save {
  padding: 0.6rem 1.35rem;
  border-radius: 9px;
  border: none;
  background:
    linear-gradient(
      135deg,
      #7c3aed 0%,
      #6d28d9 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
  transition: all 0.15s ease;
}
.btn-modal-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

/* client/src/components/suppliers/SupplierDirectory.css */
.supplier-dir-root {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}
.supplier-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
}
.supplier-kpi-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}
.supplier-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(0, 0, 0, 0.08);
}
.supplier-kpi-card.selected {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}
.supplier-kpi-card.blue:hover {
  border-color: #3b82f6;
}
.supplier-kpi-card.rose:hover {
  border-color: #f43f5e;
}
.supplier-kpi-card.amber:hover {
  border-color: #f59e0b;
}
.supplier-kpi-card.emerald:hover {
  border-color: #10b981;
}
.kpi-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.kpi-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kpi-icon-box.blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.kpi-icon-box.rose {
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
}
.kpi-icon-box.amber {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fef3c7;
}
.kpi-icon-box.emerald {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.kpi-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}
.kpi-tag.blue {
  background: #dbeafe;
  color: #1e40af;
}
.kpi-tag.rose {
  background: #ffe4e6;
  color: #be123c;
}
.kpi-tag.amber {
  background: #fef3c7;
  color: #b45309;
}
.kpi-tag.emerald {
  background: #d1fae5;
  color: #047857;
}
.supplier-kpi-card .kpi-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.supplier-kpi-card .kpi-val.text-rose {
  color: #e11d48;
}
.supplier-kpi-card .kpi-val.text-amber {
  color: #d97706;
}
.supplier-kpi-card .kpi-val.text-emerald {
  color: #059669;
}
.supplier-kpi-card .kpi-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  margin-top: 0.15rem;
}
.supplier-kpi-card .kpi-sub {
  font-size: 0.74rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.supplier-main-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.supplier-card-header {
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #f1f5f9;
}
.header-info-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.header-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.header-subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}
.header-actions-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  flex-wrap: nowrap;
}
.btn-export-csv {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-export-csv:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.supplier-primary-add-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.55rem 1.15rem !important;
  background:
    linear-gradient(
      135deg,
      #2563eb 0%,
      #1d4ed8 100%) !important;
  border: 1px solid transparent !important;
  color: #ffffff !important;
  border-radius: 9px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3) !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  width: auto !important;
  min-width: fit-content !important;
  height: auto !important;
  min-height: 38px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}
.supplier-primary-add-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.4) !important;
}
.btn-add-bill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.55rem 1.15rem !important;
  background:
    linear-gradient(
      135deg,
      #10b981 0%,
      #059669 100%) !important;
  border: 1px solid transparent !important;
  color: #ffffff !important;
  border-radius: 9px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.28) !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  width: auto !important;
  min-width: fit-content !important;
  height: auto !important;
  min-height: 38px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}
.btn-add-bill:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(16, 185, 129, 0.45) !important;
}
.supplier-filter-strip {
  padding: 0.85rem 1.4rem;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.filter-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-pill:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}
.filter-pill.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}
.filter-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pill-dot.rose {
  background: #e11d48;
}
.pill-dot.amber {
  background: #f59e0b;
}
.pill-dot.emerald {
  background: #10b981;
}
.pill-count {
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  background: #f1f5f9;
  border-radius: 9999px;
  color: #64748b;
  font-weight: 700;
}
.search-and-sort-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.supplier-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.supplier-search-input-wrap svg {
  position: absolute;
  left: 0.75rem;
  pointer-events: none;
}
.supplier-search-input-wrap input {
  padding: 0.45rem 1.8rem 0.45rem 2.1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #0f172a;
  width: 250px;
  transition: all 0.15s ease;
}
.supplier-search-input-wrap input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.clear-search-btn {
  position: absolute;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.2rem;
}
.clear-search-btn:hover {
  color: #0f172a;
}
.sort-dropdown-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.sort-dropdown-wrap label {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}
.sort-dropdown-wrap select {
  padding: 0.45rem 0.75rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
}
.supplier-table-container {
  overflow-x: auto;
  width: 100%;
}
.supplier-modern-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.supplier-modern-table thead {
  background: #f8fafc;
  border-bottom: 1.5px solid #e2e8f0;
}
.supplier-modern-table th {
  padding: 0.85rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.supplier-row {
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.15s ease;
}
.supplier-row:hover {
  background: #f8fafc;
}
.supplier-row.inactive-row {
  opacity: 0.6;
}
.supplier-modern-table td {
  padding: 0.95rem 1.25rem;
  font-size: 0.86rem;
  vertical-align: middle;
}
.supplier-cell-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.supplier-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1.5px solid transparent;
  flex-shrink: 0;
}
.supplier-name-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.supplier-full-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.92rem;
}
.supplier-sub-details {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.supplier-address-snippet {
  font-size: 0.74rem;
  color: #64748b;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge-inactive-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
}
.supplier-contact-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.phone-copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.55rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  font-size: 0.82rem;
  color: #1e293b;
  width: fit-content;
  cursor: pointer;
  transition: all 0.15s ease;
}
.phone-copy-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.phone-copy-chip .bold {
  font-weight: 700;
}
.phone-copy-chip .copy-label {
  font-size: 0.68rem;
  color: #94a3b8;
}
.supplier-email-sub {
  font-size: 0.74rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}
.supplier-gstin-cell {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.gstin-chip {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.25rem 0.55rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 7px;
  width: fit-content;
  cursor: pointer;
  transition: all 0.15s ease;
}
.gstin-chip:hover {
  background: #dcfce7;
  border-color: #86efac;
}
.gstin-chip .bold {
  font-size: 0.8rem;
  color: #166534;
}
.gstin-status {
  font-size: 0.65rem;
  color: #15803d;
  font-weight: 700;
}
.badge-unregistered-tag {
  font-size: 0.72rem;
  color: #94a3b8;
  font-style: italic;
}
.supplier-payable-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.payable-amount-box {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.payable-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #e11d48;
}
.payable-meta-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.open-bills-count {
  font-size: 0.73rem;
  color: #64748b;
}
.due-aging-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
}
.due-aging-tag.overdue {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.due-aging-tag.upcoming {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}
.settled-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 7px;
  color: #047857;
  font-size: 0.78rem;
  font-weight: 700;
  width: fit-content;
}
.settled-check {
  font-weight: 800;
}
.supplier-actions-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  vertical-align: middle;
}
.btn-action-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 32px;
  box-sizing: border-box;
  padding: 0 0.8rem;
  background:
    linear-gradient(
      135deg,
      #10b981 0%,
      #059669 100%);
  border: 1px solid transparent;
  color: #ffffff;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.btn-action-pay:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
}
.btn-action-inward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 32px;
  box-sizing: border-box;
  padding: 0 0.75rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.btn-action-inward:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  transform: translateY(-1px);
}
.btn-action-more {
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
}
.btn-action-more:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}
.btn-action-more.active {
  background: #e0e7ff;
  color: #4338ca;
  border-color: #a5b4fc;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
.action-menu-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.action-dropdown-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
}
.action-dropdown-menu {
  position: fixed !important;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 0.35rem;
  min-width: 210px;
  z-index: 9999 !important;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  animation: dropdownFadeIn 0.15s ease-out;
  transform-origin: top right;
  overflow-y: auto;
}
.action-dropdown-menu.open-upward {
  transform-origin: bottom right;
}
@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s ease, color 0.12s ease;
  width: 100%;
  white-space: nowrap;
}
.dropdown-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.dropdown-item.danger {
  color: #dc2626;
}
.dropdown-item.danger:hover {
  background: #fef2f2;
  color: #b91c1c;
}
.dropdown-item.success {
  color: #059669;
}
.dropdown-item.success:hover {
  background: #ecfdf5;
  color: #047857;
}
.supplier-empty-state {
  padding: 3.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.empty-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #eff6ff;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.supplier-empty-state h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #1e293b;
  font-weight: 700;
}
.supplier-empty-state p {
  margin: 0.35rem 0 1.25rem;
  font-size: 0.84rem;
  color: #64748b;
}
.btn-reset-filters {
  padding: 0.5rem 1rem;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.supplier-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  animation: fadeIn 0.18s ease-out;
}
.supplier-drawer-panel {
  width: 440px;
  max-width: 95vw;
  height: 100%;
  background: #ffffff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.drawer-header {
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-supplier-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.drawer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  border: 1.5px solid transparent;
}
.drawer-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}
.drawer-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
}
.status-badge-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
}
.status-badge-chip.active {
  background: #ecfdf5;
  color: #059669;
}
.status-badge-chip.inactive {
  background: #f1f5f9;
  color: #64748b;
}
.gstin-verified-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.08rem 0.4rem;
  border-radius: 4px;
}
.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}
.drawer-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.drawer-body {
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.supplier-digital-card {
  background:
    linear-gradient(
      135deg,
      #1e1b4b 0%,
      #312e81 60%,
      #1e3a8a 100%);
  border-radius: 14px;
  padding: 1.25rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 8px 20px -3px rgba(30, 27, 75, 0.4);
  position: relative;
  overflow: hidden;
}
.supplier-digital-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #93c5fd;
}
.card-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.card-middle-payable {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.card-payable-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #cbd5e1;
}
.card-payable-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: #f87171;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.card-bills-equiv {
  font-size: 0.76rem;
  color: #e2e8f0;
  margin-top: 0.15rem;
}
.card-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.card-holder-info,
.card-phone-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.c-label {
  font-size: 0.6rem;
  color: #94a3b8;
  font-weight: 700;
}
.c-name,
.c-phone {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}
.drawer-alert-card {
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.drawer-alert-card.overdue {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #991b1b;
}
.drawer-alert-card.due-soon {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  color: #92400e;
}
.drawer-alert-card.settled {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #166534;
}
.alert-emoji {
  font-size: 1.15rem;
}
.alert-title {
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 2px;
}
.alert-desc {
  font-size: 0.76rem;
  opacity: 0.9;
  line-height: 1.35;
}
.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.section-heading {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.drawer-info-list {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.drawer-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.95rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.82rem;
}
.drawer-info-item:last-child {
  border-bottom: none;
}
.info-key {
  color: #64748b;
  font-weight: 600;
}
.info-val {
  color: #0f172a;
  font-weight: 600;
}
.purchases-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.history-purchase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.history-purchase-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.pur-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pur-status-dot.received {
  background: #10b981;
}
.pur-status-dot.draft {
  background: #f59e0b;
}
.history-bill-no {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}
.history-bill-date {
  font-size: 0.72rem;
  color: #64748b;
}
.history-purchase-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.pur-total-val {
  font-size: 0.84rem;
  font-weight: 800;
  color: #0f172a;
}
.pur-paid-badge {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
}
.pur-paid-badge.paid {
  background: #ecfdf5;
  color: #059669;
}
.pur-paid-badge.due {
  background: #fee2e2;
  color: #dc2626;
}
.no-purchases-note {
  padding: 0.85rem;
  font-size: 0.8rem;
  color: #94a3b8;
  font-style: italic;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}
.drawer-actions-box {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.5rem;
}
.drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.drawer-btn.primary-pay {
  background:
    linear-gradient(
      135deg,
      #10b981 0%,
      #059669 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.drawer-btn.primary-pay:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.drawer-dual-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.drawer-btn.secondary {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}
.drawer-btn.secondary:hover {
  background: #dbeafe;
}
.drawer-btn.edit-outline {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
}
.drawer-btn.edit-outline:hover {
  background: #e2e8f0;
}

/* client/src/components/promotions/promotions.css */
:root {
  --primary: #5B4CF5;
  --primary-hover: #4A3BE0;
  --primary-grad:
    linear-gradient(
      135deg,
      #6366F1 0%,
      #7C3AED 100%);
  --primary-soft: #EEF0FF;
  --primary-border: #C7C9FB;
  --page-bg: #F7F7FC;
  --card-bg: #FFFFFF;
  --card-border: #ECECF5;
  --text-heading: #0F172A;
  --text-body: #475569;
  --text-muted: #64748B;
  --radius-card: 20px;
  --radius-btn: 12px;
  --shadow-card: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(91,76,245,.06);
  --status-active-bg: #DCFCE7;
  --status-active-text: #15803D;
  --status-active-dot: #22C55E;
  --status-active-border: #BBF7D0;
  --status-scheduled-bg: #FEF3C7;
  --status-scheduled-text: #B45309;
  --status-scheduled-dot: #F59E0B;
  --status-scheduled-border:#FDE68A;
  --status-expired-bg: #FEE2E2;
  --status-expired-text: #B91C1C;
  --status-expired-dot: #EF4444;
  --status-expired-border: #FECACA;
  --status-draft-bg: #F1F5F9;
  --status-draft-text: #475569;
  --status-draft-dot: #94A3B8;
  --status-draft-border: #E2E8F0;
  --tag-chip-bg: #EDE9FE;
  --tag-chip-text: #6D28D9;
  --tag-chip-border: #DDD6FE;
  --promo-font-ui:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  --promo-font-mono: "JetBrains Mono", monospace;
  --promo-bg-page: var(--page-bg);
  --promo-bg-card: var(--card-bg);
  --promo-bg-input: #FFFFFF;
  --promo-bg-strip: #FAFAFE;
  --promo-bg-chip: var(--tag-chip-bg);
  --promo-border: var(--card-border);
  --promo-border-input: var(--card-border);
  --promo-border-divider: var(--card-border);
  --promo-border-dashed: var(--primary-border);
  --promo-radius-card: var(--radius-card);
  --promo-radius-input: var(--radius-btn);
  --promo-radius-btn: var(--radius-btn);
  --promo-text-primary: var(--text-heading);
  --promo-text-secondary: var(--text-body);
  --promo-text-tertiary: var(--text-muted);
  --promo-green: var(--primary);
  --promo-green-hover: var(--primary-hover);
  --promo-green-tint: var(--primary-soft);
  --promo-green-text: #4338CA;
  --promo-amber: #B45309;
  --promo-amber-tint: #FEF3C7;
  --promo-grey-status: #64748B;
  --promo-grey-tint: #F1F5F9;
  --promo-draft-dot: #94A3B8;
  --promo-red-delete: #DC2626;
}
.promo-page-wrapper {
  background-color: var(--page-bg);
  min-height: calc(100vh - 65px);
  padding: 0;
  font-family: var(--promo-font-ui);
  color: var(--promo-text-primary);
  box-sizing: border-box;
}
.promo-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.promo-page-wrapper button:focus-visible,
.promo-page-wrapper input:focus-visible,
.promo-page-wrapper select:focus-visible,
.promo-page-wrapper textarea:focus-visible,
.promo-page-wrapper a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91, 76, 245, 0.15);
  border-color: var(--primary);
  outline-offset: 2px;
}
.promo-btn-base {
  min-height: 44px;
  font-family: var(--promo-font-ui);
  font-size: 14px;
  border-radius: var(--promo-radius-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
  text-decoration: none;
  box-sizing: border-box;
}
.promo-btn-primary {
  min-height: 40px;
  padding: 0.52rem 1.15rem;
  background: var(--primary-grad);
  color: #FFFFFF;
  border: none;
  font-weight: 600;
  border-radius: var(--radius-btn);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.promo-btn-primary:hover:not(:disabled) {
  background-color: var(--promo-green-hover);
  border-color: var(--promo-green-hover);
}
.promo-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.promo-btn-secondary {
  min-height: 40px;
  padding: 0.52rem 1.05rem;
  background-color: #FFFFFF;
  color: var(--text-heading);
  border: 1px solid var(--card-border);
  font-weight: 600;
  border-radius: var(--radius-btn);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.promo-btn-secondary:hover {
  background-color: var(--promo-bg-strip);
  border-color: var(--promo-border-input);
}
.promo-btn-link {
  background: none;
  border: none;
  color: var(--promo-text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  min-height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.promo-btn-link:hover {
  color: var(--promo-text-primary);
  text-decoration: underline;
}
.promo-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.promo-header-titles h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--promo-text-primary);
  margin: 0 0 6px 0;
  line-height: 1.2;
}
.promo-header-titles p {
  font-size: 14.5px;
  color: var(--promo-text-secondary);
  margin: 0;
}
.promo-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.promo-status-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .promo-status-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .promo-status-cards-grid {
    grid-template-columns: 1fr;
  }
}
.promo-status-card {
  background: var(--promo-bg-card);
  border: 1px solid var(--promo-border);
  border-radius: var(--promo-radius-card);
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.promo-status-card:hover {
  border-color: var(--promo-border-input);
}
.promo-status-card.selected {
  border: 2px solid var(--promo-green);
  padding: 17px 19px;
}
.promo-card-dot-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--promo-text-secondary);
  font-weight: 500;
  margin-bottom: 10px;
}
.promo-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.promo-status-dot.active {
  background-color: var(--promo-green);
}
.promo-status-dot.scheduled {
  background-color: var(--promo-amber);
}
.promo-status-dot.expired {
  background-color: var(--promo-grey-status);
}
.promo-status-dot.draft_paused {
  background-color: var(--promo-draft-dot);
}
.promo-card-count {
  font-size: 30px;
  font-weight: 600;
  color: var(--promo-text-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.promo-card-hint {
  font-size: 13px;
  color: var(--promo-text-secondary);
}
.promo-main-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.promo-toolbar {
  padding: 16px 20px;
  border-bottom: 1px solid var(--promo-border-divider);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background-color: #FFFFFF;
}
.promo-search-wrapper {
  position: relative;
  flex: 1;
  min-width: 260px;
}
.promo-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--promo-text-secondary);
  pointer-events: none;
}
.promo-search-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-btn);
  padding: 0 14px 0 42px;
  font-family: var(--promo-font-ui);
  font-size: 14px;
  color: var(--text-heading);
  background-color: #FFFFFF;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.promo-search-input::placeholder {
  color: #8E9199;
}
.promo-dropdown-select {
  height: 44px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-btn);
  padding: 0 32px 0 14px;
  font-family: var(--promo-font-ui);
  font-size: 14px;
  color: var(--text-heading);
  background-color: #FFFFFF;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  box-sizing: border-box;
  min-width: 150px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.promo-rows-list {
  display: flex;
  flex-direction: column;
}
.promo-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--card-border);
  gap: 20px;
  transition: background-color 0.15s ease;
}
.promo-row-item:last-child {
  border-bottom: none;
}
.promo-row-item:hover {
  background-color: #FAF9FE;
}
@media (max-width: 900px) {
  .promo-row-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
.promo-row-info-col {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1.4;
  min-width: 260px;
}
.promo-row-icon-tile {
  width: 48px;
  height: 48px;
  background-color: var(--primary-soft);
  border: 1px solid var(--primary-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.promo-row-text-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.promo-row-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.promo-row-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--promo-text-primary);
}
.promo-type-chip {
  font-family: var(--promo-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--tag-chip-text);
  background-color: var(--tag-chip-bg);
  border: 1px solid var(--tag-chip-border);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.promo-row-subtitle {
  font-size: 13.5px;
  color: var(--promo-text-secondary);
}
.promo-row-col-offer {
  flex: 1;
  min-width: 140px;
}
.promo-col-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.promo-offer-rule {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--promo-text-primary);
}
.promo-row-col-runs {
  flex: 1.2;
  min-width: 160px;
}
.promo-runs-dates {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--promo-text-primary);
}
.promo-runs-bar-track {
  width: 100%;
  max-width: 150px;
  height: 6px;
  background-color: #E5E7F0;
  border-radius: 999px;
  overflow: hidden;
  margin: 6px 0 4px;
}
.promo-runs-bar-fill {
  height: 100%;
  background: var(--primary-grad);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.promo-runs-day-count {
  font-size: 12px;
  color: var(--promo-text-secondary);
}
.promo-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
}
.promo-status-dot-inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.promo-status-pill.active {
  background-color: var(--status-active-bg);
  color: var(--status-active-text);
  border-color: var(--status-active-border);
}
.promo-status-pill.active .promo-status-dot-inner {
  background-color: var(--status-active-dot);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
}
.promo-status-pill.scheduled {
  background-color: var(--status-scheduled-bg);
  color: var(--status-scheduled-text);
  border-color: var(--status-scheduled-border);
}
.promo-status-pill.scheduled .promo-status-dot-inner {
  background-color: var(--status-scheduled-dot);
}
.promo-status-pill.expired {
  background-color: var(--status-expired-bg);
  color: var(--status-expired-text);
  border-color: var(--status-expired-border);
}
.promo-status-pill.expired .promo-status-dot-inner {
  background-color: var(--status-expired-dot);
}
.promo-status-pill.draft,
.promo-status-pill.paused,
.promo-status-pill.draft_paused {
  background-color: var(--status-draft-bg);
  color: var(--status-draft-text);
  border-color: var(--status-draft-border);
}
.promo-status-pill.draft .promo-status-dot-inner,
.promo-status-pill.paused .promo-status-dot-inner,
.promo-status-pill.draft_paused .promo-status-dot-inner {
  background-color: var(--status-draft-dot);
}
.promo-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.promo-btn-edit-outline {
  min-height: 36px;
  padding: 0 16px;
  background-color: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  transition: all 0.15s ease;
}
.promo-btn-edit-outline:hover {
  background-color: var(--primary-soft);
  border-color: var(--primary-border);
  color: var(--primary);
}
.promo-icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.promo-icon-btn:hover {
  background-color: var(--primary-soft);
  color: var(--primary);
}
.promo-icon-btn.delete {
  color: var(--promo-red-delete);
}
.promo-icon-btn.delete {
  color: #DC2626;
}
.promo-icon-btn.delete:hover {
  background-color: #FEE2E2;
  color: #B91C1C;
}
.promo-empty-state {
  padding: 64px 24px;
  text-align: center;
}
.promo-empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--promo-text-primary);
  margin: 0 0 8px 0;
}
.promo-empty-state p {
  font-size: 14px;
  color: var(--promo-text-secondary);
  margin: 0;
}
.promo-footer-strip {
  background-color: #FAFAFE;
  border-top: 1px solid var(--card-border);
  padding: 14px 24px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.promo-back-row {
  margin-bottom: 16px;
}
.promo-back-btn {
  background: none;
  border: none;
  font-family: var(--promo-font-ui);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--promo-text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  min-height: 44px;
}
.promo-back-btn:hover {
  color: var(--promo-text-primary);
}
.promo-new-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 960px) {
  .promo-new-layout {
    grid-template-columns: 1fr;
  }
}
.promo-section-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 20px;
}
.promo-section-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.promo-number-badge {
  width: 28px;
  height: 28px;
  background-color: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 700;
  flex-shrink: 0;
}
.promo-section-card-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--promo-text-primary);
  margin: 0;
}
.promo-tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 600px) {
  .promo-tiles-grid {
    grid-template-columns: 1fr;
  }
}
.promo-offer-tile {
  background: #FFFFFF;
  border: 1px solid var(--promo-border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  min-height: 44px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}
.promo-offer-tile:hover {
  border-color: var(--promo-border-input);
}
.promo-offer-tile.selected {
  border: 2px solid var(--primary);
  background-color: var(--primary-soft);
  padding: 15px;
  box-shadow: 0 0 0 2px rgba(91, 76, 245, 0.12);
}
.promo-tile-icon-box {
  width: 38px;
  height: 38px;
  background-color: var(--promo-bg-chip);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--promo-text-secondary);
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.promo-offer-tile.selected .promo-tile-icon-box {
  background-color: var(--promo-green);
  color: #FFFFFF;
}
.promo-tile-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.promo-tile-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--promo-text-primary);
}
.promo-tile-desc {
  font-size: 12.5px;
  color: var(--promo-text-secondary);
}
.promo-rule-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.promo-rule-box {
  background-color: var(--promo-bg-strip);
  border: 1px solid var(--promo-border-divider);
  border-radius: 12px;
  padding: 16px;
}
.promo-rule-box-header {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--promo-text-secondary);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.promo-rule-stepper-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.promo-stepper {
  display: inline-flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid var(--promo-border-input);
  border-radius: var(--promo-radius-input);
  overflow: hidden;
  height: 44px;
}
.promo-stepper-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--promo-text-primary);
  cursor: pointer;
  transition: background-color 0.1s ease;
}
.promo-stepper-btn:hover:not(:disabled) {
  background-color: var(--promo-bg-strip);
}
.promo-stepper-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.promo-stepper-val {
  min-width: 48px;
  text-align: center;
  font-family: var(--promo-font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--promo-text-primary);
  padding: 0 6px;
}
.promo-rule-label-connector {
  font-size: 14.5px;
  color: var(--promo-text-secondary);
  font-weight: 500;
}
.promo-product-card {
  background-color: #FFFFFF;
  border: 1px solid var(--promo-border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  min-width: 240px;
}
.promo-product-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.promo-product-icon {
  width: 36px;
  height: 36px;
  background-color: var(--promo-bg-chip);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--promo-text-secondary);
  flex-shrink: 0;
}
.promo-product-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.promo-product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--promo-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-product-mono {
  font-family: var(--promo-font-mono);
  font-size: 12px;
  color: var(--promo-text-secondary);
}
.promo-product-change-btn {
  background: none;
  border: none;
  color: var(--promo-green);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.promo-product-change-btn:hover {
  text-decoration: underline;
}
.promo-dashed-choose-btn {
  background-color: #FFFFFF;
  border: 1px dashed var(--promo-border-dashed);
  border-radius: 10px;
  padding: 14px;
  color: var(--promo-green);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
}
.promo-dashed-choose-btn:hover {
  border-color: var(--promo-green);
  background-color: var(--promo-green-tint);
}
.promo-bogo-arrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--promo-text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  margin: -4px 0;
}
.promo-live-summary-box {
  background-color: var(--primary-soft);
  border: 1px solid var(--primary-border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #4338CA;
  font-size: 13.5px;
  line-height: 1.5;
}
.promo-live-summary-icon {
  margin-top: 2px;
  flex-shrink: 0;
}
.promo-form-group {
  margin-bottom: 16px;
}
.promo-form-group:last-child {
  margin-bottom: 0;
}
.promo-form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--promo-text-primary);
  margin-bottom: 6px;
}
.promo-text-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--promo-border-input);
  border-radius: var(--promo-radius-input);
  padding: 0 14px;
  font-family: var(--promo-font-ui);
  font-size: 14px;
  color: var(--promo-text-primary);
  background-color: var(--promo-bg-input);
  box-sizing: border-box;
}
.promo-textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid var(--promo-border-input);
  border-radius: var(--promo-radius-input);
  padding: 10px 14px;
  font-family: var(--promo-font-ui);
  font-size: 14px;
  color: var(--promo-text-primary);
  background-color: var(--promo-bg-input);
  box-sizing: border-box;
  resize: vertical;
}
.promo-input-helper {
  font-size: 12.5px;
  color: var(--promo-text-secondary);
  margin-top: 5px;
}
.promo-dates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}
@media (max-width: 500px) {
  .promo-dates-grid {
    grid-template-columns: 1fr;
  }
}
.promo-date-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--promo-border-input);
  border-radius: var(--promo-radius-input);
  padding: 0 14px;
  font-family: var(--promo-font-ui);
  font-size: 14px;
  color: var(--promo-text-primary);
  background-color: var(--promo-bg-input);
  box-sizing: border-box;
}
.promo-divider-line {
  height: 1px;
  background-color: var(--promo-border-divider);
  margin: 20px 0;
}
.promo-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--promo-text-primary);
  cursor: pointer;
  min-height: 44px;
  user-select: none;
}
.promo-checkbox-input {
  width: 18px;
  height: 18px;
  accent-color: var(--promo-green);
  cursor: pointer;
}
.promo-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 24px;
}
.promo-sidebar-card {
  background: var(--promo-bg-card);
  border: 1px solid var(--promo-border);
  border-radius: var(--promo-radius-card);
  padding: 20px;
}
.promo-sidebar-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--promo-text-primary);
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.promo-receipt-box {
  background-color: var(--promo-bg-strip);
  border: 1px solid var(--promo-border-divider);
  border-radius: 12px;
  padding: 16px;
  font-family: var(--promo-font-mono);
  font-size: 12.5px;
  color: var(--promo-text-primary);
  line-height: 1.6;
}
.promo-receipt-store-name {
  text-align: center;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--promo-text-secondary);
}
.promo-receipt-dashed-line {
  border-top: 1px dashed var(--promo-border-dashed);
  margin: 10px 0;
}
.promo-receipt-item-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--promo-font-mono);
}
.promo-receipt-row.offer-line {
  color: var(--promo-green);
  font-weight: 600;
}
.promo-receipt-row.total-line {
  font-weight: 700;
  font-size: 13.5px;
}
.promo-savings-banner {
  background-color: var(--promo-green);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
}
.promo-checklist-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.promo-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.promo-check-icon {
  margin-top: 2px;
  flex-shrink: 0;
}
.promo-check-icon.complete {
  color: var(--promo-green);
}
.promo-check-icon.incomplete {
  color: var(--promo-grey-status);
}
.promo-check-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.promo-check-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--promo-text-primary);
}
.promo-check-subtitle {
  font-size: 12px;
  color: var(--promo-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.promo-sidebar-actions .promo-btn-primary,
.promo-sidebar-actions .promo-btn-secondary {
  width: 100%;
}
.promo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.promo-modal-card {
  background: #FFFFFF;
  border: 1px solid var(--promo-border);
  border-radius: 16px;
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 35px -8px rgba(23, 24, 28, 0.12);
  overflow: hidden;
  box-sizing: border-box;
}
.promo-modal-header {
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--promo-border-divider);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #FFFFFF;
}
.promo-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--promo-text-primary);
  margin: 0;
  line-height: 1.3;
}
.promo-modal-subtitle {
  font-size: 13px;
  color: var(--promo-text-secondary);
  margin: 4px 0 0 0;
}
.promo-modal-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--promo-text-secondary);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.promo-modal-close:hover {
  color: var(--promo-text-primary);
  background-color: var(--promo-bg-chip);
}
.promo-modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--promo-border-divider);
  background-color: var(--promo-bg-strip);
}
.promo-modal-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--promo-text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}
.promo-modal-tab.active {
  color: var(--promo-green);
  border-bottom-color: var(--promo-green);
  background-color: #FFFFFF;
}
.promo-modal-filters-section {
  padding: 16px 24px 0;
  background-color: #FFFFFF;
}
.promo-modal-search-row {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.promo-modal-search-row .promo-search-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.promo-modal-search-row .promo-search-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--promo-text-secondary);
  pointer-events: none;
}
.promo-modal-search-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--promo-border-input);
  border-radius: var(--promo-radius-input);
  padding: 0 44px 0 42px;
  font-family: var(--promo-font-ui);
  font-size: 14px;
  color: var(--promo-text-primary);
  background-color: var(--promo-bg-input);
  box-sizing: border-box;
}
.promo-search-clear {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--promo-text-secondary);
  cursor: pointer;
  padding: 0;
}
.promo-modal-barcode-icon {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--promo-text-secondary);
  background-color: var(--promo-bg-chip);
  border-radius: 6px;
  padding: 5px;
}
.promo-modal-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: thin;
}
.promo-filter-chip {
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid var(--promo-border-input);
  background-color: var(--promo-bg-chip);
  color: var(--promo-text-primary);
  transition: all 0.12s ease;
}
.promo-filter-chip:hover {
  background-color: #E6E4F0;
}
.promo-filter-chip.active {
  background-color: #17181C;
  border-color: #17181C;
  color: #FFFFFF;
}
.promo-modal-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--promo-border-divider);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--promo-text-secondary);
}
.promo-selection-bar {
  padding: 8px 24px;
  background-color: var(--promo-bg-strip);
  border-bottom: 1px solid var(--promo-border-divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--promo-text-secondary);
}
.promo-modal-body {
  padding: 12px 24px;
  overflow-y: auto;
  flex: 1;
  background-color: #FFFFFF;
}
.promo-empty-list {
  padding: 32px 16px;
  text-align: center;
  color: var(--promo-text-secondary);
  font-size: 14px;
}
.promo-item-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.promo-item-card {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--promo-border-divider);
  border-radius: 12px;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease;
  gap: 12px;
  box-sizing: border-box;
}
.promo-item-card:hover {
  background-color: var(--promo-bg-strip);
}
.promo-item-card.selected {
  border: 1.5px solid var(--promo-green);
  background-color: #FFFFFF;
}
.promo-item-radio {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.promo-item-icon-tile {
  width: 36px;
  height: 36px;
  background-color: var(--promo-bg-chip);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--promo-text-secondary);
  flex-shrink: 0;
}
.promo-item-info {
  flex: 1;
  min-width: 0;
}
.promo-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--promo-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  font-size: 12px;
  color: var(--promo-text-secondary);
}
.promo-item-barcode {
  font-family: var(--promo-font-mono);
}
.promo-item-tag {
  background-color: var(--promo-bg-chip);
  color: var(--promo-text-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.promo-item-price {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--promo-text-primary);
  font-family: var(--promo-font-mono);
  flex-shrink: 0;
}
.promo-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.promo-category-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--promo-border-divider);
  border-radius: 8px;
  cursor: pointer;
  background: #FFFFFF;
  transition: all 0.12s ease;
}
.promo-category-card.selected {
  background: var(--promo-green-tint);
  border-color: var(--promo-green);
  color: var(--promo-green-text);
  font-weight: 600;
}
.promo-modal-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--promo-border-divider);
  background-color: var(--promo-bg-strip);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.promo-footer-stats {
  font-size: 13.5px;
  color: var(--promo-text-primary);
}
.promo-footer-stats strong {
  font-weight: 600;
}
.promo-reports-modal-card {
  background: #FFFFFF;
  border: 1px solid var(--promo-border);
  border-radius: 16px;
  width: 100%;
  max-width: 880px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 35px -8px rgba(23, 24, 28, 0.12);
  overflow: hidden;
  box-sizing: border-box;
}
.promo-reports-filters {
  padding: 12px 24px;
  background-color: var(--promo-bg-strip);
  border-bottom: 1px solid var(--promo-border-divider);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.promo-pills-group {
  display: flex;
  gap: 6px;
}
.promo-filter-pill {
  padding: 6px 12px;
  border: 1px solid var(--promo-border-input);
  background: #FFFFFF;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--promo-text-secondary);
  cursor: pointer;
}
.promo-filter-pill.active {
  background: var(--promo-green);
  color: #FFFFFF;
  border-color: var(--promo-green);
}
.promo-date-input-sm,
.promo-select-sm {
  padding: 6px 10px;
  border: 1px solid var(--promo-border-input);
  border-radius: 6px;
  font-size: 13px;
  background: var(--promo-bg-input);
  color: var(--promo-text-primary);
  outline: none;
}
.promo-reports-content {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}
.promo-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 800px) {
  .promo-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.promo-kpi-card {
  background: var(--promo-bg-strip);
  border: 1px solid var(--promo-border-divider);
  border-radius: 12px;
  padding: 14px;
}
.promo-kpi-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--promo-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.promo-kpi-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--promo-text-primary);
  margin: 4px 0;
}
.promo-kpi-hint {
  font-size: 12px;
  color: var(--promo-text-secondary);
}
.promo-reports-sections-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .promo-reports-sections-grid {
    grid-template-columns: 1fr;
  }
}
.promo-card-panel {
  background: #FFFFFF;
  border: 1px solid var(--promo-border);
  border-radius: 12px;
  padding: 16px;
}
.promo-section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--promo-text-primary);
  margin: 0 0 12px 0;
}
.promo-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.promo-data-table th {
  padding: 8px 12px;
  background: var(--promo-bg-strip);
  border-bottom: 1px solid var(--promo-border-divider);
  color: var(--promo-text-secondary);
  font-weight: 600;
  text-align: left;
}
.promo-data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--promo-border-divider);
}
.pos-promo-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: var(--promo-green-tint);
  border: 1px solid var(--primary-border);
  color: var(--promo-green-text);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}
.pos-promo-summary-panel {
  background: var(--promo-green-tint);
  border: 1px solid var(--primary-border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.pos-promo-summary-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--promo-green-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pos-promo-summary-list {
  margin-top: 6px;
  font-size: 12px;
  color: var(--promo-green-text);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pos-promo-nudge-banner {
  background: #FEFCE8;
  border: 1px dashed #FACC15;
  color: #854D0E;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pos-free-item-badge {
  background: var(--promo-green);
  color: #FFFFFF;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.cat-bento-kpi-card.bento-cat-kpi-active-promo:hover {
  border-color: rgba(167, 243, 208, 0.95);
  box-shadow:
    0 3px 8px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(15, 23, 42, 0.08),
    0 28px 48px -8px rgba(16, 185, 129, 0.18),
    inset 0 1px 0 0 #ffffff;
}
.cat-bento-kpi-card.bento-cat-kpi-sched-promo:hover {
  border-color: rgba(253, 230, 138, 0.95);
  box-shadow:
    0 3px 8px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(15, 23, 42, 0.08),
    0 28px 48px -8px rgba(245, 158, 11, 0.18),
    inset 0 1px 0 0 #ffffff;
}
.cat-bento-kpi-card.bento-cat-kpi-exp-promo:hover {
  border-color: rgba(254, 202, 202, 0.95);
  box-shadow:
    0 3px 8px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(15, 23, 42, 0.08),
    0 28px 48px -8px rgba(239, 68, 68, 0.18),
    inset 0 1px 0 0 #ffffff;
}
.cat-bento-kpi-card.bento-cat-kpi-draft-promo:hover {
  border-color: rgba(203, 213, 225, 0.95);
  box-shadow:
    0 3px 8px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(15, 23, 42, 0.08),
    0 28px 48px -8px rgba(100, 116, 139, 0.18),
    inset 0 1px 0 0 #ffffff;
}
.cat-bento-kpi-card.active-filter {
  border: 2px solid var(--primary) !important;
  box-shadow:
    0 0 0 2.5px rgba(91, 76, 245, 0.15),
    0 4px 12px 0 rgba(15, 23, 42, 0.04),
    0 16px 30px -4px rgba(91, 76, 245, 0.18),
    inset 0 1.5px 0 0 #ffffff !important;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #faf8ff 50%,
      var(--primary-soft) 100%) !important;
}

/* client/src/components/shifts/dayClosing.css */
.day-closing-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem;
  box-sizing: border-box;
  font-family: inherit;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.day-closing-header-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.day-closing-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.day-closing-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2ff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.day-closing-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.day-closing-subtitle {
  margin: 0.25rem 0 0 0;
  font-size: 0.825rem;
  color: #64748b;
  font-weight: 500;
}
.day-closing-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.day-closing-tabs-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f1f5f9;
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  width: fit-content;
}
.day-closing-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: 9px;
  font-size: 0.825rem;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.day-closing-tab-btn:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.6);
}
.day-closing-tab-btn.active {
  background: #ffffff;
  color: #4f46e5;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.day-closing-filter-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.day-closing-filter-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.day-closing-filter-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: #475569;
}
.day-closing-select,
.day-closing-input {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 0.45rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.day-closing-select:focus,
.day-closing-input:focus {
  border-color: #6366f1;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.day-closing-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.day-closing-refresh-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.day-closing-status-banner {
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.day-closing-status-banner.open {
  background:
    linear-gradient(
      135deg,
      #f0fdf4 0%,
      #dcfce7 100%);
  border: 1px solid #bbf7d0;
  color: #166534;
}
.day-closing-status-banner.submitted {
  background:
    linear-gradient(
      135deg,
      #fffbeb 0%,
      #fef3c7 100%);
  border: 1px solid #fde68a;
  color: #92400e;
}
.day-closing-status-banner.approved,
.day-closing-status-banner.closed {
  background:
    linear-gradient(
      135deg,
      #eef2ff 0%,
      #e0e7ff 100%);
  border: 1px solid #c7d2fe;
  color: #3730a3;
}
.day-closing-status-banner.reopened {
  background:
    linear-gradient(
      135deg,
      #fff1f2 0%,
      #ffe4e6 100%);
  border: 1px solid #fecdd3;
  color: #9f1239;
}
.status-banner-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.status-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.status-banner-icon.open {
  background: #bbf7d0;
  color: #15803d;
}
.status-banner-icon.submitted {
  background: #fef08a;
  color: #854d0e;
}
.status-banner-icon.approved {
  background: #c7d2fe;
  color: #4338ca;
}
.status-banner-icon.reopened {
  background: #fecdd3;
  color: #be123c;
}
.status-banner-title {
  font-size: 0.95rem;
  font-weight: 800;
}
.status-banner-desc {
  font-size: 0.8rem;
  margin-top: 0.15rem;
  opacity: 0.9;
}
.status-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-approve {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  background: #16a34a;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.825rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}
.btn-approve:hover {
  background: #15803d;
}
.btn-reopen {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  background: #ea580c;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.825rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);
}
.btn-reopen:hover {
  background: #c2410c;
}
.btn-reject {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  background: #dc2626;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.825rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}
.btn-reject:hover {
  background: #b91c1c;
}
.btn-print {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  background: #4f46e5;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.825rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}
.btn-print:hover {
  background: #4338ca;
}
.financial-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
@media (max-width: 1200px) {
  .financial-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .financial-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.fin-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}
.fin-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.fin-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fin-kpi-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.fin-kpi-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fin-kpi-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.45rem 0 0.15rem 0;
  letter-spacing: -0.02em;
}
.fin-kpi-sub {
  font-size: 0.725rem;
  color: #94a3b8;
  font-weight: 600;
}
.fin-kpi-card.blue .fin-kpi-icon {
  background: #eff6ff;
  color: #2563eb;
}
.fin-kpi-card.rose .fin-kpi-icon {
  background: #fff1f2;
  color: #e11d48;
}
.fin-kpi-card.green .fin-kpi-icon {
  background: #f0fdf4;
  color: #16a34a;
}
.fin-kpi-card.purple .fin-kpi-icon {
  background: #faf5ff;
  color: #9333ea;
}
.fin-kpi-card.amber .fin-kpi-icon {
  background: #fffbeb;
  color: #d97706;
}
.fin-kpi-card.emerald .fin-kpi-icon {
  background: #ecfdf5;
  color: #059669;
}
.fin-kpi-card.highlight {
  border-color: #818cf8;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f5f3ff 100%);
}
.fin-kpi-card.highlight .fin-kpi-val {
  color: #4338ca;
}
.quick-kpi-strip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #64748b;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}
.quick-kpi-strip strong {
  color: #0f172a;
  font-weight: 800;
}
.day-closing-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  width: 100%;
}
.bento-col-7 {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.bento-col-5 {
  grid-column: span 5;
}
@media (max-width: 1024px) {
  .bento-col-7,
  .bento-col-5 {
    grid-column: span 12;
  }
}
.day-closing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.day-closing-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.day-closing-card-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}
.day-closing-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
}
.day-closing-card-badge.emerald {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #d1fae5;
}
.day-closing-card-badge.rose {
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #ffe4e6;
}
.tender-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
@media (max-width: 768px) {
  .tender-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.tender-kpi-card {
  border-radius: 12px;
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
}
.tender-kpi-card.cash {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.tender-kpi-card.upi {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.tender-kpi-card.card {
  background: #eef2ff;
  border-color: #c7d2fe;
}
.tender-kpi-card.credit {
  background: #faf5ff;
  border-color: #e9d5ff;
}
.tender-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.tender-kpi-card.cash .tender-header {
  color: #15803d;
}
.tender-kpi-card.upi .tender-header {
  color: #1d4ed8;
}
.tender-kpi-card.card .tender-header {
  color: #4338ca;
}
.tender-kpi-card.credit .tender-header {
  color: #7e22ce;
}
.tender-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}
.detail-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  font-size: 0.825rem;
  border-bottom: 1px solid #f8fafc;
  gap: 0.75rem;
}
.detail-list-row:last-of-type {
  border-bottom: none;
}
.detail-list-label {
  color: #64748b;
  font-weight: 600;
}
.detail-list-val {
  font-weight: 700;
  color: #0f172a;
}
.detail-list-val.rose {
  color: #e11d48;
}
.detail-list-val.indigo {
  color: #4338ca;
}
.detail-list-val.purple {
  color: #7e22ce;
}
.detail-notice-box {
  margin-top: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.775rem;
  color: #475569;
  line-height: 1.45;
}
.cash-rec-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cash-rec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed #f1f5f9;
}
.cash-rec-row:last-of-type {
  border-bottom: none;
}
.cash-rec-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #64748b;
  font-weight: 600;
}
.cash-rec-val {
  font-weight: 700;
  color: #0f172a;
}
.cash-rec-val.plus {
  color: #15803d;
}
.cash-rec-val.minus {
  color: #b91c1c;
}
.cash-rec-expected-box {
  background:
    linear-gradient(
      135deg,
      #eef2ff 0%,
      #e0e7ff 100%);
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.35rem 0;
}
.cash-rec-expected-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #3730a3;
}
.cash-rec-expected-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #312e81;
}
.cash-rec-input-group {
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.cash-rec-input-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}
.cash-rec-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.cash-rec-input-prefix {
  position: absolute;
  left: 0.85rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #94a3b8;
  pointer-events: none;
}
.cash-rec-input {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 2rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.cash-rec-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.cash-rec-diff-pill {
  padding: 0.65rem 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  font-weight: 700;
}
.cash-rec-diff-pill.balanced {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}
.cash-rec-diff-pill.surplus {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}
.cash-rec-diff-pill.deficit {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.cash-rec-remarks-input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.8rem;
  color: #1e293b;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}
.cash-rec-remarks-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.cash-rec-submit-btn {
  width: 100%;
  padding: 0.85rem;
  background: #4f46e5;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
  transition: all 0.2s ease;
  margin-top: 0.35rem;
}
.cash-rec-submit-btn:hover {
  background: #4338ca;
  transform: translateY(-1px);
}
.cash-rec-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.growth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.growth-badge.positive {
  background: #ecfdf5;
  color: #059669;
}
.growth-badge.negative {
  background: #fff1f2;
  color: #e11d48;
}
.growth-badge.neutral {
  background: #f1f5f9;
  color: #64748b;
}
.data-table-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.analytics-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.825rem;
  text-align: left;
}
.analytics-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.analytics-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  white-space: nowrap;
}
.analytics-table tr:hover td {
  background: #f8fafc;
}
.day-closing-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.day-closing-modal-content {
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  box-sizing: border-box;
}
.day-closing-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}
.day-closing-modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}
.day-closing-alert {
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.day-closing-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.day-closing-alert.warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.day-closing-alert.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}
.btn-export {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.825rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}
.btn-export:hover {
  background: #1e293b;
}
.preset-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.preset-pill-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.775rem;
  font-weight: 700;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.preset-pill-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.preset-pill-btn.active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
}
.smart-audit-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}
.smart-audit-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.smart-audit-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.smart-audit-status-badge.ready_to_submit {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}
.smart-audit-status-badge.ready_with_warnings {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
}
.smart-audit-status-badge.action_required {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.smart-audit-pills-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.smart-audit-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.775rem;
  font-weight: 700;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
}
.smart-audit-counter-pill.critical {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
.smart-audit-counter-pill.warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}
.smart-audit-counter-pill.info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}
.smart-audit-counter-pill.score {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}
.smart-audit-bar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.smart-audit-run-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.smart-audit-run-btn:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}
.smart-audit-run-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.smart-audit-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9px;
  background: #4f46e5;
  color: #ffffff;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.25);
}
.smart-audit-toggle-btn:hover {
  background: #4338ca;
}
.smart-audit-toggle-btn.expanded {
  background: #1e293b;
  box-shadow: none;
}
.smart-audit-refresh-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.smart-audit-refresh-icon-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.smart-audit-panel {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: fadeInDown 0.25s ease-out;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.smart-audit-panel-header,
.smart-audit-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1rem;
}
.smart-audit-header-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.smart-audit-header-title h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.smart-audit-header-title p {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}
.smart-audit-panel-title-area {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.smart-audit-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef2ff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.smart-audit-panel-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.smart-audit-panel-desc {
  margin: 0.2rem 0 0 0;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}
.smart-audit-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #f8fafc;
  padding: 0.25rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.smart-audit-filter-btn,
.smart-audit-filter-tab {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.775rem;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.smart-audit-filter-btn:hover,
.smart-audit-filter-tab:hover {
  color: #0f172a;
  background: #f1f5f9;
}
.smart-audit-filter-btn.active,
.smart-audit-filter-tab.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.smart-audit-clean-state {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}
.smart-audit-clean-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.smart-audit-clean-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #166534;
  margin: 0;
}
.smart-audit-clean-desc {
  font-size: 0.825rem;
  color: #15803d;
  margin: 0.25rem 0 0 0;
  line-height: 1.4;
}
.smart-audit-issues-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.smart-audit-issue-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.smart-audit-issue-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
.smart-audit-issue-card.critical {
  border-left: 4px solid #ef4444;
}
.smart-audit-issue-card.warning {
  border-left: 4px solid #f59e0b;
}
.smart-audit-issue-card.info {
  border-left: 4px solid #3b82f6;
}
.smart-audit-issue-card.reviewed {
  opacity: 0.75;
  background: #f8fafc;
}
.smart-audit-issue-row,
.smart-audit-issue-header {
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
}
.smart-audit-issue-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}
.smart-audit-severity-tag {
  font-size: 0.675rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.smart-audit-severity-tag.critical {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.smart-audit-severity-tag.warning {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}
.smart-audit-severity-tag.info {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.smart-audit-issue-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  flex: 1;
}
.smart-audit-issue-title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.smart-audit-issue-title {
  margin: 0;
  font-size: 0.925rem;
  font-weight: 800;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.smart-audit-issue-title-text {
  font-size: 0.925rem;
  font-weight: 800;
  color: #0f172a;
}
.smart-audit-detector-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
}
.smart-audit-issue-summary,
.smart-audit-issue-desc {
  margin: 0.15rem 0 0 0;
  font-size: 0.815rem;
  color: #475569;
  line-height: 1.4;
}
.smart-audit-context-tags {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}
.smart-audit-context-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.smart-audit-context-tag.detector-name {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #4338ca;
  font-weight: 700;
}
.smart-audit-issue-meta,
.smart-audit-issue-metrics {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.smart-audit-amount-badge,
.smart-audit-metric-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  background: #f8fafc;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.smart-audit-amount-label,
.smart-audit-metric-label {
  font-size: 0.675rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.smart-audit-amount-value,
.smart-audit-metric-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
}
.smart-audit-reviewed-badge {
  font-size: 0.725rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #a7f3d0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.smart-audit-chevron {
  color: #94a3b8;
  transition: transform 0.2s ease;
}
.smart-audit-chevron.open {
  transform: rotate(180deg);
}
.smart-audit-issue-expanded {
  padding: 1.15rem 1.25rem;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.825rem;
  animation: fadeInDown 0.2s ease-out;
}
.smart-audit-detail-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.85rem 1rem;
}
.smart-audit-detail-title {
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.45rem;
  letter-spacing: 0.03em;
}
.smart-audit-formula-box {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: 0.775rem;
  background: #f1f5f9;
  color: #0f172a;
  padding: 0.5rem 0.75rem;
  border-radius: 7px;
  border-left: 3px solid #6366f1;
  line-height: 1.4;
  word-break: break-all;
}
.smart-audit-action-callout {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 9px;
  padding: 0.65rem 0.85rem;
  color: #92400e;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.smart-audit-supporting-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.775rem;
}
.smart-audit-supporting-table th {
  background: #f8fafc;
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-weight: 700;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}
.smart-audit-supporting-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}
.smart-audit-expanded-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  padding-top: 0.45rem;
}
.smart-audit-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.775rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  transition: all 0.15s ease;
}
.smart-audit-review-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}
.smart-audit-review-btn.active {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}
.smart-audit-detectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}
.smart-audit-detector-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all 0.15s ease;
}
.smart-audit-detector-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
.smart-audit-detector-card.passed {
  border-left: 4px solid #10b981;
}
.smart-audit-detector-card.failed {
  border-left: 4px solid #ef4444;
}
.smart-audit-detector-card.warning {
  border-left: 4px solid #f59e0b;
}
.smart-audit-detector-card.info {
  border-left: 4px solid #3b82f6;
}
.smart-audit-detector-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.smart-audit-detector-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: #0f172a;
}
.smart-audit-detector-badge {
  font-size: 0.675rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.smart-audit-detector-badge.passed {
  background: #ecfdf5;
  color: #059669;
}
.smart-audit-detector-badge.failed {
  background: #fef2f2;
  color: #dc2626;
}
.smart-audit-detector-badge.warning {
  background: #fffbeb;
  color: #d97706;
}
.smart-audit-detector-badge.info {
  background: #eff6ff;
  color: #2563eb;
}
.smart-audit-detector-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.04em;
}
.smart-audit-detector-desc {
  font-size: 0.785rem;
  color: #475569;
  line-height: 1.4;
  margin: 0;
}
.fin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (max-width: 1200px) {
  .fin-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .fin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.btn-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-nav-back:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #94a3b8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.btn-reconcile-nav {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4f46e5;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.btn-reconcile-nav:hover {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(79, 70, 229, 0.25);
}
.btn-reconcile-nav-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.btn-reconcile-nav-all:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* client/src/components/CustomerDisplay.css */
.cfd-root,
.cfd-root * {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif !important;
  box-sizing: border-box;
}
.cfd-root {
  min-height: 100vh;
  width: 100vw;
  background: #f8fafc;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cfd-num {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1, "cv05" 1 !important;
  letter-spacing: -0.01em;
}
.cfd-header {
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.cfd-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.cfd-store-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
  flex-shrink: 0;
}
.cfd-store-info {
  display: flex;
  flex-direction: column;
}
.cfd-store-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.cfd-store-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 1px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cfd-gst-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}
.cfd-header-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.cfd-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}
.cfd-sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: cfdPulse 2s infinite ease-in-out;
}
@keyframes cfdPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.85);
    opacity: 0.5;
  }
}
.cfd-time-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.cfd-fullscreen-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cfd-fullscreen-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
.cfd-content-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  max-width: 1700px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 1050px) {
  .cfd-content-grid {
    grid-template-columns: 1fr;
    padding: 0.85rem;
    gap: 1rem;
  }
}
.cfd-cart-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  height: calc(100vh - 105px);
}
@media (max-width: 1050px) {
  .cfd-cart-card {
    height: auto;
    min-height: 480px;
  }
}
.cfd-card-header {
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}
.cfd-card-title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.cfd-card-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eef2ff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cfd-card-heading {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.cfd-card-subheading {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 1px;
}
.cfd-state-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
}
.cfd-state-badge.billing {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.cfd-state-badge.payment {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.cfd-state-badge.completed {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.cfd-cat-strip {
  padding: 0.55rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  white-space: nowrap;
}
.cfd-cat-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.cfd-cat-chips {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cfd-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}
.cfd-cat-icon-wrap {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6366f1;
  flex-shrink: 0;
}
.cfd-cat-name {
  font-weight: 600;
  color: #1e293b;
}
.cfd-cat-count {
  font-size: 0.7rem;
  color: #64748b;
}
.cfd-cat-total {
  font-size: 0.74rem;
  font-weight: 700;
  color: #4f46e5;
  background: #f5f3ff;
  padding: 1px 6px;
  border-radius: 4px;
}
.cfd-table-container {
  flex: 1;
  overflow-y: auto;
}
.cfd-item-table {
  width: 100%;
  border-collapse: collapse;
}
.cfd-item-table th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  padding: 0.75rem 1.15rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #e2e8f0;
  z-index: 10;
}
.cfd-item-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.cfd-item-table tbody tr:hover {
  background: #fafafa;
}
.cfd-item-table tbody tr.new-item-pulse {
  animation: cfdRowFade 1.6s ease-out;
}
@keyframes cfdRowFade {
  0% {
    background: #ede9fe;
  }
  100% {
    background: transparent;
  }
}
.cfd-item-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
}
.cfd-item-tags {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.3rem;
}
.cfd-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 5px;
}
.cfd-tag-badge svg {
  width: 12px;
  height: 12px;
  color: #6366f1;
  flex-shrink: 0;
}
.cfd-tag-savings {
  display: inline-flex;
  align-items: center;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 5px;
}
.cfd-qty-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
}
.cfd-mrp-strike,
.cfd-mrp-val {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none !important;
}
.cfd-rate-text {
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
}
.cfd-line-total {
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 700;
}
.cfd-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}
.cfd-empty-icon-box {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background:
    linear-gradient(
      135deg,
      #eef2ff 0%,
      #ede9fe 100%);
  border: 1px solid #c7d2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
}
.cfd-empty-title {
  margin: 0 0 0.4rem 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
}
.cfd-empty-sub {
  margin: 0 0 1.75rem 0;
  font-size: 0.88rem;
  color: #64748b;
  max-width: 400px;
  line-height: 1.5;
}
.cfd-empty-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  width: 100%;
  max-width: 580px;
}
.cfd-perk-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}
.cfd-perk-card strong {
  font-size: 0.8rem;
  color: #0f172a;
}
.cfd-perk-card span {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.3;
}
.cfd-summary-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cfd-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cfd-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}
.cfd-summary-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.cfd-summary-lines {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cfd-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #475569;
}
.cfd-calc-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  color: #475569;
}
.cfd-calc-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cfd-calc-val {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.92rem;
}
.cfd-gst-pill-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cfd-gst-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 600;
}
.cfd-gst-sub {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
}
.cfd-savings-box {
  background:
    linear-gradient(
      135deg,
      #ecfdf5 0%,
      #f0fdf4 100%);
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.cfd-savings-left {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #047857;
  font-size: 0.84rem;
  font-weight: 600;
}
.cfd-savings-star-badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #d1fae5;
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cfd-savings-val {
  font-size: 0.98rem;
  font-weight: 700;
  color: #047857;
}
.cfd-root .cfd-grand-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  color: #0f172a;
}
.cfd-root .cfd-grand-label-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cfd-root .cfd-grand-title {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif !important;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.01em;
  text-transform: none;
}
.cfd-root .cfd-grand-sub {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif !important;
  font-size: 0.78rem;
  font-weight: 400;
  color: #64748b;
  margin-top: 1px;
}
.cfd-root .cfd-grand-amount {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif !important;
  font-size: 1.85rem !important;
  font-weight: 600 !important;
  color: #059669 !important;
  letter-spacing: -0.02em !important;
  font-variant-numeric: tabular-nums !important;
  text-shadow: none !important;
}
.cfd-hub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cfd-upi-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}
.cfd-upi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.cfd-upi-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.cfd-upi-sub {
  font-size: 0.76rem;
  color: #64748b;
  margin: 0;
}
.cfd-qr-box {
  background: #ffffff;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cfd-qr-box svg {
  width: 170px;
  height: 170px;
  display: block;
}
.cfd-upi-amount-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.84rem;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
}
.cfd-vpa-pill {
  font-size: 0.74rem;
  color: #64748b;
}
.cfd-vpa-pill strong {
  color: #334155;
}
.cfd-completed-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1rem 0;
}
.cfd-success-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.18);
}
.cfd-success-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #065f46;
  margin: 0;
}
.cfd-success-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}
.cfd-invoice-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
}
.cfd-change-banner {
  width: 100%;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cfd-change-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #047857;
}
.cfd-change-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #065f46;
}
.cfd-loyalty-hub {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cfd-loyalty-promo {
  background:
    linear-gradient(
      135deg,
      #fffbeb 0%,
      #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.cfd-promo-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fef08a;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.cfd-promo-text {
  display: flex;
  flex-direction: column;
}
.cfd-promo-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #92400e;
}
.cfd-promo-desc {
  font-size: 0.75rem;
  color: #b45309;
  margin-top: 2px;
  line-height: 1.35;
}
.cfd-payment-badges-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cfd-badges-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cfd-badge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}
.cfd-badge-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.45rem 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #334155;
}
.cfd-badge-item svg {
  width: 16px;
  height: 16px;
  color: #6366f1;
}
.cfd-assurance-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.25rem;
}
.cfd-assurance-tag svg {
  width: 13px;
  height: 13px;
  color: #10b981;
}

/* client/src/index.css */
:root {
  --deep-purple: #312e81;
  --deep-purple-hover: #26236b;
  --primary: #6d4aff;
  --primary-hover: #5b3ee0;
  --primary-light: #f3f0ff;
  --primary-glow: rgba(109, 74, 255, 0.35);
  --accent-purple: #a78bfa;
  --accent-purple-light: #ede9fe;
  --bg-main: #f8f7ff;
  --bg-card: #ffffff;
  --bg-card-hover: #faf9ff;
  --bg-input: #ffffff;
  --border: #e2e8f0;
  --border-light: #ede9fe;
  --border-focus: #6d4aff;
  --text-main: #1e1b4b;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-blue: #3b82f6;
  --pos-card-bg: #ffffff;
  --pos-card-border: #e2e8f0;
  --shadow-sm: 0 1px 3px 0 rgba(49, 46, 129, 0.05), 0 1px 2px -1px rgba(49, 46, 129, 0.03);
  --shadow-md: 0 4px 10px -2px rgba(49, 46, 129, 0.08), 0 2px 4px -2px rgba(49, 46, 129, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(49, 46, 129, 0.12), 0 4px 6px -2px rgba(49, 46, 129, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(49, 46, 129, 0.16), 0 8px 10px -6px rgba(49, 46, 129, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.mono {
  font-family: "JetBrains Mono", monospace;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.app-container {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  width: 100%;
  background-color: var(--bg-main);
  overflow: hidden;
}
.app-sidebar {
  width: 264px;
  min-width: 264px;
  max-width: 264px;
  height: 100vh;
  position: sticky;
  top: 0;
  left: 0;
  background:
    linear-gradient(
      180deg,
      #1e1b4b 0%,
      #312e81 45%,
      #1e1b4b 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 4px 0 24px rgba(30, 27, 75, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 60;
  padding: 16px;
  color: #ffffff;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  transition: width 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width;
}
.sidebar-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin-bottom: 16px;
  box-sizing: border-box;
}
.sidebar-header-row .sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
}
.sidebar-brand-icon {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #a78bfa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.4);
  flex-shrink: 0;
  color: #ffffff;
}
.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  line-height: 1.2;
}
.sidebar-brand-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-brand-subtitle {
  font-size: 10px;
  color: #c7d2fe;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-collapse-toggle {
  width: 36px;
  min-width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.sidebar-collapse-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}
.sidebar-rail-divider {
  display: none;
}
.sidebar-store-wrapper {
  position: relative;
  margin-bottom: 16px;
  width: 100%;
}
.sidebar-store-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  text-align: left;
  box-sizing: border-box;
}
.sidebar-store-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}
.sidebar-store-icon-tile {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}
.sidebar-store-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  gap: 2px;
}
.sidebar-store-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.sidebar-store-badge {
  font-size: 11px;
  font-weight: 600;
  color: #c7d2fe;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.sidebar-store-chevron {
  color: #c7d2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-sidebar.icon-only {
  width: 76px;
  min-width: 76px;
  max-width: 76px;
  padding: 16px 0;
  align-items: center;
  overflow-x: visible;
}
.app-sidebar.icon-only .sidebar-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.app-sidebar.icon-only .sidebar-header-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin-bottom: 0;
  width: 100%;
}
.app-sidebar.icon-only .sidebar-brand {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
.app-sidebar.icon-only .sidebar-brand-text {
  display: none !important;
}
.app-sidebar.icon-only .sidebar-collapse-toggle {
  margin: 0 auto;
}
.app-sidebar.icon-only .sidebar-rail-divider {
  display: block;
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 10px auto 14px;
}
.app-sidebar.icon-only .sidebar-store-wrapper {
  margin-bottom: 12px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.app-sidebar.icon-only .sidebar-store-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  margin: 0 auto;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  border: none;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-sidebar.icon-only .sidebar-store-icon-tile {
  width: 100%;
  height: 100%;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-sidebar.icon-only .sidebar-store-info,
.app-sidebar.icon-only .sidebar-store-chevron {
  display: none !important;
}
.app-sidebar.icon-only .sidebar-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.app-sidebar.icon-only .sidebar-nav-item {
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  padding: 0;
  margin: 0 auto;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  transform: none !important;
}
.app-sidebar.icon-only .sidebar-nav-item .nav-icon {
  margin: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-sidebar.icon-only .sidebar-nav-item .nav-icon svg,
.app-sidebar.icon-only .sidebar-nav-item .nav-icon .wholesale-nav-icon {
  width: 20px;
  height: 20px;
}
.app-sidebar.icon-only .sidebar-nav-item .nav-text,
.app-sidebar.icon-only .sidebar-nav-item .nav-right-slot,
.app-sidebar.icon-only .sidebar-nav-item .nav-trailing,
.app-sidebar.icon-only .sidebar-nav-item .sidebar-chevron,
.app-sidebar.icon-only .sidebar-nav-item .nav-count-badge,
.app-sidebar.icon-only .sidebar-nav-item .nav-shift-badge {
  display: none !important;
}
.app-sidebar.icon-only .sidebar-nav-item.has-badge .nav-icon {
  position: relative;
}
.app-sidebar.icon-only .sidebar-nav-item.has-badge .nav-icon::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a78bfa;
  border: 1.5px solid #1e1b4b;
}
.app-sidebar.icon-only .sidebar-nav-item[title]:hover::after {
  content: attr(title);
  position: fixed;
  left: 86px;
  background: #1e1b4b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  pointer-events: none;
  z-index: 9999;
  letter-spacing: 0.01em;
  animation: railTooltipIn 0.15s ease-out;
}
.app-sidebar.icon-only .sidebar-sub-items,
.app-sidebar.icon-only .sidebar-submenu-list,
.app-sidebar.collapsed .sidebar-sub-items,
.app-sidebar.collapsed .sidebar-submenu-list,
.app-sidebar.is-collapsed .sidebar-sub-items,
.app-sidebar.is-collapsed .sidebar-submenu-list {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: static !important;
  max-height: 0 !important;
  overflow: hidden !important;
}
.app-sidebar.icon-only .sidebar-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.app-sidebar.icon-only .sidebar-user-card {
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
.app-sidebar.icon-only .sidebar-user-avatar {
  width: 32px;
  height: 32px;
  font-size: 14px;
}
.app-sidebar.icon-only .sidebar-user-meta {
  display: none !important;
}
.app-sidebar.icon-only .sidebar-footer-buttons-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.app-sidebar.icon-only .sidebar-action-row-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.app-sidebar.icon-only .sidebar-action-row-btn span:last-child {
  display: none !important;
}
.app-sidebar.icon-only .sidebar-action-row-btn[title]:hover::after {
  content: attr(title);
  position: fixed;
  left: 86px;
  background: #1e1b4b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  pointer-events: none;
  z-index: 9999;
}
.dropdown-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9990 !important;
  background: rgba(15, 23, 42, 0.25) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
}
.sidebar-dropdown-flyout {
  position: fixed !important;
  top: 130px !important;
  left: 16px !important;
  width: 320px !important;
  min-width: 300px !important;
  max-width: min(340px, calc(100vw - 32px)) !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  z-index: 9999 !important;
  overflow: hidden !important;
  animation: dropdownIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  color: var(--text-main) !important;
}
.app-sidebar.icon-only .sidebar-dropdown-flyout,
.app-sidebar.collapsed .sidebar-dropdown-flyout,
.app-sidebar.is-collapsed .sidebar-dropdown-flyout {
  position: fixed !important;
  top: 72px !important;
  left: 80px !important;
  width: 330px !important;
  min-width: 310px !important;
  max-width: min(340px, calc(100vw - 92px)) !important;
  animation: flyoutSlideIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@keyframes flyoutSlideIn {
  from {
    opacity: 0;
    transform: translateX(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.sidebar-nav-item {
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0 12px;
  gap: 12px;
  border-radius: 12px;
  background: transparent;
  color: #e0e7ff;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: none !important;
}
.sidebar-nav-item.active {
  background: #6d4aff;
  color: #ffffff;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 8px rgba(109, 74, 255, 0.32);
  transform: none !important;
}
.sidebar-nav-item .nav-icon {
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
.sidebar-nav-item .nav-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.sidebar-nav-item .nav-icon .wholesale-nav-icon {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 0 0.3px #ffffff);
  user-select: none;
  pointer-events: none;
  transition: filter 0.15s ease, opacity 0.15s ease;
}
.sidebar-nav-item:hover .nav-icon .wholesale-nav-icon,
.sidebar-nav-item.active .nav-icon .wholesale-nav-icon {
  filter: brightness(0) invert(1) drop-shadow(0 0 0.4px #ffffff);
}
.sidebar-nav-item .nav-text {
  font-size: 15px;
  font-weight: 600;
  color: #e0e7ff;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-nav-item.active .nav-text {
  color: #ffffff;
  font-weight: 700;
}
.nav-right-slot {
  margin-left: auto;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  text-align: center;
}
.sidebar-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7d2fe;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  flex-shrink: 0;
}
.sidebar-chevron.open {
  transform: rotate(180deg);
}
.sidebar-chevron svg {
  display: block;
}
.nav-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Inter",
    "Segoe UI",
    Roboto,
    sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-sizing: border-box;
  flex-shrink: 0;
}
.sidebar-nav-item.active .nav-count-badge {
  background: #ffffff !important;
  color: #5b4fe9 !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.sidebar-nav-item .nav-shift-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.sidebar-nav-item .nav-shift-badge.active {
  background: #22c55e;
  color: #ffffff;
}
.sidebar-nav-item .nav-shift-badge.closed {
  background: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}
.sidebar-sub-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 0.75rem;
  margin-left: 0.75rem;
  border-left: 1.5px solid rgba(255, 255, 255, 0.15);
  margin-top: 4px;
}
.sidebar-sub-items .sidebar-nav-item {
  height: 38px;
  min-height: 38px;
  max-height: 38px;
  font-size: 13px;
  padding: 0 10px;
}
.sidebar-nav-group {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.sidebar-nav-item.open-highlight {
  background: rgba(109, 74, 255, 0.16);
  color: #ffffff;
  border-color: rgba(167, 139, 250, 0.3);
}
.sidebar-nav-item.has-active-child {
  background: rgba(109, 74, 255, 0.22);
  color: #ffffff;
  border-color: rgba(167, 139, 250, 0.38);
  box-shadow: 0 2px 6px rgba(109, 74, 255, 0.18);
}
.nav-dropdown-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease;
  flex-shrink: 0;
}
.sidebar-nav-item:hover .nav-dropdown-chevron,
.sidebar-nav-item.active .nav-dropdown-chevron,
.sidebar-nav-item.open-highlight .nav-dropdown-chevron,
.sidebar-nav-item.has-active-child .nav-dropdown-chevron {
  color: #ffffff;
}
.nav-dropdown-chevron.open {
  transform: rotate(180deg);
}
.sidebar-submenu-list,
.sidebar-submenu-dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.2rem;
  margin-bottom: 0.15rem;
  padding: 0 0 0 1.25rem;
  animation: submenuSlideFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.sidebar-submenu-list::before,
.sidebar-submenu-dropdown::before {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 0;
  bottom: 0.5rem;
  width: 1.5px;
  background: rgba(167, 139, 250, 0.25);
  border-radius: 1px;
}
@keyframes submenuSlideFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sidebar-submenu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.65rem 0.42rem 1.35rem;
  background: transparent;
  color: #c7d2fe;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  width: 100%;
}
.sidebar-submenu-item::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 50%;
  width: 0.8rem;
  height: 1.5px;
  background: rgba(167, 139, 250, 0.25);
  border-radius: 1px;
  transition: background 0.15s ease;
}
.sidebar-submenu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: transparent;
  transform: translateX(2px);
}
.sidebar-submenu-item:hover::before {
  background: rgba(167, 139, 250, 0.55);
}
.sidebar-submenu-item.active {
  background: #6d4aff;
  color: #ffffff;
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 8px rgba(109, 74, 255, 0.3);
  transform: translateX(2px);
}
.sidebar-submenu-item.active::before {
  background: #a78bfa;
}
.sidebar-submenu-item .submenu-icon {
  font-size: 0.85rem;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}
.sidebar-submenu-item .submenu-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.sidebar-submenu-item .submenu-text {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
  white-space: nowrap;
}
.sidebar-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}
.sidebar-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #a78bfa 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(109, 74, 255, 0.4);
  flex-shrink: 0;
}
.sidebar-user-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.sidebar-user-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user-role {
  font-size: 0.72rem;
  color: #c7d2fe;
  text-transform: capitalize;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.user-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}
.sidebar-footer-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.sidebar-utility-btn {
  background: rgba(167, 139, 250, 0.12);
  color: #e0e7ff;
  border: 1px solid rgba(167, 139, 250, 0.25);
  padding: 0.5rem 0.5rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.sidebar-utility-btn:hover {
  background: rgba(167, 139, 250, 0.25);
  color: #ffffff;
  border-color: #a78bfa;
}
.sidebar-signout-btn {
  background: rgba(244, 63, 94, 0.12);
  color: #fecdd3;
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 0.5rem 0.5rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.sidebar-signout-btn:hover {
  background: #f43f5e;
  color: #ffffff;
  border-color: #f43f5e;
}
.sidebar-tenant-badge {
  font-size: 0.68rem;
  color: #94a3b8;
  text-align: center;
  padding: 0.15rem 0 0;
  font-weight: 600;
}
.main-content {
  flex: 1;
  min-width: 0;
  padding: 1.15rem 1.35rem 2.5rem;
  max-width: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100vh;
  background-color: var(--bg-main);
  box-sizing: border-box;
}
.content-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.content-page-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.02em;
  margin-left: 20px;
}
.content-page-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.2rem;
}
.top-wholesale-header-left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}
.top-wholesale-title {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main, #1e1b4b);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .top-wholesale-title {
    font-size: 1.25rem;
    white-space: normal;
  }
}
.wholesale-page-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main, #1e1b4b);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0.5rem 0 1rem 0;
  padding: 0;
  text-align: left;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .wholesale-page-title {
    font-size: 1.25rem;
    white-space: normal;
    margin: 0.25rem 0 0.75rem 0;
  }
}
@media (max-width: 640px) {
  .business-profile-grid {
    grid-template-columns: 1fr !important;
  }
}
.header-store-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  border: 1.5px solid var(--border);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.store-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}
.store-chip-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}
.content-header-left {
  display: flex;
  flex-direction: column;
}
.content-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chevron-arrow {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 0.75rem;
  color: #a78bfa;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
}
.badge-emerald {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.badge-blue,
.badge-purple {
  background: #ede9fe;
  color: #5b21b6;
  border: 1px solid #c4b5fd;
  font-weight: 700;
}
.badge-amber {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
.badge-rose,
.badge-red {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
}
.topbar {
  display: none;
}
.pos-layout {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 1.25rem;
  height: calc(100vh - 170px);
  min-height: 580px;
}
.pos-catalog {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}
.pos-search-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.search-input-wrap {
  flex: 1;
  position: relative;
}
.search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.15);
}
.search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1rem;
}
.category-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}
.cat-pill {
  background: #ffffff;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.cat-pill:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--accent-purple);
}
.cat-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 3px 12px rgba(109, 74, 255, 0.35);
}
.product-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 0.95rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 22px rgba(109, 74, 255, 0.12);
}
.product-cat {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.product-title {
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0.3rem 0 0.6rem;
  color: var(--text-main);
  line-height: 1.35;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
}
.product-price {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}
.product-stock {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
}
.pos-cart {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cart-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-main);
}
.cart-title {
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}
.cart-clear-btn {
  background: transparent;
  color: var(--accent-rose);
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.cart-clear-btn:hover {
  background: rgba(244, 63, 94, 0.1);
}
.customer-select-bar {
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
}
.customer-select {
  flex: 1;
  background: var(--bg-main);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
  font-weight: 500;
}
.customer-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(109, 74, 255, 0.15);
}
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #ffffff;
}
.cart-item {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
  padding-right: 0.5rem;
}
.cart-item-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-tax {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.75rem;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--accent-purple-light);
  color: var(--primary);
  border: 1px solid #ddd6fe;
  cursor: pointer;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.15s;
}
.qty-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.qty-val {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-main);
}
.cart-item-total {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--primary);
  min-width: 65px;
  text-align: right;
}
.cart-summary {
  padding: 1rem 1.25rem;
  background: var(--bg-main);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.summary-row.total-row {
  color: var(--text-main);
  font-size: 1.3rem;
  font-weight: 900;
  margin-top: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #cbd5e1;
}
.payment-modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.pay-mode-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.pay-mode-btn:hover {
  border-color: var(--accent-purple);
  color: var(--primary);
}
.pay-mode-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(109, 74, 255, 0.35);
}
.btn-checkout {
  margin-top: 0.75rem;
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #5835ea 100%);
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(109, 74, 255, 0.45);
  transition:
    filter 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}
.btn-checkout:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(109, 74, 255, 0.55);
}
.btn-checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.top-global-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.95rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.top-global-bar.no-divider {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.top-header-title {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1A1830;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 27px;
  padding: 0;
  line-height: 1.2;
  flex: 0 1 auto;
  min-width: 0;
}
.top-header-title-spacer {
  flex: 0 0 auto;
}
@media (max-width: 640px) {
  .top-header-title {
    font-size: 18px;
  }
}
.stage-business-bar-hidden .cat-bento-module-wrapper {
  padding-top: 24px;
}
.stage-business-bar-hidden .inventory-module-wrapper {
  padding-top: 24px;
}
.stage-business-bar-hidden .customer-dir-root {
  padding-top: 24px;
}
.stage-business-bar-hidden .supplier-dir-root {
  padding-top: 24px;
}
.stage-business-bar-hidden > .card {
  margin-top: 24px;
}
.stage-business-bar-hidden > div > .kpi-grid:first-child {
  padding-top: 24px;
}
.top-global-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}
.topbar-sidebar-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 38px;
  padding: 0 0.75rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.topbar-sidebar-toggle-btn:hover {
  background: #f8fafc;
  border-color: #6d4aff;
  color: #6d4aff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(109, 74, 255, 0.15);
}
.topbar-sidebar-toggle-btn:active {
  transform: translateY(0);
}
.topbar-toggle-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: inherit;
}
.topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-store-name {
  font-weight: 800;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.topbar-breadcrumb-sep {
  color: #94a3b8;
  font-weight: 400;
}
.topbar-current-page {
  font-weight: 600;
  color: #6d4aff;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}
.top-global-search {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.global-search-icon {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  pointer-events: none;
}
.global-search-icon svg {
  width: 17px;
  height: 17px;
  stroke: #94a3b8;
  stroke-width: 2.2;
}
.global-search-input:focus ~ .global-search-icon svg,
.top-global-search:focus-within .global-search-icon svg {
  stroke: var(--primary);
}
.global-search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.68rem 1.1rem 0.68rem 2.8rem;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.18s ease;
  box-shadow: 0 1px 3px rgba(49, 46, 129, 0.04);
}
.global-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.15);
}
.top-global-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-left: auto;
}
.top-dash-greeting-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  margin-right: 0.5rem;
  line-height: 1.25;
}
.top-dash-greeting-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.top-dash-greeting-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
  white-space: nowrap;
}
.top-dash-greeting-sub .dot-sep {
  color: #cbd5e1;
}
.top-dash-greeting-sub .mono {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}
.today-dash-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.today-dash-header-right {
  display: flex;
  align-items: center;
}
.top-notification-btn {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(49, 46, 129, 0.05);
  transition: all 0.15s ease;
}
.top-notification-btn:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}
.notif-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  line-height: 1;
}
.notif-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: all 0.15s ease;
}
.top-notification-btn:hover .notif-icon svg {
  stroke: var(--primary);
}
.notif-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background:
    linear-gradient(
      135deg,
      #ff3366 0%,
      #e11d48 100%);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Inter",
    "Segoe UI",
    Roboto,
    sans-serif;
  font-variant-numeric: tabular-nums;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.45);
  line-height: 1;
}
.top-user-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 0.35rem 0.95rem 0.35rem 0.45rem;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(49, 46, 129, 0.05);
  cursor: pointer;
  transition: all 0.15s ease;
}
.top-user-chip:hover {
  border-color: var(--primary);
}
.top-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #a78bfa 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(109, 74, 255, 0.3);
}
.top-user-details {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.top-user-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-main);
}
.top-user-role {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.pos-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.pos-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.pos-header-cart-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  box-shadow: 0 2px 6px rgba(49, 46, 129, 0.06);
  flex-shrink: 0;
}
.pos-page-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}
.pos-page-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  margin-bottom: 0;
}
.pos-feature-row {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.scan-barcode-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}
.scan-barcode-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.scan-barcode-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.barcode-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f3f0ff;
  border: 1px solid #ddd6fe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.scan-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}
.scan-card-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0;
}
.btn-scan-action {
  background: #6d4aff;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 3px 10px rgba(109, 74, 255, 0.35);
  white-space: nowrap;
}
.btn-scan-action:hover {
  background: #5b3ee0;
  transform: translateY(-1px);
}
.pos-feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
}
.feature-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feature-icon-circle.purple {
  background: #f3f0ff;
  color: #6d4aff;
}
.feature-icon-circle.cyan {
  background: #ecfeff;
  color: #0891b2;
}
.feature-icon-circle.lavender {
  background: #fdf2f8;
  color: #db2777;
}
.feature-card-texts {
  display: flex;
  flex-direction: column;
}
.feature-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
}
.feature-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.pos-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.25rem;
  align-items: start;
}
.pos-left-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pos-section-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}
.pos-section-card:hover {
  border-color: #cbd5e1;
}
.pos-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}
.pos-card-header.space-between {
  justify-content: space-between;
}
.card-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-header-icon.blue {
  color: #3b82f6;
}
.pos-card-heading {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}
.btn-view-all {
  background: transparent;
  border: none;
  color: #6d4aff;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}
.btn-view-all:hover {
  text-decoration: underline;
}
.pos-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.68rem 0.9rem;
  font-size: 0.88rem;
  color: var(--text-main);
  outline: none;
  transition: all 0.15s ease;
}
.pos-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.15);
}
.customer-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.customer-input-wrap {
  flex: 1;
  position: relative;
}
.selected-customer-pill {
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: #f3f0ff;
  border: 1px solid #ddd6fe;
  color: #6d4aff;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}
.clear-pill-btn {
  background: transparent;
  border: none;
  color: #6d4aff;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0 0.15rem;
}
.customer-dropdown-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 11px;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.18), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  max-height: 250px;
  overflow-y: auto;
  z-index: 100;
}
.customer-dropdown-item {
  padding: 0.6rem 0.85rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.customer-dropdown-item:hover {
  background: #f8f7ff;
}
.customer-dropdown-item.walkin {
  font-weight: 700;
  color: #64748b;
  background: #f8f7ff;
}
.cust-item-main {
  display: flex;
  flex-direction: column;
}
.cust-item-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}
.cust-item-phone {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.cust-item-gstin {
  font-size: 0.72rem;
  color: #6d4aff;
  font-family: monospace;
}
.btn-add-customer {
  width: 40px;
  height: 40px;
  background: #f3f0ff;
  border: 1px solid #ddd6fe;
  color: #6d4aff;
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.btn-add-customer:hover {
  background: #6d4aff;
  color: #ffffff;
  border-color: #6d4aff;
}
.wholesale-credit-alert {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  color: #7c3aed;
  margin-top: 0.65rem;
}
.product-search-input-wrap {
  position: relative;
}
.search-input-right-icon {
  position: absolute;
  right: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 0.95rem;
  pointer-events: none;
}
.quick-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}
.quick-cat-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
}
.quick-cat-btn:hover {
  border-color: #6d4aff;
  box-shadow: 0 4px 10px rgba(109, 74, 255, 0.1);
  transform: translateY(-2px);
}
.quick-cat-btn.active {
  border-color: #6d4aff;
  background: #f8f7ff;
  box-shadow: 0 0 0 2px rgba(109, 74, 255, 0.2);
}
.cat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.cat-icon-box.green {
  background: #ecfdf5;
}
.cat-icon-box.mint {
  background: #f0fdf4;
}
.cat-icon-box.blue {
  background: #eff6ff;
}
.cat-icon-box.red {
  background: #fef2f2;
}
.cat-icon-box.purple {
  background: #faf5ff;
}
.cat-icon-box.lavender {
  background: #f5f3ff;
}
.cat-icon-box.cyan {
  background: #ecfeff;
}
.cat-icon-box.indigo {
  background: #eef2ff;
}
.cat-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
}
.product-catalog-card {
  max-height: 380px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.btn-add-item-link {
  background: none;
  border: none;
  color: #6d4aff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-add-item-link:hover {
  text-decoration: underline;
}
.pos-quick-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.quick-item-card {
  background: #f8f7ff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
  transition: all 0.15s ease;
}
.quick-item-card:hover {
  background: #ffffff;
  border-color: #6d4aff;
  box-shadow: 0 4px 10px rgba(109, 74, 255, 0.12);
  transform: translateY(-1px);
}
.quick-item-top {
  display: flex;
  flex-direction: column;
}
.quick-item-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.quick-item-cat {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.quick-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.2rem;
}
.quick-item-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: #1e1b4b;
}
.quick-add-badge {
  background: #6d4aff;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.quick-add-badge:hover {
  background: #5b3ee0;
}
.apply-discount-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.9rem 1.25rem;
}
.discount-card-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.discount-tag-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f3f0ff;
  border: 1px solid #ddd6fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.discount-card-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}
.discount-card-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0;
}
.discount-chevron {
  font-size: 1.3rem;
  color: #a78bfa;
  font-weight: 700;
}
.discount-picker-popover {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-md);
  margin-top: -0.5rem;
}
.discount-pills-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.discount-pill {
  flex: 1;
  background: #f8f7ff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s;
}
.discount-pill:hover {
  border-color: #6d4aff;
  color: #6d4aff;
}
.discount-pill.active {
  background: #6d4aff;
  border-color: #6d4aff;
  color: #ffffff;
}
.pos-right-panel {
  display: flex;
  flex-direction: column;
}
.current-cart-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 580px;
}
.current-cart-header {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.current-cart-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.current-cart-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}
.cart-header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.btn-clear-cart {
  background: transparent;
  border: none;
  color: #f43f5e;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.btn-clear-cart:hover:not(:disabled) {
  background: #fff1f2;
}
.btn-clear-cart:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-hold-order {
  background: transparent;
  border: none;
  color: #3b82f6;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.btn-hold-order:hover {
  background: #eff6ff;
}
.current-cart-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  min-height: 280px;
}
.empty-cart-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  text-align: center;
}
.empty-cart-icon-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.empty-cart-badge-plus {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #6d4aff;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}
.empty-cart-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0.5rem 0 0;
}
.empty-cart-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}
.btn-start-shopping {
  margin-top: 1.25rem;
  background: #6d4aff;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.4);
  transition: all 0.15s ease;
}
.btn-start-shopping:hover {
  background: #5b3ee0;
  transform: translateY(-1px);
}
.cart-items-scroll-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.current-cart-row {
  background: #f8f7ff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.cart-row-info {
  flex: 1;
  min-width: 0;
}
.cart-row-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-row-unit-price {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.cart-row-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #ede9fe;
  color: #6d4aff;
  border: 1px solid #ddd6fe;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.cart-qty-btn:hover {
  background: #6d4aff;
  color: #ffffff;
}
.cart-qty-num {
  min-width: 24px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
}
.cart-row-total {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  min-width: 65px;
  text-align: right;
}
.current-cart-summary {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.summary-line-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.cart-payment-modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
  gap: 0.4rem;
  margin: 0.4rem 0 0.6rem;
}
.cart-pay-mode-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.45rem 0.25rem;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.cart-pay-mode-btn:hover {
  border-color: #6d4aff;
  color: #6d4aff;
}
.cart-pay-mode-btn.active {
  background: #6d4aff;
  border-color: #6d4aff;
  color: #ffffff;
}
.summary-total-checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
  gap: 1rem;
}
.total-display-col {
  display: flex;
  flex-direction: column;
}
.total-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}
.total-amount-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: #6d4aff;
  letter-spacing: -0.02em;
}
.btn-proceed-payment {
  flex: 1;
  max-width: 240px;
  background: #6d4aff;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.4);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-proceed-payment:hover:not(:disabled) {
  background: #5b3ee0;
  transform: translateY(-1px);
}
.btn-proceed-payment:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.sidebar-footer-buttons-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sidebar-action-row-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: transparent;
  color: #e0e7ff;
  border: none;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  text-align: left;
}
.sidebar-action-row-btn .action-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  line-height: 1;
}
.sidebar-action-row-btn .action-row-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.sidebar-action-row-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.sidebar-action-row-btn.active {
  background: #5B3BE8 !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(91, 59, 232, 0.35);
}
.sidebar-action-row-btn.active .action-row-icon,
.sidebar-action-row-btn.active .action-row-icon svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}
.app-sidebar.icon-only .sidebar-action-row-btn.active {
  background: #5B3BE8 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(91, 59, 232, 0.45);
}
.app-sidebar.icon-only .sidebar-action-row-btn[title]:hover::after {
  content: attr(title);
  position: fixed;
  left: 78px;
  background: #1e1b4b;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  pointer-events: none;
  z-index: 9999;
  letter-spacing: 0.01em;
  animation: railTooltipIn 0.15s ease-out;
}
.sidebar-action-row-btn.signout {
  color: #fca5a5;
}
.sidebar-action-row-btn.signout:hover {
  background: rgba(244, 63, 94, 0.15);
  color: #ffffff;
}
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.card-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  background: var(--bg-main);
  color: #334155;
  text-align: left;
  padding: 0.75rem 0.95rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 0.85rem 0.95rem;
  font-size: 0.88rem;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-main);
}
.data-table tr:hover {
  background: #faf9ff;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}
.form-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.15);
}
.btn,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(109, 74, 255, 0.35);
  border: 1px solid transparent;
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  box-shadow: 0 6px 18px rgba(109, 74, 255, 0.45);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
.btn-secondary {
  background: var(--bg-main);
  color: var(--deep-purple);
  border: 1px solid var(--border);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--accent-purple-light);
  color: var(--primary);
  border-color: var(--accent-purple);
}
.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 1rem;
  box-sizing: border-box;
}
.product-edit-rectangle-modal {
  max-width: 960px !important;
  width: 94vw !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4) !important;
}
@media (max-width: 820px) {
  .product-edit-split-grid {
    grid-template-columns: 1fr !important;
  }
}
.modal-content {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -12px rgba(49, 46, 129, 0.35);
}
.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-body {
  padding: 1.5rem;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}
.kpi-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-purple);
}
.kpi-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--primary-light);
  color: var(--primary);
}
.kpi-val {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-main);
}
.kpi-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(109, 74, 255, 0.15) 0%,
      var(--bg-main) 70%);
}
.auth-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(49, 46, 129, 0.12);
}
.auth-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.demo-box {
  background: var(--primary-light);
  border: 1px solid var(--accent-purple);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--deep-purple);
}
.business-selector-wrapper {
  position: relative;
}
.business-selector-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.95rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.business-selector-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #a78bfa;
}
.business-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.business-text {
  display: flex;
  flex-direction: column;
}
.business-type-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #c7d2fe;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.business-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 380px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(49, 46, 129, 0.2);
  z-index: 100;
  overflow: hidden;
  animation: dropdownIn 0.15s ease-out;
}
@keyframes dropdownIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
}
.dropdown-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}
.dropdown-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 0.5rem;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 0.25rem;
}
.dropdown-item:hover {
  background: var(--bg-main);
}
.dropdown-item.active {
  background: var(--primary-light);
  border: 1px solid var(--accent-purple);
}
.dropdown-item-icon {
  font-size: 1.6rem;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}
.dropdown-item-details {
  flex: 1;
  min-width: 0;
}
.dropdown-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-item-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.active-check {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.dropdown-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg-main);
}
.biz-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}
.biz-retail {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.biz-pharmacy {
  background: rgba(244, 63, 94, 0.12);
  color: #e11d48;
  border: 1px solid rgba(244, 63, 94, 0.3);
}
.biz-restaurant {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.biz-wholesale {
  background: rgba(109, 74, 255, 0.12);
  color: #6d4aff;
  border: 1px solid rgba(109, 74, 255, 0.3);
}
.biz-service {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.biz-general {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.3);
}
.business-mode-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.mode-retail {
  border-left: 4px solid #10b981;
  color: #065f46;
}
.mode-pharmacy {
  border-left: 4px solid #f43f5e;
  color: #9f1239;
}
.mode-restaurant {
  border-left: 4px solid #f59e0b;
  color: #92400e;
}
.mode-wholesale {
  border-left: 4px solid #6d4aff;
  color: #3730a3;
}
.mode-service {
  border-left: 4px solid #3b82f6;
  color: #1e40af;
}
.table-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  margin-bottom: 0.75rem;
}
.table-pill {
  padding: 0.4rem 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.table-pill:hover {
  border-color: #f59e0b;
  color: #d97706;
}
.table-pill.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
  font-weight: 700;
}
.pharma-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.35rem;
  font-size: 0.7rem;
}
.pharma-batch-tag {
  background: var(--bg-main);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.pharma-schedule-h {
  background: rgba(109, 74, 255, 0.12);
  border: 1px solid var(--accent-purple);
  color: var(--primary);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
}
.pharma-schedule-h1 {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid #f43f5e;
  color: #e11d48;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
}
.settings-section {
  margin-bottom: 2rem;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.pack-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.pack-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.pack-card.active-pack {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(109, 74, 255, 0.2), var(--shadow-md);
}
.pack-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.pack-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  color: var(--text-main);
}
.strict-isolation-banner {
  margin: 2.5rem 1.5rem 1.5rem;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f8f7ff 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 10px 30px -10px rgba(49, 46, 129, 0.08);
}
.strict-isolation-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}
.shield-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  border: 1px solid var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.shield-svg {
  width: 26px;
  height: 26px;
}
.isolation-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}
.isolation-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.strict-isolation-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.6rem 1.5rem;
  flex-shrink: 0;
}
.isolation-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--deep-purple);
}
.check-bullet {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
}
.landing-wrapper {
  background-color: var(--bg-main);
  background-image:
    radial-gradient(
      ellipse 80% 45% at 50% -10%,
      rgba(109, 74, 255, 0.12),
      transparent 70%),
    radial-gradient(
      circle at 12% 25%,
      rgba(167, 139, 250, 0.08),
      transparent 45%),
    radial-gradient(
      circle at 88% 30%,
      rgba(109, 74, 255, 0.08),
      transparent 45%);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.6;
}
.glow-top {
  width: 700px;
  height: 350px;
  background:
    radial-gradient(
      circle,
      rgba(109, 74, 255, 0.15) 0%,
      rgba(167, 139, 250, 0.08) 60%,
      transparent 100%);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.glow-middle {
  width: 500px;
  height: 400px;
  background:
    radial-gradient(
      circle,
      rgba(167, 139, 250, 0.1) 0%,
      transparent 70%);
  top: 850px;
  right: -50px;
}
.glow-bottom {
  width: 600px;
  height: 400px;
  background:
    radial-gradient(
      circle,
      rgba(109, 74, 255, 0.08) 0%,
      transparent 70%);
  bottom: 250px;
  left: -50px;
}
.landing-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #312e81;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 2.5rem;
  box-shadow: 0 4px 20px rgba(49, 46, 129, 0.25);
}
.landing-nav-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.landing-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  user-select: none;
}
.landing-brand-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.6));
}
.landing-brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}
.landing-brand-badge {
  background: rgba(167, 139, 250, 0.2);
  color: #e0e7ff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-link-btn {
  background: transparent;
  border: none;
  color: #e0e7ff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav-link-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}
.landing-auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.landing-btn-login {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.landing-btn-login:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-1px);
}
.landing-btn-register {
  background: #6d4aff;
  color: #ffffff;
  border: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.45);
  transition: all 0.2s ease;
}
.landing-btn-register:hover {
  background: #5b3ee0;
  box-shadow: 0 6px 20px rgba(109, 74, 255, 0.6);
  transform: translateY(-1px);
}
.landing-hero-section {
  position: relative;
  z-index: 1;
  padding: 4.5rem 2.5rem 4rem;
  max-width: 1320px;
  margin: 0 auto;
}
.landing-hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}
.hero-text-content {
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ede9fe;
  border: 1px solid #ddd6fe;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #6d4aff;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(109, 74, 255, 0.1);
}
.hero-badge-star {
  font-size: 0.95rem;
}
.hero-headline {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 1.35rem;
}
.hero-highlight {
  display: inline;
  color: #6d4aff;
  background: none;
  -webkit-text-fill-color: #6d4aff;
}
.hero-subtext {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 2.25rem;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-btn-primary {
  background: #6d4aff;
  color: #ffffff;
  border: none;
  padding: 0.95rem 2.1rem;
  border-radius: 9999px;
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 6px 20px rgba(109, 74, 255, 0.4);
  transition: all 0.2s ease;
}
.hero-btn-primary:hover {
  background: #5b3ee0;
  box-shadow: 0 10px 28px rgba(109, 74, 255, 0.55);
  transform: translateY(-2px);
}
.btn-arrow {
  transition: transform 0.2s ease;
}
.hero-btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}
.hero-btn-secondary {
  background: #ffffff;
  color: #312e81;
  border: 1.5px solid var(--border);
  padding: 0.95rem 1.95rem;
  border-radius: 9999px;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.hero-btn-secondary:hover {
  background: #ede9fe;
  border-color: #a78bfa;
  color: #6d4aff;
  transform: translateY(-2px);
}
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #312e81;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.trust-check {
  color: #6d4aff;
  font-weight: 900;
}
.trust-check-bubble {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6d4aff;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(109, 74, 255, 0.3);
}
.hero-visual-wrapper {
  position: relative;
  z-index: 2;
}
.device-mockup-frame {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 25px 65px -15px rgba(49, 46, 129, 0.16), 0 0 1px 1px rgba(49, 46, 129, 0.05);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}
.device-mockup-frame:hover {
  transform: translateY(-4px);
}
.mockup-header-bar {
  background: #f8f7ff;
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red {
  background: #ef4444;
}
.mockup-dot.yellow {
  background: #f59e0b;
}
.mockup-dot.green {
  background: #10b981;
}
.mockup-title-bar {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mockup-inner-dashboard {
  display: flex;
  min-height: 420px;
  background: #f8f7ff;
}
.mockup-inner-sidebar {
  width: 135px;
  background: #312e81;
  padding: 1rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
}
.mockup-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0 0.3rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 0.35rem;
}
.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.55rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #c7d2fe;
}
.mockup-nav-item.active {
  background: #6d4aff;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(109, 74, 255, 0.4);
}
.mockup-inner-main {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  background: #f8f7ff;
}
.mockup-top-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #ffffff;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.mockup-search-fake {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #94a3b8;
}
.mockup-user-fake {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e1b4b;
}
.mockup-avatar-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #6d4aff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}
.mockup-greeting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup-greeting-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e1b4b;
  margin: 0;
}
.mockup-greeting-text p {
  font-size: 0.68rem;
  color: #64748b;
  margin: 0;
}
.mockup-date-pill {
  font-size: 0.68rem;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-weight: 600;
  color: #4b5563;
}
.mockup-metric-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.mockup-metric-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 600;
}
.metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e1b4b;
}
.metric-badge {
  font-size: 0.62rem;
  font-weight: 700;
  color: #10b981;
}
.mockup-charts-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.65rem;
}
.mockup-chart-card,
.mockup-activity-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.card-mini-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #1e1b4b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.mockup-activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.66rem;
  line-height: 1.35;
}
.activity-item strong {
  color: #1e1b4b;
  font-weight: 700;
}
.activity-item span {
  color: #64748b;
}
.act-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}
.act-icon-circle.green {
  background: #dcfce7;
  color: #16a34a;
}
.act-icon-circle.amber {
  background: #fef3c7;
  color: #d97706;
}
.act-icon-circle.blue {
  background: #e0e7ff;
  color: #4338ca;
}
.act-icon-circle.rose {
  background: #fee2e2;
  color: #dc2626;
}
.mockup-category-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-top: 1px solid var(--border);
}
.category-mini-chip {
  background: #ffffff;
  border: 1px solid #ede9fe;
  border-radius: 8px;
  padding: 0.45rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  line-height: 1.25;
  transition: all 0.15s ease;
  cursor: pointer;
}
.category-mini-chip:hover {
  background: #ede9fe;
  border-color: #a78bfa;
  transform: translateY(-1px);
}
.category-mini-chip-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.landing-business-types-section {
  padding: 5rem 2.5rem;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.section-header-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1.5rem;
}
.view-all-link {
  background: none;
  border: none;
  color: #6d4aff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: color 0.15s;
  padding-bottom: 0.5rem;
}
.view-all-link:hover {
  color: #5b3ee0;
  text-decoration: underline;
}
.section-header-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-badge-pill {
  display: inline-block;
  background: #ede9fe;
  color: #6d4aff;
  border: 1px solid #ddd6fe;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}
.section-main-heading {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}
.section-subtext {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.business-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.85rem;
}
.business-type-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.business-type-card:hover {
  background: #ffffff;
  border-color: var(--accent-purple);
  transform: translateY(-5px);
  box-shadow: 0 16px 35px -8px rgba(109, 74, 255, 0.16);
}
.card-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}
.card-icon-squircle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
}
.type-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  border: 1px solid;
}
.card-type-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}
.card-type-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  line-height: 1.5;
}
.card-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  flex: 1;
}
.card-feature-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: #4b5563;
}
.card-feat-check {
  color: #6d4aff;
  font-weight: 900;
}
.card-action-footer {
  margin-top: auto;
  padding-top: 1.35rem;
  border-top: 1px solid #f1f5f9;
}
.card-register-link {
  color: #6d4aff;
  font-size: 0.9rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}
.business-type-card:hover .card-register-link {
  color: #5b3ee0;
  transform: translateX(4px);
}
.card-setup-btn {
  width: 100%;
  background: var(--bg-main);
  color: #6d4aff;
  border: 1px solid var(--border-light);
  padding: 0.8rem 1.15rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.business-type-card:hover .card-setup-btn {
  background: #6d4aff;
  color: #ffffff;
  border-color: #6d4aff;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.35);
}
.btn-chevron {
  transition: transform 0.2s ease;
}
.business-type-card:hover .btn-chevron {
  transform: translateX(4px);
}
.landing-pillars-section {
  padding: 5rem 2.5rem;
  max-width: 1320px;
  margin: 0 auto;
}
.pillars-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pillar-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.pillar-item:hover {
  border-color: var(--accent-purple);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(109, 74, 255, 0.12);
}
.pillar-num-badge {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ede9fe;
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
}
.pillar-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #ede9fe;
  border: 1px solid #ddd6fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
}
.pillar-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}
.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.landing-features-showcase-section {
  padding: 5rem 2.5rem;
  max-width: 1320px;
  margin: 0 auto;
}
.features-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(109, 74, 255, 0.12);
}
.feat-icon-bubble {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #ede9fe;
  border: 1px solid #ddd6fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.35rem;
}
.feat-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}
.feat-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.landing-pricing-section {
  padding: 5rem 2.5rem;
  max-width: 1320px;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}
.pricing-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-md);
}
.pricing-card.featured {
  border: 2.5px solid #6d4aff;
  box-shadow: 0 20px 45px -10px rgba(109, 74, 255, 0.25);
  transform: scale(1.03);
}
.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #6d4aff;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.4);
}
.pricing-tier-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1.25rem 0;
}
.price-currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}
.price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.03em;
}
.price-duration {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}
.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.pricing-feature-list li {
  font-size: 0.9rem;
  color: #4b5563;
}
.pricing-cta-btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: auto;
}
.pricing-cta-btn.primary {
  background: #6d4aff;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(109, 74, 255, 0.4);
}
.pricing-cta-btn.primary:hover {
  background: #5b3ee0;
}
.pricing-cta-btn.secondary {
  background: var(--bg-main);
  color: var(--deep-purple);
  border: 1px solid var(--border);
}
.pricing-cta-btn.secondary:hover {
  background: #ede9fe;
  border-color: #a78bfa;
  color: #6d4aff;
}
.faq-accordion-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.faq-item:hover {
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-md);
}
.faq-question-row {
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-q-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}
.faq-toggle-icon {
  font-size: 1.5rem;
  color: #6d4aff;
  font-weight: 300;
}
.faq-answer-pane {
  padding: 0 1.75rem 1.35rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4b5563;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}
.faq-answer-pane p {
  margin: 0;
}
.landing-cta-banner {
  padding: 4rem 2rem;
  max-width: 1360px;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
}
.cta-banner-content-split {
  background:
    linear-gradient(
      135deg,
      #312e81 0%,
      #4338ca 50%,
      #6d4aff 100%);
  border-radius: 24px;
  padding: 2.75rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  color: #ffffff;
  box-shadow: 0 20px 50px -10px rgba(49, 46, 129, 0.4);
  box-sizing: border-box;
}
.cta-banner-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1 1 360px;
  min-width: 320px;
}
.cta-store-icon-bubble {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.cta-banner-text {
  flex: 1;
  min-width: 240px;
}
.cta-banner-text h2 {
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
  white-space: normal;
}
.cta-banner-text p {
  font-size: 0.95rem;
  color: #e0e7ff;
  margin: 0;
  line-height: 1.5;
}
.cta-banner-center-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.banner-btn-primary {
  background: #6d4aff;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.banner-btn-primary:hover {
  background: #5b3ee0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.banner-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.banner-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}
.cta-banner-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.cta-stat-item {
  display: flex;
  flex-direction: column;
}
.cta-stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}
.cta-stat-lbl {
  font-size: 0.75rem;
  color: #c7d2fe;
  white-space: nowrap;
}
.landing-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #1e1b4b;
  padding: 4.5rem 2.5rem 2.5rem;
  position: relative;
  z-index: 1;
  color: #c7d2fe;
}
.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-brand-icon {
  font-size: 1.5rem;
}
.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}
.footer-brand-tagline {
  color: #c7d2fe;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1rem 0 1.25rem;
  max-width: 340px;
}
.footer-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #a5b4fc;
  font-weight: 600;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-dot.green {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.footer-col-heading {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-list button {
  background: none;
  border: none;
  padding: 0;
  color: #c7d2fe;
  font-size: 0.88rem;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}
.footer-list button:hover {
  color: #ffffff;
}
.footer-trust-text {
  font-size: 0.88rem;
  color: #c7d2fe;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: #a5b4fc;
  margin: 0;
}
.wizard-page-layout {
  min-height: 100vh;
  background-color: var(--bg-main);
  background-image:
    radial-gradient(
      ellipse 90% 40% at 50% -10%,
      rgba(109, 74, 255, 0.12),
      transparent 70%),
    radial-gradient(
      circle at 10% 30%,
      rgba(167, 139, 250, 0.08),
      transparent 40%),
    radial-gradient(
      circle at 90% 30%,
      rgba(109, 74, 255, 0.08),
      transparent 40%);
  color: var(--text-main);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  overflow-x: hidden;
}
.wizard-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #312e81;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 2.5rem;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(49, 46, 129, 0.25);
}
.wizard-topbar-content {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wizard-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  user-select: none;
}
.brand-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.6));
}
.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}
.brand-badge-tag {
  background: rgba(167, 139, 250, 0.2);
  color: #e0e7ff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wizard-topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.wizard-ghost-btn {
  background: transparent;
  color: #e0e7ff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wizard-ghost-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.wizard-back-btn {
  background: #6d4aff;
  color: #ffffff;
  border: none;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(109, 74, 255, 0.4);
  transition: all 0.2s ease;
}
.wizard-back-btn:hover {
  background: #5b3ee0;
  transform: translateY(-1px);
}
.wizard-body-container {
  max-width: 1320px;
  margin: 2.5rem auto 4rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.wizard-stepper-sidebar {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: var(--shadow-md);
}
.stepper-header-box {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}
.stepper-badge-pill {
  background: #ede9fe;
  color: #6d4aff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid #ddd6fe;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stepper-headline {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.85rem;
  margin-bottom: 0.25rem;
}
.stepper-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.stepper-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.stepper-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  user-select: none;
  transition: all 0.2s ease;
}
.step-indicator {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.stepper-step.active .step-indicator {
  background: #6d4aff;
  border-color: #6d4aff;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(109, 74, 255, 0.45);
}
.stepper-step.completed .step-indicator {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #059669;
}
.step-label-wrapper {
  display: flex;
  flex-direction: column;
}
.step-num-text {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.step-title-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}
.stepper-step.active .step-title-text {
  color: #6d4aff;
  font-weight: 800;
}
.step-subtitle-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.sidebar-help-card {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}
.help-icon-bubble {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.sidebar-help-card h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}
.sidebar-help-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.wizard-main-content {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2.75rem 3rem;
  box-shadow: var(--shadow-md);
}
.wizard-card-surface {
  width: 100%;
}
.wizard-step-pane {
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.step-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.step-tag-pill {
  color: #6d4aff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.step-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  background: #ede9fe;
  border: 1px solid #ddd6fe;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}
.step-heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.step-subheading,
.step-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.business-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
}
.biz-select-card,
.type-select-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 2px 8px rgba(49, 46, 129, 0.04);
}
.biz-select-card:hover,
.type-select-card:hover {
  border-color: #a78bfa;
  background: #faf9ff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -4px rgba(109, 74, 255, 0.14);
}
.biz-select-card.selected,
.type-select-card.selected {
  border: 2px solid #6d4aff;
  background: #faf8ff;
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.18), 0 12px 30px -4px rgba(109, 74, 255, 0.22);
}
.biz-select-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0.75rem;
}
.biz-select-emoji,
.type-card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      #ede9fe 0%,
      #e0e7ff 100%);
  border: 1px solid #ddd6fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 2px 8px rgba(109, 74, 255, 0.1);
  transition: transform 0.2s ease;
}
.biz-select-card:hover .biz-select-emoji {
  transform: scale(1.06);
}
.selection-checkmark,
.selected-check-indicator {
  background: #6d4aff;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(109, 74, 255, 0.4);
  letter-spacing: 0.02em;
}
.select-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.biz-select-card:hover .select-radio-circle {
  border-color: #a78bfa;
}
.biz-select-title,
.type-card-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}
.biz-select-desc,
.type-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}
.biz-select-meta-tag {
  display: inline-flex;
  align-items: center;
  background: #ede9fe;
  color: #6d4aff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #ddd6fe;
}
.step-footer-actions,
.wizard-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  gap: 1.5rem;
}
.link-action-btn {
  background: none;
  border: none;
  color: #6d4aff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.5rem 0;
}
.link-action-btn:hover {
  color: #5b3ee0;
  text-decoration: underline;
  transform: translateX(-2px);
}
.wizard-btn-next {
  background: #6d4aff;
  color: #ffffff;
  border: none;
  padding: 0.95rem 2.25rem;
  border-radius: 9999px;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(109, 74, 255, 0.4);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.wizard-btn-next:hover {
  background: #5b3ee0;
  box-shadow: 0 8px 24px rgba(109, 74, 255, 0.55);
  transform: translateY(-1px);
}
.wizard-btn-prev {
  background: #ffffff;
  color: var(--deep-purple);
  border: 1.5px solid var(--border);
  padding: 0.95rem 2rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wizard-btn-prev:hover {
  background: #ede9fe;
  color: #6d4aff;
  border-color: #a78bfa;
}
.wizard-btn-submit {
  background: #10b981;
  color: #ffffff;
  border: none;
  padding: 0.95rem 2.25rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.wizard-btn-submit:hover:not(:disabled) {
  background: #059669;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.55);
  transform: translateY(-1px);
}
.wizard-btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.wizard-form-section,
.form-section-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.field-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #312e81;
}
.text-input,
.login-auth-form .form-input {
  background: #ffffff;
  border: 1.5px solid var(--border);
  color: var(--text-main);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  width: 100%;
}
.text-input:focus,
.login-auth-form .form-input:focus {
  border-color: #6d4aff;
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.16);
  outline: none;
}
.text-input:disabled,
.read-only-input {
  background: var(--bg-main);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
}
.field-hint,
.input-helper-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.form-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-three-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}
.section-divider-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
}
.dynamic-module-box {
  background: #faf9ff;
  border: 1.5px solid #ede9fe;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.module-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e1b4b;
  margin-bottom: 0.5rem;
}
.radio-option-row,
.checkbox-option-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
  cursor: pointer;
}
.radio-label input[type=radio],
.checkbox-label input[type=checkbox] {
  accent-color: #6d4aff;
  width: 17px;
  height: 17px;
  cursor: pointer;
}
.units-selection-group {
  margin-top: 0.5rem;
}
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.5rem;
}
.unit-chip {
  background: #ede9fe;
  color: #6d4aff;
  border: 1px solid #ddd6fe;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: default;
}
.checkbox-agreement-box {
  background: #faf9ff;
  border: 1px solid #ede9fe;
  border-radius: 14px;
  padding: 1.25rem;
  margin-top: 1rem;
}
.wizard-review-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.review-section-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 1.6rem 1.85rem;
  box-shadow: 0 2px 8px rgba(49, 46, 129, 0.04);
}
.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}
.review-header-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e1b4b;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.review-header-icon {
  font-size: 1.35rem;
}
.review-edit-btn {
  background: #ede9fe;
  border: 1px solid #ddd6fe;
  color: #6d4aff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.review-edit-btn:hover {
  background: #6d4aff;
  color: #ffffff;
  border-color: #6d4aff;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.review-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.review-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.review-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}
.review-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.review-feature-badge {
  background: #ede9fe;
  color: #6d4aff;
  border: 1px solid #ddd6fe;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
}
.wizard-error-banner {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.login-split-page {
  display: flex;
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-main);
}
.login-left-pane {
  flex: 1.1;
  background:
    linear-gradient(
      145deg,
      #312e81 0%,
      #1e1b4b 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}
.login-left-pane::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(167, 139, 250, 0.25) 0%,
      transparent 70%);
  pointer-events: none;
}
.login-left-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2rem;
  user-select: none;
}
.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
}
.login-hero-copy {
  margin-bottom: 2.25rem;
}
.login-hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1rem;
}
.login-hero-highlight {
  color: #a78bfa;
}
.login-hero-sub {
  font-size: 1.05rem;
  color: #c7d2fe;
  line-height: 1.6;
}
.login-preview-graphic {
  margin-bottom: 2.5rem;
}
.preview-tablet-frame {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  color: var(--text-main);
}
.tablet-header {
  background: var(--bg-main);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tablet-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.tablet-dot.red {
  background: #ef4444;
}
.tablet-dot.yellow {
  background: #f59e0b;
}
.tablet-dot.green {
  background: #10b981;
}
.tablet-title-bar {
  margin-left: auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.15rem 0.75rem;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}
.tablet-screen-mock {
  padding: 1.25rem;
  background: #ffffff;
}
.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.mock-stat-chip {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
}
.chip-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}
.chip-val {
  font-size: 1.1rem;
  font-weight: 900;
  color: #6d4aff;
}
.mock-grid-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.mock-item-cell {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.25rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
}
.login-value-tags {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.value-tag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}
.tag-icon {
  font-size: 0.95rem;
}
.login-right-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2.5rem;
  position: relative;
  background: var(--bg-main);
}
.login-top-nav {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
}
.nav-back-home-btn {
  background: #ffffff;
  color: var(--deep-purple);
  border: 1px solid var(--border);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: var(--shadow-sm);
}
.nav-back-home-btn:hover {
  background: #ede9fe;
  color: #6d4aff;
  border-color: #a78bfa;
  transform: translateX(-2px);
}
.login-form-container {
  width: 100%;
  max-width: 440px;
}
.login-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.75rem 2.25rem;
  box-shadow: 0 20px 45px rgba(49, 46, 129, 0.1);
}
.login-avatar-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #ede9fe;
  border: 1px solid #ddd6fe;
  color: #6d4aff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.login-card-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-main);
  text-align: center;
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}
.login-card-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
}
.login-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.alert-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}
.login-auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.login-auth-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.login-auth-form .form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}
.required-star {
  color: #ef4444;
}
.input-with-icon {
  position: relative;
  width: 100%;
}
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password-input-wrapper .form-input {
  padding-right: 2.75rem;
}
.password-toggle-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.password-toggle-btn:hover {
  color: var(--text-main);
}
.login-row-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-top: -0.25rem;
}
.forgot-password-link {
  background: none;
  border: none;
  padding: 0;
  color: #6d4aff;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.forgot-password-link:hover {
  color: #5b3ee0;
  text-decoration: underline;
}
.btn-primary-login {
  background: #6d4aff;
  color: #ffffff;
  border: none;
  padding: 0.95rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(109, 74, 255, 0.4);
  transition: all 0.25s ease;
  margin-top: 0.5rem;
}
.btn-primary-login:hover:not(:disabled) {
  background: #5b3ee0;
  box-shadow: 0 8px 24px rgba(109, 74, 255, 0.55);
  transform: translateY(-1px);
}
.btn-loading-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.spinner-icon {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.demo-accounts-box {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.demo-accounts-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0.85rem;
}
.demo-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.demo-chip-btn {
  background: var(--bg-main);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-chip-btn:hover {
  background: #ede9fe;
  border-color: #a78bfa;
  color: #6d4aff;
  transform: translateY(-1px);
}
.login-footer-action {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.register-highlight-link {
  background: none;
  border: none;
  padding: 0;
  color: #6d4aff;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.9rem;
  margin-left: 0.35rem;
  transition: color 0.15s ease;
}
.register-highlight-link:hover {
  color: #5b3ee0;
  text-decoration: underline;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 27, 75, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}
.modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(49, 46, 129, 0.25);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: modalScale 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e1b4b;
  margin: 0;
}
.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}
.modal-close-btn:hover {
  color: #1e1b4b;
}
.modal-body {
  padding: 1.5rem 1.75rem;
}
.forgot-modal-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.forgot-status-banner {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.forgot-status-banner.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}
.forgot-status-banner.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #059669;
}
.modal-actions-row {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}
.forgot-dialog {
  max-width: 480px;
  width: 100%;
}
.forgot-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mockup-svg-chart-wrapper {
  position: relative;
  height: 110px;
}
.type-icon {
  font-size: 1.85rem;
  line-height: 1;
}
.landing-faq-section {
  padding: 5rem 2.5rem;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pack-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.pack-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.selector-page-wrapper {
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}
.selector-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #312e81;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 2rem;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(49, 46, 129, 0.25);
}
.selector-nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.selector-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.selector-brand-icon {
  width: 34px;
  height: 34px;
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #a78bfa 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 16px rgba(109, 74, 255, 0.45);
}
.selector-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #ffffff;
}
.selector-user-menu {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.selector-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.selector-back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}
.user-profile-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
}
.user-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #a78bfa 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}
.user-info-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.user-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}
.user-role-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 999px;
}
.selector-logout-btn {
  padding: 0.45rem 0.95rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #fecdd3;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.selector-logout-btn:hover {
  background: #ef4444;
  color: #ffffff;
}
.selector-main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}
.selector-card-box {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-md);
  animation: cardFadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.selector-icon-header {
  text-align: center;
  margin-bottom: 2rem;
}
.selector-icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 18px;
  background: #ede9fe;
  border: 1px solid #ddd6fe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6d4aff;
  box-shadow: 0 10px 25px rgba(109, 74, 255, 0.15);
}
.selector-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
}
.selector-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.55;
}
.selector-business-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}
.business-item-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.15rem 1.35rem;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: left;
}
.business-item-card:hover {
  background: #ffffff;
  border-color: #6d4aff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(109, 74, 255, 0.12);
}
.business-item-card.current-active {
  background: #faf9ff;
  border-color: #6d4aff;
  box-shadow: 0 0 0 1px #6d4aff, 0 10px 25px rgba(109, 74, 255, 0.1);
}
.business-card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid;
}
.biz-icon-emoji {
  font-size: 1.5rem;
  line-height: 1;
}
.business-card-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.business-name-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.business-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
}
.current-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.35);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.business-card-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.business-type-label {
  font-weight: 700;
  color: #6d4aff;
}
.meta-bullet {
  color: #cbd5e1;
}
.business-location {
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}
.business-gstin {
  color: #6d4aff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  background: #ede9fe;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}
.business-card-action {
  flex-shrink: 0;
}
.active-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #ede9fe;
  color: #6d4aff;
  border: 1px solid #ddd6fe;
  transition: all 0.2s ease;
}
.business-item-card:hover .active-pill-badge {
  background: #6d4aff;
  border-color: #6d4aff;
  color: #ffffff;
  transform: translateX(2px);
}
.selector-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--bg-main);
  border: 1px dashed var(--border);
  border-radius: 14px;
  color: var(--text-muted);
}
.selector-empty-state p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.selector-bottom-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.register-another-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: #ffffff;
  border: 1.5px dashed var(--border);
  color: var(--text-main);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.register-another-btn:hover {
  background: #ede9fe;
  border-color: #6d4aff;
  border-style: solid;
  color: #6d4aff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(109, 74, 255, 0.2);
}
.register-another-btn .plus-icon {
  font-size: 1.2rem;
  font-weight: 800;
  color: #6d4aff;
}
.selector-security-note {
  margin-top: 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}
.sec-note-shield {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.sec-note-text strong {
  color: #312e81;
}
.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  background: #f8f7ff;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--text-main);
}
.dropdown-footer {
  padding: 0.55rem 0.75rem;
  border-top: 1px solid var(--border);
  background: #f8f7ff;
}
.store-profile-card {
  padding: 0.75rem;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  margin-bottom: 0.65rem;
  border: 1px solid var(--border);
}
.store-profile-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}
.store-profile-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}
.store-profile-meta-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  background: #ffffff;
  padding: 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}
.store-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.store-meta-label {
  color: var(--text-dim);
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.store-meta-val {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.74rem;
  text-align: right;
  word-break: break-word;
}
.store-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.65rem;
}
.store-quick-action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.45rem 0.65rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--deep-purple);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}
.store-quick-action-btn:hover {
  background: #ede9fe;
  border-color: #a78bfa;
  color: #6d4aff;
  transform: translateX(2px);
}
.store-isolation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  white-space: nowrap;
}
.store-single-tenant-note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}
@media (max-width: 1240px) {
  .cta-banner-content-split {
    padding: 2.25rem 2.5rem;
    gap: 1.75rem 2rem;
  }
  .cta-banner-left {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .cta-banner-text {
    max-width: 680px;
  }
  .cta-banner-center-actions {
    flex: 1;
    justify-content: flex-start;
  }
  .cta-banner-stats {
    padding-left: 1.75rem;
    gap: 1.75rem;
  }
}
@media (max-width: 1024px) {
  .landing-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group,
  .hero-trust-row {
    justify-content: center;
  }
  .business-cards-grid,
  .pillars-container,
  .features-showcase-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .wizard-body-container {
    grid-template-columns: 1fr;
  }
  .wizard-stepper-sidebar {
    display: none;
  }
  .login-split-page {
    flex-direction: column;
  }
  .login-left-pane {
    padding: 3rem 2rem;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .mockup-charts-row {
    grid-template-columns: 1fr;
  }
  .mockup-metric-cards-row {
    grid-template-columns: 1fr;
  }
  .cta-banner-content-split {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }
  .cta-banner-left {
    flex-direction: column;
    text-align: center;
  }
  .cta-banner-stats {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 0;
    padding-top: 1.5rem;
    justify-content: center;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .landing-nav-links {
    display: none;
  }
  .hero-headline {
    font-size: 2.5rem;
  }
  .business-selector-grid,
  .form-two-col-grid,
  .form-three-col-grid,
  .checkbox-option-row,
  .review-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .selector-navbar {
    padding: 0.75rem 1rem;
  }
  .selector-card-box {
    padding: 1.75rem 1.25rem;
  }
  .selector-title {
    font-size: 1.4rem;
  }
  .business-item-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .business-card-action {
    width: 100%;
  }
  .active-pill-badge {
    width: 100%;
    justify-content: center;
  }
  .business-location {
    max-width: 100%;
  }
  .mockup-inner-sidebar {
    display: none;
  }
  .mockup-category-strip {
    grid-template-columns: 1fr 1fr;
  }
  .section-header-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
.inventory-module-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
  animation: fadeIn 0.25s ease-out;
}
@media (max-width: 768px) {
  .inventory-module-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.inventory-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  align-items: stretch;
}
@media (max-width: 900px) {
  .inventory-hero-grid {
    grid-template-columns: 1fr;
  }
}
.bento-hero-card {
  background: #ffffff;
  border: 1px solid #ececf5;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(91, 76, 245, 0.06);
  box-sizing: border-box;
  min-height: 180px;
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s ease;
}
.bento-hero-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 14px 28px rgba(91, 76, 245, 0.12);
}
.inventory-stat-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  align-items: stretch;
}
.inventory-stat-cards-grid .cat-bento-kpi-card {
  height: 100%;
  border-radius: 20px;
  padding: 24px;
  min-height: 140px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .inventory-stat-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .inventory-stat-cards-grid {
    grid-template-columns: 1fr;
  }
}
.inventory-empty-banner {
  background: #ffffff;
  border: 1px solid #ececf5;
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(91, 76, 245, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.inventory-empty-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #eef0ff;
  color: #5b4cf5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.inventory-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}
.inventory-empty-subtitle {
  font-size: 14px;
  color: #64748b;
  max-width: 460px;
  margin: 0 0 20px 0;
  line-height: 1.5;
}
.inventory-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: var(--bg-card);
  padding: 0.75rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.title-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(109, 74, 255, 0.15);
}
.inventory-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin: 0;
}
.badge-live-sync {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.live-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pulseBeacon 2s infinite ease-in-out;
}
@keyframes pulseBeacon {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.inventory-title-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.title-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.btn-inv-header-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-inv-header-outline:hover {
  background: var(--bg-main);
  border-color: #cbd5e1;
}
.btn-inv-header-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(109, 74, 255, 0.25);
  transition: all 0.15s ease;
}
.btn-inv-header-primary:hover {
  background: var(--primary-hover, #5b3bf5);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(109, 74, 255, 0.35);
}
.service-business-notice-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
}
.inv-saas-page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  color: #0f172a;
}
.inv-saas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.25rem 0;
}
.inv-header-title-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.inv-title-icon-squircle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08);
}
.inv-header-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.inv-header-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0.25rem 0 0 0;
}
.inv-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.inv-btn-primary-blue {
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.62rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}
.inv-btn-primary-blue:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}
.inv-btn-outline-white {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.62rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.inv-btn-outline-white:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}
.inv-kpi-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.inv-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}
.inv-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}
.inv-stat-card.active-filter {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}
.inv-stat-top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.inv-stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.inv-stat-icon-wrap.blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}
.inv-stat-icon-wrap.green {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.inv-stat-icon-wrap.amber {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}
.inv-stat-icon-wrap.rose {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.inv-stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 2px;
}
.inv-stat-value {
  font-size: 1.85rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.inv-stat-trend {
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.inv-stat-trend.green {
  color: #16a34a;
}
.inv-stat-trend.amber {
  color: #d97706;
}
.inv-stat-trend.rose {
  color: #dc2626;
}
.inv-saas-tabs-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.25rem;
  overflow-x: auto;
}
.inv-saas-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.inv-saas-tab-btn:hover {
  color: #0f172a;
}
.inv-saas-tab-btn.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}
.inv-tab-pill-count {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-weight: 700;
}
.inv-controls-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.inv-search-input-wrap {
  position: relative;
  flex: 1 1 300px;
  max-width: 440px;
}
.inv-search-icon-pos {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
}
.inv-search-input-field {
  width: 100%;
  padding: 0.55rem 2rem 0.55rem 2.4rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.86rem;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.inv-search-input-field:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.inv-search-clear-btn {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
}
.inv-filters-right-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.inv-clean-select {
  padding: 0.55rem 2rem 0.55rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 0.65rem center / 14px;
  appearance: none;
  -webkit-appearance: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.inv-clean-select:focus {
  outline: none;
  border-color: #2563eb;
}
.inv-view-toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2px;
}
.inv-view-btn {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.inv-view-btn.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}
.inv-table-outer-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.inv-saas-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.inv-saas-data-table th {
  background: #f8fafc;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.inv-saas-data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
  color: #1e293b;
  vertical-align: middle;
}
.inv-saas-data-table tr.item-row:hover td {
  background: #f8fafc;
}
.inv-saas-data-table tr.item-row.selected td {
  background: #eff6ff;
}
.inv-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  cursor: pointer;
}
.inv-prod-cell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.inv-prod-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  object-fit: cover;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #64748b;
  font-size: 0.78rem;
}
.inv-prod-info {
  display: flex;
  flex-direction: column;
}
.inv-prod-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.25;
}
.inv-prod-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 3px;
}
.inv-category-pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.inv-category-pill.cat-grains {
  background: #dbeafe;
  color: #1d4ed8;
}
.inv-category-pill.cat-dairy {
  background: #e0e7ff;
  color: #4338ca;
}
.inv-category-pill.cat-snacks {
  background: #ede9fe;
  color: #6d28d9;
}
.inv-category-pill.cat-groceries {
  background: #d1fae5;
  color: #047857;
}
.inv-category-pill.cat-essentials {
  background: #cffafe;
  color: #0e7490;
}
.inv-category-pill.cat-beverages {
  background: #fce7f3;
  color: #be185d;
}
.inv-category-pill.cat-default {
  background: #f1f5f9;
  color: #475569;
}
.inv-status-pill {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.inv-status-pill.status-in-stock {
  background: #d1fae5;
  color: #065f46;
}
.inv-status-pill.status-low-stock {
  background: #fef3c7;
  color: #92400e;
}
.inv-status-pill.status-out-stock {
  background: #fee2e2;
  color: #991b1b;
}
.inv-status-pill.status-negative {
  background: #ede9fe;
  color: #6d28d9;
}
.inv-action-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.inv-action-circle-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}
.inv-pagination-footer {
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.inv-pagination-text {
  font-size: 0.84rem;
  color: #64748b;
}
.inv-pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.inv-page-num-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.inv-page-num-btn:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.inv-page-num-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  font-weight: 600;
}
.inv-page-num-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.inv-page-ellipsis {
  padding: 0 4px;
  color: #94a3b8;
  font-size: 0.82rem;
}
.inv-bulk-bar {
  background: #0f172a;
  color: #ffffff;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.inv-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
  padding: 1.25rem;
}
.inv-grid-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.inv-grid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}
@media (max-width: 1024px) {
  .inv-kpi-row-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .inv-kpi-row-4 {
    grid-template-columns: 1fr;
  }
  .inv-controls-card {
    flex-direction: column;
    align-items: stretch;
  }
  .inv-search-input-wrap {
    max-width: 100%;
  }
  .inv-filters-right-group {
    flex-direction: column;
    align-items: stretch;
  }
}
.inventory-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
  width: 100%;
}
.bento-hero-valuation {
  grid-column: span 6;
  min-height: 125px;
}
.bento-hero-alert {
  grid-column: span 6;
  min-height: 125px;
}
.bento-stat-card {
  grid-column: span 3;
  min-height: 110px;
  cursor: pointer;
}
@media (max-width: 1180px) {
  .bento-hero-valuation {
    grid-column: span 12;
  }
  .bento-hero-alert {
    grid-column: span 12;
  }
  .bento-stat-card {
    grid-column: span 6;
  }
}
@media (max-width: 640px) {
  .bento-stat-card {
    grid-column: span 12;
  }
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.95rem 1.15rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -2px rgba(49, 46, 129, 0.08);
  border-color: rgba(109, 74, 255, 0.35);
}
.bento-hero-valuation {
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #faf8ff 60%,
      #f5f3ff 100%);
  border-color: #ede9fe;
}
.bento-hero-valuation:hover {
  border-color: #c7d2fe;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.1);
}
.bento-hero-alert.alert-critical {
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fff8f8 60%,
      #fef2f2 100%);
  border-color: #fca5a5;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.06);
}
.bento-hero-alert.alert-warning {
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fffdf5 60%,
      #fffbeb 100%);
  border-color: #fde68a;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.06);
}
.bento-hero-alert.alert-healthy {
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f6fef9 60%,
      #ecfdf5 100%);
  border-color: #a7f3d0;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.06);
}
.bento-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.bento-header-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.bento-icon-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.bento-card:hover .bento-icon-badge {
  transform: scale(1.06);
}
.bento-icon-badge.indigo {
  background: #e0e7ff;
  color: #4338ca;
}
.bento-icon-badge.purple {
  background: var(--primary-light);
  color: var(--primary);
}
.bento-icon-badge.green {
  background: #dcfce7;
  color: #15803d;
}
.bento-icon-badge.amber {
  background: #fef3c7;
  color: #b45309;
}
.bento-icon-badge.red {
  background: #fee2e2;
  color: #b91c1c;
}
.bento-icon-badge.pulse-red {
  background: #fee2e2;
  color: #dc2626;
  animation: pulseBlinkRed 1.8s infinite;
}
.bento-icon-badge.pulse-amber {
  background: #fef3c7;
  color: #d97706;
  animation: pulseBlinkAmber 1.8s infinite;
}
.bento-card-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  line-height: 1.2;
}
.bento-card-subtitle {
  font-size: 0.72rem;
  color: var(--text-dim);
  display: block;
  line-height: 1.2;
}
.badge-live-sync-pill {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.live-indicator-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulseBeacon 2s infinite ease-in-out;
}
.bento-hero-val-num {
  font-size: 1.65rem;
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.3rem 0;
}
.bento-health-section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.bento-health-bar {
  display: flex;
  height: 6px;
  border-radius: 9999px;
  overflow: hidden;
  background: #f1f5f9;
  gap: 2px;
}
.health-seg {
  height: 100%;
  transition: width 0.4s ease;
}
.health-seg.green {
  background: #10b981;
}
.health-seg.amber {
  background: #f59e0b;
}
.health-seg.rose {
  background: #f43f5e;
}
.bento-health-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.legend-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.legend-dot.green {
  background: #10b981;
}
.legend-dot.amber {
  background: #f59e0b;
}
.legend-dot.rose {
  background: #f43f5e;
}
.bento-alert-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.bento-alert-badge.red {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.bento-alert-badge.amber {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}
.bento-alert-badge.green {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}
.bento-alert-headline {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.alert-sep {
  color: var(--text-dim);
}
.bento-alert-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.35rem;
}
.bento-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.bento-btn-action.red {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.3);
}
.bento-btn-action.red:hover {
  background: #dc2626;
  transform: translateY(-1px);
}
.bento-btn-action.amber {
  background: #f59e0b;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.3);
}
.bento-btn-action.amber:hover {
  background: #d97706;
  transform: translateY(-1px);
}
.bento-btn-action.secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border);
}
.bento-btn-action.secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.bento-stat-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: "JetBrains Mono", monospace;
  line-height: 1.1;
  margin: 0.25rem 0;
}
.kpi-sub-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1.2;
}
.kpi-sub-badge.green {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.kpi-sub-badge.active,
.kpi-sub-badge.running {
  background: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}
.kpi-sub-badge.scheduled,
.kpi-sub-badge.upcoming {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}
.kpi-sub-badge.expired,
.kpi-sub-badge.ended {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}
.kpi-sub-badge.draft,
.kpi-sub-badge.not-live {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0;
}
.kpi-sub-badge.amber {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}
.kpi-sub-badge.red {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fca5a5;
}
.kpi-sub-badge.purple {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: #ddd6fe;
}
.bento-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-dim);
  border-top: 1px dashed var(--border);
  padding-top: 0.4rem;
  margin-top: 0.35rem;
}
.bento-link-arrow {
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  transition: transform 0.15s ease;
}
.bento-card:hover .bento-link-arrow {
  transform: translateX(3px);
}
.inventory-nav-tabs-bar {
  display: flex;
  gap: 0.45rem;
  background: var(--bg-card);
  padding: 0.35rem 0.45rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  overflow-x: auto;
  align-items: center;
}
.inv-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.inv-tab-btn:hover {
  background: var(--bg-main);
  color: var(--text-main);
}
.inv-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(109, 74, 255, 0.3);
}
.tab-count-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  line-height: 1.2;
}
.tab-count-badge.red {
  background: #f43f5e;
  color: #ffffff;
}
.tab-count-badge.amber {
  background: #f59e0b;
  color: #ffffff;
}
.inv-table-filters-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  background: var(--bg-card);
  padding: 0.65rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  margin-bottom: 0.65rem;
}
.inv-search-box {
  display: flex;
  align-items: center;
  position: relative;
  flex: 1 1 300px;
}
.inv-search-input {
  width: 100%;
  height: 38px;
  padding: 0 2rem 0 2.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 0.84rem;
  transition: all 0.15s ease;
  box-sizing: border-box;
}
.inv-search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.12);
}
.inv-filter-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.inv-select {
  height: 38px;
  padding: 0 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
}
.inv-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.12);
}
.ledger-table-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.inventory-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.inventory-data-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 0.95rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.inventory-data-table td {
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: var(--text-main);
}
.inventory-data-table tr:hover td {
  background: #faf9ff;
}
.item-cell-title {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.88rem;
  line-height: 1.3;
}
.item-cell-sub {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 3px;
  line-height: 1.2;
}
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  color: #334155;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1.25;
  border: 1px solid #e2e8f0;
  vertical-align: middle;
  box-sizing: border-box;
  text-align: left;
}
.category-pill.cat-grains {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.category-pill.cat-dairy {
  background: #e0e7ff;
  color: #4338ca;
  border-color: #c7d2fe;
}
.category-pill.cat-snacks {
  background: #faf5ff;
  color: #6d28d9;
  border-color: #e9d5ff;
}
.category-pill.cat-groceries {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.category-pill.cat-beverages {
  background: #fdf2f8;
  color: #be185d;
  border-color: #fbcfe8;
}
.category-pill.cat-essentials {
  background: #ecfeff;
  color: #0e7490;
  border-color: #a5f3fc;
}
.stock-number-pill {
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 0.95rem;
  color: #1e1b4b;
}
.stock-number-pill.zero {
  color: #f43f5e;
}
.stock-number-pill.low {
  color: #d97706;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}
.status-pill.green {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.status-pill.amber {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.status-pill.red {
  background: #ffe4e6;
  color: #9f1239;
  border: 1px solid #fecdd3;
}
.status-pill.gray {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}
.status-pill.purple {
  background: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #d8b4fe;
}
.stock-number-pill.negative {
  color: #9333ea;
}
.insights-methodology-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background:
    linear-gradient(
      135deg,
      #f5f3ff 0%,
      #ede9fe 100%);
  border: 1px solid #ddd6fe;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.insights-methodology-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.insights-methodology-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #4c1d95;
  margin-bottom: 0.25rem;
}
.insights-methodology-text {
  font-size: 0.84rem;
  color: #5b21b6;
  line-height: 1.45;
}
.insights-methodology-meta {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #6d28d9;
}
.insights-methodology-meta span {
  background: rgba(255, 255, 255, 0.7);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #c4b5fd;
  font-weight: 600;
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.insights-panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.insights-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.15rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.insights-panel-header h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
.insights-panel-body {
  padding: 1rem;
  flex: 1;
}
.runway-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.runway-badge.critical {
  background: #ffe4e6;
  color: #9f1239;
  border: 1px solid #fecdd3;
}
.runway-badge.high {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.runway-badge.moderate {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}
.dead-capital-badge {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.76rem;
}
.batch-quarantine-badge {
  background: #fdf2f8;
  color: #9d174d;
  border: 1px solid #fbcfe8;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.74rem;
}
.editable-reorder-link {
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}
.editable-reorder-link:hover {
  color: var(--deep-purple);
}
.btn-configure-tag {
  background: #f3f0ff;
  color: var(--primary);
  border: 1px dashed var(--accent-purple);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
}
.supplier-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  max-width: 100%;
  box-sizing: border-box;
  vertical-align: middle;
  line-height: 1.25;
  transition: all 0.15s ease;
}
.supplier-chip:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}
.supplier-chip .supplier-name-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  max-width: 155px;
}
.table-actions-cluster {
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
}
.btn-action-small {
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-action-small:hover {
  background: var(--bg-main);
  border-color: var(--primary);
  color: var(--primary);
}
.btn-action-small.primary {
  background: var(--primary-light);
  border-color: var(--accent-purple);
  color: var(--primary);
}
.btn-action-small.primary:hover {
  background: var(--primary);
  color: #ffffff;
}
.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.95rem;
  background: var(--bg-card);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.page-btn {
  padding: 0.2rem 0.55rem;
  font-size: 0.74rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
}
.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.page-current {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.74rem;
}
.stock-ledger-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ledger-filters-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}
.ledger-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.filter-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.filter-input,
.filter-select {
  padding: 0.45rem 0.65rem;
  font-size: 0.84rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-main);
  outline: none;
}
.filter-input:focus,
.filter-select:focus {
  border-color: var(--primary);
}
.btn-reset-filters {
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.ledger-audit-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  color: #4c1d95;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
}
.ledger-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.ledger-badge.sale {
  background: #fee2e2;
  color: #991b1b;
}
.ledger-badge.purchase {
  background: #d1fae5;
  color: #065f46;
}
.ledger-badge.return {
  background: #e0e7ff;
  color: #3730a3;
}
.ledger-badge.adjust {
  background: #fef3c7;
  color: #92400e;
}
.ledger-badge.opening {
  background: #f1f5f9;
  color: #334155;
}
.ledger-badge.transfer {
  background: #ede9fe;
  color: #5b21b6;
}
.ledger-badge.default {
  background: #f1f5f9;
  color: #475569;
}
.doc-ref-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: var(--text-main);
}
.qty-in-pill {
  color: #059669;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
}
.qty-out-pill {
  color: #dc2626;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
}
.operator-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  background: #f8fafc;
  color: #334155;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 1.25;
  box-sizing: border-box;
  text-align: left;
}
.reason-tag-inline {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  color: #334155;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-right: 0.35rem;
  white-space: nowrap;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.notes-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.count-sessions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.mini-progress-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 4px;
}
.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 9999px;
  transition: width 0.3s ease;
}
.discrepancy-pill {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 700;
}
.active-count-sheet {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sheet-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.btn-back-link {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.5rem;
}
.sheet-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sheet-id-badge {
  background: #ede9fe;
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.95rem;
}
.sheet-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
}
.sheet-meta-info {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}
.sheet-top-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.count-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}
.count-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.count-workflow-notice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
}
.sheet-filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: var(--bg-card);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.sheet-segmented-filter {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
}
.filter-tab.active {
  background: var(--deep-purple);
  color: #ffffff;
  border-color: var(--deep-purple);
}
.sheet-search-wrap {
  flex: 0 1 240px;
}
.count-input-box {
  width: 100px;
  padding: 0.35rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
}
.line-note-box {
  width: 100%;
  padding: 0.35rem 0.5rem;
  font-size: 0.8rem;
}
.diff-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
}
.diff-pill.match {
  background: #d1fae5;
  color: #065f46;
}
.diff-pill.shortage {
  background: #ffe4e6;
  color: #9f1239;
}
.diff-pill.surplus {
  background: #dbeafe;
  color: #1e40af;
}
.diff-pill.pending {
  background: #f1f5f9;
  color: #64748b;
}
.discrepancy-row td {
  background: #fffdf5;
}
.inventory-modal-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px -10px rgba(49, 46, 129, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.8);
  overflow: hidden;
  animation: modalScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e1b4b;
  line-height: 1.25;
  margin: 0;
}
.modal-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 0.2rem;
  font-weight: 500;
}
.modal-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.modal-icon-badge.purple {
  background: #f3f0ff;
  color: #6d4aff;
  border: 1px solid #ede9fe;
}
.modal-icon-badge.amber {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}
.modal-icon-badge.blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}
.btn-close-modal {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
  outline: none;
}
.btn-close-modal:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}
.modal-form-body {
  padding: 1.5rem 1.75rem;
  background: #ffffff;
  overflow-y: auto;
  max-height: calc(88vh - 75px);
}
.item-meta-summary-box {
  background:
    linear-gradient(
      135deg,
      #f8faff 0%,
      #f3f0ff 100%);
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.field-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 0.4rem;
}
.field-label.required::after {
  content: " *";
  color: #ef4444;
}
.field-helper {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.35rem;
  line-height: 1.45;
}
.selected-item-pill-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}
.item-stock-stat-badge {
  text-align: right;
}
.item-stock-stat-badge .badge-lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.item-stock-stat-badge .badge-val {
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}
.current-stock-info-banner {
  display: flex;
  justify-content: space-around;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-bottom: 1rem;
}
.info-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.info-stat .stat-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
}
.info-stat .stat-number {
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-main);
}
.mode-segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.segment-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.65rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.segment-btn span {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
}
.segment-btn small {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.segment-btn.active {
  background: #f3f0ff;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(109, 74, 255, 0.15);
}
.segment-btn.active span {
  color: var(--primary);
}
.input-with-unit {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-with-unit .form-input {
  padding-right: 4.5rem !important;
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  font-size: 0.95rem;
}
.input-with-unit input[type=number]::-webkit-outer-spin-button,
.input-with-unit input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.input-with-unit input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.input-unit-tag {
  position: absolute;
  right: 10px;
  background: #ede9fe;
  color: #6d4aff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(109, 74, 255, 0.25);
  pointer-events: none;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.02em;
}
.modal-actions-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}
.adjustment-preview-box {
  background: #f8faff;
  border: 1px solid #e0e7ff;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}
.adjustment-preview-box.negative-alert {
  background: #fff5f5;
  border-color: #fecaca;
}
.preview-flow {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.preview-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.preview-step .step-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.preview-step .step-val {
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 1.15rem;
}
.preview-arrow {
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  background: #ede9fe;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}
.negative-warning-text {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #dc2626;
  font-weight: 600;
  text-align: center;
}
.sub-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}
.confirm-modal-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  max-width: 440px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.confirm-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.confirm-icon-wrap.amber {
  background: #fef3c7;
  color: #d97706;
}
.confirm-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.confirm-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.confirm-summary-list {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  text-align: left;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  border-bottom: 1px dashed #e2e8f0;
}
.summary-row:last-child {
  border-bottom: none;
}
.summary-row.highlight {
  font-weight: 700;
  color: var(--primary);
  border-top: 1px solid #cbd5e1;
  padding-top: 0.4rem;
}
.reason-tag {
  background: #ede9fe;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.confirm-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.replenishment-header-card {
  background: var(--bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.suggested-order-badge {
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 0.9rem;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}
.btn-primary-small {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.btn-primary-small:hover {
  background: var(--primary-hover);
}
.review-stat-summary-bar {
  display: flex;
  justify-content: space-around;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-bottom: 1rem;
}
.review-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.review-stat span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.review-stat strong {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
}
.discrepancy-review-scroll-table {
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.mini-review-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.mini-review-table th {
  background: #f1f5f9;
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.mini-review-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.perfect-match-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
@keyframes pulseBlinkRed {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.75);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(239, 68, 68, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    transform: scale(1);
  }
}
@keyframes pulseBlinkAmber {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.75);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(245, 158, 11, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    transform: scale(1);
  }
}
@keyframes flashDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.85);
  }
}
.blinking-badge-red {
  animation: modernPulseRed 2s infinite cubic-bezier(0.4, 0, 0.2, 1) !important;
  background:
    linear-gradient(
      135deg,
      #ff3366 0%,
      #e11d48 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 999px !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}
.blinking-badge-amber {
  animation: modernPulseAmber 2s infinite cubic-bezier(0.4, 0, 0.2, 1) !important;
  background:
    linear-gradient(
      135deg,
      #fbbf24 0%,
      #f59e0b 50%,
      #d97706 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 999px !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}
@keyframes modernPulseRed {
  0% {
    box-shadow:
      0 0 0 0 rgba(255, 51, 102, 0.6),
      0 2px 8px rgba(225, 29, 72, 0.4),
      inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(255, 51, 102, 0),
      0 3px 12px rgba(225, 29, 72, 0.55),
      inset 0 1px 1px rgba(255, 255, 255, 0.5);
    transform: scale(1.06);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(255, 51, 102, 0),
      0 2px 8px rgba(225, 29, 72, 0.4),
      inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transform: scale(1);
  }
}
@keyframes modernPulseAmber {
  0% {
    box-shadow:
      0 0 0 0 rgba(245, 158, 11, 0.6),
      0 2px 8px rgba(217, 119, 6, 0.4),
      inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(245, 158, 11, 0),
      0 3px 12px rgba(217, 119, 6, 0.55),
      inset 0 1px 1px rgba(255, 255, 255, 0.5);
    transform: scale(1.06);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(245, 158, 11, 0),
      0 2px 8px rgba(217, 119, 6, 0.4),
      inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transform: scale(1);
  }
}
.blinking-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  animation: flashDot 1.2s infinite ease-in-out;
  flex-shrink: 0;
}
.blinking-dot.red {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.8);
}
.blinking-dot.amber {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.8);
}
.dashboard-stock-alert-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:
    linear-gradient(
      90deg,
      #fff1f2 0%,
      #fff5f5 100%);
  border: 1px solid #fecaca;
  border-left: 5px solid #ef4444;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px -2px rgba(239, 68, 68, 0.12);
  gap: 1rem;
}
.dashboard-stock-alert-banner.amber-only {
  background:
    linear-gradient(
      90deg,
      #fffbeb 0%,
      #fefce8 100%);
  border-color: #fde68a;
  border-left-color: #f59e0b;
  box-shadow: 0 4px 16px -2px rgba(245, 158, 11, 0.12);
}
.alert-banner-left {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}
.alert-banner-pulse-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  animation: pulseBlinkRed 1.8s infinite;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  flex-shrink: 0;
}
.alert-banner-pulse-icon.amber {
  background: #fef3c7;
  border-color: #fcd34d;
  animation: pulseBlinkAmber 1.8s infinite;
}
.alert-banner-content {
  display: flex;
  flex-direction: column;
}
.alert-banner-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: #991b1b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
}
.alert-banner-title.amber {
  color: #92400e;
}
.alert-banner-desc {
  font-size: 0.82rem;
  color: #7f1d1d;
  margin-top: 0.2rem;
  line-height: 1.4;
}
.alert-banner-desc.amber {
  color: #78350f;
}
.alert-banner-btn {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: #ef4444;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.15s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}
.alert-banner-btn:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.45);
}
.alert-banner-btn.amber {
  background: #d97706;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}
.alert-banner-btn.amber:hover {
  background: #b45309;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.45);
}
.nav-shift-badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.02em;
}
.nav-shift-badge.active {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.25);
}
.nav-shift-badge.closed {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.shifts-dashboard-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0.25rem 0 2rem 0;
}
.shifts-hero-card {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfcfe 60%,
      #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow:
    0 1px 2px 0 rgba(15, 23, 42, 0.04),
    0 6px 18px -2px rgba(15, 23, 42, 0.05),
    0 18px 36px -6px rgba(99, 102, 241, 0.06),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 0 rgba(226, 232, 240, 0.5);
  position: relative;
  overflow: hidden;
}
.shifts-hero-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background:
    radial-gradient(
      circle,
      rgba(129, 140, 248, 0.2) 0%,
      rgba(99, 102, 241, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.shifts-hero-left {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 720px;
  z-index: 1;
}
.hero-status-pill-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.shift-active-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.5);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.05em;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}
.pulse-green-dot {
  width: 9px;
  height: 9px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}
@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.shift-closed-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.03em;
}
.gray-dot {
  width: 8px;
  height: 8px;
  background-color: #94a3b8;
  border-radius: 50%;
}
.shop-location-chip {
  background: rgba(255, 255, 255, 0.12);
  color: #e0e7ff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.shifts-hero-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.shifts-hero-subtitle {
  margin: 0.25rem 0 0 0;
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.45;
}
.shifts-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  z-index: 1;
}
.btn-hero-action {
  padding: 0.75rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border: none;
}
.btn-hero-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.btn-hero-action.large {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  background: #ffffff;
  color: #1e1b4b;
  border: 1px solid #e0e7ff;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 16px rgba(255, 255, 255, 0.4);
}
.btn-hero-action.large:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}
.shifts-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.15rem;
}
.shift-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
  position: relative;
}
.shift-kpi-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.shift-kpi-card.highlight-expected {
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f5f3ff 100%);
  border: 2px solid #818cf8;
  box-shadow: 0 8px 25px -4px rgba(99, 102, 241, 0.15);
}
.kpi-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kpi-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kpi-icon {
  font-size: 1.25rem;
}
.kpi-main-val {
  font-size: 1.7rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.kpi-subtext {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}
.shifts-nav-tabs {
  display: flex;
  gap: 0.5rem;
  background: #f1f5f9;
  padding: 0.35rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow-x: auto;
}
.shifts-nav-tabs .tab-btn {
  background: transparent;
  border: none;
  color: #475569;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.shifts-nav-tabs .tab-btn:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.6);
}
.shifts-nav-tabs .tab-btn.active {
  background: #ffffff;
  color: #4f46e5;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}
.shifts-section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}
.card-header-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  padding: 0.25rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.filter-pill {
  background: transparent;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-pill:hover {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.6);
}
.filter-pill.active {
  background: #4f46e5;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}
.shifts-overview-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 1.75rem;
}
@media (max-width: 1024px) {
  .shifts-overview-layout {
    grid-template-columns: 1fr;
  }
}
.formula-detailed-flow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 1rem 0;
}
.formula-step {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem;
  min-width: 155px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.formula-step.result {
  background:
    linear-gradient(
      145deg,
      #eef2ff 0%,
      #e0e7ff 100%);
  border: 2px solid #6366f1;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}
.step-badge {
  width: 24px;
  height: 24px;
  background: #e2e8f0;
  color: #475569;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-badge.primary {
  background: #4f46e5;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.4);
}
.step-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.step-desc {
  font-size: 0.72rem;
  color: #64748b;
  min-height: 28px;
  line-height: 1.35;
}
.step-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 0.35rem;
}
.formula-operator {
  font-size: 1.5rem;
  font-weight: 800;
  color: #94a3b8;
  padding: 0 0.2rem;
}
.formula-safety-notice {
  margin-top: 1.25rem;
  padding: 0.9rem 1.2rem;
  background: #eef2ff;
  border-left: 4px solid #6366f1;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #3730a3;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}
.side-actions-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.75rem;
}
.side-action-btn {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.95rem 1.15rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.side-action-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.side-action-btn strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 700;
}
.side-action-btn p {
  margin: 0.2rem 0 0 0;
  font-size: 0.78rem;
  color: #64748b;
}
.shifts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.shifts-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.85rem 1.15rem;
  border-bottom: 2px solid #e2e8f0;
  letter-spacing: 0.05em;
  text-align: left;
}
.shifts-table td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  font-size: 0.88rem;
}
.shifts-table tr:hover td {
  background: #f8fafc;
}
.table-total-row td {
  background: #f8fafc;
  border-top: 2px solid #cbd5e1;
  padding: 1.1rem;
  color: #0f172a;
  font-weight: 800;
}
.method-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.method-badge.cash {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.method-badge.upi {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}
.method-badge.card {
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}
.method-badge.bank {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}
.movement-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.movement-tag.cash_in {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.movement-tag.cash_out {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}
.variance-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}
.variance-tag.balanced {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.variance-tag.shortage {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.variance-tag.excess {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}
.pending-review-tag {
  color: #d97706;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.reviewed-check {
  color: #059669;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.shift-modal-card {
  max-width: 520px;
  width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.85);
  border: none;
  overflow: hidden;
  animation: modalPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes modalPopIn {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.shift-modal-card.wide {
  max-width: 720px;
  max-height: 92vh;
}
.shift-report-modal.wide {
  max-width: 840px;
  width: 95%;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.85);
  border: none;
  overflow: hidden;
  animation: modalPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.modal-top-accent {
  height: 4px;
  width: 100%;
  background:
    linear-gradient(
      90deg,
      #6366f1 0%,
      #8b5cf6 50%,
      #d946ef 100%);
}
.modal-top-accent.green-accent {
  background:
    linear-gradient(
      90deg,
      #10b981 0%,
      #059669 100%);
}
.modal-top-accent.amber-accent {
  background:
    linear-gradient(
      90deg,
      #f59e0b 0%,
      #d97706 100%);
}
.modal-top-accent.red-accent {
  background:
    linear-gradient(
      90deg,
      #ef4444 0%,
      #dc2626 100%);
}
.modal-top-accent.purple-accent {
  background:
    linear-gradient(
      90deg,
      #6366f1 0%,
      #a855f7 100%);
}
.shift-modal-card .modal-header,
.shift-report-modal .modal-header {
  padding: 1.35rem 1.65rem;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.modal-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  transition: transform 0.2s ease;
}
.modal-icon-badge.green {
  background:
    linear-gradient(
      135deg,
      #10b981 0%,
      #059669 100%);
  box-shadow: 0 6px 16px -2px rgba(16, 185, 129, 0.35);
}
.modal-icon-badge.red {
  background:
    linear-gradient(
      135deg,
      #ef4444 0%,
      #dc2626 100%);
  box-shadow: 0 6px 16px -2px rgba(239, 68, 68, 0.35);
}
.modal-icon-badge.amber {
  background:
    linear-gradient(
      135deg,
      #f59e0b 0%,
      #d97706 100%);
  box-shadow: 0 6px 16px -2px rgba(245, 158, 11, 0.35);
}
.modal-icon-badge.purple {
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  box-shadow: 0 6px 16px -2px rgba(99, 102, 241, 0.35);
}
.modal-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.modal-subtitle {
  margin: 0.3rem 0 0 0;
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.cashier-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #f1f5f9;
  color: #1e293b;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  font-size: 0.8rem;
  border: 1px solid #e2e8f0;
}
.cashier-role-tag {
  color: #64748b;
  font-weight: 500;
}
.shift-ref-pill {
  display: inline-flex;
  align-items: center;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: "JetBrains Mono", monospace;
}
.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}
.modal-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: rotate(90deg);
}
.shift-modal-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.shift-modal-body,
.shift-modal-form .shift-modal-body,
.shift-modal-card form.shift-modal-body {
  padding: 1.25rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.shift-modal-body .form-group {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.shift-modal-body .form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.req {
  color: #ef4444;
  font-weight: 800;
}
.rupee-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 60px;
  border-radius: 16px;
  background: #fcfcfd;
  border: 2px solid #e2e8f0;
  padding: 0 0.85rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.rupee-input-wrapper:focus-within {
  background: #ffffff !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12), 0 4px 16px rgba(99, 102, 241, 0.08) !important;
}
.rupee-input-wrapper.large {
  height: 66px;
}
.rupee-badge-prefix {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 1.35rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.15);
  user-select: none;
}
.rupee-input {
  flex: 1;
  height: 100% !important;
  padding: 0 0.75rem !important;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  font-family: "JetBrains Mono", monospace !important;
  color: #0f172a !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  letter-spacing: -0.02em;
}
.rupee-input.large {
  font-size: 1.95rem !important;
}
.quick-amount-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 0.65rem;
}
.quick-pill {
  position: relative;
  padding: 0.7rem 0.5rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.quick-pill:hover {
  border-color: #818cf8;
  background: #faf5ff;
  color: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}
.quick-pill.active {
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #6366f1 100%);
  border-color: transparent;
  color: #ffffff;
  font-weight: 800;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
}
.quick-pill-currency {
  font-weight: 800;
  opacity: 0.85;
}
.quick-pill-val {
  font-family: "JetBrains Mono", monospace;
}
.quick-pill-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.15rem;
}
.form-hint-callout {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.65rem;
  line-height: 1.4;
}
.form-hint-callout svg {
  color: #6366f1;
  flex-shrink: 0;
}
.select-input-wrapper {
  position: relative;
  width: 100%;
}
.shift-modal-body .form-input,
.shift-modal-body .form-select {
  width: 100%;
  height: 50px;
  padding: 0 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #0f172a;
  background-color: #ffffff;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  outline: none;
}
.shift-modal-body .form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  background-size: 16px 16px;
  padding-right: 2.75rem !important;
  cursor: pointer;
}
.shift-modal-body .form-input:focus,
.shift-modal-body .form-select:focus,
.shift-modal-body input[type=text]:focus,
.shift-modal-body textarea:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12), 0 2px 8px rgba(99, 102, 241, 0.06) !important;
  background: #ffffff !important;
}
.shift-modal-body input[type=text] {
  width: 100%;
  height: 50px;
  padding: 0 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  font-size: 0.92rem;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.shift-modal-body .form-textarea {
  height: auto;
  min-height: 75px;
  padding: 0.75rem 1rem;
  line-height: 1.45;
  resize: vertical;
}
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  padding-top: 1.35rem;
  border-top: 1px solid #f1f5f9;
  margin-top: 0.5rem;
}
.shift-modal-card .modal-actions {
  padding: 1rem 1.65rem 1.25rem 1.65rem;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.04);
  margin-top: auto;
}
.modal-cancel-btn {
  height: 46px;
  padding: 0 1.5rem;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.modal-cancel-btn:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}
.btn-start-shift {
  height: 46px;
  padding: 0 1.85rem;
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #6366f1 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-start-shift:hover:not(:disabled) {
  background:
    linear-gradient(
      135deg,
      #4338ca 0%,
      #4f46e5 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.45);
}
.btn-success-gradient {
  height: 46px;
  padding: 0 1.75rem;
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #059669 0%,
      #10b981 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-success-gradient:hover:not(:disabled) {
  background:
    linear-gradient(
      135deg,
      #047857 0%,
      #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.45);
}
.btn-warning-gradient {
  height: 46px;
  padding: 0 1.75rem;
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #d97706 0%,
      #f59e0b 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-warning-gradient:hover:not(:disabled) {
  background:
    linear-gradient(
      135deg,
      #b45309 0%,
      #d97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
}
.btn-finalize-close {
  height: 46px;
  padding: 0 1.85rem;
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #dc2626 0%,
      #ef4444 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-finalize-close:hover:not(:disabled) {
  background:
    linear-gradient(
      135deg,
      #b91c1c 0%,
      #dc2626 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.45);
}
.shift-modal-alert {
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.45;
}
.shift-modal-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.shift-modal-alert.error svg {
  color: #ef4444;
  flex-shrink: 0;
}
.movement-toggle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.movement-toggle-btn {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  color: #64748b;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.movement-toggle-btn.in.active {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
.movement-toggle-btn.out.active {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.variance-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.variance-banner.balanced .variance-icon-wrap {
  background: #d1fae5;
  color: #059669;
}
.variance-banner.shortage .variance-icon-wrap {
  background: #fee2e2;
  color: #dc2626;
}
.variance-banner.excess .variance-icon-wrap {
  background: #fef3c7;
  color: #d97706;
}
.shift-reconciliation-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.35rem;
  margin-bottom: 1.35rem;
}
.panel-subheading {
  margin: 0 0 0.85rem 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.recon-formula-grid {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}
.recon-term {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.recon-term.expected-term {
  background: #eef2ff;
  border: 2px solid #818cf8;
}
.term-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}
.term-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}
.term-val.expected-val {
  font-size: 1.2rem;
  color: #4338ca;
}
.recon-op {
  font-size: 1.25rem;
  font-weight: 800;
  color: #94a3b8;
}
.recon-noncash-notice {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
  border-top: 1px dashed #cbd5e1;
  padding-top: 0.75rem;
}
.variance-banner {
  border-radius: 14px;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}
.variance-banner.balanced {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.variance-banner.shortage {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.variance-banner.excess {
  background: #fffbeb;
  border: 1px solid #fde68a;
}
.variance-banner-left {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}
.variance-icon {
  font-size: 1.8rem;
}
.variance-title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}
.variance-subtitle {
  margin: 0.2rem 0 0 0;
  font-size: 0.82rem;
  color: #475569;
}
.variance-badge-number {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: monospace;
}
.variance-banner.balanced .variance-badge-number {
  color: #059669;
}
.variance-banner.shortage .variance-badge-number {
  color: #dc2626;
}
.variance-banner.excess .variance-badge-number {
  color: #d97706;
}
.report-modal-scroll {
  max-height: 75vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.closing-report-document {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.report-header-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 1rem;
}
.report-store-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}
.report-store-meta {
  font-size: 0.84rem;
  color: #64748b;
  margin-top: 0.25rem;
}
.report-shift-badge-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.report-shift-no {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: monospace;
  color: #4f46e5;
}
.report-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  background: #f8fafc;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.meta-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}
.meta-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}
.report-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.report-section-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.report-table th {
  background: #f8fafc;
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-size: 0.74rem;
  color: #475569;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
}
.report-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}
.report-table .highlight-row td {
  background: #eef2ff;
  border-top: 2px solid #818cf8;
  color: #3730a3;
  font-weight: 800;
}
.report-table .variance-row.shortage td {
  background: #fef2f2;
  color: #b91c1c;
  font-weight: 700;
}
.report-table .variance-row.excess td {
  background: #fffbeb;
  color: #b45309;
  font-weight: 700;
}
.report-table .variance-row.balanced td {
  background: #ecfdf5;
  color: #047857;
  font-weight: 700;
}
.report-discrepancy-card {
  padding: 0.95rem 1.15rem;
  border-radius: 10px;
  margin-top: 0.65rem;
}
.report-discrepancy-card.shortage {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
}
.report-discrepancy-card.excess {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
}
.discrepancy-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.35rem;
}
.report-discrepancy-card.shortage .discrepancy-badge {
  color: #dc2626;
}
.report-discrepancy-card.excess .discrepancy-badge {
  color: #d97706;
}
.discrepancy-text {
  margin: 0;
  font-size: 0.88rem;
  color: #1e293b;
  line-height: 1.45;
}
.manager-reviewed-card {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 0.95rem 1.15rem;
}
.reviewed-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: #059669;
}
.reviewed-by-line {
  margin: 0.35rem 0 0 0;
  font-size: 0.85rem;
  color: #065f46;
}
.reviewed-notes {
  margin: 0.35rem 0 0 0;
  font-size: 0.82rem;
  color: #047857;
}
.pending-review-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #d97706;
  padding: 0.5rem 0;
  font-weight: 600;
}
.manager-review-form {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.15rem;
  margin-top: 0.75rem;
}
.empty-shift-banner {
  text-align: center;
  padding: 4.5rem 2rem;
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}
.empty-icon {
  font-size: 3.25rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
}
.empty-shift-banner h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}
.empty-shift-banner p {
  margin: 0;
  color: #64748b;
  max-width: 480px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.empty-subtab-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background: #f8fafc;
  border: 2px dashed #e2e8f0;
  border-radius: 14px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.empty-subtab-state span {
  font-size: 2.75rem;
}
.empty-subtab-state p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #64748b;
}
.role-dashboards-view {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem 2rem;
  box-sizing: border-box;
}
.space-y-6 > * + * {
  margin-top: 1.5rem;
}
.space-y-4 > * + * {
  margin-top: 1rem;
}
.space-y-3 > * + * {
  margin-top: 0.75rem;
}
.space-y-2 > * + * {
  margin-top: 0.5rem;
}
.space-y-1 > * + * {
  margin-top: 0.25rem;
}
.max-w-7xl {
  max-width: 80rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.pb-12 {
  padding-bottom: 3rem;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.grid {
  display: grid;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }
  .md\:items-center {
    align-items: center;
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.bg-white {
  background-color: #ffffff;
}
.bg-slate-50 {
  background-color: #f8fafc;
}
.bg-slate-100 {
  background-color: #f1f5f9;
}
.bg-slate-200 {
  background-color: #e2e8f0;
}
.bg-slate-800 {
  background-color: #1e293b;
}
.bg-slate-900 {
  background-color: #0f172a;
}
.bg-indigo-50 {
  background-color: #eef2ff;
}
.bg-indigo-600 {
  background-color: #4f46e5;
}
.bg-indigo-950 {
  background-color: #1e1b4b;
}
.bg-emerald-50 {
  background-color: #ecfdf5;
}
.bg-emerald-600 {
  background-color: #059669;
}
.bg-amber-50 {
  background-color: #fffbeb;
}
.bg-amber-50\/60 {
  background-color: rgba(255, 251, 235, 0.6);
}
.bg-rose-50 {
  background-color: #fff1f2;
}
.bg-rose-600 {
  background-color: #e11d48;
}
.bg-gradient-to-r {
  background-image:
    linear-gradient(
      135deg,
      #1e1b4b 0%,
      #312e81 50%,
      #0f172a 100%) !important;
}
.from-slate-900 {
  --tw-from: #0f172a;
}
.via-indigo-950 {
  --tw-via: #1e1b4b;
}
.to-slate-900 {
  --tw-to: #0f172a;
}
.text-white {
  color: #ffffff !important;
}
.text-slate-900 {
  color: #0f172a !important;
}
.text-slate-800 {
  color: #1e293b !important;
}
.text-slate-700 {
  color: #334155 !important;
}
.text-slate-600 {
  color: #475569 !important;
}
.text-slate-500 {
  color: #64748b !important;
}
.text-slate-400 {
  color: #94a3b8 !important;
}
.text-slate-300 {
  color: #cbd5e1 !important;
}
.text-slate-200 {
  color: #e2e8f0 !important;
}
.text-indigo-300 {
  color: #a5b4fc !important;
}
.text-indigo-400 {
  color: #818cf8 !important;
}
.text-indigo-600 {
  color: #4f46e5 !important;
}
.text-indigo-700 {
  color: #4338ca !important;
}
.text-emerald-600 {
  color: #059669 !important;
}
.text-emerald-700 {
  color: #047857 !important;
}
.text-amber-600 {
  color: #d97706 !important;
}
.text-rose-600 {
  color: #e11d48 !important;
}
.text-rose-700 {
  color: #be123c !important;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.font-normal {
  font-weight: 400;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.font-black {
  font-weight: 900;
}
.uppercase {
  text-transform: uppercase;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.border {
  border: 1px solid #e2e8f0;
}
.border-t {
  border-top: 1px solid #e2e8f0;
}
.border-b {
  border-bottom: 1px solid #e2e8f0;
}
.border-slate-100 {
  border-color: #f1f5f9 !important;
}
.border-slate-200 {
  border-color: #e2e8f0 !important;
}
.border-slate-300 {
  border-color: #cbd5e1 !important;
}
.border-slate-700 {
  border-color: #334155 !important;
}
.border-slate-800 {
  border-color: #1e293b !important;
}
.border-indigo-400\/30 {
  border-color: rgba(129, 140, 248, 0.3) !important;
}
.border-indigo-800\/40 {
  border-color: rgba(49, 46, 129, 0.4) !important;
}
.border-emerald-200 {
  border-color: #a7f3d0 !important;
}
.border-amber-200 {
  border-color: #fde68a !important;
}
.border-amber-200\/80 {
  border-color: rgba(253, 230, 138, 0.8) !important;
}
.border-rose-200 {
  border-color: #fecdd3 !important;
}
.rounded-lg {
  border-radius: 8px;
}
.rounded-xl {
  border-radius: 12px;
}
.rounded-2xl {
  border-radius: 16px;
}
.rounded-full {
  border-radius: 9999px;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-3\.5 {
  padding: 0.875rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-4 {
  padding-top: 1rem;
}
.shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.z-10 {
  z-index: 10;
}
.cursor-pointer {
  cursor: pointer;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.w-4 {
  width: 1rem;
}
.h-4 {
  height: 1rem;
}
.w-5 {
  width: 1.25rem;
}
.h-5 {
  height: 1.25rem;
}
.w-8 {
  width: 2rem;
}
.h-8 {
  height: 2rem;
}
.w-96 {
  width: 24rem;
}
.h-96 {
  height: 24rem;
}
.blur-3xl {
  filter: blur(64px);
}
.pointer-events-none {
  pointer-events: none;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.hover\:bg-emerald-500:hover {
  background-color: #10b981 !important;
}
.hover\:bg-indigo-500:hover {
  background-color: #6366f1 !important;
}
.hover\:bg-indigo-700:hover {
  background-color: #4338ca !important;
}
.hover\:bg-slate-700:hover {
  background-color: #334155 !important;
}
.hover\:bg-slate-800\/60:hover {
  background-color: rgba(30, 41, 59, 0.6) !important;
}
.hover\:bg-slate-100:hover {
  background-color: #f1f5f9 !important;
}
.hover\:underline:hover {
  text-decoration-line: underline;
}
.role-dashboards-view button {
  cursor: pointer;
  border-style: solid;
}
.role-dashboards-view table {
  width: 100%;
  border-collapse: collapse;
}
.role-dashboards-view table th {
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
}
.role-dashboards-view table td {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}
.role-dashboards-view table tr:hover td {
  background-color: #f8fafc;
}
.role-dashboards-view .fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.role-dashboards-view .inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.role-dashboards-view .z-50 {
  z-index: 9999;
}
.role-dashboards-view .bg-black\/60 {
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}
.role-dashboards-view {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  box-sizing: border-box;
}
.barcode-print-portal {
  display: none;
}
.barcode-svg-preview {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  padding: 2px 4px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  max-width: 140px;
  overflow: hidden;
}
.barcode-svg-preview svg {
  display: block;
  max-width: 125px;
  height: 28px;
}
.btn-print-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 4px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-print-label:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
@media print {
  body.printing-barcode-labels {
    background: #ffffff !important;
    color: #000000 !important;
  }
  body.printing-barcode-labels .app-sidebar,
  body.printing-barcode-labels .app-header,
  body.printing-barcode-labels .card-title,
  body.printing-barcode-labels .data-table,
  body.printing-barcode-labels .btn,
  body.printing-barcode-labels button,
  body.printing-barcode-labels input,
  body.printing-barcode-labels select,
  body.printing-barcode-labels nav,
  body.printing-barcode-labels header,
  body.printing-barcode-labels aside,
  .modal-backdrop,
  .print-barcode-dialog {
    display: none !important;
  }
  body.printing-barcode-labels .barcode-print-portal {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff !important;
    color: #000000 !important;
  }
}
.print-barcode-dialog {
  max-width: 680px;
  width: 100%;
}
@media (max-width: 700px) {
  .print-barcode-dialog {
    max-width: 95vw;
    margin: 0.5rem;
  }
}
.table-scroll-x {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #9ca3af transparent;
}
.table-scroll-x::-webkit-scrollbar {
  height: 8px;
}
.table-scroll-x::-webkit-scrollbar-track {
  background: transparent;
  margin: 0 14px;
}
.table-scroll-x::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 999px;
}
.table-scroll-x::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}
.table-scroll-y {
  max-height: calc(100vh - 260px);
  overflow-y: auto;
  overflow-x: hidden;
  width: max-content;
  min-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.table-scroll-y::-webkit-scrollbar {
  display: none;
}
.table-scroll-y thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f8fafc;
  box-shadow: 0 1px 0 var(--border, #e2e8f0);
}
.table-scroll-y .col-product-name {
  min-width: 200px;
  max-width: 240px;
  white-space: normal;
  word-break: break-word;
}
.table-scroll-y .col-nowrap {
  white-space: nowrap;
}
.toggle-switch {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  position: relative;
  display: inline-flex;
  align-items: center;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background-color: #ef4444;
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  flex-shrink: 0;
  vertical-align: middle;
}
.toggle-switch:hover:not(:disabled) {
  background-color: #dc2626;
}
.toggle-switch.is-checked {
  background-color: #10b981;
}
.toggle-switch.is-checked:hover:not(:disabled) {
  background-color: #059669;
}
.toggle-switch:focus-visible {
  outline: 2px solid var(--primary, #6d4aff);
  outline-offset: 2px;
}
.toggle-switch:disabled,
.toggle-switch.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.toggle-switch-knob {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #ffffff;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transform: translateX(0);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.toggle-switch.is-checked .toggle-switch-knob {
  transform: translateX(18px);
}
@media (prefers-reduced-motion: reduce) {
  .toggle-switch,
  .toggle-switch-knob {
    transition: none !important;
  }
}
.product-movement-container {
  padding-top: 8px;
}
.product-movement-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .product-movement-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .product-movement-kpi-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.product-movement-analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .product-movement-analytics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.product-movement-kpi-card {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-movement-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(91, 76, 245, 0.1) !important;
}
.product-movement-container .data-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.75rem 0.95rem;
  border-bottom: 1px solid #e2e8f0;
}
.product-movement-container .data-table td {
  padding: 0.65rem 0.95rem;
  font-size: 0.82rem;
  vertical-align: middle;
}
.product-movement-container .data-table tr:hover td {
  background-color: #f8fafc;
}
@media (max-width: 900px) {
  .product-movement-container .movement-analytics-grid {
    grid-template-columns: 1fr !important;
  }
}
.bento-pos-root {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-bottom: 1.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  animation: bentoFadeIn 0.25s ease-out;
}
@keyframes bentoFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.bento-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.65rem 1rem;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  box-sizing: border-box;
  margin-top: 10px;
}
.bento-top-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.bento-pos-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.bento-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #7c3aed 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 3px 10px rgba(79, 70, 229, 0.28);
  flex-shrink: 0;
}
.bento-badge-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.bento-branch-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  background: #f1f5f9;
  border: 1.2px solid #cbd5e1;
  color: #1e293b;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.bento-branch-chip svg {
  color: #6366f1;
  flex-shrink: 0;
}
.bento-branch-chip-label {
  color: #64748b;
  font-weight: 600;
  margin-right: 2px;
}
.bento-counter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  background: #ede9fe;
  border: 1.2px solid #c4b5fd;
  color: #5b21b6;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
  box-shadow: 0 1px 3px rgba(99, 102, 241, 0.08);
}
.bento-counter-chip:hover {
  background: #ddd6fe;
  border-color: #a78bfa;
  color: #4338ca;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.2);
}
.bento-counter-chip svg {
  color: #7c3aed;
  flex-shrink: 0;
}
.bento-counter-chip-action {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 800;
  background: #7c3aed;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  margin-left: 2px;
}
.bento-badge-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.bento-badge-sub {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
}
.bento-shift-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: default;
}
.bento-shift-pill.open {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.bento-shift-pill.closed {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
  cursor: pointer;
  transition: all 0.15s;
}
.bento-shift-pill.closed:hover {
  background: #fef3c7;
  transform: translateY(-1px);
}
.bento-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  position: relative;
}
.bento-pulse-dot.green {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
.bento-pulse-dot.amber {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}
.bento-top-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.bento-shortcuts-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.kbd-chip {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
}
.kbd-chip kbd {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-bottom: 2px solid #94a3b8;
  border-radius: 4px;
  padding: 0.08rem 0.3rem;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  color: #1e293b;
}
.bento-alert-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #e11d48;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.bento-alert-pill:hover {
  background: #ffe4e6;
  transform: translateY(-1px);
}
.bento-cfd-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  line-height: 1;
  transition: all 0.15s ease;
}
.bento-cfd-pill:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #4338ca;
  transform: translateY(-1px);
}
.bento-cfd-pill.active {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}
.bento-cfd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
}
.bento-shift-warning-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background:
    linear-gradient(
      135deg,
      #fffbeb 0%,
      #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.08);
  box-sizing: border-box;
}
.bento-warning-text {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: #92400e;
}
.bento-open-shift-btn {
  background: #d97706;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(217, 119, 6, 0.25);
  transition: all 0.15s;
}
.bento-open-shift-btn:hover {
  background: #b45309;
  transform: translateY(-1px);
}
.bento-pos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(360px, 400px);
  gap: 0.85rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1100px) {
  .bento-pos-grid {
    grid-template-columns: 1fr;
  }
}
.bento-main-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.bento-side-col {
  position: sticky;
  top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.bento-left-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.bento-right-col {
  position: sticky;
  top: 0.85rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.bento-find-product-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.72rem 1rem;
  background:
    linear-gradient(
      135deg,
      #f5f3ff 0%,
      #ede9fe 100%);
  border: 1.5px solid #c4b5fd;
  border-radius: 10px;
  color: #6d28d9;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(109, 40, 217, 0.08);
  margin-top: 0.55rem;
}
.bento-find-product-btn:hover {
  background:
    linear-gradient(
      135deg,
      #ede9fe 0%,
      #ddd6fe 100%);
  border-color: #8b5cf6;
  color: #5b21b6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.16);
}
.bento-catalog-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  z-index: 99999;
  display: flex;
  justify-content: flex-end;
  animation: fadeIn 0.18s ease-out;
  margin: 0;
  padding: 0;
}
.bento-catalog-drawer {
  width: 640px;
  max-width: 92vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  border-top: none;
  border-bottom: none;
  border-right: none;
  border-radius: 0;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-sizing: border-box;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
.bento-drawer-header {
  padding: 1rem 1.25rem;
  border-bottom: 1.5px solid #e2e8f0;
  background: #fafbfc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.bento-drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bento-drawer-close-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
}
.bento-drawer-search-bar {
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.bento-drawer-search-input {
  flex: 1;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  outline: none;
  transition: all 0.15s ease;
}
.bento-drawer-search-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.bento-drawer-cats {
  padding: 0.6rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  white-space: nowrap;
  flex-shrink: 0;
}
.bento-drawer-cats::-webkit-scrollbar {
  height: 4px;
}
.bento-drawer-cat-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.bento-drawer-cat-pill:hover,
.bento-drawer-cat-pill.active {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}
.bento-drawer-footer {
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  border-top: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.05);
}
.bento-drawer-grid {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
  align-content: start;
}
.bento-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 14px;
  box-shadow: 0 3px 14px -2px rgba(15, 23, 42, 0.04), 0 1px 4px -1px rgba(15, 23, 42, 0.02);
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.bento-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -2px rgba(15, 23, 42, 0.03);
}
.bento-card-header {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  background: #fafbfc;
  box-sizing: border-box;
}
.bento-header-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.bento-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.bento-icon-circle.blue {
  background: #eff6ff;
  border: 1px solid #dbeafe;
}
.bento-icon-circle.purple {
  background: #f5f3ff;
  border: 1px solid #ede9fe;
}
.bento-icon-circle.emerald {
  background: #ecfdf5;
  border: 1px solid #d1fae5;
}
.bento-icon-circle.indigo {
  background: #eef2ff;
  border: 1px solid #e0e7ff;
}
.bento-card-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.bento-card-subtitle {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}
.bento-subgrid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
@media (max-width: 860px) {
  .bento-subgrid-2 {
    grid-template-columns: 1fr;
  }
}
.bento-customer-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: visible !important;
  position: relative;
  z-index: 30;
}
.bento-scanner-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.bento-customer-card .bento-customer-body {
  padding: 0.75rem 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  flex: 1;
  box-sizing: border-box;
  overflow: visible !important;
  position: relative;
}
.bento-scanner-card .bento-scanner-body {
  padding: 0.75rem 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  flex: 1;
  box-sizing: border-box;
}
.bento-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #15803d;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bento-add-btn:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.2);
}
.bento-input {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  color: #0f172a;
  transition: all 0.15s ease;
  box-sizing: border-box;
  height: 38px;
}
.bento-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.bento-input.compact {
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  height: 32px;
}
.bento-customer-quick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  min-height: 36px;
  box-sizing: border-box;
}
.bento-walkin-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}
.walkin-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}
.walkin-tag {
  background: #e2e8f0;
  color: #475569;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.bento-cust-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.bento-cust-count-badge:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.bento-customer-loyalty-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-sizing: border-box;
}
.loyalty-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.loyalty-phone-box {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #334155;
}
.loyalty-sub-text {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 600;
}
.loyalty-pts-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 9999px;
  font-size: 0.74rem;
  color: #b45309;
}
.loyalty-pts-pill .pts-count {
  font-weight: 800;
  color: #b45309;
}
.loyalty-pts-pill .pts-label {
  font-weight: 700;
  font-size: 0.68rem;
}
.loyalty-pts-pill .pts-val-bracket {
  font-size: 0.68rem;
  color: #059669;
  font-weight: 700;
}
.pos-redeem-points-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: #fffbeb;
  border: 1.5px solid #f59e0b;
  color: #92400e;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}
.pos-redeem-points-btn:hover {
  background: #fef3c7;
  border-color: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}
.pos-redeem-points-btn.redeeming {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.pos-redeem-points-btn.redeeming:hover {
  background: #d1fae5;
  border-color: #059669;
}
.redeem-save-badge {
  background: #fef3c7;
  color: #b45309;
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 700;
}
.redeem-cancel {
  font-size: 0.7rem;
  color: #dc2626;
  background: #fee2e2;
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
  font-weight: 700;
}
.loyalty-earn-notice {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: #047857;
  background: #f0fdf4;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px dashed #86efac;
}
.cust-item-loyalty-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  white-space: nowrap;
}
.bento-pharmacy-row {
  margin-top: 0.25rem;
}
.bento-sublabel {
  font-size: 0.7rem;
  color: #be185d;
  font-weight: 700;
  margin-bottom: 0.15rem;
  display: block;
}
.bento-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.bento-status-pill.green {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.bento-status-pill.emerald {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #6ee7b7;
}
.scanner-ready-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}
.scanner-input-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.scanner-laser-icon {
  position: absolute;
  left: 0.65rem;
  display: flex;
  align-items: center;
  color: #6366f1;
}
.bento-input.scanner-input {
  padding-left: 2rem;
  padding-right: 2rem;
}
.bento-input-clear-btn {
  position: absolute;
  right: 0.65rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.bento-input-clear-btn:hover {
  color: #0f172a;
  background: #e2e8f0;
}
.scanner-action-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 36px;
  box-sizing: border-box;
}
.bento-trigger-scan-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #6366f1;
  color: #ffffff;
  border: none;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.bento-trigger-scan-btn:hover {
  background: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.25);
}
.bento-mobile-scanner-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  color: #7c3aed;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.bento-mobile-scanner-btn:hover {
  background: #ede9fe;
  border-color: #c4b5fd;
  color: #6d28d9;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(124, 58, 237, 0.15);
}
.bento-mobile-scanner-btn.connected {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #059669;
}
.bento-trigger-scan-btn.camera-active {
  background: #dc2626;
  color: #ffffff;
}
.bento-trigger-scan-btn.camera-active:hover {
  background: #b91c1c;
  box-shadow: 0 3px 8px rgba(220, 38, 38, 0.25);
}
.bento-mobile-scanner-btn.connected:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
  color: #047857;
}
.pos-inline-camera-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  border: 2px solid #6366f1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
  margin-bottom: 0.65rem;
  transition: all 0.2s ease;
  min-height: 175px;
}
.pos-inline-camera-container.scan-flash {
  border-color: #10b981;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.7);
}
.pos-inline-camera-header {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}
.pos-cam-header-left {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.pos-cam-dot.live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: srbDotPulse 1.5s infinite ease-in-out;
}
.pos-cam-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.pos-cam-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
}
.pos-cam-ctrl-btn {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.pos-cam-ctrl-btn:hover {
  background: rgba(99, 102, 241, 0.85);
  border-color: #818cf8;
}
.pos-cam-close-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(220, 38, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pos-cam-close-btn:hover {
  background: #dc2626;
  transform: scale(1.05);
}
.pos-inline-camera-view {
  width: 100%;
  min-height: 175px;
  background: #020617;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pos-inline-camera-view video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 10px;
}
.pos-inline-camera-view img,
.pos-inline-camera-view #qr-shaded-region {
  display: none !important;
}
.pos-cam-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.78rem;
  background: #0f172a;
  z-index: 5;
}
.pos-cam-spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(99, 102, 241, 0.25);
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.pos-inline-laser-beam {
  position: absolute;
  top: 15%;
  left: 8%;
  right: 8%;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      #ef4444 30%,
      #f43f5e 50%,
      #ef4444 70%,
      transparent);
  box-shadow: 0 0 8px #f43f5e, 0 0 14px rgba(244, 63, 94, 0.8);
  pointer-events: none;
  z-index: 6;
  animation: posLaserSweep 2.2s infinite ease-in-out;
}
@keyframes posLaserSweep {
  0% {
    top: 20%;
    opacity: 0.8;
  }
  50% {
    top: 75%;
    opacity: 1;
  }
  100% {
    top: 20%;
    opacity: 0.8;
  }
}
.pos-inline-scan-target {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  height: 58%;
  pointer-events: none;
  z-index: 6;
}
.pos-inline-scan-target .corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #60a5fa;
  border-style: solid;
}
.pos-inline-scan-target .corner.top-left {
  top: 0;
  left: 0;
  border-width: 2.5px 0 0 2.5px;
  border-top-left-radius: 4px;
}
.pos-inline-scan-target .corner.top-right {
  top: 0;
  right: 0;
  border-width: 2.5px 2.5px 0 0;
  border-top-right-radius: 4px;
}
.pos-inline-scan-target .corner.bottom-left {
  bottom: 0;
  left: 0;
  border-width: 0 0 2.5px 2.5px;
  border-bottom-left-radius: 4px;
}
.pos-inline-scan-target .corner.bottom-right {
  bottom: 0;
  right: 0;
  border-width: 0 2.5px 2.5px 0;
  border-bottom-right-radius: 4px;
}
.pos-inline-hint {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  z-index: 7;
}
.pos-cam-error-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(185, 28, 28, 0.95);
  color: #ffffff;
  padding: 6px 10px;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}
.pos-cam-retry-btn {
  background: #ffffff;
  color: #b91c1c;
  border: none;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}
.scanner-ready-dot.pulsing {
  animation: srbDotPulse 1.2s infinite ease-in-out;
  box-shadow: 0 0 8px #10b981;
}
.bento-categories-card {
  padding-bottom: 0.65rem;
}
.bento-all-cats-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 0.3rem 0.75rem;
  border-radius: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.bento-all-cats-btn:hover,
.bento-all-cats-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}
.bento-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.65rem 0.9rem 0.25rem;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .bento-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.bento-cat-tile {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  min-width: 0;
  box-sizing: border-box;
}
.bento-cat-tile:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}
.bento-cat-tile.active {
  border-color: #4f46e5;
  background: #eef2ff;
  box-shadow: 0 3px 10px rgba(79, 70, 229, 0.15);
}
.cat-tile-icon {
  font-size: 1rem;
  flex-shrink: 0;
}
.cat-tile-label {
  flex: 1;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-tile-count {
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(148, 163, 184, 0.2);
  color: #475569;
  padding: 0.1rem 0.35rem;
  border-radius: 5px;
  flex-shrink: 0;
}
.bento-cat-tile.active .cat-tile-count {
  background: #4f46e5;
  color: #ffffff;
}
.bento-cat-tile.cat-groceries {
  border-color: rgba(16, 185, 129, 0.2);
}
.bento-cat-tile.cat-produce {
  border-color: rgba(34, 197, 94, 0.2);
}
.bento-cat-tile.cat-beverages {
  border-color: rgba(59, 130, 246, 0.2);
}
.bento-cat-tile.cat-snacks {
  border-color: rgba(239, 68, 68, 0.2);
}
.bento-cat-tile.cat-household {
  border-color: rgba(168, 85, 247, 0.2);
}
.bento-cat-tile.cat-care {
  border-color: rgba(236, 72, 153, 0.2);
}
.bento-cat-tile.cat-dairy {
  border-color: rgba(6, 182, 212, 0.2);
}
.bento-cat-tile.cat-others {
  border-color: rgba(100, 116, 139, 0.2);
}
.bento-catalog-card .bento-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  max-height: 490px;
  overflow-y: auto;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}
.bento-catalog-card .bento-products-grid::-webkit-scrollbar {
  width: 6px;
}
.bento-catalog-card .bento-products-grid::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.bento-catalog-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  justify-content: flex-end;
  max-width: 580px;
  min-width: 0;
}
.bento-catalog-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  min-width: 180px;
}
.bento-catalog-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.bento-catalog-search-icon {
  position: absolute;
  left: 0.75rem;
  color: #6366f1;
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  z-index: 1;
}
.bento-catalog-search-input {
  width: 100%;
  height: 34px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;
  padding: 0 2.2rem 0 2.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
}
.bento-catalog-search-input::placeholder {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 500;
}
.bento-catalog-search-input:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}
.bento-catalog-search-input:focus {
  border-color: #6366f1;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 2px 6px rgba(99, 102, 241, 0.08);
}
.bento-catalog-search-box:focus-within .bento-catalog-search-icon {
  color: #4f46e5;
  transform: scale(1.1);
}
.bento-catalog-search-clear {
  position: absolute;
  right: 0.65rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
  z-index: 2;
}
.bento-catalog-search-clear:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: scale(1.1);
}
.bento-search-kbd-hint {
  position: absolute;
  right: 0.65rem;
  pointer-events: none;
  display: flex;
  align-items: center;
  z-index: 1;
}
.bento-search-kbd-hint kbd {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  line-height: 1;
}
.bento-search-badge {
  display: inline-flex;
  align-items: center;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4f46e5;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.bento-new-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background:
    linear-gradient(
      135deg,
      #eef2ff 0%,
      #e0e7ff 100%);
  border: 1px solid #c7d2fe;
  color: #4f46e5;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-new-item-btn:hover {
  background: #4f46e5;
  border-color: #4338ca;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}
@media (max-width: 900px) {
  .bento-catalog-card .bento-card-header {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .bento-catalog-header-actions {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
  }
  .bento-catalog-search-wrap {
    flex: 1;
  }
}
@media (max-width: 480px) {
  .bento-search-kbd-hint {
    display: none;
  }
  .bento-catalog-search-input {
    font-size: 0.76rem;
    padding-left: 2rem;
  }
}
.bento-product-tile {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  min-width: 0;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
}
.bento-product-tile:hover {
  border-color: #6366f1;
  box-shadow: 0 10px 24px -4px rgba(99, 102, 241, 0.18), 0 4px 8px -2px rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}
.bento-product-tile.in-cart {
  border-color: #6366f1;
  background:
    linear-gradient(
      180deg,
      #fbfaff 0%,
      #ffffff 100%);
  box-shadow: 0 0 0 1.5px #6366f1, 0 6px 16px rgba(99, 102, 241, 0.12);
}
.bento-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}
.bento-tile-cat {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #4f46e5;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}
.bento-stock-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid transparent;
}
.stock-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.bento-stock-tag.in {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}
.bento-stock-tag.low {
  background: #fffbeb;
  color: #d97706;
  border-color: #fde68a;
}
.bento-stock-tag.out {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}
.bento-tile-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
  margin: 0.15rem 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.bento-tile-pricing {
  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.pricing-store-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
  flex-wrap: wrap;
}
.pricing-store-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.pricing-sub-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 1.4rem;
}
.mrp-strikethrough {
  font-size: 0.74rem;
  text-decoration: line-through;
  color: #94a3b8;
  font-weight: 500;
  white-space: nowrap;
}
.pricing-save-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #047857;
  background:
    linear-gradient(
      135deg,
      #ecfdf5 0%,
      #d1fae5 100%);
  border: 1px solid #a7f3d0;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: -0.01em;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pricing-save-badge svg {
  flex-shrink: 0;
  color: #059669;
}
.pricing-save-badge .save-pct {
  color: #065f46;
  font-weight: 800;
  margin-left: 0.1rem;
}
.pricing-standard-tag {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 600;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.14rem 0.45rem;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.bento-tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding-top: 0.25rem;
}
.bento-tile-sku {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
  background: #f1f5f9;
  padding: 0.18rem 0.45rem;
  border-radius: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100px;
}
.bento-tile-sku svg {
  flex-shrink: 0;
  color: #94a3b8;
}
.bento-tile-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #ede9fe;
  border: 1px solid #c4b5fd;
  border-radius: 9px;
  padding: 0.15rem 0.3rem;
}
.tile-stepper-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: none;
  background: #ffffff;
  color: #4338ca;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.tile-stepper-btn:hover {
  background: #4f46e5;
  color: #ffffff;
}
.tile-stepper-btn.plus {
  background: #4f46e5;
  color: #ffffff;
}
.tile-stepper-btn.plus:hover {
  background: #4338ca;
}
.tile-stepper-btn:disabled,
.tile-stepper-btn.disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
.tile-stepper-qty {
  font-size: 0.82rem;
  font-weight: 800;
  color: #4338ca;
  min-width: 22px;
  text-align: center;
}
.bento-quick-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  color: #ffffff;
  border: none;
  padding: 0.38rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}
.bento-quick-add-btn:hover:not(:disabled) {
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #4338ca 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}
.bento-quick-add-btn:disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.bento-product-tile.out-of-stock {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.2);
}
.bento-product-tile.out-of-stock:hover {
  transform: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border-color: #e2e8f0;
}
.bento-stock-tag.in .stock-dot {
  position: relative;
}
.bento-stock-tag.in .stock-dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.45);
  animation: stock-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes stock-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.2;
    transform: scale(1.6);
  }
}
.bento-billing-terminal {
  display: flex;
  flex-direction: column;
  min-height: auto;
  border-color: #cbd5e1;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}
.bento-terminal-header {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #e2e8f0;
  background:
    linear-gradient(
      180deg,
      #fafbfc 0%,
      #ffffff 100%);
  box-sizing: border-box;
}
.terminal-title-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.terminal-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #eef2ff;
  border: 1.5px solid #c7d2fe;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.terminal-heading {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.terminal-subheading {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}
.terminal-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.bento-clear-cart-btn {
  background: transparent;
  border: 1px solid #fecdd3;
  color: #e11d48;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
}
.bento-clear-cart-btn:hover:not(:disabled) {
  background: #fff1f2;
}
.bento-clear-cart-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #e2e8f0;
  color: #94a3b8;
}
.bento-hold-cart-btn {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
}
.bento-hold-cart-btn:hover {
  background: #e0f2fe;
}
.bento-category-strip-container {
  padding: 0.45rem 0.75rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.bento-category-strip-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.bento-category-strip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
}
.bento-cat-summary-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.cat-pill-name {
  font-weight: 700;
  color: #0f172a;
}
.cat-pill-count {
  color: #64748b;
  font-size: 0.66rem;
}
.cat-pill-total {
  font-weight: 800;
  color: #4f46e5;
  background: #eef2ff;
  padding: 0.08rem 0.3rem;
  border-radius: 4px;
}
.bento-cart-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  box-sizing: border-box;
  min-width: 0;
}
.bento-empty-cart {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  text-align: center;
}
.bento-empty-icon-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}
.empty-cart-ping {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #6366f1;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}
.empty-title {
  margin: 0.35rem 0 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
}
.empty-desc {
  margin: 0.2rem 0 0.85rem;
  font-size: 0.76rem;
  color: #64748b;
}
.bento-start-add-btn {
  background: #6366f1;
  color: #ffffff;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(99, 102, 241, 0.25);
  transition: all 0.15s;
}
.bento-start-add-btn:hover {
  background: #4f46e5;
  transform: translateY(-1px);
}
.bento-cart-table-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.bento-cart-table-header {
  display: grid;
  grid-template-columns: minmax(170px, 1.8fr) minmax(100px, 1.05fr) minmax(85px, 0.95fr) minmax(118px, 1.25fr) minmax(118px, 1.25fr) 34px;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  background: #f8fafc;
  border-bottom: 1.5px solid #e2e8f0;
  font-size: 0.65rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  align-items: center;
  box-sizing: border-box;
  user-select: none;
}
.bento-cart-table-header .th-item {
  text-align: left;
}
.bento-cart-table-header .th-qty {
  text-align: center;
}
.bento-cart-table-header .th-mrp,
.bento-cart-table-header .th-price,
.bento-cart-table-header .th-total {
  text-align: right;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}
.bento-cart-rows-scroll {
  display: flex;
  flex-direction: column;
  max-height: 220px;
  overflow-y: auto;
  scroll-behavior: smooth;
  min-width: 0;
  box-sizing: border-box;
}
.bento-cart-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.8fr) minmax(100px, 1.05fr) minmax(85px, 0.95fr) minmax(118px, 1.25fr) minmax(118px, 1.25fr) 34px;
  gap: 0.75rem;
  padding: 0.52rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  border-left: 3.5px solid transparent;
  align-items: center;
  transition:
    background 0.15s ease,
    border-left-color 0.2s ease,
    border-color 0.15s ease;
  min-width: 0;
  box-sizing: border-box;
  cursor: pointer;
}
.bento-cart-row.just-added-highlight {
  animation: justAddedPulse 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes justAddedPulse {
  0% {
    background-color: #dcfce7;
    border-left: 4px solid #16a34a;
    transform: translateY(-2px);
  }
  50% {
    background-color: #f0fdf4;
    border-left: 4px solid #22c55e;
  }
  100% {
    background-color: transparent;
    border-left: 4px solid transparent;
    transform: translateY(0);
  }
}
.bento-cart-row:hover {
  background: #f8fafc;
}
.bento-cart-row.keyboard-selected {
  background: #eff6ff !important;
  border-left: 3.5px solid #2563eb !important;
  box-shadow: inset 0 0 0 1px #bfdbfe;
}
.bento-cart-kbd-hints {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 8px;
  background: #f8fafc;
  border-top: 1px dashed #cbd5e1;
  border-bottom: 1px dashed #cbd5e1;
  font-size: 0.72rem;
  color: #64748b;
  margin: 3px 0 6px 0;
}
.bento-cart-kbd-hints .kbd-hint-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.bento-cart-kbd-hints kbd {
  display: inline-block;
  padding: 1px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1e293b;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}
.bento-row-item-col {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  padding-right: 0.25rem;
}
.bento-cart-item-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bento-cart-item-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.bento-cart-cat-badge {
  font-size: 0.64rem;
  font-weight: 700;
  color: #4338ca;
  background: #e0e7ff;
  padding: 0.08rem 0.3rem;
  border-radius: 4px;
  white-space: nowrap;
}
.bento-cart-savings-tag {
  font-size: 0.64rem;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 0.08rem 0.3rem;
  border-radius: 4px;
  white-space: nowrap;
}
.bento-row-qty-col {
  display: flex;
  justify-content: center;
}
.bento-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
}
.bento-qty-btn {
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  color: #475569;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s;
  padding: 0;
}
.bento-qty-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.bento-qty-btn:disabled,
.bento-qty-btn.disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
.bento-qty-value {
  min-width: 18px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: #0f172a;
}
.bento-row-mrp-col {
  text-align: right;
  white-space: nowrap;
}
.bento-mrp-val {
  font-size: 0.76rem;
  color: #475569;
  font-weight: 700;
  text-decoration: none;
}
.bento-row-store-col {
  text-align: right;
  white-space: nowrap;
}
.bento-store-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}
.bento-row-total-col {
  text-align: right;
  white-space: nowrap;
}
.bento-total-val {
  font-size: 0.86rem;
  font-weight: 900;
  color: #0f172a;
}
.bento-row-action-col {
  display: flex;
  justify-content: center;
}
.bento-row-remove-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem;
  border-radius: 4px;
  transition: all 0.15s;
}
.bento-row-remove-btn:hover {
  color: #ef4444;
  background: #fee2e2;
}
.bento-cart-footer {
  border-top: 1.5px solid #e2e8f0;
  background: #ffffff;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-sizing: border-box;
}
.bento-discount-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  background: #f8fafc;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
}
.discount-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}
.bento-discount-pills {
  display: flex;
  gap: 0.25rem;
}
.bento-disc-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 0.18rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  transition: all 0.12s;
}
.bento-disc-pill:hover {
  border-color: #6366f1;
  color: #6366f1;
}
.bento-disc-pill.active {
  background: #6366f1;
  border-color: #6366f1;
  color: #ffffff;
}
.bento-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-sizing: border-box;
}
.bento-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #475569;
}
.bento-summary-row.muted {
  color: #94a3b8;
  font-size: 0.74rem;
}
.bento-summary-row.discount-row {
  color: #059669;
  font-weight: 700;
}
.bento-summary-row.points-redeemed-row {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}
.points-label {
  color: #047857;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.bento-summary-row.loyalty-earn-row {
  background:
    linear-gradient(
      135deg,
      #faf5ff 0%,
      #fdf4ff 100%);
  border: 1px solid #f0abfc;
  border-radius: 9px;
  padding: 0.55rem 0.85rem;
  margin: 0.25rem 0;
  box-sizing: border-box;
  width: 100%;
}
.loyalty-label-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.loyalty-icon-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.loyalty-text {
  color: #86198f;
  font-weight: 750;
  font-size: 0.92rem;
}
.loyalty-rate-tag {
  font-size: 0.76rem;
  color: #a21caf;
  font-weight: 650;
}
.loyalty-val-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.loyalty-pts-text {
  color: #86198f;
  font-weight: 850;
  font-size: 1.05rem;
}
.loyalty-val-sub {
  font-size: 0.78rem;
  color: #15803d;
  font-weight: 750;
}
.bento-summary-row.tax-row {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 7px;
  padding: 0.35rem 0.5rem;
  color: #0f172a;
}
.tax-label-group {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.tax-sub-breakdown {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 600;
}
.tax-val {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
}
.summary-val {
  font-weight: 700;
}
.bento-savings-alert {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background:
    linear-gradient(
      135deg,
      #ecfdf5 0%,
      #d1fae5 100%);
  border: 1px solid #a7f3d0;
  border-radius: 7px;
  padding: 0.35rem 0.65rem;
  font-size: 0.74rem;
  color: #065f46;
}
.bento-billing-customer-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.52rem 0.85rem;
  background:
    linear-gradient(
      135deg,
      #f8fafc 0%,
      #f1f5f9 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.bento-billing-customer-chip:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}
.cust-chip-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
}
.cust-chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ede9fe;
  color: #6366f1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cust-chip-icon svg {
  display: block;
}
.bento-billing-customer-chip:hover .cust-chip-icon {
  background: #6366f1;
  color: #ffffff;
  transform: scale(1.06);
}
.cust-chip-label {
  font-weight: 750;
  color: #334155;
  letter-spacing: -0.01em;
}
.chip-walkin-text {
  font-weight: 700;
  color: #0f172a;
}
.chip-phone {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}
.chip-pts-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 1px 3px rgba(134, 25, 143, 0.08);
}
.chip-discount-tag {
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.74rem;
  font-weight: 750;
}
.cust-chip-focus-btn {
  background: #ffffff;
  border: 1.5px solid #c7d2fe;
  color: #4338ca;
  border-radius: 8px;
  padding: 0.35rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cust-chip-focus-btn:hover {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}
.cust-chip-focus-btn:active {
  transform: scale(0.97);
}
.bento-payment-modes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.3rem;
  width: 100%;
  box-sizing: border-box;
}
.bento-pay-mode-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.45rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}
.bento-pay-mode-btn .pay-mode-svg {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.bento-pay-mode-btn:hover {
  border-color: #6366f1;
  color: #6366f1;
  transform: translateY(-1px);
}
.bento-pay-mode-btn:hover .pay-mode-svg {
  transform: scale(1.1);
}
.bento-pay-mode-btn.active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}
.bento-checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  box-sizing: border-box;
  position: sticky;
  bottom: 0;
  background: #ffffff;
  z-index: 20;
  margin: 0.2rem -1rem -0.75rem -1rem;
  border-top: 1.5px solid #e2e8f0;
  box-shadow: 0 -4px 14px rgba(15, 23, 42, 0.06);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.bento-grand-total {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.grand-total-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.grand-total-val {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bento-checkout-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.bento-kot-btn {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  color: #b45309;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}
.bento-kot-btn:hover:not(:disabled) {
  background: #fef3c7;
}
.bento-checkout-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #6366f1 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(79, 70, 229, 0.35);
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.bento-checkout-btn:hover:not(:disabled) {
  background:
    linear-gradient(
      135deg,
      #4338ca 0%,
      #4f46e5 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(79, 70, 229, 0.45);
}
.bento-checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}
.checkout-arrow {
  font-size: 1.1rem;
  line-height: 1;
}
.bento-restaurant-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: #fffbeb;
  border-bottom: 1px solid #fef3c7;
  box-sizing: border-box;
}
.bento-restaurant-strip .strip-field label {
  font-size: 0.68rem;
  color: #b45309;
  font-weight: 700;
  display: block;
  margin-bottom: 0.12rem;
}
@media (max-width: 1250px) {
  .bento-cart-table-header,
  .bento-cart-row {
    grid-template-columns: minmax(170px, 1.8fr) minmax(100px, 1.05fr) minmax(85px, 0.95fr) minmax(118px, 1.25fr) minmax(118px, 1.25fr) 34px !important;
    gap: 0.65rem !important;
    padding: 0.5rem 0.6rem;
  }
  .bento-cart-table-header {
    font-size: 0.62rem;
  }
}
.bento-cash-tender-card {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  margin: 0.55rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-sizing: border-box;
  animation: fadeIn 0.2s ease-out;
}
.bento-tender-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bento-tender-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tender-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #dbeafe;
  color: #2563eb;
  flex-shrink: 0;
}
.bento-tender-exact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #e0e7ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.bento-tender-exact-btn:hover {
  background: #c7d2fe;
}
.bento-tender-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.bento-tender-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.bento-tender-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.bento-tender-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #94a3b8;
  border-radius: 8px;
  padding: 0 0.45rem;
  height: 36px;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bento-tender-input-wrap:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.bento-tender-symbol {
  font-size: 0.88rem;
  font-weight: 800;
  color: #64748b;
  margin-right: 0.2rem;
}
.bento-tender-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  background: transparent;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}
.bento-tender-input::-webkit-inner-spin-button,
.bento-tender-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.bento-tender-input::placeholder {
  color: #94a3b8;
  font-weight: 600;
  opacity: 0.8;
}
.bento-tender-clear-btn {
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 800;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 0.2rem;
  line-height: 1;
}
.bento-tender-clear-btn:hover {
  color: #ef4444;
}
.bento-tender-change-box {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 36px;
  padding: 0 0.65rem;
  border-radius: 8px;
  box-sizing: border-box;
}
.bento-tender-change-box.is-return {
  background: #ecfdf5;
  border: 1.5px solid #6ee7b7;
  color: #047857;
}
.bento-tender-change-box.is-short {
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
  color: #b45309;
}
.bento-tender-change-box .change-amount {
  font-size: 0.98rem;
  font-weight: 900;
}
.bento-tender-chips-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding-top: 0.2rem;
  border-top: 1px dashed #e2e8f0;
}
.chips-hint {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}
.chips-list {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.tender-chip-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.12s;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.tender-chip-btn:hover {
  background: #eef2ff;
  border-color: #a5b4fc;
  color: #4338ca;
}
.tender-chip-btn.active {
  background: #4f46e5;
  border-color: #4338ca;
  color: #ffffff;
}
.bento-split-tender-card {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  margin: 0.55rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-sizing: border-box;
  animation: fadeIn 0.2s ease-out;
}
.split-tender-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}
.split-tender-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.split-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #e0e7ff;
  color: #4338ca;
  flex-shrink: 0;
}
.split-quick-half-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #6366f1 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.25);
}
.split-quick-half-btn:hover {
  background:
    linear-gradient(
      135deg,
      #4338ca 0%,
      #4f46e5 100%);
  transform: translateY(-1px);
}
.split-rows-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.split-row-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.split-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
}
.split-method-select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #334155;
  padding: 0.15rem 0.45rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
}
.split-method-select:focus {
  border-color: #6366f1;
}
.split-fill-btn {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4f46e5;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.12s;
}
.split-fill-btn:hover {
  background: #e0e7ff;
}
.split-summary-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
}
.split-summary-left {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
}
.split-sum-label {
  font-weight: 700;
  color: #64748b;
}
.split-sum-val {
  font-weight: 800;
  color: #0f172a;
}
.split-sum-divider {
  color: #cbd5e1;
  font-weight: 600;
}
.split-sum-target {
  font-weight: 800;
  color: #4f46e5;
}
.split-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  line-height: 1.2;
}
.split-status-badge.success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.split-status-badge.warning {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.split-status-badge.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.checkout-split-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.checkout-split-pill {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.74rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}
.checkout-rect-modal {
  max-width: 820px !important;
  width: 94% !important;
  border-radius: 18px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(16, 185, 129, 0.18) !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  animation: checkoutModalScale 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes checkoutModalScale {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.checkout-rect-header {
  background:
    linear-gradient(
      135deg,
      #ecfdf5 0%,
      #d1fae5 100%);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.checkout-rect-body {
  padding: 1.25rem 1.5rem 1.4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 768px) {
  .checkout-rect-modal {
    max-width: 480px !important;
  }
  .checkout-rect-body {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 1.15rem 1.25rem 1.15rem;
  }
}
.checkout-rect-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.checkout-rect-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
}
.checkout-bill-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
  box-sizing: border-box;
}
.checkout-whatsapp-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.checkout-action-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.checkout-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.checkout-start-btn {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  transition: all 0.15s ease;
}
.checkout-start-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}
.bento-pos-dock {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(15, 23, 42, 0.03);
  box-sizing: border-box;
  width: 100%;
  flex-wrap: wrap;
  animation: bentoFadeIn 0.3s ease-out;
}
.pos-dock-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.dock-status-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.dock-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.dock-status-dot.online {
  background: #10b981;
}
.dock-status-dot.online::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.35);
  animation: stock-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.dock-status-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  display: block;
}
.dock-status-sub {
  font-size: 0.68rem;
  color: #64748b;
  display: block;
}
.dock-divider {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
}
.dock-metrics-item {
  display: flex;
  flex-direction: column;
}
.dock-metric-label {
  font-size: 0.66rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.dock-metric-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}
.dock-metric-val.text-success {
  color: #059669;
}
.pos-dock-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.dock-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.dock-action-btn:hover:not(:disabled) {
  background: #ffffff;
  border-color: #6366f1;
  color: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(79, 70, 229, 0.15);
}
.dock-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.dock-action-btn.park-btn {
  background:
    linear-gradient(
      135deg,
      #f5f3ff 0%,
      #ede9fe 100%);
  border-color: #c4b5fd;
  color: #5b21b6;
}
.dock-action-btn.park-btn:hover {
  background: #5b21b6;
  border-color: #4c1d95;
  color: #ffffff;
}
.dock-action-btn.connected {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.dock-action-btn.info-btn {
  background: #f1f5f9;
  color: #475569;
}
.dock-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  margin-left: 0.15rem;
}
.bento-mobile-scanner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background:
    linear-gradient(
      135deg,
      #f5f3ff 0%,
      #ede9fe 100%);
  border: 1px solid #c4b5fd;
  border-radius: 8px;
  color: #6d28d9;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.bento-mobile-scanner-btn:hover {
  background:
    linear-gradient(
      135deg,
      #ede9fe 0%,
      #ddd6fe 100%);
  border-color: #8b5cf6;
  color: #5b21b6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}
.bento-mobile-scanner-btn.connected {
  background:
    linear-gradient(
      135deg,
      #ecfdf5 0%,
      #d1fae5 100%);
  border-color: #6ee7b7;
  color: #047857;
}
.mobile-connected-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  animation: pulseGreen 1.8s infinite;
}
@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.mobile-scanner-modal {
  max-width: 820px;
  width: 94vw;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.28);
}
.scanner-modal-body {
  padding: 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.scanner-pairing-status-banner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: all 0.25s ease;
}
.scanner-pairing-status-banner.waiting {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #92400e;
}
.scanner-pairing-status-banner.connected {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.scanner-pairing-status-banner .status-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.scanner-pairing-status-banner.waiting .status-indicator-dot {
  background: #f59e0b;
  animation: pulseAmber 1.6s infinite;
}
.scanner-pairing-status-banner.connected .status-indicator-dot {
  background: #10b981;
  animation: pulseGreen 1.6s infinite;
}
@keyframes pulseAmber {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}
.status-main-text {
  font-weight: 700;
  font-size: 0.85rem;
}
.status-sub-text {
  font-size: 0.74rem;
  opacity: 0.88;
  margin-top: 0.1rem;
}
.scanner-modal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.15rem;
  align-items: stretch;
}
@media (max-width: 680px) {
  .scanner-modal-grid {
    grid-template-columns: 1fr;
  }
}
.scanner-qr-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scanner-qr-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  width: 100%;
}
.scanner-qr-svg-wrap {
  width: 155px;
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scanner-qr-svg-wrap svg {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.scanner-qr-caption {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.35rem;
  text-align: center;
}
.scanner-protocol-toggle {
  display: flex;
  width: 100%;
  background: #f1f5f9;
  padding: 0.2rem;
  border-radius: 8px;
  gap: 0.25rem;
}
.proto-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.32rem 0.45rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}
.proto-btn.active {
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.scanner-details-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
}
.scanner-step-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}
@media (max-width: 720px) {
  .scanner-step-list {
    grid-template-columns: 1fr;
  }
}
.scanner-step-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
}
.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366f1;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.scanner-step-item strong {
  display: block;
  font-size: 0.78rem;
  color: #0f172a;
}
.scanner-step-item p {
  margin: 0;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.3;
}
.scanner-troubleshoot-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.73rem;
  color: #166534;
}
.troubleshoot-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #166534;
  display: block;
  margin-bottom: 0.15rem;
}
.troubleshoot-list {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.72rem;
  color: #15803d;
  line-height: 1.4;
}
.troubleshoot-list li {
  margin-bottom: 0.15rem;
}
.scanner-link-box {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}
.scanner-link-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.25rem;
  letter-spacing: 0.03em;
}
.scanner-link-input-row {
  display: flex;
  gap: 0.35rem;
}
.scanner-url-input {
  flex: 1;
  font-size: 0.75rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #1e293b;
}
.scanner-copy-btn,
.scanner-open-btn {
  padding: 0.3rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.scanner-copy-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}
.scanner-open-btn {
  background: #4f46e5;
  border: 1px solid #4338ca;
  color: #ffffff;
}
.scanner-tools-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.4rem;
  border-top: 1px dashed #e2e8f0;
}
.scanner-simulate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.scanner-simulate-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #1e293b;
}
.scanner-sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: #475569;
  font-weight: 500;
  cursor: pointer;
}
.scanner-session-pill {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}
.mobile-scanner-viewport {
  min-height: 100vh;
  min-height: 100dvh;
  background: #0f172a;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  transition: box-shadow 0.2s ease;
}
.mobile-scanner-viewport.flash-active {
  box-shadow: inset 0 0 0 8px #10b981;
}
.mobile-scanner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  position: sticky;
  top: 0;
  z-index: 50;
}
.mobile-brand-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.mobile-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.mobile-brand-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}
.mobile-session-tag {
  font-size: 0.72rem;
  font-family: monospace;
  color: #94a3b8;
}
.mobile-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}
.mobile-status-pill.online {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.mobile-status-pill.connecting {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.mobile-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.mobile-mode-tabs {
  display: flex;
  background: #1e293b;
  padding: 0.4rem 0.75rem;
  gap: 0.4rem;
  border-bottom: 1px solid #334155;
}
.mobile-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-tab-btn.active {
  background: #334155;
  color: #ffffff;
}
.mobile-scanner-main {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-viewfinder-card {
  position: relative;
  width: 100%;
  height: 290px;
  background: #000000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #334155;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.mobile-interactive-viewport {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.mobile-interactive-viewport video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.scanner-laser-bar {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      #10b981,
      #34d399,
      #10b981,
      transparent);
  box-shadow: 0 0 12px #10b981;
  top: 15%;
  animation: laserSweep 2s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 10;
}
@keyframes laserSweep {
  0% {
    top: 15%;
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: 80%;
    opacity: 0.4;
  }
}
.reticle-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: #10b981;
  border-style: solid;
  pointer-events: none;
  z-index: 10;
}
.reticle-corner.top-left {
  top: 18%;
  left: 14%;
  border-width: 3px 0 0 3px;
  border-top-left-radius: 6px;
}
.reticle-corner.top-right {
  top: 18%;
  right: 14%;
  border-width: 3px 3px 0 0;
  border-top-right-radius: 6px;
}
.reticle-corner.bottom-left {
  bottom: 18%;
  left: 14%;
  border-width: 0 0 3px 3px;
  border-bottom-left-radius: 6px;
}
.reticle-corner.bottom-right {
  bottom: 18%;
  right: 14%;
  border-width: 0 3px 3px 0;
  border-bottom-right-radius: 6px;
}
.mobile-camera-controls {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  z-index: 20;
}
.camera-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.camera-tool-btn.active {
  background: #eab308;
  color: #0f172a;
  border-color: #eab308;
}
.mobile-guide-hint {
  text-align: center;
  font-size: 0.76rem;
  color: #94a3b8;
  margin: 0.45rem 0 0 0;
}
.mobile-snap-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-camera-alert {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.78rem;
}
.snap-shutter-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.snap-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 1rem;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}
.snap-title {
  margin: 0;
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 700;
}
.snap-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0.4rem 0 1.5rem 0;
  max-width: 280px;
  line-height: 1.4;
}
.mobile-big-shutter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  background:
    linear-gradient(
      135deg,
      #10b981 0%,
      #059669 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
  transition: transform 0.15s ease;
}
.mobile-big-shutter-btn:active {
  transform: scale(0.96);
}
.mobile-manual-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.manual-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #818cf8;
}
.manual-title {
  margin: 0;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 700;
}
.manual-sub {
  font-size: 0.74rem;
  color: #94a3b8;
}
.manual-input-wrap {
  position: relative;
}
.manual-barcode-input {
  width: 100%;
  box-sizing: border-box;
  background: #0f172a;
  border: 2px solid #475569;
  border-radius: 10px;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font-size: 1.15rem;
  font-family: monospace;
  color: #ffffff;
  outline: none;
}
.manual-barcode-input:focus {
  border-color: #6366f1;
}
.manual-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #334155;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.manual-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  background: #6366f1;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
.manual-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.mobile-last-scanned-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.8rem;
}
.last-scan-label {
  color: #6ee7b7;
  font-weight: 600;
}
.last-scan-val {
  color: #ffffff;
  font-weight: 700;
  flex: 1;
}
.last-scan-badge {
  background: #10b981;
  color: #ffffff;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}
.mobile-history-section {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.mobile-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.history-title {
  margin: 0;
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.history-clear-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.72rem;
  cursor: pointer;
}
.history-empty {
  font-size: 0.76rem;
  color: #64748b;
  text-align: center;
  padding: 0.85rem 0;
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 180px;
  overflow-y: auto;
}
.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  background: #0f172a;
  border-radius: 8px;
}
.history-code {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}
.history-time {
  font-size: 0.68rem;
  color: #64748b;
  margin-left: 0.5rem;
}
.history-badge {
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 600;
}
.history-badge.sent {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}
.history-badge.err {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}
.mobile-scanner-footer {
  text-align: center;
  padding: 0.65rem;
  font-size: 0.72rem;
  color: #64748b;
  border-top: 1px solid #1e293b;
}
.cat-bento-module-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
  animation: fadeIn 0.25s ease-out;
}
.cat-bento-header-card {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfcfe 60%,
      #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 1.25rem 1.6rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 2px 0 rgba(15, 23, 42, 0.04),
    0 6px 18px -2px rgba(15, 23, 42, 0.05),
    0 18px 36px -6px rgba(99, 102, 241, 0.06),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 0 rgba(226, 232, 240, 0.5);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
  margin-top: 29px;
}
.cat-bento-header-card::before,
.cat-bento-card::before,
.cat-bento-kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.95) 20%,
      rgba(255, 255, 255, 0.95) 80%,
      transparent);
  pointer-events: none;
  z-index: 2;
}
.cat-bento-header-card:hover {
  border-color: rgba(199, 210, 254, 0.85);
  box-shadow:
    0 2px 6px 0 rgba(15, 23, 42, 0.03),
    0 12px 26px -3px rgba(15, 23, 42, 0.06),
    0 26px 46px -6px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 0 #ffffff;
}
.cat-bento-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.cat-bento-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cat-bento-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background:
    linear-gradient(
      135deg,
      #ede9fe 0%,
      #e0e7ff 100%);
  color: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    0 4px 12px rgba(99, 102, 241, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.22);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-bento-header-card:hover .cat-bento-icon-box {
  transform: scale(1.06) rotate(-3deg);
}
.cat-bento-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cat-bento-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin: 0;
}
.cat-badge-live-sync {
  background:
    linear-gradient(
      180deg,
      #ecfdf5 0%,
      #d1fae5 100%);
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.24rem 0.65rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.live-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
  animation: pulseBeacon 2s infinite ease-in-out;
}
@keyframes pulseBeacon {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}
.cat-bento-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0.25rem 0 0 0;
  line-height: 1.4;
}
.cat-bento-header-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}
.cat-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 1.05rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fafc 100%);
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), inset 0 1px 0 #ffffff;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-btn-outline:hover {
  background: #ffffff;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.07);
}
.cat-btn-outline:active {
  transform: translateY(0);
}
.cat-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 1.15rem;
  border-radius: 10px;
  border: none;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 3px 10px rgba(79, 70, 229, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-btn-primary:hover {
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #4338ca 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.cat-btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}
.cat-btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 1.15rem;
  border-radius: 10px;
  border: none;
  background:
    linear-gradient(
      135deg,
      #ef4444 0%,
      #dc2626 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 3px 10px rgba(220, 38, 38, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-btn-danger:hover {
  background:
    linear-gradient(
      135deg,
      #dc2626 0%,
      #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.cat-btn-danger:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}
.cat-import-drawer-bento {
  margin-top: 1.15rem;
  padding: 1.25rem 1.4rem;
  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #f1f5f9 100%);
  border-radius: 14px;
  border: 1.5px dashed #cbd5e1;
  box-shadow: inset 0 2px 5px rgba(15, 23, 42, 0.04);
  animation: fadeIn 0.2s ease-out;
}
.cat-import-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.cat-import-drawer-title-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cat-import-title {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
.cat-import-subtitle {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}
.cat-import-close-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.15s ease;
}
.cat-import-close-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
  transform: scale(1.05);
}
.cat-import-controls-row {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0.95rem;
}
.cat-file-upload-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fafc 100%);
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04), inset 0 1px 0 #ffffff;
  transition: all 0.2s ease;
}
.cat-file-upload-btn:hover {
  border-color: #6366f1;
  background: #faf8ff;
  color: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.12);
}
.cat-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  color: #334155;
  user-select: none;
}
.cat-import-loading-state {
  padding: 0.95rem;
  color: #4f46e5;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cat-preflight-card {
  background: #ffffff;
  padding: 1.15rem;
  border-radius: 12px;
  border: 1.5px solid #86efac;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08), inset 0 1px 0 #ffffff;
  margin-bottom: 0.95rem;
}
.cat-preflight-card.has-errors {
  border-color: #fca5a5;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.08), inset 0 1px 0 #ffffff;
}
.cat-preflight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}
.cat-preflight-title {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.9rem;
}
.cat-preflight-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.cat-preflight-stat-tile {
  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #f1f5f9 100%);
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(15, 23, 42, 0.02);
}
.cat-preflight-stat-label {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: block;
}
.cat-preflight-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  font-family: "JetBrains Mono", monospace;
  display: block;
  margin-top: 2px;
}
.cat-import-errors-box {
  margin-bottom: 0.85rem;
}
.cat-import-errors-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}
.cat-errors-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #dc2626;
}
.cat-errors-table-scroll {
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid #fee2e2;
  border-radius: 8px;
  background: #ffffff;
}
.cat-errors-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
.cat-errors-table th,
.cat-errors-table td {
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid #fee2e2;
  text-align: left;
}
.cat-errors-table th {
  background: #fef2f2;
  color: #991b1b;
  font-weight: 700;
}
.cat-preflight-actions {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  margin-top: 0.85rem;
}
.cat-import-success-card {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: 10px;
  padding: 0.95rem 1.15rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}
.cat-import-success-title {
  font-weight: 800;
  color: #065f46;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.cat-import-success-details {
  font-size: 0.82rem;
  color: #047857;
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
}
.cat-bento-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  width: 100%;
}
.cat-bento-kpi-card {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfcfe 60%,
      #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 3px 0 rgba(15, 23, 42, 0.04),
    0 6px 16px -2px rgba(15, 23, 42, 0.06),
    0 18px 28px -6px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 0 rgba(226, 232, 240, 0.45);
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s ease;
  user-select: none;
}
.cat-bento-kpi-card:hover {
  transform: translateY(-4px) translateZ(0);
}
.cat-bento-kpi-card.bento-cat-kpi-total:hover {
  border-color: rgba(165, 180, 252, 0.95);
  box-shadow:
    0 3px 8px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(15, 23, 42, 0.08),
    0 28px 48px -8px rgba(99, 102, 241, 0.18),
    inset 0 1px 0 0 #ffffff;
}
.cat-bento-kpi-card.bento-cat-kpi-main:hover {
  border-color: rgba(167, 243, 208, 0.95);
  box-shadow:
    0 3px 8px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(15, 23, 42, 0.08),
    0 28px 48px -8px rgba(16, 185, 129, 0.18),
    inset 0 1px 0 0 #ffffff;
}
.cat-bento-kpi-card.bento-cat-kpi-sub:hover {
  border-color: rgba(191, 219, 254, 0.95);
  box-shadow:
    0 3px 8px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(15, 23, 42, 0.08),
    0 28px 48px -8px rgba(59, 130, 246, 0.18),
    inset 0 1px 0 0 #ffffff;
}
.cat-bento-kpi-card.bento-cat-kpi-active:hover {
  border-color: rgba(253, 230, 138, 0.95);
  box-shadow:
    0 3px 8px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(15, 23, 42, 0.08),
    0 28px 48px -8px rgba(245, 158, 11, 0.18),
    inset 0 1px 0 0 #ffffff;
}
.cat-bento-kpi-card.active-filter {
  border-color: rgba(99, 102, 241, 0.85);
  box-shadow:
    0 0 0 2.5px rgba(99, 102, 241, 0.22),
    0 4px 12px 0 rgba(15, 23, 42, 0.04),
    0 16px 30px -4px rgba(99, 102, 241, 0.18),
    inset 0 1.5px 0 0 #ffffff;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #faf8ff 50%,
      #f5f2ff 100%);
}
.cat-bento-kpi-card.bento-cat-kpi-main.active-filter {
  border-color: rgba(16, 185, 129, 0.85);
  box-shadow:
    0 0 0 2.5px rgba(16, 185, 129, 0.22),
    0 4px 12px 0 rgba(15, 23, 42, 0.04),
    0 16px 30px -4px rgba(16, 185, 129, 0.18),
    inset 0 1.5px 0 0 #ffffff;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f7fdfa 50%,
      #f0fdf4 100%);
}
.cat-bento-kpi-card.bento-cat-kpi-sub.active-filter {
  border-color: rgba(59, 130, 246, 0.85);
  box-shadow:
    0 0 0 2.5px rgba(59, 130, 246, 0.22),
    0 4px 12px 0 rgba(15, 23, 42, 0.04),
    0 16px 30px -4px rgba(59, 130, 246, 0.18),
    inset 0 1.5px 0 0 #ffffff;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8faff 50%,
      #eff6ff 100%);
}
.cat-kpi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.cat-kpi-header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.cat-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    0 2px 5px rgba(15, 23, 42, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-bento-kpi-card:hover .cat-icon-badge {
  transform: scale(1.1) rotate(-3deg);
}
.cat-icon-badge.indigo {
  background: #e0e7ff;
  color: #4338ca;
}
.cat-icon-badge.purple {
  background: #ede9fe;
  color: #6d28d9;
}
.cat-icon-badge.green {
  background: #dcfce7;
  color: #15803d;
}
.cat-icon-badge.amber {
  background: #fef3c7;
  color: #b45309;
}
.cat-icon-badge.blue {
  background: #eff6ff;
  color: #2563eb;
}
.cat-icon-badge.red {
  background: #fee2e2;
  color: #b91c1c;
}
.cat-icon-badge.slate {
  background: #f1f5f9;
  color: #475569;
}
.cat-kpi-title {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.kpi-sub-badge {
  padding: 0.22rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), inset 0 1px 0.5px rgba(255, 255, 255, 0.85);
  border: 1px solid transparent;
  white-space: nowrap;
}
.kpi-sub-badge.purple {
  background: #ede9fe;
  color: #6d28d9;
  border-color: #ddd6fe;
}
.kpi-sub-badge.green {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.cat-kpi-num.font-sans {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1.15 !important;
}
.cat-kpi-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.35rem 0;
  font-variant-numeric: tabular-nums;
}
.cat-kpi-num.text-green {
  color: #059669;
}
.cat-kpi-num.text-blue {
  color: #2563eb;
}
.cat-kpi-num.text-amber {
  color: #b45309;
}
.cat-kpi-num.text-red {
  color: #b91c1c;
}
.cat-kpi-num.text-slate {
  color: #475569;
}
.cat-kpi-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  border-top: 1px solid rgba(241, 245, 249, 0.95);
  padding-top: 0.5rem;
  margin-top: 0.35rem;
}
.cat-kpi-arrow {
  color: #6366f1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.08);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-bento-kpi-card:hover .cat-kpi-arrow {
  transform: translateX(3px);
  background: rgba(99, 102, 241, 0.16);
  color: #4f46e5;
}
.cat-bento-middle-grid {
  display: grid;
  grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr);
  gap: 1.15rem;
  width: 100%;
}
.cat-bento-card {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfcfe 60%,
      #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 1.35rem 1.45rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 2px 0 rgba(15, 23, 42, 0.04),
    0 6px 18px -2px rgba(15, 23, 42, 0.05),
    0 18px 36px -6px rgba(99, 102, 241, 0.05),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 0 rgba(226, 232, 240, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
}
.cat-bento-card:hover {
  transform: translateY(-3px) translateZ(0);
  border-color: rgba(199, 210, 254, 0.9);
  box-shadow:
    0 4px 12px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(15, 23, 42, 0.07),
    0 28px 46px -6px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 0 #ffffff;
}
.cat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.05rem;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.cat-card-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cat-card-heading {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  display: block;
}
.cat-card-subheading {
  font-size: 0.76rem;
  color: #64748b;
  display: block;
  margin-top: 1px;
}
.cat-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  padding: 0.24rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  color: #475569;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), inset 0 1px 0 #ffffff;
}
.cat-creator-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cat-form-row {
  display: flex;
  gap: 0.85rem;
  width: 100%;
}
.cat-form-row.align-bottom {
  align-items: flex-end;
}
.cat-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  flex: 1;
  min-width: 0;
}
.cat-form-field.flex-1 {
  flex: 1;
}
.cat-form-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.cat-form-label span.req {
  color: #ef4444;
}
.cat-opt-label {
  color: #94a3b8;
  font-weight: 500;
  text-transform: none;
  font-size: 0.74rem;
}
.cat-form-input,
.cat-form-select {
  height: 42px;
  padding: 0.5rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: #ffffff;
  color: #0f172a;
  font-size: 0.85rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: inset 0 1.5px 3px rgba(15, 23, 42, 0.05), 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-form-input:focus,
.cat-form-select:focus {
  outline: none;
  border-color: #6366f1;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16), inset 0 1px 2px rgba(15, 23, 42, 0.04);
}
.cat-submit-btn {
  height: 42px;
  padding: 0 1.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 3px 10px rgba(79, 70, 229, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.cat-submit-btn:hover {
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #4338ca 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.45);
}
.cat-submit-btn:active {
  transform: translateY(1px) scale(0.98);
}
.cat-bento-card.cat-guide-card {
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #faf8ff 45%,
      #f6f3ff 100%);
  border-color: rgba(224, 218, 254, 0.95);
  box-shadow:
    0 1px 2px 0 rgba(15, 23, 42, 0.04),
    0 6px 18px -2px rgba(99, 102, 241, 0.05),
    0 18px 36px -6px rgba(99, 102, 241, 0.07),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95);
}
.cat-guide-items {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0.25rem 0 0.85rem 0;
}
.cat-guide-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.77rem;
  color: #475569;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(237, 233, 254, 0.85);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-guide-item:hover {
  transform: translateX(4px);
  background: #ffffff;
  border-color: rgba(199, 210, 254, 0.9);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1), inset 0 1px 0 #ffffff;
}
.cat-guide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}
.cat-guide-dot.green {
  background: #10b981;
  color: #10b981;
}
.cat-guide-dot.blue {
  background: #3b82f6;
  color: #3b82f6;
}
.cat-guide-dot.purple {
  background: #8b5cf6;
  color: #8b5cf6;
}
.cat-guide-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
  padding-top: 0.65rem;
}
.cat-guide-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 8px;
  color: #4f46e5;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(99, 102, 241, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-guide-link-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.15);
}
.cat-bento-card.cat-table-card {
  padding: 1.35rem 1.45rem;
}
.cat-table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.05rem;
}
.cat-toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cat-table-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
}
.cat-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.cat-toolbar-right {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.cat-segmented-tabs {
  display: flex;
  gap: 3px;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 10px;
  box-shadow: inset 0 1.5px 3px rgba(15, 23, 42, 0.08), inset 0 0 0 1px rgba(226, 232, 240, 0.85);
  position: relative;
  user-select: none;
}
.cat-segmented-slider {
  position: absolute;
  top: 3px;
  bottom: 3px;
  border-radius: 7px;
  background: #ffffff;
  box-shadow:
    0 2px 6px -1px rgba(15, 23, 42, 0.14),
    0 1px 2px 0 rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: left 0.28s cubic-bezier(0.16, 1, 0.3, 1), width 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}
.cat-segment-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem;
  border-radius: 7px;
  border: none;
  background: transparent !important;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.cat-segment-btn:hover:not(.active) {
  color: #0f172a;
}
.cat-segment-btn.active {
  background: transparent !important;
  color: #0f172a;
  font-weight: 700;
  box-shadow: none !important;
}
.cat-table-body-slide.slide-right tr td {
  animation: catSlideInRight 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.cat-table-body-slide.slide-left tr td {
  animation: catSlideInLeft 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.cat-table-body-slide tr:nth-child(1) td {
  animation-delay: 0.015s;
}
.cat-table-body-slide tr:nth-child(2) td {
  animation-delay: 0.030s;
}
.cat-table-body-slide tr:nth-child(3) td {
  animation-delay: 0.045s;
}
.cat-table-body-slide tr:nth-child(4) td {
  animation-delay: 0.060s;
}
.cat-table-body-slide tr:nth-child(5) td {
  animation-delay: 0.075s;
}
.cat-table-body-slide tr:nth-child(6) td {
  animation-delay: 0.090s;
}
.cat-table-body-slide tr:nth-child(7) td {
  animation-delay: 0.105s;
}
.cat-table-body-slide tr:nth-child(8) td {
  animation-delay: 0.120s;
}
@keyframes catSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(18px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes catSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-18px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.app-view-stage {
  width: 100%;
}
.app-view-stage.is-entering {
  animation: appViewStageEnter 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.app-view-stage.is-exiting {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.1s ease, transform 0.1s ease;
}
@keyframes appViewStageEnter {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.cat-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 230px;
}
.cat-search-icon {
  position: absolute;
  left: 0.75rem;
  color: #94a3b8;
  pointer-events: none;
}
.cat-search-input {
  width: 100%;
  height: 36px;
  padding: 0 1.8rem 0 2.2rem;
  border-radius: 9px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: #ffffff;
  color: #0f172a;
  font-size: 0.82rem;
  box-shadow: inset 0 1.5px 3px rgba(15, 23, 42, 0.04), 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.cat-search-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), inset 0 1px 2px rgba(15, 23, 42, 0.04);
}
.cat-clear-search-btn {
  position: absolute;
  right: 0.55rem;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.cat-clear-search-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.cat-table-wrapper {
  overflow-x: auto;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  background: #ffffff;
}
.cat-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.cat-data-table th {
  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #f1f5f9 100%);
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.cat-data-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid #f1f5f9;
  color: #0f172a;
  vertical-align: middle;
  transition: background 0.18s ease;
}
.cat-data-table tr:hover td {
  background:
    linear-gradient(
      90deg,
      rgba(238, 242, 255, 0.45) 0%,
      rgba(248, 250, 252, 0.8) 100%);
}
.cat-data-table tr.row-inactive td {
  opacity: 0.65;
}
.cat-hierarchy-tree {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.cat-main-name {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #0f172a;
}
.cat-sub-name {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: #0f172a;
}
.cat-parent-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #475569;
  font-size: 0.74rem;
  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #f1f5f9 100%);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.cat-tree-branch {
  color: #818cf8;
  font-size: 0.95rem;
  font-weight: 800;
}
.cat-desc-cell {
  color: #64748b;
  max-width: 250px;
  font-size: 0.82rem;
}
.cat-item-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background:
    linear-gradient(
      180deg,
      #ecfdf5 0%,
      #d1fae5 100%);
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.cat-item-pill:hover {
  background:
    linear-gradient(
      180deg,
      #d1fae5 0%,
      #a7f3d0 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}
.cat-toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: none;
  padding: 2px 4px;
  cursor: pointer;
  user-select: none;
}
.cat-toggle-track {
  width: 40px;
  height: 23px;
  border-radius: 9999px;
  background: #cbd5e1;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.15);
  transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.cat-toggle-thumb {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22), inset 0 1px 0.5px rgba(255, 255, 255, 0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-toggle-switch.on .cat-toggle-track {
  background:
    linear-gradient(
      135deg,
      #10b981 0%,
      #059669 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
.cat-toggle-switch.on .cat-toggle-thumb {
  transform: translateX(17px);
}
.cat-toggle-state-text {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.cat-toggle-switch.on .cat-toggle-state-text {
  color: #059669;
}
.cat-toggle-switch.off .cat-toggle-state-text {
  color: #94a3b8;
}
.cat-actions-cell {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.cat-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 32px;
  padding: 0 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fafc 100%);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), inset 0 1px 0 #ffffff;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  white-space: nowrap;
}
.cat-edit-btn:hover {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.5);
  color: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.15);
}
.cat-delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #fecdd3;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fff1f2 100%);
  color: #e11d48;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(225, 29, 72, 0.08), inset 0 1px 0 #ffffff;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-delete-btn:hover {
  background: #ffe4e6;
  border-color: #f43f5e;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(225, 29, 72, 0.2);
}
.cat-inline-edit-box {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cat-inline-input,
.cat-inline-select {
  padding: 0.4rem 0.65rem;
  font-size: 0.82rem;
  border-radius: 7px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}
.cat-inline-input:focus,
.cat-inline-select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}
@media (max-width: 1100px) {
  .cat-bento-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-bento-middle-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .cat-bento-kpi-grid {
    grid-template-columns: 1fr;
  }
  .cat-form-row {
    flex-direction: column;
  }
  .cat-submit-btn {
    width: 100%;
  }
}
.expense-view-root {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}
.expense-top-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.expense-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.expense-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}
.expense-kpi-card {
  background: var(--bg-card, #ffffff);
  padding: 1.15rem;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(49, 46, 129, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
}
.expense-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(49, 46, 129, 0.08);
}
.expense-kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.expense-kpi-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.expense-kpi-value {
  font-size: 1.45rem;
  font-weight: 800;
  margin-top: 0.35rem;
  font-family: "JetBrains Mono", monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.expense-kpi-sub {
  font-size: 0.75rem;
  margin-top: 0.2rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.expense-filter-card {
  background: var(--bg-card, #ffffff);
  border-radius: 14px;
  border: 1.5px solid var(--border, #e2e8f0);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(49, 46, 129, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.expense-datebar-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.expense-preset-scroll {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.expense-preset-btn {
  padding: 0.38rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.expense-filter-grid {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(200px, 2fr) auto;
  gap: 0.75rem;
  align-items: flex-end;
}
.expense-popover-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(3px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.expense-popover-box {
  background: #ffffff;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
@media (max-width: 1200px) {
  .expense-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .expense-filter-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .expense-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .expense-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .expense-datebar-tier {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
}
@media (max-width: 600px) {
  .expense-kpi-grid {
    grid-template-columns: 1fr;
  }
  .expense-filter-grid {
    grid-template-columns: 1fr;
  }
  .expense-toolbar-actions {
    width: 100%;
    display: flex;
  }
  .expense-toolbar-actions > button {
    flex: 1;
    justify-content: center;
  }
  .expense-preset-scroll {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
  .expense-preset-scroll::-webkit-scrollbar {
    height: 4px;
  }
  .expense-preset-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
}
.expense-modal-box {
  background: #ffffff;
  border-radius: 20px;
  max-width: 760px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.expense-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid #f1f5f9;
  padding-bottom: 1rem;
}
.expense-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.expense-modal-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #4f46e5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(109, 74, 255, 0.25);
  flex-shrink: 0;
}
.expense-form-card {
  background: #f8fafc;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.15s ease;
}
.expense-form-card:focus-within {
  border-color: #c7d2fe;
}
.expense-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}
.expense-card-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.expense-badge-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.expense-badge-optional {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.expense-badge-auto {
  background: #ede9fe;
  color: #6d4aff;
  border: 1px solid #ddd6fe;
}
.expense-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.expense-form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.expense-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.expense-form-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.expense-form-label .required {
  color: #dc2626;
}
.expense-input-control {
  width: 100%;
  height: 42px;
  padding: 0 0.85rem;
  font-size: 0.85rem;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}
select.expense-input-control {
  cursor: pointer;
  appearance: auto;
}
.expense-input-control:hover {
  border-color: #94a3b8;
}
.expense-input-control:focus {
  border-color: #6d4aff;
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.15);
}
.expense-calc-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  background: #ffffff;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1.5px dashed #c7d2fe;
}
.expense-calc-pill-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.expense-calc-pill-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.expense-calc-pill-val {
  font-size: 0.95rem;
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
  color: #0f172a;
}
@media (max-width: 680px) {
  .expense-modal-box {
    padding: 1.15rem;
    border-radius: 14px;
    width: 96%;
  }
  .expense-form-row-2,
  .expense-form-row-3 {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .expense-calc-pill-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.grid {
  display: grid;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid-cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .sm\:grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sm\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .sm\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .md\:grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .md\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .lg\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4,
  .grid-cols-5,
  .grid-cols-6 {
    grid-template-columns: 1fr;
  }
}
.text-emerald-800 {
  color: #065f46;
}
.h-56 {
  height: 14rem;
}
.p-8 {
  padding: 2rem;
}
.animate-spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.gst-view-wrapper,
.gstr3b-view-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}
.gst-header-card,
.gstr3b-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
}
.gstr3b-controls-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gst-toolbar-card {
  justify-content: flex-start;
}
.gst-toolbar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 767px) {
  .gst-toolbar-card {
    padding: 16px;
  }
  .gst-toolbar-controls {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .gst-toolbar-controls .gst-period-picker-group {
    flex: 1;
    justify-content: space-between;
  }
  .gstr3b-header-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .gstr3b-controls-group {
    width: 100%;
    justify-content: space-between;
  }
  .gstr3b-controls-group.gstr3b-period-controls {
    display: flex;
    width: 100%;
  }
  .gstr3b-controls-group.gstr3b-period-controls .gst-period-picker-group {
    flex: 1;
    justify-content: space-between;
  }
  .gstr3b-controls-group.gstr3b-action-controls {
    display: flex;
    width: 100%;
  }
  .gstr3b-controls-group.gstr3b-action-controls .gst-pill-btn {
    flex: 1;
    justify-content: center;
  }
}
.gst-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.gst-header-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #1e1b4b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gst-header-subtitle {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}
.gst-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.gst-period-picker-group {
  display: flex;
  align-items: center;
  background: #f8faff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  height: 40px;
  padding: 0 10px;
  gap: 6px;
  box-sizing: border-box;
}
.gst-period-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  padding: 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.gst-period-nav-btn {
  background: transparent;
  border: none;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 700;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.gst-period-nav-btn:hover {
  background: #e0e7ff;
  color: #4338ca;
}
.gst-period-input {
  border: none;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e1b4b;
  outline: none;
  padding: 2px 4px;
  cursor: pointer;
}
.gst-pill-btn {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  height: 40px;
  padding: 0 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.15s ease;
  white-space: nowrap;
  box-sizing: border-box;
}
.gst-pill-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
}
.gst-pill-btn.primary {
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #4f46e5 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(109, 74, 255, 0.25);
}
.gst-pill-btn.primary:hover {
  background:
    linear-gradient(
      135deg,
      #5b3ee0 0%,
      #4338ca 100%);
  box-shadow: 0 6px 16px rgba(109, 74, 255, 0.35);
}
.gst-pill-btn.success {
  background:
    linear-gradient(
      135deg,
      #10b981 0%,
      #059669 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.gst-pill-btn.success:hover {
  background:
    linear-gradient(
      135deg,
      #059669 0%,
      #047857 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}
.gst-pill-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.gst-hero-liability {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(
      135deg,
      #0f172a 0%,
      #1e1b4b 45%,
      #312e81 100%);
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow: 0 20px 40px -10px rgba(30, 27, 75, 0.35);
  padding: 1.75rem 2rem;
  color: #ffffff;
}
.gst-hero-liability::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(109, 74, 255, 0.18) 0%,
      transparent 70%);
  pointer-events: none;
}
.gst-hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .gst-hero-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.gst-hero-left {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.gst-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  background: rgba(167, 139, 250, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.35);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #e0e7ff;
  text-transform: uppercase;
}
.gst-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 8px #a78bfa;
}
.gst-hero-amount {
  font-size: 2.6rem;
  font-weight: 900;
  font-family: "JetBrains Mono", monospace;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.gst-hero-formula-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #cbd5e1;
}
.gst-formula-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.2rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 600;
}
.gst-formula-chip strong {
  font-family: "JetBrains Mono", monospace;
  color: #ffffff;
}
.gst-formula-op {
  font-weight: 800;
  color: #a78bfa;
  font-size: 0.95rem;
}
.gst-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.gst-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #4f46e5 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(109, 74, 255, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.gst-hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(109, 74, 255, 0.5);
  background:
    linear-gradient(
      135deg,
      #7c5cff 0%,
      #5850ec 100%);
}
.gst-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.gst-hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}
.gst-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1rem;
}
.gst-kpi-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px -2px rgba(49, 46, 129, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.gst-kpi-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px -6px rgba(49, 46, 129, 0.12);
}
.gst-kpi-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}
.gst-kpi-label-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.gst-kpi-num-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 0.15rem 0.35rem;
}
.gst-kpi-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}
.gst-kpi-icon-pill {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  background: #f8fafc;
  color: #475569;
}
.gst-kpi-val {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.gst-kpi-sub {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 0.4rem;
  line-height: 1.35;
}
.gst-kpi-card.output-gst {
  border-color: #e0e7ff;
  background:
    linear-gradient(
      180deg,
      #faf5ff 0%,
      #ffffff 100%);
}
.gst-kpi-card.output-gst .gst-kpi-val {
  color: #4f46e5;
}
.gst-kpi-card.output-gst .gst-kpi-num-badge {
  background: #e0e7ff;
  color: #4338ca;
}
.gst-kpi-card.expense-gst {
  border-color: #fef3c7;
}
.gst-kpi-card.expense-gst .gst-kpi-val {
  color: #d97706;
}
.gst-kpi-card.eligible-itc {
  border-color: #a7f3d0;
  background:
    linear-gradient(
      180deg,
      #ecfdf5 0%,
      #ffffff 100%);
  box-shadow: 0 4px 14px -3px rgba(16, 185, 129, 0.12);
}
.gst-kpi-card.eligible-itc .gst-kpi-title {
  color: #065f46;
}
.gst-kpi-card.eligible-itc .gst-kpi-val {
  color: #059669;
}
.gst-kpi-card.eligible-itc .gst-kpi-num-badge {
  background: #d1fae5;
  color: #065f46;
}
.gst-kpi-card.eligible-itc .gst-kpi-sub {
  color: #047857;
  font-weight: 600;
}
.gst-kpi-card.ineligible-itc {
  border-color: #fecdd3;
  background:
    linear-gradient(
      180deg,
      #fff1f2 0%,
      #ffffff 100%);
}
.gst-kpi-card.ineligible-itc .gst-kpi-title {
  color: #9f1239;
}
.gst-kpi-card.ineligible-itc .gst-kpi-val {
  color: #e11d48;
}
.gst-kpi-card.ineligible-itc .gst-kpi-num-badge {
  background: #ffe4e6;
  color: #9f1239;
}
.gst-kpi-card.diff-alert {
  border-color: #fde68a;
  background:
    linear-gradient(
      180deg,
      #fffbeb 0%,
      #ffffff 100%);
}
.gst-kpi-card.diff-alert .gst-kpi-title {
  color: #92400e;
}
.gst-kpi-card.diff-alert .gst-kpi-val {
  color: #b45309;
}
.gst-kpi-card.diff-alert .gst-kpi-num-badge {
  background: #fef3c7;
  color: #92400e;
}
.gst-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  width: fit-content;
  margin-top: 0.3rem;
}
.gst-status-badge.ready {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.gst-status-badge.in-progress {
  background: #e0e7ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}
.gst-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.gst-journey-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px -2px rgba(49, 46, 129, 0.05);
}
.gst-journey-header {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
}
.gst-journey-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e1b4b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
.gst-journey-subtitle {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
}
.gst-journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.15rem;
}
.gst-journey-step {
  background: #f8faff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.gst-journey-step:hover {
  background: #ffffff;
  border-color: #a78bfa;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(109, 74, 255, 0.12);
}
.gst-journey-step-top {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.gst-journey-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #6d4aff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gst-journey-step-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.gst-journey-step-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}
.gst-journey-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1.5px solid #c7d2fe;
  color: #4f46e5;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  cursor: pointer;
  width: fit-content;
  transition: all 0.15s ease;
}
.gst-journey-action-btn:hover {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
  gap: 0.6rem;
}
.gstr3b-alert-banner {
  background:
    linear-gradient(
      135deg,
      #fffbeb 0%,
      #fef3c7 100%);
  border: 1.5px solid #fde68a;
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.12);
}
@media (min-width: 768px) {
  .gstr3b-alert-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.gstr3b-alert-content {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.gstr3b-alert-icon {
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.35rem;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.12);
}
.gstr3b-alert-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.gstr3b-alert-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #78350f;
}
.gstr3b-alert-desc {
  font-size: 0.78rem;
  color: #92400e;
  line-height: 1.45;
}
.gstr3b-alert-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.gstr3b-alert-chip {
  background: #ffffff;
  border: 1px solid #fcd34d;
  color: #b45309;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
}
.gstr3b-alert-btn {
  background: #b45309;
  color: #ffffff;
  border: none;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(180, 83, 9, 0.25);
  transition: all 0.15s ease;
}
.gstr3b-alert-btn:hover {
  background: #92400e;
  transform: translateY(-1px);
}
.gstr3b-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(
      135deg,
      #090d16 0%,
      #1e1b4b 50%,
      #312e81 100%);
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.4);
  padding: 1.75rem 2rem;
  color: #ffffff;
}
.gstr3b-hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .gstr3b-hero-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.gstr3b-hero-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.gstr3b-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  background: rgba(167, 139, 250, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.35);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #c7d2fe;
  text-transform: uppercase;
}
.gstr3b-hero-amount {
  font-size: 2.6rem;
  font-weight: 900;
  font-family: "JetBrains Mono", monospace;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.gstr3b-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
}
.gstr3b-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
}
.gstr3b-meta-tag strong {
  font-family: "JetBrains Mono", monospace;
  color: #e2e8f0;
}
.gstr3b-meta-tag.status-draft {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fcd34d;
  font-weight: 800;
  text-transform: uppercase;
}
.gstr3b-meta-tag.status-reviewed {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-weight: 800;
  text-transform: uppercase;
}
.gstr3b-tax-split-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  min-width: 320px;
}
.gstr3b-tax-split-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.gstr3b-tax-split-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gstr3b-tax-split-value {
  font-size: 1.05rem;
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
  color: #ffffff;
}
.gstr3b-table-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 16px -2px rgba(49, 46, 129, 0.06);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.gstr3b-table-header {
  background:
    linear-gradient(
      180deg,
      #f8faff 0%,
      #f1f5f9 100%);
  border-bottom: 1.5px solid #e2e8f0;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
@media (min-width: 768px) {
  .gstr3b-table-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.gstr3b-table-title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.gstr3b-table-badge {
  background: #6d4aff;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.gstr3b-table-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.gstr3b-table-note {
  font-size: 0.76rem;
  color: #64748b;
  margin: 0;
}
.gstr3b-table-wrapper {
  overflow-x: auto;
  width: 100%;
}
.gstr3b-stat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
}
.gstr3b-stat-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}
.gstr3b-stat-table th.num,
.gstr3b-stat-table td.num {
  text-align: right;
  font-family: "JetBrains Mono", monospace;
}
.gstr3b-stat-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  line-height: 1.4;
}
.gstr3b-stat-table tbody tr:hover td {
  background: #f8faff;
}
.gstr3b-stat-table tr.section-header td {
  background: #f5f3ff;
  color: #4338ca;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-top: 1.5px solid #e0e7ff;
  border-bottom: 1.5px solid #e0e7ff;
  padding: 0.55rem 1rem;
}
.gstr3b-stat-table tr.section-header.danger td {
  background: #fff1f2;
  color: #be123c;
  border-color: #fecdd3;
}
.gstr3b-stat-table tr.section-header.slate td {
  background: #f8fafc;
  color: #475569;
  border-color: #e2e8f0;
}
.gstr3b-stat-table tr.highlight-summary td {
  background: #ecfdf5 !important;
  color: #065f46;
  font-weight: 800;
  border-top: 2px solid #a7f3d0;
  border-bottom: 2px solid #a7f3d0;
  font-size: 0.84rem;
}
.gstr3b-stat-table tr.highlight-summary td.num {
  color: #047857;
  font-size: 0.95rem;
}
.gstr3b-stat-table td.zero-val {
  color: #94a3b8;
  font-weight: 500;
}
.gstr3b-stat-table td.active-val {
  color: #0f172a;
  font-weight: 800;
}
.gstr3b-stat-table td.eligible-val {
  color: #059669;
  font-weight: 700;
}
.cfd-root-container {
  min-height: 100vh;
  width: 100vw;
  background: #f8fafc;
  color: #0f172a;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow-x: hidden;
  user-select: none;
}
.cfd-header {
  height: 72px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 50;
}
.cfd-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.cfd-shop-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}
.cfd-shop-name {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cfd-shop-tagline {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}
.cfd-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cfd-sync-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}
.cfd-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: cfdDotPing 2s infinite ease-in-out;
}
@keyframes cfdDotPing {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}
.cfd-clock-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  font-family: monospace;
}
.cfd-fullscreen-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #475569;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cfd-fullscreen-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.cfd-main-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  box-sizing: border-box;
  overflow: hidden;
}
@media (max-width: 1080px) {
  .cfd-main-grid {
    grid-template-columns: 1fr;
    overflow-y: auto;
    padding: 0.75rem;
    gap: 0.85rem;
    height: auto;
  }
  .cfd-items-column {
    height: auto;
    min-height: auto;
  }
  .cfd-section-card {
    height: auto;
  }
}
.cfd-items-column {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.cfd-section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}
.cfd-section-header {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}
.cfd-col-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}
.cfd-status-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}
.cfd-status-tag.active {
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #c7d2fe;
}
.cfd-status-tag.payment {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}
.cfd-status-tag.success {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.cfd-welcome-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  background:
    radial-gradient(
      circle at 50% 30%,
      #f8fafc 0%,
      #f1f5f9 100%);
}
.cfd-welcome-icon-wrap {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background:
    linear-gradient(
      135deg,
      #eef2ff 0%,
      #e0e7ff 100%);
  border: 1.5px solid #c7d2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
}
.cfd-welcome-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.cfd-welcome-subtitle {
  margin: 0 0 2rem 0;
  font-size: 0.95rem;
  color: #64748b;
  max-width: 450px;
  line-height: 1.5;
}
.cfd-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 680px;
}
@media (max-width: 650px) {
  .cfd-feature-grid {
    grid-template-columns: 1fr;
  }
}
.cfd-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.cfd-feat-icon {
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}
.cfd-feature-card strong {
  font-size: 0.85rem;
  color: #0f172a;
}
.cfd-feature-card span {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}
.cfd-table-wrapper {
  flex: 1;
  overflow-y: auto;
  box-sizing: border-box;
}
.cfd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.cfd-table th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #e2e8f0;
  z-index: 2;
}
.cfd-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.cfd-row {
  transition: background 0.15s ease;
}
.cfd-row:hover {
  background: #f8fafc;
}
.cfd-row.highlight-pulse {
  animation: cfdRowGlow 1.8s ease-out;
}
@keyframes cfdRowGlow {
  0% {
    background: #e0e7ff;
  }
  100% {
    background: transparent;
  }
}
.cfd-idx {
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.85rem;
}
.cfd-item-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.cfd-category-strip {
  border-bottom: 1px solid #e2e8f0;
  padding: 0.55rem 1rem;
}
.cfd-item-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}
.cfd-item-sku {
  font-size: 0.72rem;
  color: #64748b;
  font-family: monospace;
}
.cfd-qty-badge {
  display: inline-block;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.82rem;
  white-space: nowrap;
}
.cfd-mrp-val {
  color: #64748b;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.cfd-store-val {
  color: #1e293b;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}
.cfd-total-val {
  color: #0f172a;
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}
.cfd-rate {
  color: #475569;
  font-weight: 600;
  font-size: 0.95rem;
}
.cfd-total {
  color: #0f172a;
  font-weight: 800;
  font-size: 1.05rem;
}
@media (max-width: 640px) {
  .cfd-table th {
    padding: 0.55rem 0.5rem;
    font-size: 0.68rem;
  }
  .cfd-table td {
    padding: 0.65rem 0.5rem;
    font-size: 0.85rem;
  }
  .cfd-item-name {
    font-size: 0.88rem;
  }
  .cfd-mrp-val,
  .cfd-store-val,
  .cfd-total-val {
    font-size: 0.85rem;
  }
  .cfd-qty-badge {
    font-size: 0.72rem;
    padding: 0.15rem 0.4rem;
  }
}
.cfd-summary-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cfd-greeting-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.cfd-greeting-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cfd-user-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cfd-greeting-text {
  display: flex;
  flex-direction: column;
}
.cfd-greet-label {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cfd-greet-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}
.cfd-cashier-tag {
  font-size: 0.75rem;
  color: #64748b;
  background: #f8fafc;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.cfd-cashier-tag strong {
  color: #334155;
}
.cfd-discount-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.cfd-discount-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}
.cfd-discount-options {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.cfd-discount-chip {
  padding: 0.25rem 0.55rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #475569;
  transition: all 0.15s ease;
}
.cfd-discount-chip.active {
  background: #4f46e5;
  border-color: #4338ca;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}
.cfd-totals-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.04);
}
.cfd-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: #475569;
}
.cfd-calc-label {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.cfd-calc-label svg {
  color: #64748b;
  flex-shrink: 0;
}
.cfd-calc-val {
  font-weight: 700;
  color: #0f172a;
}
.cfd-calc-row.discount {
  color: #059669;
}
.cfd-calc-row.discount .cfd-calc-val {
  color: #059669;
  font-weight: 800;
}
.gstr3b-stat-table td.reversal-val {
  color: #e11d48;
  font-weight: 700;
}
.gstr3b-stat-table td.cash-paid-cell {
  background: #faf5ff;
  color: #4338ca;
  font-weight: 800;
  font-size: 0.9rem;
}
.gst-import-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(
      135deg,
      #1e1b4b 0%,
      #312e81 55%,
      #4338ca 100%);
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow: 0 16px 36px -6px rgba(49, 46, 129, 0.28);
  padding: 1.75rem 2rem;
  color: #ffffff;
}
.gst-import-hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .gst-import-hero-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.gst-import-hero-left {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 750px;
}
.gst-import-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.gst-import-hero-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.gst-import-hero-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}
.gst-import-pill {
  background: rgba(167, 139, 250, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #c7d2fe;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gst-import-hero-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-top: 0.35rem;
}
.gst-import-steps-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  font-size: 0.76rem;
}
.gst-import-step-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.25rem 0.65rem;
  color: #e2e8f0;
  font-weight: 600;
}
.gst-import-step-arrow {
  color: #a78bfa;
  font-weight: 800;
}
.gst-import-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #a78bfa 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.85rem 1.6rem;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(109, 74, 255, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.gst-import-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(109, 74, 255, 0.6);
  background:
    linear-gradient(
      135deg,
      #7c5cff 0%,
      #b89dff 100%);
}
.gst-ca-bundle-banner {
  background:
    linear-gradient(
      135deg,
      #faf5ff 0%,
      #ede9fe 50%,
      #e0e7ff 100%);
  border: 2px solid #c7d2fe;
  border-radius: 18px;
  padding: 1.35rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  box-shadow: 0 6px 20px -4px rgba(109, 74, 255, 0.12);
  transition: all 0.2s ease;
}
@media (min-width: 840px) {
  .gst-ca-bundle-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.gst-ca-bundle-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.gst-ca-bundle-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #4f46e5 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.35);
}
.gst-ca-bundle-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cfd-gst-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.gst-ca-bundle-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.gst-ca-bundle-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e1b4b;
  margin: 0;
}
.gst-ca-bundle-tag {
  background: #6d4aff;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
}
.cfd-gst-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: #334155;
}
.cfd-gst-sub-row {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}
.cfd-savings-alert {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #047857;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0.35rem 0;
}
.cfd-savings-alert strong {
  color: #065f46;
  font-size: 0.95rem;
  font-weight: 800;
}
.cfd-savings-star {
  font-size: 1rem;
}
.cfd-pay-modes-dock {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.35rem;
  margin: 0.35rem 0;
}
@media (max-width: 600px) {
  .cfd-pay-modes-dock {
    grid-template-columns: repeat(3, 1fr);
  }
}
.cfd-pay-mode-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 0.35rem 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  text-align: center;
  transition: all 0.15s ease;
}
.cfd-pay-mode-chip.active {
  background: #4f46e5;
  border-color: #4338ca;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}
.cfd-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0.35rem 0;
}
.cfd-grand-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}
.cfd-total-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.cfd-total-sub {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
}
.cfd-savings-banner {
  background:
    linear-gradient(
      135deg,
      #ecfdf5 0%,
      #f0fdf4 100%);
  border: 1px solid #a7f3d0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}
.cfd-savings-icon {
  font-size: 1.5rem;
}
.cfd-savings-banner strong {
  display: block;
  font-size: 0.92rem;
  color: #065f46;
  font-weight: 800;
}
.cfd-savings-banner span {
  font-size: 0.75rem;
  color: #047857;
}
.cfd-payment-card {
  border-radius: 18px;
  padding: 1.4rem;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cfd-payment-card.upi-mode {
  background: #ffffff;
  border: 1.5px solid #818cf8;
  box-shadow: 0 10px 25px -3px rgba(99, 102, 241, 0.15);
}
.cfd-upi-header {
  margin-bottom: 1rem;
}
.cfd-upi-chip {
  display: inline-block;
  background: #4f46e5;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.cfd-upi-header h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}
.cfd-upi-header p {
  margin: 0;
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}
.cfd-upi-qr-wrapper {
  background: #ffffff;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.85rem;
}
.cfd-qr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cfd-qr-frame svg {
  display: block;
}
.cfd-qr-amt-banner {
  margin-top: 0.65rem;
  padding-top: 0.45rem;
  border-top: 1px dashed #cbd5e1;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #475569;
  font-size: 0.82rem;
}
.cfd-qr-amt-banner strong {
  font-size: 1.15rem;
  color: #4f46e5;
  font-weight: 800;
}
.cfd-vpa-text {
  font-size: 0.78rem;
  color: #64748b;
}
.cfd-vpa-text strong {
  color: #4338ca;
}
.cfd-payment-card.completed {
  background: #ecfdf5;
  border: 1.5px solid #34d399;
  box-shadow: 0 10px 25px -3px rgba(16, 185, 129, 0.15);
  animation: cfdSuccessPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes cfdSuccessPop {
  0% {
    transform: scale(0.92);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.cfd-success-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
.cfd-success-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #065f46;
}
.cfd-success-desc {
  margin: 0.2rem 0 0.85rem 0;
  font-size: 0.85rem;
  color: #047857;
}
.cfd-invoice-badge {
  background: #ffffff;
  border: 1px solid #a7f3d0;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #059669;
  margin-bottom: 0.85rem;
}
.cfd-success-details {
  width: 100%;
  background: #ffffff;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
}
.cfd-success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #475569;
}
.cfd-success-row strong.green {
  color: #059669;
  font-size: 1.05rem;
}
.cfd-change-box {
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px dashed #cbd5e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #b45309;
}
.cfd-change-amt {
  font-size: 1.15rem;
  color: #b45309;
  font-weight: 900;
}
.cfd-payment-card.cash-mode,
.cfd-payment-card.card-mode {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.cfd-cash-icon,
.cfd-card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}
.cfd-payment-card h4 {
  margin: 0 0 0.3rem 0;
  font-size: 1.1rem;
  color: #0f172a;
}
.cfd-payment-card p {
  margin: 0 0 0.85rem 0;
  font-size: 0.8rem;
  color: #64748b;
}
.cfd-cash-due,
.cfd-card-due {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cfd-cash-due strong,
.cfd-card-due strong {
  font-size: 1.25rem;
  color: #059669;
}
.cfd-control-modal-content {
  max-width: 520px;
}
.cfd-control-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.cfd-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
}
.cfd-status-indicator.connected {
  color: #059669;
}
.cfd-status-indicator.waiting {
  color: #64748b;
}
.cfd-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.cfd-action-btn-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem 0.75rem;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cfd-action-btn-large:hover {
  border-color: #6366f1;
  background: #f5f3ff;
  color: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}
.cfd-action-btn-large.primary {
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #6366f1 100%);
  border: none;
  color: #ffffff;
}
.cfd-action-btn-large.primary:hover {
  background:
    linear-gradient(
      135deg,
      #4338ca 0%,
      #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.cfd-url-share-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.85rem;
  border-radius: 10px;
  font-size: 0.78rem;
}
.cfd-url-share-box label {
  display: block;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.4rem;
}
.cfd-url-input-wrap {
  display: flex;
  gap: 0.4rem;
}
.cfd-url-input-wrap input {
  flex: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.4rem 0.65rem;
  border-radius: 7px;
  font-size: 0.78rem;
  color: #0f172a;
}
.customer-dir-root {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}
.customer-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
}
.customer-kpi-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}
.customer-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(0, 0, 0, 0.08);
}
.customer-kpi-card.selected {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}
.customer-kpi-card.amber:hover {
  border-color: #f59e0b;
}
.customer-kpi-card.emerald:hover {
  border-color: #10b981;
}
.customer-kpi-card.blue:hover {
  border-color: #3b82f6;
}
.customer-kpi-card.orange:hover {
  border-color: #f97316;
}
.customer-kpi-card.rose:hover {
  border-color: #ef4444;
}
.kpi-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.kpi-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kpi-icon-box.amber {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fef3c7;
}
.kpi-icon-box.emerald {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.kpi-icon-box.blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.kpi-icon-box.orange {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}
.kpi-icon-box.rose {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecdd3;
}
.kpi-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}
.kpi-tag.amber {
  background: #fef3c7;
  color: #b45309;
}
.kpi-tag.emerald {
  background: #d1fae5;
  color: #047857;
}
.kpi-tag.blue {
  background: #dbeafe;
  color: #1e40af;
}
.kpi-tag.orange {
  background: #ffedd5;
  color: #c2410c;
}
.kpi-tag.rose {
  background: #fee2e2;
  color: #b91c1c;
}
.customer-kpi-card .kpi-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.customer-kpi-card .kpi-val.text-emerald {
  color: #059669;
}
.customer-kpi-card .kpi-val.text-blue {
  color: #2563eb;
}
.customer-kpi-card .kpi-val.text-orange {
  color: #ea580c;
}
.customer-kpi-card .kpi-val.text-rose {
  color: #dc2626;
}
.customer-kpi-card .kpi-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  margin-top: 0.15rem;
}
.customer-kpi-card .kpi-sub {
  font-size: 0.73rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.customer-main-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.customer-card-header {
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #f1f5f9;
}
.header-info-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.header-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #eef2ff;
  border: 1.5px solid #c7d2fe;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.header-subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}
.header-actions-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.btn-export-csv {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-export-csv:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.customer-primary-add-btn,
.customer-dir-root .btn-add-customer {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.55rem 1.15rem !important;
  background:
    linear-gradient(
      135deg,
      #6d28d9 0%,
      #4f46e5 100%) !important;
  border: 1px solid transparent !important;
  color: #ffffff !important;
  border-radius: 9px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 3px 10px rgba(109, 40, 217, 0.3) !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  width: auto !important;
  min-width: fit-content !important;
  height: auto !important;
  min-height: 38px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}
.customer-primary-add-btn:hover,
.customer-dir-root .btn-add-customer:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(109, 40, 217, 0.4) !important;
}
.customer-filter-strip {
  padding: 0.85rem 1.4rem;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.filter-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-pill:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}
.filter-pill.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}
.filter-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.pill-count {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.7rem;
  padding: 0.1rem 0.42rem;
  border-radius: 9999px;
  font-weight: 800;
}
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.pill-dot.amber {
  background: #f59e0b;
}
.pill-dot.emerald {
  background: #10b981;
}
.pill-dot.purple {
  background: #8b5cf6;
}
.pill-dot.rose {
  background: #ef4444;
}
.pill-dot.slate {
  background: #94a3b8;
}
.search-and-sort-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.customer-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.customer-search-input-wrap svg {
  position: absolute;
  left: 0.75rem;
  pointer-events: none;
}
.customer-search-input-wrap input {
  padding: 0.45rem 2rem 0.45rem 2.2rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.82rem;
  width: 250px;
  color: #0f172a;
  outline: none;
  transition: all 0.15s ease;
}
.customer-search-input-wrap input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
.clear-search-btn {
  position: absolute;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.2rem;
}
.sort-dropdown-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}
.sort-dropdown-wrap select {
  padding: 0.42rem 0.65rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  cursor: pointer;
}
.customer-table-container {
  overflow-x: auto;
  max-width: 100%;
}
.customer-modern-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.customer-modern-table thead th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.1rem;
  border-bottom: 1.5px solid #e2e8f0;
}
.customer-modern-table tbody tr.customer-row {
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.12s ease;
}
.customer-modern-table tbody tr.customer-row:hover {
  background: #f8fafc;
}
.customer-modern-table tbody tr.inactive-row {
  opacity: 0.55;
  background: #fbfbfb;
}
.customer-modern-table tbody td {
  padding: 0.85rem 1.1rem;
  vertical-align: middle;
  font-size: 0.86rem;
}
.customer-cell-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.customer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  border: 1.5px solid transparent;
  flex-shrink: 0;
}
.customer-name-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.customer-full-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}
.customer-row:hover .customer-full-name {
  color: #4f46e5;
}
.customer-badges-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
  flex-wrap: wrap;
}
.badge-gstin-tag {
  font-size: 0.68rem;
  font-weight: 700;
  background: #f3e8ff;
  color: #7e22ce;
  border: 1px solid #d8b4fe;
  padding: 0.08rem 0.42rem;
  border-radius: 4px;
}
.badge-retail-tag {
  font-size: 0.68rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 0.08rem 0.42rem;
  border-radius: 4px;
}
.customer-sub-text.email {
  font-size: 0.73rem;
  color: #94a3b8;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.customer-contact-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.phone-copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  padding: 0.18rem 0.48rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  width: fit-content;
  cursor: pointer;
  transition: all 0.15s ease;
}
.phone-copy-chip:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.phone-copy-chip .copy-label {
  font-size: 0.65rem;
  color: #94a3b8;
}
.address-snippet {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  color: #64748b;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dues-balance-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.dues-amt {
  font-size: 0.95rem;
  font-weight: 800;
}
.dues-amt.due {
  color: #b45309;
}
.dues-amt.overdue {
  color: #dc2626;
}
.credit-usage-bar-wrap {
  width: 100px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}
.credit-usage-bar {
  height: 100%;
  border-radius: 9999px;
}
.credit-usage-bar.normal {
  background: #3b82f6;
}
.credit-usage-bar.high {
  background: #f59e0b;
}
.credit-usage-bar.exceeded {
  background: #ef4444;
}
.overlimit-alert-pill {
  font-size: 0.68rem;
  font-weight: 800;
  color: #b91c1c;
  background: #fee2e2;
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
  width: fit-content;
}
.mini-adv-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
}
.badge-advance-pill {
  font-size: 0.8rem;
  font-weight: 800;
  color: #047857;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  width: fit-content;
}
.badge-settled-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  width: fit-content;
}
.credit-limit-cell {
  font-weight: 600;
  color: #475569;
}
.status-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}
.status-badge-chip.active {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.status-badge-chip.inactive {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.status-badge-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-badge-chip .dot.emerald {
  background: #10b981;
}
.status-badge-chip .dot.slate {
  background: #94a3b8;
}
.customer-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}
.btn-action-collect {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.68rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-action-collect:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
  transform: translateY(-1px);
}
.btn-action-advance {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.68rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-action-advance:hover {
  background: #d1fae5;
  border-color: #10b981;
}
.btn-action-ledger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-action-ledger:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #4338ca;
}
.btn-action-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.62rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-action-whatsapp:hover {
  background: #22c55e;
  border-color: #16a34a;
  color: #ffffff;
}
.action-menu-wrap {
  position: relative;
}
.btn-action-more {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-action-more:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.action-dropdown-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.action-dropdown-menu {
  position: fixed;
  z-index: 9999;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.5rem 0.7rem;
  background: transparent;
  border: none;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease;
}
.dropdown-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.dropdown-item.primary {
  color: #4f46e5;
  font-weight: 700;
}
.dropdown-item.primary:hover {
  background: #eef2ff;
}
.dropdown-item.danger {
  color: #dc2626;
}
.dropdown-item.danger:hover {
  background: #fee2e2;
}
.dropdown-item.success {
  color: #059669;
}
.dropdown-item.success:hover {
  background: #ecfdf5;
}
.customer-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}
.empty-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.customer-empty-state h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #0f172a;
  font-weight: 700;
}
.customer-empty-state p {
  margin: 0.25rem 0 1rem;
  font-size: 0.82rem;
  color: #64748b;
}
.btn-reset-filters {
  padding: 0.45rem 1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
}
.customer-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  animation: fadeIn 0.2s ease;
}
.customer-drawer-panel {
  width: 100%;
  max-width: 460px;
  height: 100%;
  background: #ffffff;
  box-shadow: -6px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
.drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}
.drawer-customer-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.drawer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  border: 1.5px solid transparent;
  flex-shrink: 0;
}
.drawer-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}
.drawer-badges {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.25rem;
}
.drawer-close-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}
.drawer-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  flex: 1;
}
.drawer-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.drawer-metric-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.drawer-metric-card .d-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}
.drawer-metric-card .d-val {
  font-size: 1.15rem;
  font-weight: 800;
}
.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.section-heading {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gst-ca-bundle-desc {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.4;
  margin: 0;
}
.gst-ca-bundle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #4338ca 100%);
  color: #ffffff;
  border: none;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.8rem 1.4rem;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.gst-ca-bundle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(109, 74, 255, 0.45);
  background:
    linear-gradient(
      135deg,
      #5b3ee0 0%,
      #3730a3 100%);
}
.gst-ca-bundle-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.gst-registers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gst-register-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px -2px rgba(49, 46, 129, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.gst-register-card:hover {
  transform: translateY(-3px);
  border-color: #a78bfa;
  box-shadow: 0 10px 26px -4px rgba(109, 74, 255, 0.14);
}
.gst-register-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.drawer-info-list {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.drawer-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid #edf2f7;
  font-size: 0.82rem;
}
.drawer-info-item:last-child {
  border-bottom: none;
}
.drawer-info-item .info-key {
  color: #64748b;
  font-weight: 600;
}
.drawer-info-item .info-val {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
  max-width: 220px;
}
.drawer-actions-box {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}
.drawer-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.drawer-btn.primary {
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #7c3aed 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}
.drawer-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}
.drawer-btn.billing {
  background: #eef2ff;
  border: 1.5px solid #c7d2fe;
  color: #4338ca;
}
.drawer-btn.billing:hover {
  background: #e0e7ff;
}
.drawer-btn.secondary {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
}
.drawer-btn.secondary:hover {
  background: #e2e8f0;
}
.drawer-btn.whatsapp {
  background: #22c55e;
  border: none;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}
.drawer-btn.whatsapp:hover {
  background: #16a34a;
}
.pos-quick-enroll-box {
  padding: 0.85rem;
  background:
    linear-gradient(
      135deg,
      #f0fdf4 0%,
      #eff6ff 100%);
  border: 1.5px solid #93c5fd;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  text-align: left;
}
.pos-quick-enroll-head {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.pos-enroll-star {
  font-size: 1.25rem;
  line-height: 1;
}
.pos-enroll-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.pos-enroll-title strong {
  color: #2563eb;
  background: #ffffff;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
  letter-spacing: 0.5px;
}
.pos-enroll-sub {
  font-size: 0.73rem;
  color: #047857;
  font-weight: 600;
  margin-top: 2px;
}
.pos-quick-enroll-inputs {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.pos-enroll-name-input {
  flex: 1;
  background: #ffffff !important;
  border: 1px solid #93c5fd !important;
  font-size: 0.82rem !important;
  padding: 0.45rem 0.65rem !important;
}
.pos-enroll-btn {
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  background:
    linear-gradient(
      135deg,
      #2563eb 0%,
      #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
  transition: all 0.15s ease;
}
.pos-enroll-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}
.pos-enroll-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.bento-counter-mobile-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.42rem 0.65rem;
  margin-bottom: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.counter-mobile-head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
}
.counter-mobile-head .mobile-icon {
  font-size: 0.85rem;
}
.counter-mobile-head .mobile-title {
  color: #334155;
  font-weight: 700;
}
.counter-mobile-head .mobile-val {
  color: #2563eb;
  font-weight: 800;
  margin-left: auto;
  font-size: 0.76rem;
}
.counter-mobile-row {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.counter-mobile-inputs-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 0.45rem;
  align-items: flex-end;
}
@media (max-width: 600px) {
  .counter-mobile-inputs-row {
    grid-template-columns: 1fr;
  }
}
.counter-input-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.counter-col-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.counter-input-col input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  transition: all 0.15s ease;
}
.counter-input-col input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}
.counter-enroll-btn {
  white-space: nowrap;
  padding: 0.42rem 0.75rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bento-counter-customer-linked {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.bento-counter-customer-linked.redeemed {
  background: #f0fdf4;
  border-color: #86efac;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.08);
}
.cust-linked-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
}
.cust-linked-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 1;
}
.cust-linked-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cust-linked-details {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}
.cust-linked-name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cust-linked-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}
.cust-linked-badge {
  font-size: 0.62rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.cust-linked-phone-row {
  display: flex;
  align-items: center;
}
.cust-linked-phone {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
}
.cust-linked-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.cust-linked-pts-badge {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 0.22rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.cust-linked-pts-badge .pts-labels {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.cust-linked-pts-badge .pts-count {
  font-size: 0.76rem;
  font-weight: 700;
  color: #92400e;
}
.cust-linked-pts-badge .pts-worth {
  font-size: 0.66rem;
  font-weight: 600;
  color: #b45309;
}
.counter-redeem-toggle-btn {
  background: #4f46e5;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.32rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #4338ca;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.18);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.counter-redeem-toggle-btn:hover {
  background: #4338ca;
  box-shadow: 0 2px 5px rgba(79, 70, 229, 0.28);
}
.counter-redeem-toggle-btn.active {
  background: #059669;
  border-color: #047857;
  box-shadow: 0 1px 2px rgba(5, 150, 105, 0.18);
}
.counter-redeem-toggle-btn.active:hover {
  background: #047857;
}
.cust-linked-clear {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.15s ease;
  padding: 0;
}
.cust-linked-clear:hover {
  color: #ef4444;
  background: #fee2e2;
  border-color: #fecaca;
}
.cust-linked-discount-strip {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 0.32rem 0.6rem;
  font-size: 0.72rem;
  color: #065f46;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: fadeIn 0.2s ease;
}
.bento-upi-tender-card {
  background:
    linear-gradient(
      135deg,
      #f8fafc 0%,
      #eff6ff 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-top: 0.85rem;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.08);
}
.upi-tender-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.gst-register-badge-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gst-register-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.gst-register-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid transparent;
}
.gst-register-badge.emerald {
  background: #d1fae5;
  color: #065f46;
  border-color: #a7f3d0;
}
.gst-register-badge.indigo {
  background: #e0e7ff;
  color: #3730a3;
  border-color: #c7d2fe;
}
.gst-register-badge.blue {
  background: #dbeafe;
  color: #1e40af;
  border-color: #bfdbfe;
}
.gst-register-badge.purple {
  background: #ede9fe;
  color: #5b21b6;
  border-color: #ddd6fe;
}
.gst-register-badge.amber {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}
.gst-register-format {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.gst-register-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.gst-register-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
  margin-top: 0.35rem;
  margin-bottom: 1rem;
}
.gst-register-stats-pill {
  background: #f8faff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.gst-register-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}
.gst-register-stat-label {
  color: #64748b;
  font-weight: 500;
}
.upi-tender-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #1e3a8a;
}
.upi-icon-box {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #3b82f6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upi-dual-screen-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #bfdbfe;
  transition: all 0.2s ease;
}
.upi-dual-screen-chip.live {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.upi-dual-screen-chip.open {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}
.upi-dual-screen-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.upi-tender-body {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
.upi-qr-display-wrap {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.upi-qr-code svg {
  display: block;
}
.upi-qr-brand-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
}
.upi-tender-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.upi-amount-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed #cbd5e1;
}
.upi-label {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 600;
}
.upi-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: #1d4ed8;
}
.upi-vpa-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.75rem;
}
.upi-vpa-label {
  color: #64748b;
  font-weight: 600;
}
.gst-register-stat-val {
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
  color: #0f172a;
}
.gst-register-stat-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748b;
  border-top: 1px dashed #e2e8f0;
  padding-top: 0.35rem;
  margin-top: 0.15rem;
}
.gst-register-download-btn {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.65rem;
  border-radius: 10px;
}
.upi-vpa-code {
  font-family: monospace;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.upi-edit-vpa-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #334155;
  padding: 0.15rem 0.45rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.gst-register-download-btn:hover {
  background: #f8faff;
  border-color: #6d4aff;
  color: #6d4aff;
  transform: translateY(-1px);
}
.gst-register-download-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.upi-edit-vpa-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.upi-dual-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  background: #ffffff;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.upi-dual-hint svg {
  flex-shrink: 0;
  color: #3b82f6;
  margin-top: 2px;
}
.cfd-scan-guide-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
  background: #e0e7ff;
  color: #3730a3;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #c7d2fe;
}
.counter-matches-list {
  background: #ffffff;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  margin-top: 0.35rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}
.counter-match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.78rem;
  transition: background 0.15s ease;
}
.counter-match-row:last-child {
  border-bottom: none;
}
.counter-match-row:hover {
  background: #eff6ff;
}
.counter-match-name {
  font-weight: 700;
  color: #1e3a8a;
}
.counter-match-phone {
  color: #64748b;
  font-size: 0.74rem;
}
.counter-match-pts {
  font-weight: 800;
  color: #b45309;
  background: #fef3c7;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.72rem;
}
.counter-new-customer-hint {
  margin-top: 0.35rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.counter-redeem-btn {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #b45309;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.counter-redeem-btn.active {
  background: #dcfce7;
  border-color: #86efac;
  color: #15803d;
}
.counter-redeem-btn:hover {
  transform: translateY(-1px);
}
.barcode-preview-bars svg {
  width: 180px !important;
  height: 46px !important;
  display: block;
  margin: 0 auto;
}
.enterprise-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  width: calc(100vw - 36px);
  pointer-events: none;
}
.enterprise-toast {
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1rem 0.95rem 0.95rem;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.14), 0 4px 8px -2px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
  animation: toastEntry 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.2s ease;
}
@keyframes toastEntry {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.enterprise-toast:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.18), 0 6px 12px -2px rgba(15, 23, 42, 0.08);
}
.enterprise-toast.toast-success {
  border-left: 4px solid #10b981;
}
.enterprise-toast.toast-error {
  border-left: 4px solid #ef4444;
}
.enterprise-toast.toast-warning {
  border-left: 4px solid #f59e0b;
}
.enterprise-toast.toast-info {
  border-left: 4px solid #3b82f6;
}
.toast-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toast-success .toast-icon-badge {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.toast-error .toast-icon-badge {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.toast-warning .toast-icon-badge {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}
.toast-info .toast-icon-badge {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.toast-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 1px;
}
.toast-headline {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.2;
}
.toast-success .toast-headline {
  color: #059669;
}
.toast-error .toast-headline {
  color: #dc2626;
}
.toast-warning .toast-headline {
  color: #d97706;
}
.toast-info .toast-headline {
  color: #2563eb;
}
.toast-text {
  font-size: 0.86rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  word-break: break-word;
}
.toast-close-btn {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  transition: all 0.15s ease;
}
.toast-close-btn:hover {
  background: #f1f5f9;
  color: #475569;
}
.toast-timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  animation: toastCountdown linear forwards;
}
.toast-success .toast-timer-bar {
  background: #10b981;
}
.toast-error .toast-timer-bar {
  background: #ef4444;
}
.toast-warning .toast-timer-bar {
  background: #f59e0b;
}
.toast-info .toast-timer-bar {
  background: #3b82f6;
}
@keyframes toastCountdown {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
.nav-badge-new {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background:
    linear-gradient(
      135deg,
      #f59e0b 0%,
      #ea580c 100%);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  margin-left: auto;
  line-height: 1.2;
}
.sales-analysis-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-bottom: 2.5rem;
  width: 100%;
  margin-top: 20px;
}
.sales-header-card {
  padding: 1.35rem 1.6rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.05);
}
.sales-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.sales-header-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.sales-module-brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #7c3aed 50%,
      #9333ea 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.38);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sales-module-brand-icon:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 24px -4px rgba(99, 102, 241, 0.48);
}
.sales-module-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.2;
}
.badge-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}
.pulse-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: liveDotPulse 2s infinite ease-in-out;
}
@keyframes liveDotPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.sales-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.sales-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.52rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.sales-action-btn:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
}
.sales-schedule-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.52rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 9px;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #7c3aed 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}
.sales-schedule-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
}
.sales-header-subtitle {
  font-size: 0.84rem;
  color: #64748b;
  margin-top: 0.35rem;
  line-height: 1.5;
}
.sales-filter-bar {
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.04);
}
.sales-filter-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sales-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.sales-select-icon {
  position: absolute;
  left: 10px;
  color: #64748b;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.sales-select-chevron {
  position: absolute;
  right: 10px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.sales-filter-select {
  min-width: 148px;
  padding: 0.45rem 1.9rem 0.45rem 2rem;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.15s ease;
}
.sales-filter-select:hover {
  background: #ffffff;
  border-color: #94a3b8;
}
.sales-filter-select:focus {
  border-color: #6366f1;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.sales-filter-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sales-pills-group {
  display: inline-flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 9px;
  gap: 2px;
}
.sales-pill-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.sales-pill-btn:hover {
  color: #0f172a;
}
.sales-pill-btn.active {
  background: #ffffff;
  color: #6366f1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}
.sales-pill-btn.custom-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sales-compare-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.sales-compare-icon {
  position: absolute;
  left: 10px;
  color: #64748b;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.sales-compare-select {
  padding: 0.45rem 1.9rem 0.45rem 2rem;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.15s ease;
}
.sales-compare-select:hover {
  background: #ffffff;
  border-color: #94a3b8;
}
.sales-compare-select:focus {
  border-color: #6366f1;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.sales-error-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: 12px;
}
.error-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sales-kpi-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
@media (max-width: 1300px) {
  .sales-kpi-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .sales-kpi-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .sales-kpi-grid-6 {
    grid-template-columns: 1fr;
  }
}
.sales-kpi-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 112px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}
.sales-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -2px rgba(15, 23, 42, 0.08);
}
.kpi-card-purple {
  border-color: rgba(99, 102, 241, 0.25);
  background:
    linear-gradient(
      180deg,
      rgba(99, 102, 241, 0.035) 0%,
      #ffffff 100%);
}
.kpi-card-blue {
  border-color: rgba(59, 130, 246, 0.25);
  background:
    linear-gradient(
      180deg,
      rgba(59, 130, 246, 0.035) 0%,
      #ffffff 100%);
}
.kpi-card-cyan {
  border-color: rgba(6, 182, 212, 0.25);
  background:
    linear-gradient(
      180deg,
      rgba(6, 182, 212, 0.035) 0%,
      #ffffff 100%);
}
.kpi-card-emerald {
  border-color: rgba(16, 185, 129, 0.25);
  background:
    linear-gradient(
      180deg,
      rgba(16, 185, 129, 0.035) 0%,
      #ffffff 100%);
}
.kpi-card-red {
  border-color: rgba(244, 63, 94, 0.25);
  background:
    linear-gradient(
      180deg,
      rgba(244, 63, 94, 0.035) 0%,
      #ffffff 100%);
}
.kpi-card-amber {
  border-color: rgba(245, 158, 11, 0.25);
  background:
    linear-gradient(
      180deg,
      rgba(245, 158, 11, 0.035) 0%,
      #ffffff 100%);
}
.kpi-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kpi-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.kpi-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.sales-kpi-card:hover .kpi-icon-badge {
  transform: scale(1.08);
}
.kpi-icon-purple {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}
.kpi-icon-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}
.kpi-icon-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #0284c7;
}
.kpi-icon-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.kpi-icon-red {
  background: rgba(244, 63, 94, 0.1);
  color: #ef4444;
}
.kpi-icon-amber {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.kpi-value-main {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0.45rem 0 0.35rem 0;
  letter-spacing: -0.025em;
  color: #0f172a;
}
.text-purple {
  color: #6366f1 !important;
}
.text-emerald {
  color: #10b981 !important;
}
.text-red {
  color: #ef4444 !important;
}
.text-muted {
  color: #64748b !important;
}
.font-bold {
  font-weight: 700 !important;
}
.kpi-diff-row {
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.diff-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 1px 6px;
  border-radius: 5px;
}
.diff-tag.positive {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}
.diff-tag.negative {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}
.diff-tag-inline.positive {
  color: #059669;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.diff-tag-inline.negative {
  color: #dc2626;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.diff-sub {
  color: #64748b;
  font-size: 0.77rem;
  font-weight: 500;
}
.sales-overview-card {
  padding: 1.4rem 1.6rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.04);
}
.chart-header-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sales-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.sales-chart-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}
.sales-chart-sub {
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  -webkit-font-feature-settings: "tnum";
  font-feature-settings: "tnum";
}
.sub-sep {
  color: #cbd5e1;
  font-weight: 400;
}
.chart-change-indicator {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -webkit-font-feature-settings: "tnum";
  font-feature-settings: "tnum";
}
.chart-change-indicator.positive {
  color: #16a34a;
}
.chart-change-indicator.negative {
  color: #dc2626;
}
.chart-change-indicator.neutral {
  color: #64748b;
}
.sales-metric-toggle {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 10px;
  gap: 2px;
  max-width: 100%;
}
.metric-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.18s ease-out;
  white-space: nowrap;
  line-height: 1.2;
}
.metric-toggle-btn:hover {
  color: #0f172a;
}
.metric-toggle-btn.active {
  background: #ffffff;
  color: #6366f1;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}
.sales-chart-canvas-wrap {
  position: relative;
  width: 100%;
  height: 300px;
  margin-top: 14px;
}
@media (max-width: 640px) {
  .sales-chart-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .sales-metric-toggle {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
  }
  .sales-metric-toggle::-webkit-scrollbar {
    display: none;
  }
  .sales-chart-canvas-wrap {
    height: 220px;
  }
}
.sales-svg-chart {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.chart-smooth-path {
  transition: d 350ms cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 3px 6px rgba(109, 74, 255, 0.3));
}
.chart-smooth-area {
  transition: d 350ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .chart-smooth-path,
  .chart-smooth-area,
  .chart-dot,
  .chart-dot-hovered,
  .metric-toggle-btn {
    transition: none !important;
    animation: none !important;
  }
}
.chart-dot {
  cursor: crosshair;
  transition: r 0.15s ease, stroke-width 0.15s ease;
}
.chart-dot-hovered {
  filter: drop-shadow(0 2px 6px rgba(109, 74, 255, 0.5));
}
.sales-chart-empty-state {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  z-index: 5;
}
.chart-empty-text {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  margin: 0;
}
.chart-dark-tooltip {
  position: absolute;
  background: #0f172a;
  color: #ffffff;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.4), 0 4px 10px -2px rgba(0, 0, 0, 0.2);
  border: 1px solid #334155;
  pointer-events: none;
  z-index: 25;
  white-space: nowrap;
  line-height: 1.35;
  transition: left 0.08s ease-out, top 0.08s ease-out;
}
.tooltip-date {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 2px;
}
.tooltip-val {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 2px 0 3px 0;
  font-variant-numeric: tabular-nums;
  -webkit-font-feature-settings: "tnum";
  font-feature-settings: "tnum";
}
.tooltip-sub {
  font-size: 12px;
  color: #cbd5e1;
  font-variant-numeric: tabular-nums;
  -webkit-font-feature-settings: "tnum";
  font-feature-settings: "tnum";
}
.sales-panels-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.15rem;
}
@media (max-width: 1024px) {
  .sales-panels-grid {
    grid-template-columns: 1fr;
  }
}
.sales-panels-col {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.sales-panel-card {
  padding: 1.3rem 1.4rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.04);
}
.panel-header-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.panel-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.15rem;
}
.panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}
.panel-subtitle {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 2px;
}
.panel-details-link {
  background: rgba(99, 102, 241, 0.08);
  border: none;
  color: #6366f1;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.panel-details-link:hover {
  background: rgba(99, 102, 241, 0.16);
  color: #4f46e5;
}
.category-ranked-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.category-rank-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
  padding: 4px 0;
}
.cat-name-col {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 140px;
  max-width: 160px;
}
.cat-rank-number {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  width: 20px;
}
.cat-color-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cat-name-text {
  font-weight: 600;
  color: #334155;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cat-bar-col {
  flex: 1;
}
.cat-progress-track {
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}
.cat-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}
.cat-sales-col {
  font-weight: 700;
  color: #1e293b;
  min-width: 85px;
  text-align: right;
}
.cat-share-col {
  min-width: 45px;
  text-align: right;
}
.cat-share-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 6px;
}
.heatmap-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.heatmap-hours-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.heatmap-weekday-spacer {
  width: 36px;
  flex-shrink: 0;
}
.heatmap-hour-header {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
}
.heatmap-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.heatmap-row-label {
  width: 36px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  flex-shrink: 0;
}
.heatmap-cells-track {
  flex: 1;
  display: flex;
  gap: 6px;
}
.heatmap-cell {
  flex: 1;
  height: 24px;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.heatmap-cell:hover {
  transform: scale(1.18);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.35);
  z-index: 2;
}
.heatmap-footer-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: #64748b;
}
.legend-label {
  font-weight: 500;
}
.heatmap-legend-bar {
  width: 90px;
  height: 7px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(109, 74, 255, 0.15) 0%,
      #6d4aff 100%);
}
.legend-dot {
  color: #cbd5e1;
}
.legend-peak-text {
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
}
.peak-flame-icon {
  color: #f59e0b;
  display: flex;
  align-items: center;
}
.payment-modes-panel {
  display: flex;
  flex-direction: column;
}
.payment-stacked-bar {
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  width: 100%;
  background: #f1f5f9;
  margin-bottom: 14px;
}
.payment-bar-segment {
  height: 100%;
  transition: width 0.3s ease;
}
.payment-legend-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.payment-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #475569;
}
.payment-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
}
.payment-amount-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}
.payment-amount-tile {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.payment-amount-tile:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}
.tile-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.tile-icon-wrap {
  display: flex;
  align-items: center;
}
.tile-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  flex: 1;
  margin-left: 5px;
}
.tile-pct-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}
.tile-val {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
}
.top-customers-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.top-customer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.top-customer-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.customer-info-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.customer-avatar-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      #ede9fe 0%,
      #ddd6fe 100%);
  color: #6366f1;
  font-weight: 800;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.customer-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #1e293b;
}
.customer-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 2px;
}
.meta-sep {
  color: #cbd5e1;
}
.badge-cust-b2b {
  background: #e0e7ff;
  color: #4338ca;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}
.badge-cust-retail {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}
.customer-sales-val {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
}
.insights-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.insight-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 12px;
  border-left-width: 4px;
  border-left-style: solid;
  transition: transform 0.15s ease;
}
.insight-card:hover {
  transform: translateX(2px);
}
.insight-card.theme-emerald {
  background: #ecfdf5;
  border-left-color: #10b981;
}
.insight-card.theme-amber {
  background: #fffbeb;
  border-left-color: #f59e0b;
}
.insight-card.theme-purple {
  background: #f5f3ff;
  border-left-color: #8b5cf6;
}
.insight-card.theme-rose {
  background: #fff1f2;
  border-left-color: #f43f5e;
}
.insight-card.theme-blue {
  background: #eff6ff;
  border-left-color: #3b82f6;
}
.insight-icon-area {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.insight-icon-area.theme-emerald {
  background: rgba(16, 185, 129, 0.18);
}
.insight-icon-area.theme-amber {
  background: rgba(245, 158, 11, 0.18);
}
.insight-icon-area.theme-purple {
  background: rgba(139, 92, 246, 0.18);
}
.insight-icon-area.theme-rose {
  background: rgba(244, 63, 94, 0.18);
}
.insight-icon-area.theme-blue {
  background: rgba(59, 130, 246, 0.18);
}
.insight-title {
  font-weight: 700;
  font-size: 0.86rem;
  color: #0f172a;
}
.insight-desc {
  font-size: 0.78rem;
  color: #475569;
  margin-top: 3px;
  line-height: 1.45;
}
.panel-empty-text {
  text-align: center;
  padding: 1.5rem;
  color: #94a3b8;
  font-size: 0.85rem;
}
.sales-daywise-card {
  padding: 1.35rem 1.6rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.04);
}
.daywise-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.daywise-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}
.daywise-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 2px;
}
.daywise-actions-area {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.daywise-group-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.daywise-group-chevron {
  position: absolute;
  right: 10px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.daywise-group-select {
  padding: 0.42rem 1.8rem 0.42rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.daywise-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.daywise-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}
.daywise-table-scroll {
  width: 100%;
  overflow-x: auto;
}
.daywise-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.daywise-table th {
  background: #f8fafc;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 11px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}
.daywise-table th.col-num {
  text-align: right;
}
.daywise-table th.sortable-th {
  cursor: pointer;
  user-select: none;
}
.daywise-table th.sortable-th:hover {
  color: #0f172a;
}
.daywise-table th.active-sort {
  color: #6366f1;
}
.th-sort-arrow {
  margin-left: 4px;
  font-weight: 800;
  color: #6366f1;
}
.daywise-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}
.daywise-table td.col-num {
  text-align: right;
}
.daywise-clickable-row {
  cursor: pointer;
  transition: background 0.12s ease;
}
.daywise-clickable-row:hover {
  background: #f8fafc;
}
.col-date-text {
  font-weight: 600;
  color: #1e293b;
}
.daywise-change-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.74rem;
  font-weight: 700;
}
.daywise-change-badge.pos {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}
.daywise-change-badge.neg {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}
.table-empty-row {
  text-align: center;
  padding: 2.5rem;
  color: #94a3b8;
}
.daywise-table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 14px;
  font-size: 0.8rem;
  color: #64748b;
}
.sales-cashier-card {
  padding: 1.35rem 1.6rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.04);
}
.cashier-card-header {
  margin-bottom: 1rem;
}
.cashier-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.cashier-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 2px;
}
.cashier-table-scroll {
  width: 100%;
  overflow-x: auto;
}
.cashier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.cashier-table th {
  background: #f8fafc;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}
.cashier-table th.col-num {
  text-align: right;
}
.cashier-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
}
.cashier-table td.col-num {
  text-align: right;
}
.cashier-name {
  font-size: 0.88rem;
  color: #1e293b;
}
.cashier-counter {
  font-size: 0.74rem;
  margin-top: 1px;
}
.cashier-summary-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: #475569;
}
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.strip-divider {
  color: #cbd5e1;
}
.sales-schedule-modal-backdrop {
  align-items: flex-start !important;
  justify-content: center !important;
  padding-top: 25px !important;
  padding-bottom: 25px !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  z-index: 1100 !important;
  overflow-y: auto !important;
}
.sales-schedule-modal {
  margin: 0 auto !important;
  max-width: 480px !important;
  width: 100% !important;
  animation: modalTopSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@keyframes modalTopSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.sales-custom-modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.9);
  overflow: hidden;
  animation: modalScaleUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.sales-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}
.sales-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sales-modal-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sales-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}
.sales-modal-subtitle {
  font-size: 0.8rem;
  color: #64748b;
  margin: 3px 0 0 0;
}
.sales-modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.sales-modal-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
.sales-modal-body {
  padding: 1.5rem;
  background: #ffffff;
}
.sales-modal-quick-presets {
  margin-bottom: 1.25rem;
}
.quick-presets-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  display: block;
  margin-bottom: 7px;
}
.quick-presets-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.quick-chip-btn {
  padding: 5px 11px;
  border-radius: 7px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.quick-chip-btn:hover {
  background: #ede9fe;
  color: #6366f1;
  border-color: #ddd6fe;
}
.sales-modal-dates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 1.25rem;
}
@media (max-width: 480px) {
  .sales-modal-dates-grid {
    grid-template-columns: 1fr;
  }
}
.sales-date-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sales-date-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}
.sales-date-field {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: all 0.15s ease;
  font-family: inherit;
  box-sizing: border-box;
}
.sales-date-field:focus {
  border-color: #6366f1;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.sales-range-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.summary-box-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.summary-box-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.summary-days-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
}
.summary-date-sub {
  font-size: 0.78rem;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
.sales-range-error-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 14px;
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sales-modal-footer {
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.sales-modal-btn-cancel {
  padding: 0.6rem 1.2rem;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sales-modal-btn-cancel:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.sales-modal-btn-apply {
  padding: 0.6rem 1.4rem;
  border-radius: 9px;
  border: none;
  background: #6366f1;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sales-modal-btn-apply:hover:not(:disabled) {
  background: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.38);
}
.sales-modal-btn-apply:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .sidebar,
  .sidebar-nav,
  .top-search-bar,
  .sales-header-actions,
  .sales-filter-bar,
  .daywise-actions-area,
  .modal-backdrop {
    display: none !important;
  }
  .sales-analysis-container {
    width: 100% !important;
    padding: 0 !important;
  }
  .sales-header-card,
  .sales-overview-card,
  .sales-panel-card,
  .sales-daywise-card,
  .sales-cashier-card {
    border: 1px solid #cccccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
}
.today-dash-root {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 2rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  color: var(--text-main);
  animation: fadeIn 0.25s ease-in-out;
  perspective: 1200px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.today-dash-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 0.25rem;
}
.header-main-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.header-greeting-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.header-shop-subtitle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 0.35rem;
  font-weight: 500;
}
.header-shop-subtitle .dot-sep {
  color: #cbd5e1;
}
.header-actions-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn-dash-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fafc 100%);
  color: #1e293b;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.05),
    0 3px 6px -1px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 #ffffff;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-dash-action:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08), inset 0 1px 0 #ffffff;
}
.btn-dash-action:active {
  transform: translateY(0);
}
.btn-dash-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.54rem 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 4px 14px rgba(79, 70, 229, 0.38),
    0 2px 4px rgba(79, 70, 229, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-dash-primary:hover {
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #4338ca 100%);
  box-shadow:
    0 8px 20px rgba(79, 70, 229, 0.48),
    0 3px 6px rgba(79, 70, 229, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}
.btn-dash-primary:active {
  transform: translateY(0);
}
.header-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0;
  margin-bottom: 0.15rem;
}
.header-today-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 38px;
  padding: 0 0.9rem;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
  white-space: nowrap;
  user-select: none;
}
.header-today-pill .today-pill-icon {
  color: #6366f1;
  flex-shrink: 0;
}
.dashboard-branch-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.branch-selector-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  user-select: none;
}
.branch-selector-pills {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.dashboard-branch-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 38px;
  padding: 0 0.95rem;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: default;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  line-height: 1.2;
  box-sizing: border-box;
}
.dashboard-branch-pill:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(15, 23, 42, 0.06);
}
.dashboard-branch-pill.active {
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  color: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 3px 10px rgba(79, 70, 229, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.dashboard-branch-pill .branch-icon {
  font-size: 0.85rem;
}
.today-empty-alert-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:
    linear-gradient(
      135deg,
      #fdf4ff 0%,
      #f5f3ff 100%);
  border: 1px solid #e9d5ff;
  border-radius: 14px;
  padding: 0.95rem 1.35rem;
  color: #581c87;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.empty-alert-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
}
.btn-empty-start {
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  color: #ffffff;
  border: none;
  padding: 0.48rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.2s ease;
}
.btn-empty-start:hover {
  background: #4338ca;
  transform: translateY(-1px);
}
.today-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  width: 100%;
  position: relative;
  z-index: 5;
}
.today-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 0.95rem 0.95rem 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 136px;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.2s ease;
  position: relative;
  min-width: 0;
}
.today-kpi-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
}
.today-kpi-card.purple-highlight {
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 55%,
      #4338ca 100%);
  border: 1px solid #4f46e5;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28), 0 2px 4px rgba(79, 70, 229, 0.16);
}
.today-kpi-card.purple-highlight:hover {
  transform: translateY(-3px);
  border-color: #3730a3;
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.38), 0 3px 6px rgba(79, 70, 229, 0.2);
}
.kpi-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  height: 28px;
  margin-bottom: 0.65rem;
  width: 100%;
}
.kpi-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #64748b;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  user-select: none;
}
.purple-highlight .kpi-label {
  color: rgba(255, 255, 255, 0.88);
}
.kpi-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}
.kpi-icon-badge.purple {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.kpi-icon-badge.blue {
  background: #eff6ff;
  border: 1px solid #dbeafe;
}
.kpi-icon-badge.green {
  background: #ecfdf5;
  border: 1px solid #d1fae5;
}
.kpi-icon-badge.brown {
  background: #fffbeb;
  border: 1px solid #fef3c7;
}
.kpi-icon-badge.red {
  background: #fef2f2;
  border: 1px solid #fee2e2;
}
.kpi-icon-badge.neutral {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
}
.kpi-value-row {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.5rem;
  min-height: 32px;
  width: 100%;
}
.kpi-value {
  font-size: clamp(1.35rem, 1.55vw, 1.55rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.purple-highlight .kpi-value {
  color: #ffffff;
}
.kpi-footer-row {
  display: flex;
  align-items: center;
  margin-top: auto;
  min-height: 24px;
  width: 100%;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.3;
}
.kpi-change-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.25;
}
.purple-highlight .kpi-change-pill {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  backdrop-filter: blur(6px);
}
.purple-highlight .kpi-change-pill.pos {
  background: rgba(16, 185, 129, 0.28);
  border-color: rgba(110, 231, 183, 0.45);
}
.purple-highlight .kpi-change-pill.pos .kpi-pill-arrow {
  color: #a7f3d0;
  font-weight: 800;
}
.purple-highlight .kpi-change-pill.neg {
  background: rgba(239, 68, 68, 0.26);
  border-color: rgba(254, 202, 202, 0.4);
}
.purple-highlight .kpi-change-pill.neg .kpi-pill-arrow {
  color: #fecaca;
  font-weight: 800;
}
.purple-highlight .kpi-change-pill.neutral {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
}
.kpi-change-text {
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kpi-change-text.pos {
  color: #059669;
}
.kpi-change-text.neg {
  color: #dc2626;
}
.kpi-change-text.neutral {
  color: #94a3b8;
  font-weight: 500;
}
.kpi-meta-text {
  color: #64748b;
  font-size: 0.73rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kpi-meta-text.text-danger {
  color: #ef4444;
  font-weight: 600;
}
.estimated-tag {
  color: #94a3b8;
  font-size: 0.7rem;
}
.text-success {
  color: #10b981 !important;
}
.text-danger {
  color: #ef4444 !important;
}
.today-middle-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 1.25rem;
  position: relative;
  z-index: 10;
}
.today-chart-card,
.today-payment-card {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfcfe 60%,
      #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow:
    0 1px 3px 0 rgba(15, 23, 42, 0.03),
    0 6px 16px -2px rgba(15, 23, 42, 0.06),
    0 18px 32px -6px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 0 rgba(226, 232, 240, 0.4);
  position: relative;
  z-index: 10;
  overflow: visible;
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s ease;
}
.today-chart-card:hover,
.today-payment-card:hover {
  transform: translateY(-3px) translateZ(0);
  border-color: rgba(199, 210, 254, 0.85);
  box-shadow:
    0 2px 4px 0 rgba(15, 23, 42, 0.02),
    0 12px 24px -4px rgba(15, 23, 42, 0.08),
    0 26px 42px -8px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 0 #ffffff;
}
.chart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
  flex-wrap: nowrap;
  gap: 0.85rem;
  position: relative;
  z-index: 20;
}
.chart-card-title,
.payment-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin: 0;
  white-space: nowrap;
}
.chart-card-subtitle,
.payment-card-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0.2rem 0 0 0;
  white-space: nowrap;
}
.chart-header-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  flex-wrap: nowrap;
  position: relative;
  z-index: 25;
}
.segmented-metric-toggle {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
  position: relative;
  z-index: 30;
  pointer-events: auto;
  box-shadow: inset 0 1.5px 3px rgba(15, 23, 42, 0.08), inset 0 0 0 1px rgba(226, 232, 240, 0.85);
}
.toggle-seg-btn {
  border: none;
  background: transparent;
  padding: 0.38rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  position: relative;
  z-index: 31;
  pointer-events: auto;
}
.toggle-seg-btn:hover:not(.active) {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.6);
}
.toggle-seg-btn.active {
  background: #ffffff;
  font-weight: 700;
  box-shadow:
    0 2px 6px -1px rgba(15, 23, 42, 0.12),
    0 1px 2px 0 rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.toggle-seg-btn.active.active-bills {
  color: #0284c7;
}
.toggle-seg-btn.active.active-sales {
  color: #4f46e5;
}
.toggle-seg-btn.active.active-profit {
  color: #059669;
}
.toggle-seg-btn:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 1px;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.76rem;
  color: #64748b;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.legend-line {
  display: inline-block;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  transition: background 0.25s ease;
}
.legend-line.today {
  background: #6366f1;
}
.legend-line.last-week {
  background: #cbd5e1;
  border-top: 2px dashed #94a3b8;
  height: 0;
}
.chart-svg-wrapper {
  position: relative;
  width: 100%;
  margin-top: 0.25rem;
  z-index: 5;
}
.today-hourly-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}
.chart-floating-card {
  position: absolute;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 8px 13px;
  pointer-events: none !important;
  z-index: 15;
  box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  animation: fadeIn 0.15s ease-out;
}
.card-top-tag {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 2px;
}
.card-top-tag .busiest-tag {
  color: #a5b4fc;
  font-weight: 600;
}
.card-main-val {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.015em;
}
.card-sub-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 2px;
}
.card-sub-meta .dot {
  color: #475569;
}
.today-payment-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.payment-body-layout {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1.25rem 0;
}
.donut-chart-container {
  flex-shrink: 0;
}
.donut-svg {
  display: block;
}
.donut-center-total {
  font-size: 1.28rem;
  font-weight: 800;
  fill: #0f172a;
  letter-spacing: -0.02em;
}
.donut-center-label {
  font-size: 0.75rem;
  fill: #64748b;
  font-weight: 500;
}
.payment-legend-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}
.payment-legend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.legend-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mode-color-dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}
.mode-name {
  color: #334155;
  font-weight: 600;
}
.legend-figures {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.mode-amount {
  font-weight: 700;
  color: #0f172a;
}
.mode-pct {
  color: #64748b;
  font-size: 0.75rem;
  min-width: 28px;
  text-align: right;
}
.payment-empty-legend {
  font-size: 0.85rem;
  color: #94a3b8;
  padding: 1rem 0;
}
.payment-gst-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}
.gst-tile {
  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #f1f5f9 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(15, 23, 42, 0.03);
}
.gst-tile-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #64748b;
  text-transform: uppercase;
}
.gst-tile-val {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
}
.today-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 0.5rem;
}
.today-bottom-grid.has-single-card,
.today-bottom-grid:has(> :only-child) {
  grid-template-columns: 1fr;
}
.today-bottom-grid.has-single-card .counters-rows-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}
.today-section-card.bento-card-3d {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfcfe 60%,
      #f6f8fc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 1.35rem 1.4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 2px 0 rgba(15, 23, 42, 0.04),
    0 6px 18px -2px rgba(15, 23, 42, 0.05),
    0 18px 36px -6px rgba(99, 102, 241, 0.06),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 0 rgba(226, 232, 240, 0.5);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
  overflow: hidden;
}
.today-section-card.bento-card-3d::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.95) 20%,
      rgba(255, 255, 255, 0.95) 80%,
      transparent);
  pointer-events: none;
}
.today-section-card.bento-card-3d:hover {
  transform: translateY(-4px) translateZ(0);
}
.bento-card-top-sellers:hover {
  border-color: rgba(165, 180, 252, 0.9);
  box-shadow:
    0 2px 6px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(15, 23, 42, 0.06),
    0 28px 50px -8px rgba(99, 102, 241, 0.14),
    inset 0 1px 0 0 #ffffff;
}
.bento-card-stock-attention:hover {
  border-color: rgba(254, 205, 211, 0.95);
  box-shadow:
    0 2px 6px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(15, 23, 42, 0.06),
    0 28px 50px -8px rgba(244, 63, 94, 0.12),
    inset 0 1px 0 0 #ffffff;
}
.bento-card-counters:hover {
  border-color: rgba(167, 243, 208, 0.95);
  box-shadow:
    0 2px 6px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(15, 23, 42, 0.06),
    0 28px 50px -8px rgba(16, 185, 129, 0.12),
    inset 0 1px 0 0 #ffffff;
}
.section-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(241, 245, 249, 0.9);
}
.section-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-title-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.sellers-icon-box {
  background:
    linear-gradient(
      135deg,
      #eef2ff 0%,
      #e0e7ff 100%);
  color: #6366f1;
  border: 1px solid rgba(199, 210, 254, 0.8);
}
.stock-icon-box {
  background:
    linear-gradient(
      135deg,
      #fff1f2 0%,
      #ffe4e6 100%);
  color: #f43f5e;
  border: 1px solid rgba(254, 205, 211, 0.8);
}
.counters-icon-box {
  background:
    linear-gradient(
      135deg,
      #ecfdf5 0%,
      #d1fae5 100%);
  color: #10b981;
  border: 1px solid rgba(167, 243, 208, 0.8);
}
.section-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.25;
}
.section-subtitle {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 1px;
  display: block;
}
.section-link-pill-btn {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #4338ca;
  border-radius: 9999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.section-link-pill-btn:hover {
  background: #e0e7ff;
  color: #3730a3;
  border-color: #c7d2fe;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.18);
}
.section-link-pill-btn .pill-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 0.82rem;
}
.section-link-pill-btn:hover .pill-arrow {
  transform: translateX(3px);
}
.bento-item-tile {
  background: #ffffff;
  border: 1px solid rgba(241, 245, 249, 0.95);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-item-tile:hover {
  background: #fbfcfe;
  border-color: rgba(199, 210, 254, 0.85);
  transform: translateY(-2px) scale(1.005);
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(99, 102, 241, 0.08);
}
.sellers-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}
.seller-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 0.85rem;
}
.seller-rank-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.seller-rank-badge.rank-1 {
  background:
    linear-gradient(
      135deg,
      #fef3c7 0%,
      #fde68a 100%);
  color: #b45309;
  border: 1px solid #fcd34d;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}
.seller-rank-badge.rank-2 {
  background:
    linear-gradient(
      135deg,
      #f1f5f9 0%,
      #e2e8f0 100%);
  color: #475569;
  border: 1px solid #cbd5e1;
}
.seller-rank-badge.rank-3 {
  background:
    linear-gradient(
      135deg,
      #ffedd5 0%,
      #fed7aa 100%);
  color: #c2410c;
  border: 1px solid #fdba74;
}
.seller-rank-badge.rank-4,
.seller-rank-badge.rank-5 {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.seller-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.seller-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.seller-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seller-qty-chip {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 9999px;
  white-space: nowrap;
}
@keyframes modernBarGrow {
  0% {
    width: 0% !important;
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}
@keyframes barShimmerWave {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.seller-bar-track {
  width: 100%;
  height: 7px;
  background: rgba(226, 232, 240, 0.85);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}
.seller-bar-fill {
  height: 100%;
  border-radius: 9999px;
  position: relative;
  background:
    linear-gradient(
      90deg,
      #6366f1 0%,
      #8b5cf6 50%,
      #a855f7 100%);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.35);
  transform-origin: left center;
  animation: modernBarGrow 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.bar-shimmer-highlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.5) 50%,
      transparent 100%);
  background-size: 200% 100%;
  animation: barShimmerWave 2.8s infinite linear;
  border-radius: 9999px;
}
.seller-amount-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}
.seller-amount-val {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
}
.seller-share-label {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
}
.stock-alerts-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}
.stock-alert-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 0.75rem;
}
.stock-item-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background:
    linear-gradient(
      135deg,
      #f8fafc 0%,
      #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stock-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.stock-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stock-left-qty {
  font-size: 0.72rem;
  color: #64748b;
  display: flex;
  align-items: center;
}
@keyframes beaconPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}
.status-beacon-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  margin-right: 5px;
  flex-shrink: 0;
}
.beacon-danger {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.7);
  animation: beaconPulse 1.6s infinite ease-in-out;
}
.beacon-warning {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.7);
  animation: beaconPulse 1.6s infinite ease-in-out;
}
.beacon-neutral {
  background: #3b82f6;
}
.stock-badge.modern-pill-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.badge-pulse-indicator {
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: currentColor;
}
.stock-badge.modern-pill-badge.danger {
  background:
    linear-gradient(
      135deg,
      #fef2f2 0%,
      #fee2e2 100%);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.12);
}
.stock-badge.modern-pill-badge.warning {
  background:
    linear-gradient(
      135deg,
      #fffbeb 0%,
      #fef3c7 100%);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.12);
}
.stock-badge.modern-pill-badge.neutral {
  background:
    linear-gradient(
      135deg,
      #eff6ff 0%,
      #dbeafe 100%);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.1);
}
.counters-today-card .counters-today-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.counters-rows-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-grow: 1;
}
.counter-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
}
.counter-item-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.counter-status-indicator {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.counter-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
  animation: beaconPulse 1.6s infinite ease-in-out;
}
.counter-info-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.counter-row-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
}
.counter-sub-status {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 500;
}
.counter-amount-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.counter-row-amount {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}
.counter-mini-track {
  width: 50px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}
.counter-mini-fill {
  height: 100%;
  background:
    linear-gradient(
      90deg,
      #10b981,
      #059669);
  border-radius: 9999px;
  transition: width 0.6s ease;
}
.counter-total-row-bento {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background:
    linear-gradient(
      135deg,
      #f8fafc 0%,
      #eef2ff 100%);
  border: 1px solid rgba(199, 210, 254, 0.9);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08), inset 0 1px 0 #ffffff;
}
.counter-total-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.counter-total-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1e1b4b;
}
.counter-total-meta {
  font-size: 0.7rem;
  color: #6366f1;
  font-weight: 600;
}
.counter-total-amount {
  font-size: 1.25rem;
  font-weight: 900;
  color: #4338ca;
  text-shadow: 0 1px 2px rgba(67, 56, 202, 0.12);
}
.empty-sub-card {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: #94a3b8;
  height: 100%;
  min-height: 80px;
  text-align: center;
  padding: 1rem;
  gap: 6px;
}
.empty-sub-icon {
  color: #cbd5e1;
}
@keyframes todayLineDraw {
  0% {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    opacity: 0.2;
  }
  30% {
    opacity: 1;
  }
  100% {
    stroke-dasharray: 1400;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
.today-chart-animated-line {
  stroke-dasharray: 1400;
  stroke-dashoffset: 0;
  animation: todayLineDraw 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes todayAreaReveal {
  0% {
    opacity: 0;
    transform: scaleY(0.1);
    transform-origin: bottom;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: bottom;
  }
}
.today-chart-animated-area {
  animation: todayAreaReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes compLineReveal {
  0% {
    opacity: 0;
    stroke-dashoffset: 50;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}
.comp-chart-animated-line {
  animation: compLineReveal 0.6s ease-out forwards;
}
@keyframes chartDotPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  65% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.today-chart-dot-pop {
  animation: chartDotPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes donutStrokeDraw {
  0% {
    stroke-dasharray: 0 1000;
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}
.donut-animated-slice {
  animation: donutStrokeDraw 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes donutCenterPop {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.donut-center-group {
  animation: donutCenterPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transform-origin: 90px 90px;
}
.skeleton-loading {
  opacity: 0.7;
}
.skeleton-card {
  background: #f8fafc !important;
  border-color: #f1f5f9 !important;
  box-shadow: none !important;
}
.skeleton-line,
.skeleton-row {
  background: #e2e8f0;
  border-radius: 6px;
  animation: pulseSkeleton 1.5s infinite ease-in-out;
}
@keyframes pulseSkeleton {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}
@media (max-width: 1250px) {
  .today-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}
@media (max-width: 1100px) {
  .today-middle-grid {
    grid-template-columns: 1fr;
  }
  .today-bottom-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  .today-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .today-dash-root {
    padding: 1rem;
  }
  .chart-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .chart-header-right {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }
}
@media (max-width: 480px) {
  .today-kpi-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .header-actions-area {
    width: 100%;
  }
}
.branch-card-edit-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  transition: all 0.15s ease-in-out;
}
.branch-card-edit-btn:hover {
  background: #f1f5f9 !important;
  border-color: #6d4aff !important;
  color: #6d4aff !important;
  box-shadow: 0 2px 6px rgba(109, 74, 255, 0.18) !important;
  transform: translateY(-1px);
}
.branch-card-edit-btn:active {
  transform: translateY(0);
}
.mobile-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  animation: fadeInBackdrop 0.2s ease-out;
}
@keyframes fadeInBackdrop {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .app-container {
    position: relative;
    overflow-x: hidden;
  }
  .app-sidebar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    z-index: 1000 !important;
    transform: translateX(-100%);
    transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.26s ease !important;
    box-shadow: none !important;
  }
  .app-sidebar.mobile-open {
    transform: translateX(0) !important;
    box-shadow: 12px 0 36px rgba(0, 0, 0, 0.45) !important;
  }
  .app-sidebar.mobile-open.icon-only {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    padding: 1.25rem 1rem !important;
  }
  .app-sidebar.mobile-open.icon-only .sidebar-brand-text,
  .app-sidebar.mobile-open.icon-only .sidebar-store-info,
  .app-sidebar.mobile-open.icon-only .sidebar-store-badge,
  .app-sidebar.mobile-open.icon-only .sidebar-section-label,
  .app-sidebar.mobile-open.icon-only .nav-text,
  .app-sidebar.mobile-open.icon-only .nav-trailing,
  .app-sidebar.mobile-open.icon-only .nav-count-badge,
  .app-sidebar.mobile-open.icon-only .nav-tag-shortcut,
  .app-sidebar.mobile-open.icon-only .nav-shift-badge,
  .app-sidebar.mobile-open.icon-only .sidebar-chevron,
  .app-sidebar.mobile-open.icon-only .sidebar-user-meta,
  .app-sidebar.mobile-open.icon-only .sidebar-action-row-btn span:last-child {
    display: inline-block !important;
  }
  .app-sidebar.mobile-open.icon-only .sidebar-header-row {
    flex-direction: row !important;
    justify-content: space-between !important;
  }
  .app-sidebar.mobile-open.icon-only .sidebar-nav-item {
    width: 100% !important;
    height: auto !important;
    padding: 0.65rem 0.85rem !important;
    justify-content: flex-start !important;
    gap: 0.75rem !important;
  }
  .app-sidebar.mobile-open.icon-only .sidebar-store-btn {
    width: 100% !important;
    height: auto !important;
    padding: 0.6rem 0.75rem !important;
    justify-content: flex-start !important;
  }
  .main-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.85rem 0.85rem 2rem !important;
  }
  .bento-pos-grid {
    grid-template-columns: 1fr !important;
  }
  .bento-side-col {
    position: static !important;
  }
}
@media (max-width: 640px) {
  .top-global-bar {
    gap: 0.65rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.85rem;
  }
  .topbar-breadcrumb {
    font-size: 0.78rem;
  }
  .topbar-store-name {
    max-width: 110px;
  }
  .topbar-current-page {
    max-width: 120px;
  }
  .top-user-details {
    display: none !important;
  }
  .top-user-chip {
    padding: 0.25rem 0.35rem !important;
  }
  .bento-top-bar {
    padding: 0.5rem 0.65rem !important;
    gap: 0.5rem !important;
  }
  .bento-badge-sub {
    display: none;
  }
  .bento-pos-badge {
    gap: 0.45rem;
  }
  .bento-badge-icon {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }
  .bento-badge-title {
    font-size: 0.88rem;
  }
  .card {
    padding: 0.85rem !important;
    overflow-x: auto;
  }
  .data-table {
    min-width: 550px;
  }
  .modal-content {
    max-width: 96vw !important;
    margin: 0.5rem !important;
    max-height: 94vh !important;
  }
}
@media (max-width: 520px) {
  .bento-cart-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .bento-cart-table-header,
  .bento-cart-row {
    min-width: 420px;
  }
}
@media (max-width: 420px) {
  .main-content {
    padding: 0.5rem 0.5rem 1.5rem !important;
  }
  .topbar-toggle-text {
    display: none;
  }
  .topbar-breadcrumb-sep,
  .topbar-store-name {
    display: none;
  }
  .topbar-current-page {
    max-width: 140px;
    font-size: 0.8rem;
  }
}
.pos-quick-shortcuts-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background:
    linear-gradient(
      135deg,
      #1e293b 0%,
      #0f172a 100%);
  color: #f8fafc;
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  margin-bottom: 0.85rem;
  font-size: 0.76rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  overflow-x: auto;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pos-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  font-weight: 500;
  color: #cbd5e1;
}
.pos-strip-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.pos-strip-item kbd {
  background: #334155;
  color: #f1f5f9;
  border: 1px solid #475569;
  border-bottom: 2px solid #1e293b;
  border-radius: 4px;
  padding: 0.08rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.pos-strip-item.proceed {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-weight: 700;
}
.pos-strip-item.proceed:hover {
  background: rgba(16, 185, 129, 0.3);
}
.pos-strip-item.proceed kbd {
  background: #059669;
  border-color: #047857;
  border-bottom-color: #064e3b;
  color: #ffffff;
}
.pos-strip-item.help {
  margin-left: auto;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
}
.pos-strip-item.help:hover {
  background: rgba(99, 102, 241, 0.28);
}
.pos-strip-item.help kbd {
  background: #4f46e5;
  border-color: #4338ca;
  border-bottom-color: #312e81;
  color: #ffffff;
}
.pos-strip-divider {
  color: #475569;
  font-size: 0.75rem;
  opacity: 0.6;
}
.pos-kbd-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-bottom: 2px solid #94a3b8;
  border-radius: 4px;
  padding: 0.1rem 0.38rem;
  font-size: 0.68rem;
  font-weight: 800;
  font-family: inherit;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
  margin-left: 0.35rem;
}
.pos-kbd-badge.blue {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
  border-bottom-color: #93c5fd;
}
.pos-kbd-badge.emerald {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
  border-bottom-color: #6ee7b7;
}
.checkout-kbd-tag {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 0.12rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-right: 0.45rem;
  color: #ffffff;
  display: inline-block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.bento-product-tile.keyboard-selected {
  outline: 3px solid #6366f1 !important;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.35), 0 8px 20px rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-2px);
  background: #eef2ff !important;
}
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 640px) {
  .shortcuts-grid {
    grid-template-columns: 1fr;
  }
}
.shortcuts-card-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem;
}
.shortcuts-group-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.shortcuts-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #334155;
}
.shortcut-row.highlight {
  background: #ecfdf5;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border-left: 3px solid #10b981;
}
.shortcut-keys {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
}
.shortcut-keys kbd {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-bottom: 2px solid #94a3b8;
  border-radius: 4px;
  padding: 0.12rem 0.38rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.shortcut-keys kbd.primary {
  background: #10b981;
  color: #ffffff;
  border-color: #059669;
  border-bottom-color: #047857;
}
.bento-shortcuts-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bento-shortcuts-trigger-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}
.bento-shortcuts-trigger-btn .dock-kbd {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-bottom: 2px solid #94a3b8;
  border-radius: 3px;
  padding: 0.05rem 0.3rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #0f172a;
}
.bento-checkout-btn:focus,
.bento-checkout-btn:focus-visible {
  outline: 3px solid #10b981 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.4), 0 8px 24px rgba(79, 70, 229, 0.5) !important;
  transform: translateY(-2px) scale(1.02);
}
.arrow-flow-card {
  background:
    linear-gradient(
      135deg,
      #f0fdf4 0%,
      #e0f2fe 100%);
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.arrow-flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.arrow-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  min-width: 90px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
.arrow-flow-step kbd {
  background: #1e293b;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.arrow-flow-step span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
}
.arrow-flow-arrow {
  color: #10b981;
  font-size: 1.2rem;
  font-weight: 900;
}
.bulk-bento-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}
.bulk-method-nav {
  display: flex;
  gap: 0.4rem;
  background: #f1f5f9;
  padding: 0.3rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  width: fit-content;
}
.bulk-method-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.bulk-method-pill:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.6);
}
.bulk-method-pill.active {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.bulk-method-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.bulk-bento-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.85rem;
  width: 100%;
  align-items: stretch;
}
.bulk-bento-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.bulk-bento-card:hover {
  border-color: rgba(109, 74, 255, 0.3);
  box-shadow: 0 6px 16px -2px rgba(49, 46, 129, 0.06);
}
.bulk-bento-hero-dropzone {
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #faf8ff 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 275px;
}
.bulk-bento-hero-dropzone:hover {
  border-color: var(--primary);
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f5f3ff 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(109, 74, 255, 0.1);
}
.bulk-bento-hero-dropzone.dragging {
  border-color: var(--primary);
  background: #f5f3ff;
  border-style: solid;
}
.bulk-drop-icon-squircle {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #eff2fe;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
  transition: transform 0.2s ease;
}
.bulk-bento-hero-dropzone:hover .bulk-drop-icon-squircle {
  transform: scale(1.08);
}
.bulk-bento-hero-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}
.bulk-bento-hero-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.4;
  margin-bottom: 0.85rem;
}
.bulk-bento-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.15rem;
  border-radius: 7px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.84rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(109, 74, 255, 0.25);
  transition: all 0.15s ease;
}
.bulk-bento-browse-btn:hover {
  background: #5b38f5;
  transform: translateY(-1px);
}
.bulk-format-tags {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}
.bulk-format-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
}
.bulk-bento-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}
.bulk-bento-header-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.bulk-bento-badge-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bulk-bento-badge-icon.indigo {
  background: #e0e7ff;
  color: #4338ca;
}
.bulk-bento-badge-icon.purple {
  background: var(--primary-light);
  color: var(--primary);
}
.bulk-bento-badge-icon.green {
  background: #dcfce7;
  color: #15803d;
}
.bulk-bento-card-title {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.bulk-bento-card-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.bulk-template-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.bulk-template-tile {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bulk-template-tile:hover {
  background: #ffffff;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(109, 74, 255, 0.08);
}
.bulk-template-icon-squircle {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bulk-template-icon-squircle.excel {
  background: #dcfce7;
  color: #16a34a;
}
.bulk-template-icon-squircle.csv {
  background: #dbeafe;
  color: #2563eb;
}
.bulk-template-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.bulk-template-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bulk-template-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}
.bulk-template-download-btn {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.bulk-template-tile:hover .bulk-template-download-btn {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.bulk-columns-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}
.bulk-column-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.3rem 0.45rem;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  color: var(--text-main);
  font-weight: 600;
}
.bulk-column-pill.required {
  background: #f5f3ff;
  border-color: #ddd6fe;
  color: #4f46e5;
  font-weight: 700;
}
.bulk-col-req-badge {
  font-size: 0.6rem;
  font-weight: 800;
  background: #ede9fe;
  color: #6d4aff;
  padding: 0.05rem 0.25rem;
  border-radius: 4px;
}
.bulk-bento-ai-footer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: #faf5ff;
  border: 1px solid #f3e8ff;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  line-height: 1.35;
}
@media (max-width: 900px) {
  .bulk-bento-grid {
    grid-template-columns: 1fr;
  }
  .bulk-template-grid {
    grid-template-columns: 1fr;
  }
  .bulk-columns-spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cat-bento-dialog {
  width: 95vw !important;
  max-width: 1040px !important;
  max-height: 88vh !important;
  height: auto !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.28) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 1px solid var(--border) !important;
}
.cat-bento-header {
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.cat-bento-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cat-bento-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background:
    linear-gradient(
      135deg,
      #ede9fe 0%,
      #e0e7ff 100%);
  color: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.15);
}
.cat-bento-title-wrap h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}
.cat-bento-title-wrap p {
  margin: 1px 0 0 0;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.cat-bento-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.cat-bento-body {
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow-y: auto;
  flex: 1;
}
.cat-bento-dialog .cat-bento-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  width: 100%;
}
.cat-bento-dialog .cat-bento-kpi-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.2s ease;
}
.cat-bento-dialog .cat-bento-kpi-card:hover {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06);
}
.cat-bento-dialog .cat-bento-kpi-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cat-bento-kpi-icon.indigo {
  background: #e0e7ff;
  color: #4338ca;
}
.cat-bento-kpi-icon.green {
  background: #dcfce7;
  color: #15803d;
}
.cat-bento-kpi-icon.purple {
  background: #f3e8ff;
  color: #6b21a8;
}
.cat-bento-kpi-icon.amber {
  background: #fef3c7;
  color: #b45309;
}
.cat-bento-dialog .cat-bento-kpi-data {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cat-bento-dialog .cat-bento-kpi-label {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 2px;
}
.cat-bento-dialog .cat-bento-kpi-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  font-family: "JetBrains Mono", monospace;
}
.cat-bento-main-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0.85rem;
  align-items: stretch;
}
.cat-bento-creator-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cat-bento-creator-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-main);
}
.cat-bento-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.cat-bento-form-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cat-bento-input {
  width: 100%;
  font-size: 0.82rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #ffffff;
  color: var(--text-main);
  box-sizing: border-box;
  outline: none;
  transition: all 0.15s ease;
}
.cat-bento-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}
.cat-bento-submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.84rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
  transition: all 0.15s ease;
}
.cat-bento-submit-btn:hover {
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #4338ca 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.35);
}
.cat-bento-presets-wrap {
  border-top: 1px dashed var(--border);
  padding-top: 0.65rem;
  margin-top: 0.25rem;
}
.cat-bento-presets-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}
.cat-bento-presets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.cat-bento-preset-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.45rem;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.cat-bento-preset-pill:hover {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
  transform: translateY(-1px);
}
.cat-bento-catalog-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cat-bento-catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cat-bento-search-box {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.3rem 0.55rem;
  flex: 1;
  max-width: 260px;
}
.cat-bento-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.78rem;
  color: var(--text-main);
  width: 100%;
}
.cat-bento-table-scroll {
  max-height: 330px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}
.cat-bento-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.cat-bento-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 2;
  white-space: nowrap;
}
.cat-bento-table td {
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.cat-bento-table tr:hover td {
  background: #f8faff;
}
.cat-product-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 0.16rem 0.5rem;
  border-radius: 9999px;
  line-height: 1.2;
}
.cat-product-count-pill.zero {
  background: #f8fafc;
  color: #64748b;
  border-color: #e2e8f0;
}
.cat-parent-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-right: 0.25rem;
  font-weight: 500;
}
.cat-bento-footer {
  padding: 0.75rem 1.25rem;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .cat-bento-dialog .cat-bento-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-bento-main-grid {
    grid-template-columns: 1fr;
  }
}
.bento-pos-root {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.bento-pos-root .mono,
.grand-total-val,
.summary-val,
.pricing-store-val,
.dock-metric-val,
.tile-stepper-qty {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
}
.bento-card-title {
  color: #0f172a !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
}
.bento-card-subtitle {
  color: #64748b !important;
  font-weight: 600 !important;
}
.grand-total-val {
  font-size: 1.65rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  letter-spacing: -0.025em !important;
}
@keyframes bentoFloatCart {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-7px) rotate(-1.5deg);
  }
}
.bento-empty-icon-wrap svg {
  animation: bentoFloatCart 3.5s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.2));
}
@keyframes liveRadarGlow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.dock-status-dot.online,
.bento-pulse-dot.green {
  animation: liveRadarGlow 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}
@keyframes bentoShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.bento-checkout-btn:not(:disabled) {
  background:
    linear-gradient(
      135deg,
      #4f46e5,
      #6366f1,
      #3b82f6,
      #4f46e5) !important;
  background-size: 260% 260% !important;
  animation: bentoShimmer 6s ease infinite;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.bento-checkout-btn:not(:disabled):hover {
  transform: translateY(-2px) scale(1.015) !important;
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.45) !important;
}
.bento-checkout-btn:active {
  transform: scale(0.98) !important;
}
.bento-pay-mode-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
}
.bento-pay-mode-btn:hover {
  border-color: #6366f1 !important;
  color: #4f46e5 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.16) !important;
}
.bento-pay-mode-btn.active {
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #4338ca 100%) !important;
  border-color: #4338ca !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35) !important;
  transform: translateY(-1px) !important;
}
.bento-pay-mode-btn:active {
  transform: scale(0.97) !important;
}
.dock-action-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-weight: 700 !important;
}
.dock-action-btn:hover {
  transform: translateY(-1.5px) !important;
  border-color: #6366f1 !important;
  color: #4f46e5 !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.14) !important;
}
.dock-action-btn:active {
  transform: scale(0.97) !important;
}
.bento-card {
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease !important;
}
.bento-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 6px 20px -3px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.03) !important;
}
@media (min-width: 1440px) {
  .bento-pos-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(370px, 420px) !important;
    gap: 1.15rem !important;
  }
}
@media (min-width: 1100px) and (max-width: 1439px) {
  .bento-pos-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(340px, 380px) !important;
    gap: 0.9rem !important;
  }
}
@media (max-width: 1099px) {
  .bento-pos-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .bento-side-col {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 1rem !important;
  }
  .bento-payment-modes {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
  }
  .pos-dock-actions {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }
}
@media (max-width: 768px) {
  .bento-pos-grid {
    grid-template-columns: 1fr !important;
  }
  .bento-side-col {
    display: flex !important;
    flex-direction: column !important;
  }
  .bento-top-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }
  .bento-top-right {
    justify-content: space-between !important;
    width: 100% !important;
  }
  .bento-payment-modes {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.4rem !important;
  }
  .bento-checkout-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }
  .bento-checkout-actions {
    width: 100% !important;
  }
  .bento-checkout-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.8rem !important;
  }
  .bento-pos-dock {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
  }
  .pos-dock-status {
    width: 100% !important;
    justify-content: space-between !important;
  }
  .pos-dock-actions {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
    width: 100% !important;
  }
  .dock-action-btn {
    justify-content: center !important;
  }
}
.bento-selected-member-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background:
    linear-gradient(
      135deg,
      #f0fdf4 0%,
      #dcfce7 100%);
  border: 1.5px solid #86efac;
  border-radius: 12px;
  animation: memberGlow 3.5s ease-in-out infinite;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  width: 100%;
}
@keyframes memberGlow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12), 0 0 0 1px #86efac;
  }
  50% {
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25), 0 0 0 2px #22c55e;
  }
}
.selected-member-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.selected-member-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      #10b981 0%,
      #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
}
.selected-member-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.selected-member-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.selected-member-name {
  font-size: 1.05rem;
  font-weight: 850;
  color: #064e3b;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.selected-member-badge {
  background: #059669;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.selected-member-phone {
  font-size: 0.88rem;
  font-weight: 750;
  color: #047857;
}
.selected-member-change-btn {
  background: #ffffff;
  border: 1.5px solid #a7f3d0;
  color: #047857;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
  flex-shrink: 0;
}
.selected-member-change-btn:hover {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}
.selected-member-change-btn:active {
  transform: scale(0.96);
}
.bento-loyalty-scheme-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  padding: 0.42rem 0.75rem !important;
  border-radius: 8px !important;
}
.bento-loyalty-scheme-btn:hover {
  background: #f3e8ff !important;
  border-color: #c084fc !important;
  color: #581c87 !important;
  transform: translateY(-1.5px);
  box-shadow: 0 3px 10px rgba(192, 132, 252, 0.25);
}
.bento-add-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  padding: 0.42rem 0.75rem !important;
  border-radius: 8px !important;
}
.bento-add-btn:hover {
  transform: translateY(-1.5px);
}
.loyalty-card-head {
  padding: 0.25rem 0;
}
.loyalty-phone-box {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
}
.loyalty-pts-pill {
  padding: 0.35rem 0.75rem !important;
  font-size: 0.95rem !important;
  border-radius: 10px !important;
  background:
    linear-gradient(
      135deg,
      #fffbeb 0%,
      #fef3c7 100%) !important;
  border: 1.5px solid #fcd34d !important;
  color: #92400e !important;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15) !important;
}
.loyalty-pts-pill .pts-count {
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  color: #b45309 !important;
}
.loyalty-pts-pill .pts-label {
  font-size: 0.85rem !important;
  font-weight: 800 !important;
}
.loyalty-pts-pill .pts-val-bracket {
  font-size: 0.86rem !important;
  font-weight: 850 !important;
  color: #047857 !important;
}
.pos-redeem-points-btn {
  padding: 0.75rem 1rem !important;
  font-size: 0.95rem !important;
  font-weight: 850 !important;
  border-radius: 10px !important;
  border-width: 2px !important;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.2) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.pos-redeem-points-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35) !important;
}
.redeem-save-badge {
  font-size: 0.86rem !important;
  font-weight: 850 !important;
  padding: 0.2rem 0.6rem !important;
  border-radius: 6px !important;
}
.loyalty-earn-notice {
  font-size: 0.9rem !important;
  font-weight: 750 !important;
  padding: 0.65rem 0.95rem !important;
  border-radius: 10px !important;
  line-height: 1.45 !important;
}
.bento-cart-table-header,
.bento-cart-row {
  grid-template-columns: minmax(170px, 1.8fr) minmax(100px, 1.05fr) minmax(85px, 0.95fr) minmax(118px, 1.25fr) minmax(118px, 1.25fr) 34px !important;
  gap: 0.75rem !important;
  min-width: 680px !important;
}
.bento-cart-table-header .th-price,
.bento-cart-table-header .th-total {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}
.bento-cart-table-header {
  font-size: 0.84rem !important;
  font-weight: 850 !important;
  color: #1e293b !important;
  letter-spacing: 0.04em !important;
  padding: 0.7rem 0.85rem !important;
  border-bottom: 2px solid #e2e8f0 !important;
}
.bento-cart-row {
  padding: 0.7rem 0.85rem !important;
  align-items: center !important;
  transition: background 0.18s ease, transform 0.18s ease !important;
}
.bento-cart-row:hover {
  background: #f8fafc !important;
}
.bento-cart-item-name {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
}
.bento-cart-cat-badge {
  font-size: 0.78rem !important;
  font-weight: 750 !important;
  padding: 0.15rem 0.45rem !important;
  border-radius: 5px !important;
}
.bento-cart-savings-tag {
  font-size: 0.78rem !important;
  font-weight: 750 !important;
  padding: 0.15rem 0.45rem !important;
  border-radius: 5px !important;
}
.bento-qty-stepper {
  border-radius: 8px !important;
  border: 1.5px solid #cbd5e1 !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
.bento-qty-btn {
  width: 30px !important;
  height: 30px !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  transition: all 0.12s ease !important;
}
.bento-qty-btn:hover {
  background: #eff6ff !important;
  color: #2563eb !important;
}
.bento-qty-btn:active {
  transform: scale(0.88) !important;
}
.bento-qty-value {
  min-width: 30px !important;
  font-size: 1.05rem !important;
  font-weight: 850 !important;
  color: #0f172a !important;
}
.bento-mrp-val {
  font-size: 0.94rem !important;
  font-weight: 650 !important;
  color: #64748b !important;
}
.bento-store-val {
  font-size: 1.02rem !important;
  font-weight: 850 !important;
  color: #4338ca !important;
}
.bento-total-val {
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
}
.bento-row-remove-btn {
  width: 26px !important;
  height: 26px !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}
.bento-row-remove-btn:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  transform: scale(1.15) !important;
}
.discount-label {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #1e293b !important;
}
.bento-disc-pill {
  padding: 0.32rem 0.75rem !important;
  font-size: 0.85rem !important;
  font-weight: 850 !important;
  border-radius: 7px !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.bento-disc-pill:hover {
  transform: translateY(-1.5px) !important;
  border-color: #6366f1 !important;
}
.bento-summary-row {
  font-size: 0.94rem !important;
  font-weight: 650 !important;
  color: #334155 !important;
  padding: 0.22rem 0 !important;
}
.summary-val {
  font-size: 1.08rem !important;
  font-weight: 850 !important;
  color: #0f172a !important;
}
.bento-summary-row.discount-row {
  font-size: 0.96rem !important;
  font-weight: 800 !important;
  color: #059669 !important;
}
.bento-summary-row.loyalty-earn-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background:
    linear-gradient(
      135deg,
      #faf5ff 0%,
      #fdf4ff 100%) !important;
  border: 1px solid #f0abfc !important;
  border-radius: 9px !important;
  padding: 0.55rem 0.85rem !important;
  margin: 0.35rem 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  overflow: hidden !important;
}
.loyalty-label-group {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.loyalty-icon-svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}
.loyalty-text {
  color: #86198f !important;
  font-weight: 750 !important;
  font-size: 0.92rem !important;
}
.loyalty-rate-tag {
  font-size: 0.76rem !important;
  color: #a21caf !important;
  font-weight: 650 !important;
}
.loyalty-val-group {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}
.loyalty-pts-text {
  color: #86198f !important;
  font-weight: 850 !important;
  font-size: 1.06rem !important;
}
.loyalty-val-sub {
  font-size: 0.78rem !important;
  color: #15803d !important;
  font-weight: 750 !important;
}
.bento-summary-row.tax-row {
  background: #ffffff !important;
  border: 1px dashed #cbd5e1 !important;
  padding: 0.6rem 0.85rem !important;
  border-radius: 9px !important;
}
.tax-label-group {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
}
.tax-sub-breakdown {
  font-size: 0.82rem !important;
  font-weight: 650 !important;
  color: #475569 !important;
}
.tax-val {
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
}
.bento-savings-alert {
  padding: 0.6rem 0.95rem !important;
  font-size: 0.95rem !important;
  font-weight: 750 !important;
  border-radius: 9px !important;
}
.bento-billing-customer-chip {
  padding: 0.7rem 1.15rem !important;
  border-radius: 12px !important;
}
.cust-chip-label {
  font-size: 0.95rem !important;
  font-weight: 850 !important;
}
.chip-walkin-text {
  font-size: 1.02rem !important;
  font-weight: 850 !important;
  color: #0f172a !important;
}
.chip-phone {
  font-size: 0.9rem !important;
  font-weight: 750 !important;
  color: #475569 !important;
}
.chip-pts-badge {
  font-size: 0.88rem !important;
  font-weight: 850 !important;
  padding: 0.25rem 0.75rem !important;
}
.cust-chip-focus-btn {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  padding: 0.45rem 0.95rem !important;
}
.bento-payment-modes {
  gap: 0.5rem !important;
}
.bento-pay-mode-btn {
  padding: 0.75rem 0.65rem !important;
  font-size: 0.95rem !important;
  font-weight: 850 !important;
  border-radius: 10px !important;
  border: 1.5px solid #cbd5e1 !important;
}
.bento-pay-mode-btn .pay-mode-svg {
  width: 20px !important;
  height: 20px !important;
}
.bento-cash-tender-card {
  padding: 0.85rem 1.15rem !important;
  border-radius: 12px !important;
}
.bento-cash-tender-card label {
  font-size: 0.85rem !important;
  font-weight: 850 !important;
  color: #334155 !important;
}
.bento-cash-input {
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  height: 52px !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: 10px !important;
  color: #0f172a !important;
}
.tender-quick-btn {
  font-size: 0.95rem !important;
  font-weight: 850 !important;
  padding: 0.4rem 0.95rem !important;
  border-radius: 8px !important;
}
.change-due-val {
  font-size: 1.5rem !important;
  font-weight: 950 !important;
  color: #059669 !important;
}
.bento-checkout-row {
  padding: 0.9rem 1.25rem !important;
}
.grand-total-label {
  font-size: 0.85rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.05em !important;
}
.grand-total-val {
  font-size: 2.1rem !important;
  font-weight: 950 !important;
  color: #0f172a !important;
  letter-spacing: -0.03em !important;
}
.bento-checkout-btn {
  font-size: 1.1rem !important;
  font-weight: 850 !important;
  padding: 0.95rem 1.85rem !important;
  border-radius: 12px !important;
}
.bento-scanner-card .bento-card-title {
  font-size: 1.05rem !important;
  font-weight: 850 !important;
}
.bento-scanner-card .bento-badge-ready {
  font-size: 0.84rem !important;
  font-weight: 800 !important;
}
.bento-scanner-input {
  font-size: 1rem !important;
  font-weight: 750 !important;
  padding: 0.75rem 1rem !important;
  height: 48px !important;
  border-radius: 10px !important;
}
.bento-scanner-btn {
  font-size: 0.92rem !important;
  font-weight: 850 !important;
  padding: 0.72rem 1rem !important;
  border-radius: 10px !important;
}
.bento-find-product-btn {
  font-size: 0.98rem !important;
  font-weight: 850 !important;
  padding: 0.85rem 1.15rem !important;
  border-radius: 11px !important;
}
.dock-status-title {
  font-size: 0.94rem !important;
  font-weight: 850 !important;
}
.dock-status-sub {
  font-size: 0.82rem !important;
  font-weight: 650 !important;
}
.dock-metric-label {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
}
.dock-metric-val {
  font-size: 1.25rem !important;
  font-weight: 950 !important;
}
.dock-action-btn {
  font-size: 0.92rem !important;
  font-weight: 850 !important;
  padding: 0.65rem 1.15rem !important;
  border-radius: 10px !important;
}
.bento-pos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(360px, 420px) !important;
  gap: 1.15rem !important;
  align-items: start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.bento-cart-rows-scroll {
  max-height: clamp(180px, 32vh, 420px) !important;
  overflow-y: auto !important;
}
@media (max-width: 1320px) {
  .bento-pos-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 390px) !important;
    gap: 0.85rem !important;
  }
  .bento-payment-modes {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 1024px) {
  .bento-pos-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .bento-side-col {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 1rem !important;
  }
  .bento-payment-modes {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  .bento-cart-table-wrapper {
    overflow-x: auto !important;
  }
  .bento-cart-table-header,
  .bento-cart-row {
    min-width: 520px !important;
  }
  .bento-payment-modes {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
.sales-inspire-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
@media (max-width: 1100px) {
  .sales-inspire-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .sales-inspire-kpi-grid {
    grid-template-columns: 1fr;
  }
}
.inspire-kpi-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 1.25rem 1.35rem;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 8px 24px -4px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}
.inspire-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 14px 28px -6px rgba(15, 23, 42, 0.08);
}
.inspire-kpi-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}
.inspire-kpi-icon-pill {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.inspire-kpi-icon-pill.theme-teal {
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
}
.inspire-kpi-icon-pill.theme-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.inspire-kpi-icon-pill.theme-blue {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
}
.inspire-kpi-icon-pill.theme-violet {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}
.inspire-kpi-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}
.inspire-kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.inspire-kpi-trend.positive {
  color: #059669;
}
.inspire-kpi-trend.negative {
  color: #e11d48;
}
.inspire-kpi-trend.neutral {
  color: #64748b;
}
.inspire-kpi-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
}
.inspire-kpi-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.micro-spark-container {
  display: flex;
  align-items: flex-end;
  gap: 3.5px;
  height: 34px;
  padding-bottom: 2px;
}
.micro-spark-bar {
  width: 5.5px;
  border-radius: 99px;
  min-height: 4px;
  transition: height 0.3s ease;
}
.sales-inspire-middle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
@media (max-width: 960px) {
  .sales-inspire-middle-grid {
    grid-template-columns: 1fr;
  }
}
.inspire-chart-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 1.35rem 1.5rem;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 8px 24px -4px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  position: relative;
}
.inspire-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.inspire-header-title-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.inspire-header-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inspire-header-icon.theme-teal {
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
}
.inspire-header-icon.theme-blue {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
}
.inspire-header-icon.theme-indigo {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}
.inspire-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.inspire-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.inspire-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.inspire-pill-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}
.inspire-more-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}
.inspire-more-btn:hover {
  background: #f1f5f9;
  color: #475569;
}
.inspire-stat-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.inspire-big-metric {
  font-size: 1.7rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.inspire-trend-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
}
.inspire-trend-pill.positive {
  background: #ecfdf5;
  color: #059669;
}
.inspire-trend-pill.negative {
  background: #fff1f2;
  color: #e11d48;
}
.inspire-svg-chart-wrap {
  width: 100%;
  height: 240px;
}
.inspire-svg-canvas {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.inspire-floating-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 12px 24px -4px rgba(15, 23, 42, 0.12);
  z-index: 10;
  min-width: 140px;
  transition: left 0.1s ease, top 0.1s ease;
}
.tooltip-date-header {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.4rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #f1f5f9;
}
.tooltip-val-row,
.tooltip-legend-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: #334155;
  margin-bottom: 0.2rem;
}
.tooltip-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tooltip-metric-label {
  color: #64748b;
  font-size: 0.72rem;
}
.tooltip-metric-val {
  margin-left: auto;
  font-weight: 700;
  color: #0f172a;
}
.tooltip-sub-info {
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}
.sales-inspire-bottom-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.15rem;
}
@media (max-width: 1080px) {
  .sales-inspire-bottom-grid {
    grid-template-columns: 1fr;
  }
}
.inspire-product-cols-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}
@media (max-width: 720px) {
  .inspire-product-cols-grid {
    grid-template-columns: 1fr;
  }
}
.inspire-product-subcard {
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.75);
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
}
.product-subcard-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.product-subcard-metric {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.product-subcard-metric .metric-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
}
.product-subcard-trend {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
}
.product-subcard-trend.positive {
  background: #ecfdf5;
  color: #059669;
}
.product-subcard-trend.negative {
  background: #fff1f2;
  color: #e11d48;
}
.product-subcard-table {
  width: 100%;
  font-size: 0.75rem;
  border-collapse: collapse;
}
.product-subcard-table th {
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0 0 0.45rem 0;
  text-align: left;
}
.product-subcard-table th:last-child {
  text-align: right;
}
.product-subcard-table td {
  padding: 0.38rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}
.product-subcard-table tr:last-child td {
  border-bottom: none;
}
.product-name-cell {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}
.product-stat-cell {
  text-align: right;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.inspire-donut-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 0.5rem;
  flex-wrap: wrap;
}
.donut-chart-box {
  position: relative;
  width: 190px;
  height: 190px;
  flex-shrink: 0;
  margin: 0 auto;
}
.donut-svg-canvas {
  width: 100%;
  height: 100%;
}
.donut-legend-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
  min-width: 140px;
}
.donut-legend-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.donut-legend-bar {
  width: 4px;
  height: 32px;
  border-radius: 99px;
  flex-shrink: 0;
}
.donut-legend-info {
  display: flex;
  flex-direction: column;
}
.donut-legend-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}
.donut-legend-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.donut-legend-val .val-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: #94a3b8;
  margin-left: 2px;
}
.cat-bento-panel-card {
  overflow: hidden;
  position: relative;
}
.cat-count-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #4f46e5;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 0.15rem 0.55rem;
  border-radius: 99px;
}
.cat-view-segmented-toggle {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 2.5px;
  border-radius: 9px;
  border: 1px solid #e2e8f0;
}
.cat-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-view-btn:hover:not(.active) {
  color: #0f172a;
}
.cat-view-btn.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.cat-distribution-ribbon-wrap {
  margin: 0.85rem 0 1.15rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.cat-distribution-ribbon {
  display: flex;
  height: 10px;
  width: 100%;
  border-radius: 99px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
  gap: 1.5px;
}
.cat-ribbon-segment {
  height: 100%;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    filter 0.18s ease;
  cursor: pointer;
}
.cat-ribbon-segment:hover,
.cat-ribbon-segment.hovered {
  filter: brightness(1.15);
  transform: scaleY(1.3);
}
.cat-top-driver-callout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background:
    linear-gradient(
      90deg,
      rgba(254, 243, 199, 0.5) 0%,
      rgba(248, 250, 252, 0.8) 100%);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  font-size: 0.76rem;
  color: #78350f;
}
.driver-star {
  font-size: 0.95rem;
}
.cat-bento-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (max-width: 600px) {
  .cat-bento-cards-grid {
    grid-template-columns: 1fr;
  }
}
.cat-bento-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  cursor: pointer;
  position: relative;
}
.cat-bento-card:hover,
.cat-bento-card.hovered {
  transform: translateY(-2.5px);
  box-shadow: 0 6px 18px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}
.cat-bento-card.is-top-tier {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fafbfc 100%);
}
.cat-bento-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cat-rank-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.14rem 0.45rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
}
.cat-rank-pill.rank-1 {
  background:
    linear-gradient(
      135deg,
      #fef3c7 0%,
      #fde68a 100%);
  color: #b45309;
  border: 1px solid #fcd34d;
}
.cat-rank-pill.rank-2 {
  background:
    linear-gradient(
      135deg,
      #f1f5f9 0%,
      #e2e8f0 100%);
  color: #334155;
  border: 1px solid #cbd5e1;
}
.cat-rank-pill.rank-3 {
  background:
    linear-gradient(
      135deg,
      #ffedd5 0%,
      #fed7aa 100%);
  color: #c2410c;
  border: 1px solid #fdba74;
}
.cat-share-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.14rem 0.5rem;
  border-radius: 99px;
  border: 1px solid transparent;
}
.cat-bento-card-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.cat-avatar-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cat-avatar-emoji {
  font-size: 1.15rem;
  line-height: 1;
}
.cat-info-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cat-bento-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-bento-bills {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 500;
}
.cat-bento-amount-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.2rem;
}
.cat-bento-amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}
.cat-bento-avg {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}
.cat-bento-progress-track {
  height: 6px;
  background: #f1f5f9;
  border-radius: 99px;
  overflow: hidden;
}
.cat-bento-progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.35s ease;
}
.cat-leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.cat-leaderboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.75);
  transition: all 0.18s ease;
  cursor: pointer;
  gap: 0.75rem;
}
.cat-leaderboard-row:hover,
.cat-leaderboard-row.hovered {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transform: translateX(3px);
}
.cat-leaderboard-rank-col {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 170px;
}
.cat-lead-rank-badge {
  font-size: 0.76rem;
  font-weight: 800;
  width: 24px;
  text-align: center;
  color: #64748b;
}
.cat-lead-rank-badge.rank-1 {
  color: #b45309;
}
.cat-lead-rank-badge.rank-2 {
  color: #334155;
}
.cat-lead-rank-badge.rank-3 {
  color: #c2410c;
}
.cat-lead-avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.cat-lead-name-box {
  display: flex;
  flex-direction: column;
}
.cat-lead-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}
.cat-lead-subtitle {
  font-size: 0.68rem;
  color: #94a3b8;
}
.cat-lead-progress-col {
  flex: 1;
  max-width: 180px;
}
.cat-lead-track {
  height: 7px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}
.cat-lead-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.35s ease;
}
.cat-lead-amount-col {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 120px;
  justify-content: flex-end;
}
.cat-lead-val {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
}
.cat-lead-share {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 99px;
  border: 1px solid transparent;
}
.product-table-image-cell {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  margin: 0 auto !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  position: relative !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  padding: 3px !important;
  box-sizing: border-box !important;
}
.product-thumb-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}
.product-thumb-placeholder {
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  color: #94a3b8 !important;
  background: #f8fafc !important;
}
.cat-bento-card.cat-creator-card {
  justify-content: flex-start !important;
  gap: 1.15rem !important;
}
.cat-creator-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
  flex: 1 !important;
}
.cat-form-action-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.85rem !important;
  padding-top: 0.75rem !important;
  border-top: 1px dashed #e2e8f0 !important;
  margin-top: auto !important;
  flex-wrap: wrap !important;
}
.cat-form-hint {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  font-size: 0.76rem !important;
  color: #64748b !important;
}
.cat-form-hint-icon {
  font-size: 0.95rem !important;
}
.bento-payment-modes {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.5rem !important;
}
@media (max-width: 640px) {
  .bento-payment-modes {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
.bento-scanner-card {
  height: auto !important;
}
.bento-register-card {
  display: flex !important;
  flex-direction: column !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 3px 14px -2px rgba(15, 23, 42, 0.04), 0 1px 4px -1px rgba(15, 23, 42, 0.02) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  width: 100% !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}
.bento-register-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -2px rgba(15, 23, 42, 0.03) !important;
}
.bento-register-body {
  padding: 0.85rem 1rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  background: #ffffff !important;
}
.bento-hero-metric {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 0.75rem 0.95rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}
.bento-hero-cell {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}
.bento-cell-label {
  font-size: 0.65rem !important;
  font-weight: 750 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #64748b !important;
}
.bento-cell-val {
  font-size: 1.05rem !important;
  font-weight: 850 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}
.bento-cell-unit {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
}
.bento-hero-sep {
  width: 1px !important;
  height: 32px !important;
  background: #e2e8f0 !important;
  margin: 0 0.5rem !important;
}
.bento-action-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.55rem !important;
}
.bento-action-tile {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  padding: 0.65rem 0.75rem !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  cursor: pointer !important;
  text-align: left !important;
  position: relative !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}
.bento-action-tile:hover:not(:disabled) {
  border-color: #c7d2fe !important;
  background: #fdfcff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.08) !important;
}
.bento-action-tile:active:not(:disabled) {
  transform: scale(0.98) !important;
}
.bento-action-tile:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  transform: none !important;
}
.bento-tile-icon {
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
  background: #f5f3ff !important;
  border: 1px solid #ede9fe !important;
  color: #6366f1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 0.15s ease !important;
}
.bento-action-tile:hover:not(:disabled) .bento-tile-icon {
  background: #6366f1 !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
}
.bento-action-tile.active-scanner .bento-tile-icon {
  background: #ecfdf5 !important;
  border-color: #d1fae5 !important;
  color: #10b981 !important;
}
.bento-tile-texts {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  gap: 1px !important;
}
.bento-tile-heading {
  font-size: 0.78rem !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
}
.bento-tile-caption {
  font-size: 0.65rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.bento-badge-pill {
  position: absolute !important;
  top: -5px !important;
  right: -5px !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  font-size: 0.62rem !important;
  font-weight: 850 !important;
  padding: 0.12rem 0.45rem !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.35) !important;
  border: 1.5px solid #ffffff !important;
  line-height: 1 !important;
}
.bento-stat-card.bento-filter-active {
  box-shadow: 0 0 0 2px var(--filter-ring-color, #6366f1), 0 8px 24px -4px rgba(99, 102, 241, 0.2) !important;
  transform: translateY(-2px);
}
.bento-stat-card.bento-filter-active.active-purple {
  --filter-ring-color: #6366f1;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #faf8ff 60%,
      #f5f3ff 100%) !important;
  border-color: #6366f1 !important;
}
.bento-stat-card.bento-filter-active.active-green {
  --filter-ring-color: #10b981;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f6fef9 60%,
      #ecfdf5 100%) !important;
  border-color: #10b981 !important;
}
.bento-stat-card.bento-filter-active.active-amber {
  --filter-ring-color: #f59e0b;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fffdf5 60%,
      #fffbeb 100%) !important;
  border-color: #f59e0b !important;
}
.bento-stat-card.bento-filter-active.active-red {
  --filter-ring-color: #ef4444;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fff8f8 60%,
      #fef2f2 100%) !important;
  border-color: #ef4444 !important;
}
.table-empty-state {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 3.5rem 1.5rem !important;
  background: #ffffff !important;
  border-radius: 12px !important;
}
.table-empty-icon-wrap {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  margin-bottom: 1.15rem !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04) !important;
}
.table-empty-state h3 {
  font-size: 1.15rem !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  margin-bottom: 0.45rem !important;
  letter-spacing: -0.01em !important;
}
.table-empty-state p {
  font-size: 0.88rem !important;
  color: #64748b !important;
  max-width: 480px !important;
  line-height: 1.55 !important;
  margin: 0 auto 1.35rem auto !important;
}
.table-empty-state .reset-filter-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  padding: 0.7rem 1.45rem !important;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9px !important;
  font-weight: 650 !important;
  font-size: 0.88rem !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.table-empty-state .reset-filter-btn:hover {
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #4338ca 100%) !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4) !important;
  transform: translateY(-2px) !important;
}
.top-global-bar.dashboard-top-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  max-width: 1560px !important;
  margin: 0 auto 24px auto !important;
  padding: 0 2rem 20px 2rem !important;
  border-bottom: 1px solid #E7E5F3 !important;
  box-sizing: border-box !important;
}
.top-global-bar.dashboard-top-bar .top-dash-greeting-group-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  margin-left: 0 !important;
}
.top-global-bar.dashboard-top-bar .header-greeting-title {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 28px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1A1838;
  margin: 0;
  padding: 0;
}
.top-global-bar.dashboard-top-bar .header-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #5F6275;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}
.top-global-bar.dashboard-top-bar .header-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.top-global-bar.dashboard-top-bar .header-meta-sep {
  color: #B4B6C4;
  font-weight: 400;
  user-select: none;
}
.top-global-bar.dashboard-top-bar .header-gstin-label {
  color: #5F6275;
  font-weight: 500;
}
.top-global-bar.dashboard-top-bar .header-gstin-val {
  font-family: inherit;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #3B3E52;
}
.top-global-bar.dashboard-top-bar .header-calendar-icon {
  color: #5F6275;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.top-global-bar .top-global-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.top-global-bar .top-notification-btn {
  height: 44px;
  width: 44px;
  min-width: 44px;
  max-height: 44px;
  background: #ffffff;
  border: 1px solid #E2E0EF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
  transition: all 0.15s ease;
}
.top-global-bar .top-notification-btn:hover,
.top-global-bar .top-notification-btn.active {
  border-color: #6D5EF5;
  background: #F8F9FE;
}
.top-notif-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.top-notif-popover.bento-notif-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 390px;
  max-width: calc(100vw - 24px);
  background: #ffffff;
  border: 1px solid #E2E0EF;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(26, 24, 48, 0.18);
  z-index: 1060;
  overflow: hidden;
  animation: dropdownIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.bento-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: #FAFAFD;
  border-bottom: 1px solid #E2E0EF;
}
.bento-notif-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bento-notif-icon-bubble {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #EEF2FF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-notif-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1A1838;
}
.bento-notif-role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bento-notif-role-badge.cashier {
  background: #EEF2FF;
  color: #4F46E5;
  border: 1px solid #C7D2FE;
}
.bento-notif-role-badge.admin {
  background: #FDF2F8;
  color: #DB2777;
  border: 1px solid #FBCFE8;
}
.bento-notif-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 440px;
  overflow-y: auto;
}
.bento-notif-card {
  background: #FFFFFF;
  border: 1px solid #E2E0EF;
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bento-notif-card:hover {
  border-color: #C7D2FE;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.06);
}
.bento-notif-card.active-shift {
  border-left: 4px solid #16a34a;
}
.bento-notif-card.warning-shift {
  border-left: 4px solid #d97706;
  background: #FFFDF9;
}
.bento-notif-card.stock-advisory {
  border-left: 4px solid #ea580c;
  background: #FFFBF7;
}
.bento-notif-card.stock-advisory.ok {
  border-left: 4px solid #16a34a;
  background: #F9FEFA;
}
.bento-notif-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bento-notif-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bento-notif-card-icon.pos {
  background: #EEF2FF;
}
.bento-notif-card-icon.invoices {
  background: #E0F2FE;
}
.bento-notif-card-icon.advisory {
  background: #FFEDD5;
}
.bento-notif-card-icon.ok {
  background: #DCFCE7;
}
.bento-notif-card-title-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: 8px;
}
.bento-notif-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1A1838;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bento-notif-status-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.bento-notif-status-pill.live {
  background: #DCFCE7;
  color: #15803D;
}
.bento-notif-status-pill.warn {
  background: #FEF3C7;
  color: #B45309;
}
.bento-notif-status-pill.pos {
  background: #EEF2FF;
  color: #4F46E5;
}
.bento-notif-status-pill.invoices {
  background: #E0F2FE;
  color: #0369A1;
}
.bento-notif-status-pill.advisory {
  background: #FFEDD5;
  color: #C2410C;
}
.bento-notif-status-pill.ok {
  background: #DCFCE7;
  color: #15803D;
}
.bento-notif-card-desc {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.35;
  margin: 0;
}
.bento-notif-hint {
  font-size: 0.71rem;
  color: #94A3B8;
  font-style: italic;
}
.bento-notif-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px;
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #4F46E5;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bento-notif-action-btn:hover {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #4338CA;
  transform: translateY(-1px);
}
.bento-notif-action-btn.primary {
  background: #4F46E5;
  border-color: #4338CA;
  color: #FFFFFF;
}
.bento-notif-action-btn.primary:hover {
  background: #4338CA;
  color: #FFFFFF;
}
.bento-notif-footer {
  padding: 10px 14px;
  background: #FAFAFD;
  border-top: 1px solid #E2E0EF;
  font-size: 0.73rem;
  color: #64748B;
  text-align: center;
}
.bento-alert-pill.bento-alert-pill-readonly {
  cursor: default !important;
  opacity: 0.95;
}
.bento-alert-pill.bento-alert-pill-readonly:hover {
  transform: none !important;
  box-shadow: none !important;
}
.top-global-bar .top-user-chip {
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  background: #ffffff;
  border: 1px solid #E2E0EF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 6px;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.15s ease;
}
.top-global-bar .top-user-chip:hover {
  border-color: #6D5EF5;
}
.top-global-bar .top-user-chip.readonly {
  cursor: default !important;
}
.top-global-bar .top-user-chip.readonly:hover {
  border-color: #E2E0EF !important;
}
.top-global-bar .top-user-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: #6D5EF5;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
.top-global-bar .top-user-details {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.top-global-bar .top-user-name {
  font-size: 14px;
  font-weight: 700;
  color: #1A1838;
  line-height: 1.2;
}
.top-global-bar .top-user-role {
  font-size: 12px;
  font-weight: 500;
  color: #5F6275;
  line-height: 1.2;
}
@media (max-width: 1024px) {
  .top-global-bar.dashboard-top-bar {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
  }
  .top-global-bar.dashboard-top-bar .top-global-actions {
    margin-left: 0 !important;
    justify-content: flex-start !important;
    width: 100%;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .top-global-bar.dashboard-top-bar {
    padding: 0 1rem 16px 1rem !important;
    margin-bottom: 20px !important;
  }
  .top-global-bar.dashboard-top-bar .top-branch-selector-pill {
    width: 100%;
    justify-content: space-between;
  }
  .top-global-bar.dashboard-top-bar .top-branch-select {
    flex: 1;
    min-width: 0;
  }
  .header-meta-line {
    flex-wrap: wrap;
    gap: 6px 8px;
  }
  .header-meta-item {
    white-space: nowrap;
  }
  .today-dash-root {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 768px) {
  .header-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .dashboard-branch-selector {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.45rem 0.6rem;
  }
  .branch-switcher-name {
    max-width: 220px;
  }
}
.top-stock-transfer-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
  cursor: default;
  margin-left: 27px;
}
.top-stock-transfer-icon-tile {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}
.top-stock-transfer-title {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 25px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.stock-transfer-title-short {
  display: none;
}
.stock-transfer-title-full {
  display: inline;
}
.stage-business-bar-hidden .stock-transfer-module {
  padding-top: 24px !important;
}
.stock-transfer-list-view {
  width: 100%;
}
.stock-transfer-actions-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
}
.stock-transfer-btn-refresh {
  height: 40px;
  padding: 0 16px;
  background: #ffffff;
  color: #475569;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  order: 1;
}
.stock-transfer-btn-refresh:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #1e293b;
}
.stock-transfer-btn-create {
  height: 40px;
  padding: 0 18px;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  box-sizing: border-box;
  order: 2;
}
.stock-transfer-btn-create:hover {
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .top-stock-transfer-header-left {
    margin-left: 10px;
  }
  .top-stock-transfer-title {
    font-size: 17px;
  }
  .stock-transfer-title-full {
    display: none;
  }
  .stock-transfer-title-short {
    display: inline;
  }
  .stock-transfer-actions-row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .stock-transfer-btn-create {
    order: 1;
    flex: 1 1 auto;
    width: auto;
  }
  .stock-transfer-btn-refresh {
    order: 2;
    flex: 1 1 auto;
    width: auto;
  }
}
@media (max-width: 480px) {
  .stock-transfer-actions-row {
    flex-direction: column;
  }
  .stock-transfer-btn-create,
  .stock-transfer-btn-refresh {
    width: 100%;
  }
}
.top-product-movement-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 0 1 auto;
  cursor: default;
  margin-left: 27px;
}
.top-product-movement-title {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 25px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.top-product-movement-info-icon {
  font-size: 14px;
  color: #94a3b8;
  cursor: help;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.15s ease;
  line-height: 1;
}
.top-product-movement-info-icon:hover {
  color: #6366f1;
}
.stage-business-bar-hidden .product-movement-container {
  padding-top: 24px !important;
}
@media (max-width: 768px) {
  .top-product-movement-header-left {
    margin-left: 10px;
  }
  .top-product-movement-title {
    font-size: 17px;
  }
}
.top-inventory-header-left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
  cursor: default;
  margin-left: 32px;
}
.top-inventory-title {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 35px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
@media (max-width: 768px) {
  .top-inventory-header-left {
    margin-left: 16px;
  }
  .top-inventory-title {
    font-size: 17px;
  }
}
.gst-sales-register-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.gst-sales-register-actions-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}
.gst-sales-register-period-wrapper {
  flex: 0 0 auto;
}
.gst-export-split-btn-container {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  background: #ffffff;
  border: 1px solid #E2E0EF;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}
.gst-export-split-btn-container:hover {
  border-color: #cbd5e1;
}
.gst-export-split-btn-main {
  height: 100%;
  border: none;
  background: transparent;
  border-radius: 9px 0 0 9px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.gst-export-split-btn-main:hover:not(:disabled) {
  background-color: #f8fafc;
}
.gst-export-split-btn-main:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.gst-export-split-btn-divider {
  width: 1px;
  height: 100%;
  background: #E2E0EF;
  flex-shrink: 0;
}
.gst-export-split-btn-chevron {
  height: 100%;
  border: none;
  background: transparent;
  border-radius: 0 9px 9px 0;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.gst-export-split-btn-chevron:hover:not(:disabled) {
  background-color: #f8fafc;
  color: #334155;
}
.gst-export-split-btn-chevron.is-active {
  background-color: #f1f0fb;
  color: #5b4fe9;
}
.gst-export-split-btn-chevron:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.gst-export-dropdown-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 60;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #E2E0EF;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  padding: 6px;
  min-width: 210px;
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .gst-sales-register-actions-row {
    width: 100%;
    justify-content: space-between;
  }
  .gst-sales-register-period-wrapper {
    flex: 1 1 auto;
    min-width: 0;
  }
  .gst-sales-register-period-wrapper > div {
    width: 100% !important;
  }
  .gst-sales-register-period-wrapper button {
    width: 100% !important;
  }
  .gst-export-split-btn-container {
    flex: 0 0 auto;
    flex-shrink: 0;
  }
}
@keyframes beadDotPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  65% {
    transform: scale(1.35);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.95;
  }
}
.beaded-bar-dot.active-bead {
  transform-origin: center;
  transform-box: fill-box;
  animation: beadDotPop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
@keyframes inactiveDotFade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.45;
  }
}
.beaded-bar-dot.inactive-bead {
  animation: inactiveDotFade 0.3s ease-out backwards;
}
@keyframes splineLineDraw {
  0% {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    opacity: 0.1;
  }
  20% {
    opacity: 1;
  }
  100% {
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
.inspire-spline-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  animation: splineLineDraw 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.inspire-spline-line.profit-line {
  animation-delay: 0.12s;
}
@keyframes splineAreaReveal {
  0% {
    opacity: 0;
    transform: scaleY(0.06);
    transform-origin: bottom;
  }
  30% {
    opacity: 0.45;
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: bottom;
  }
}
.inspire-spline-area {
  animation: splineAreaReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.inspire-spline-area.profit-area {
  animation-delay: 0.14s;
}
@keyframes inspireDonutSliceBloom {
  0% {
    transform: scale(0.25) rotate(-45deg);
    opacity: 0;
  }
  65% {
    transform: scale(1.03) rotate(2deg);
    opacity: 0.95;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}
.inspire-donut-slice {
  transform-origin: 95px 95px;
  animation: inspireDonutSliceBloom 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
@keyframes donutLabelFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.donut-slice-label {
  transform-origin: center;
  transform-box: fill-box;
  animation: donutLabelFadeIn 0.45s ease-out backwards;
}
@keyframes donutCenterZoom {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.65);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.donut-center-overlay {
  animation: donutCenterZoom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: 0.1s;
}
@keyframes sparkBarGrow {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}
.micro-spark-bar {
  transform-origin: bottom;
  animation: sparkBarGrow 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
@keyframes catProgressFillReveal {
  0% {
    width: 0% !important;
  }
}
.cat-progress-fill {
  animation: catProgressFillReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
@keyframes productRowFade {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.product-subcard-table tbody tr {
  animation: productRowFade 0.35s ease-out backwards;
}
.shifts-bento-hero {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfcfe 60%,
      #f8fafc 100%) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 20px !important;
  padding: 1.35rem 1.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  box-shadow:
    0 1px 2px 0 rgba(15, 23, 42, 0.04),
    0 6px 18px -2px rgba(15, 23, 42, 0.05),
    0 18px 36px -6px rgba(99, 102, 241, 0.06),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 0 rgba(226, 232, 240, 0.5) !important;
  position: relative !important;
  overflow: hidden !important;
}
.shifts-bento-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.95) 20%,
      rgba(255, 255, 255, 0.95) 80%,
      transparent);
  pointer-events: none;
}
.shifts-bento-hero::after {
  display: none !important;
}
.shift-bento-active-badge {
  background: rgba(16, 185, 129, 0.22);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.5);
  padding: 0.32rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.05em;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.shift-bento-closed-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.32rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.shifts-bento-header-card {
  margin-top: 0 !important;
}
.bento-location-chip,
.bento-counter-chip {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 0.26rem 0.75rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.shifts-bento-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a !important;
  line-height: 1.25;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.shift-num-highlight {
  color: #4f46e5 !important;
  font-family: "JetBrains Mono", monospace;
}
.title-sep {
  opacity: 0.35;
  font-weight: 300;
  color: #94a3b8;
}
.title-cashier-group {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.25rem;
  color: #0f172a !important;
}
.cashier-user-icon {
  color: #6366f1 !important;
}
.shifts-bento-subtitle {
  margin: 0.25rem 0 0 0;
  font-size: 0.84rem;
  color: #64748b !important;
  line-height: 1.45;
}
.bento-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.bento-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}
.bento-hero-btn:active {
  transform: translateY(0);
}
.bento-hero-btn.primary {
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  color: #ffffff;
  border-color: rgba(165, 180, 252, 0.3);
}
.bento-hero-btn.danger {
  background:
    linear-gradient(
      135deg,
      #ef4444 0%,
      #dc2626 100%);
  color: #ffffff;
  border-color: rgba(254, 202, 202, 0.3);
}
.bento-hero-btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.bento-hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}
.bento-hero-btn.success {
  background:
    linear-gradient(
      135deg,
      #10b981 0%,
      #059669 100%);
  color: #ffffff;
  border-color: rgba(167, 243, 208, 0.4);
}
.bento-hero-btn.large {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  border-radius: 14px;
}
.shifts-bento-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.1rem;
}
.shifts-bento-kpi-tile {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfcfe 60%,
      #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 2px 0 rgba(15, 23, 42, 0.04),
    0 6px 16px -2px rgba(15, 23, 42, 0.05),
    0 16px 32px -6px rgba(99, 102, 241, 0.05),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 0 rgba(226, 232, 240, 0.5);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
}
.shifts-bento-kpi-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.95) 20%,
      rgba(255, 255, 255, 0.95) 80%,
      transparent);
  pointer-events: none;
}
.shifts-bento-kpi-tile:hover {
  transform: translateY(-4px) translateZ(0);
}
.kpi-tile-expected:hover {
  border-color: rgba(52, 211, 153, 0.8);
  box-shadow:
    0 2px 6px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(16, 185, 129, 0.12),
    0 28px 50px -8px rgba(16, 185, 129, 0.15),
    inset 0 1px 0 0 #ffffff;
}
.kpi-tile-cash-sales:hover {
  border-color: rgba(74, 222, 128, 0.8);
  box-shadow:
    0 2px 6px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(34, 197, 94, 0.12),
    0 28px 50px -8px rgba(34, 197, 94, 0.14),
    inset 0 1px 0 0 #ffffff;
}
.kpi-tile-noncash:hover {
  border-color: rgba(147, 197, 253, 0.9);
  box-shadow:
    0 2px 6px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(59, 130, 246, 0.12),
    0 28px 50px -8px rgba(59, 130, 246, 0.15),
    inset 0 1px 0 0 #ffffff;
}
.kpi-tile-movements:hover {
  border-color: rgba(252, 211, 77, 0.9);
  box-shadow:
    0 2px 6px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(245, 158, 11, 0.12),
    0 28px 50px -8px rgba(245, 158, 11, 0.15),
    inset 0 1px 0 0 #ffffff;
}
.kpi-tile-turnover:hover {
  border-color: rgba(196, 181, 253, 0.9);
  box-shadow:
    0 2px 6px 0 rgba(15, 23, 42, 0.03),
    0 14px 28px -4px rgba(139, 92, 246, 0.12),
    0 28px 50px -8px rgba(139, 92, 246, 0.15),
    inset 0 1px 0 0 #ffffff;
}
.kpi-tile-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}
.kpi-tile-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.kpi-tile-icon-box.emerald {
  background:
    linear-gradient(
      135deg,
      #ecfdf5 0%,
      #d1fae5 100%);
  color: #059669;
  border: 1px solid #a7f3d0;
}
.kpi-tile-icon-box.green {
  background:
    linear-gradient(
      135deg,
      #f0fdf4 0%,
      #dcfce7 100%);
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.kpi-tile-icon-box.blue {
  background:
    linear-gradient(
      135deg,
      #eff6ff 0%,
      #dbeafe 100%);
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.kpi-tile-icon-box.amber {
  background:
    linear-gradient(
      135deg,
      #fffbeb 0%,
      #fef3c7 100%);
  color: #d97706;
  border: 1px solid #fde68a;
}
.kpi-tile-icon-box.purple {
  background:
    linear-gradient(
      135deg,
      #f5f3ff 0%,
      #ede9fe 100%);
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}
.kpi-tile-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex: 1;
}
.bento-kpi-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.bento-kpi-badge.emerald {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.bento-kpi-badge.green {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.bento-kpi-badge.blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.bento-kpi-badge.amber {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}
.bento-kpi-badge.purple {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}
.kpi-tile-value {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0.2rem 0;
}
.kpi-tile-footer {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.35;
  margin-top: auto;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(241, 245, 249, 0.9);
}
.shifts-bento-nav-tabs {
  display: flex;
  gap: 0.45rem;
  background:
    linear-gradient(
      180deg,
      #f1f5f9 0%,
      #e2e8f0 100%);
  padding: 0.35rem;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.05);
  overflow-x: auto;
}
.bento-nav-tab {
  background: transparent;
  border: none;
  color: #475569;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.bento-nav-tab:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.65);
}
.bento-nav-tab.active {
  background: #ffffff;
  color: #4f46e5;
  font-weight: 700;
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.08),
    0 1px 2px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 #ffffff;
}
.bento-tab-counter {
  background: #e0e7ff;
  color: #4f46e5;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.12rem 0.48rem;
  border-radius: 9999px;
  margin-left: 0.2rem;
}
.bento-nav-tab.active .bento-tab-counter {
  background: #4f46e5;
  color: #ffffff;
}
.shifts-bento-card {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfcfe 60%,
      #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 2px 0 rgba(15, 23, 42, 0.04),
    0 6px 18px -2px rgba(15, 23, 42, 0.05),
    0 18px 36px -6px rgba(99, 102, 241, 0.05),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 0 rgba(226, 232, 240, 0.5);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.shifts-bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.95) 20%,
      rgba(255, 255, 255, 0.95) 80%,
      transparent);
  pointer-events: none;
}
.bento-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(241, 245, 249, 0.9);
  flex-wrap: wrap;
  gap: 0.85rem;
}
.bento-card-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.bento-card-icon-pill {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.bento-card-icon-pill.indigo {
  background:
    linear-gradient(
      135deg,
      #ede9fe 0%,
      #e0e7ff 100%);
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.25);
}
.bento-card-icon-pill.emerald {
  background:
    linear-gradient(
      135deg,
      #ecfdf5 0%,
      #d1fae5 100%);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.bento-card-icon-pill.blue {
  background:
    linear-gradient(
      135deg,
      #eff6ff 0%,
      #dbeafe 100%);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.bento-card-icon-pill.amber {
  background:
    linear-gradient(
      135deg,
      #fffbeb 0%,
      #fef3c7 100%);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.bento-card-icon-pill.purple {
  background:
    linear-gradient(
      135deg,
      #f5f3ff 0%,
      #ede9fe 100%);
  color: #7c3aed;
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.bento-card-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.bento-card-desc {
  margin: 0.15rem 0 0 0;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}
.bento-pill-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.bento-pill-badge.info {
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #c7d2fe;
}
.bento-pill-badge.primary {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.formula-step-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem;
  min-width: 145px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03), inset 0 1px 0 #ffffff;
  transition: all 0.2s ease;
}
.formula-step-box:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}
.formula-step-box.result {
  background:
    linear-gradient(
      145deg,
      #eef2ff 0%,
      #e0e7ff 100%);
  border: 2px solid #6366f1;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.18), inset 0 1px 0 #ffffff;
}
.step-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}
.step-box-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: #f1f5f9;
  color: #475569;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
}
.step-box-badge.result {
  background: #4f46e5;
  color: #ffffff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.step-box-icon {
  color: #94a3b8;
}
.step-box-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.step-box-desc {
  font-size: 0.7rem;
  color: #64748b;
  min-height: 28px;
  line-height: 1.35;
}
.step-box-amount {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 0.2rem;
}
.formula-op-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.bento-safety-guarantee {
  margin-top: 1.25rem;
  padding: 1rem 1.35rem;
  background:
    linear-gradient(
      135deg,
      #eef2ff 0%,
      #f5f3ff 100%);
  border: 1px solid #c7d2fe;
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06), inset 0 1px 0 #ffffff;
}
.safety-guarantee-icon {
  color: #4f46e5;
  flex-shrink: 0;
  margin-top: 2px;
}
.safety-guarantee-content {
  font-size: 0.85rem;
  color: #3730a3;
  line-height: 1.5;
}
.bento-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bento-action-card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.9rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
  color: #1e293b;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03), inset 0 1px 0 #ffffff;
  position: relative;
}
.bento-action-card:hover {
  transform: translateX(4px);
}
.bento-action-card.emerald:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.12), inset 0 1px 0 #ffffff;
}
.bento-action-card.amber:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.12), inset 0 1px 0 #ffffff;
}
.bento-action-card.indigo:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.12), inset 0 1px 0 #ffffff;
}
.bento-action-card.rose:hover {
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.12), inset 0 1px 0 #ffffff;
}
.action-card-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.action-card-icon-box.emerald {
  background:
    linear-gradient(
      135deg,
      #ecfdf5 0%,
      #d1fae5 100%);
  color: #059669;
  border: 1px solid #a7f3d0;
}
.action-card-icon-box.amber {
  background:
    linear-gradient(
      135deg,
      #fffbeb 0%,
      #fef3c7 100%);
  color: #d97706;
  border: 1px solid #fde68a;
}
.action-card-icon-box.indigo {
  background:
    linear-gradient(
      135deg,
      #ede9fe 0%,
      #e0e7ff 100%);
  color: #6366f1;
  border: 1px solid #c7d2fe;
}
.action-card-icon-box.rose {
  background:
    linear-gradient(
      135deg,
      #ffe4e6 0%,
      #fecdd3 100%);
  color: #e11d48;
  border: 1px solid #fecdd3;
}
.action-card-text {
  flex: 1;
}
.action-card-text strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 700;
}
.action-card-text p {
  margin: 0.15rem 0 0 0;
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.35;
}
.action-card-arrow {
  color: #cbd5e1;
  transition: transform 0.2s ease, color 0.2s ease;
}
.bento-action-card:hover .action-card-arrow {
  color: #475569;
  transform: translateX(3px);
}
.bento-empty-shift-card {
  padding: 3.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.bento-empty-icon-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      #ecfdf5 0%,
      #d1fae5 100%);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #a7f3d0;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15), inset 0 1px 0 #ffffff;
}
.bento-empty-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
}
.bento-empty-desc {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  max-width: 520px;
  line-height: 1.5;
}
.bento-empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.bento-empty-svg {
  color: #94a3b8;
  opacity: 0.8;
}
.bento-empty-state p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}
.bento-reviewed-badge {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.bento-pending-badge {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.bento-table-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.bento-table-action-btn:hover {
  background: #f8fafc;
  border-color: #6366f1;
  color: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.15);
}
.bento-filter-pills-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: #f1f5f9;
  padding: 0.25rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.bento-filter-pill {
  background: transparent;
  border: none;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bento-filter-pill:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.6);
}
.bento-filter-pill.active {
  background: #4f46e5;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}
.bento-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 1.15rem;
  border-radius: 10px;
  border: none;
  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(79, 70, 229, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-btn-primary:hover:not(:disabled) {
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #4338ca 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
}
.bento-btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.bento-btn-primary.sm {
  padding: 0.42rem 0.85rem;
  font-size: 0.78rem;
}
.bento-table-wrapper {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
}
.shift-bento-dialog {
  width: 94vw !important;
  max-width: 960px !important;
  max-height: 88vh !important;
  background: #ffffff !important;
  border-radius: 18px !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow:
    0 25px 60px -15px rgba(15, 23, 42, 0.28),
    0 10px 24px -5px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: relative !important;
  animation: modalPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}
.shift-bento-dialog.wide-1040 {
  max-width: 1040px !important;
}
.shift-bento-header {
  padding: 1rem 1.5rem;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfcfe 100%);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
}
.shift-bento-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.shift-bento-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.shift-bento-icon-badge.green {
  background:
    linear-gradient(
      135deg,
      #ecfdf5 0%,
      #d1fae5 100%);
  color: #059669;
  border: 1px solid #a7f3d0;
}
.shift-bento-icon-badge.amber {
  background:
    linear-gradient(
      135deg,
      #fffbeb 0%,
      #fef3c7 100%);
  color: #d97706;
  border: 1px solid #fde68a;
}
.shift-bento-icon-badge.indigo {
  background:
    linear-gradient(
      135deg,
      #ede9fe 0%,
      #e0e7ff 100%);
  color: #6366f1;
  border: 1px solid #c7d2fe;
}
.shift-bento-icon-badge.rose {
  background:
    linear-gradient(
      135deg,
      #ffe4e6 0%,
      #fecdd3 100%);
  color: #e11d48;
  border: 1px solid #fecdd3;
}
.shift-bento-icon-badge.purple {
  background:
    linear-gradient(
      135deg,
      #f5f3ff 0%,
      #ede9fe 100%);
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}
.shift-bento-title-wrap h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.shift-bento-title-wrap p {
  margin: 0.2rem 0 0 0;
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.shift-bento-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.shift-bento-body {
  padding: 1.15rem 1.45rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: #f8fafc;
}
.shift-bento-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  width: 100%;
}
.shift-bento-ribbon.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.shift-bento-ribbon-tile {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), inset 0 1px 0 #ffffff;
  position: relative;
  overflow: hidden;
}
.shift-bento-ribbon-tile.highlight {
  background:
    linear-gradient(
      135deg,
      #eef2ff 0%,
      #faf5ff 100%);
  border-color: #c7d2fe;
}
.ribbon-tile-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ribbon-tile-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  font-family: "JetBrains Mono", monospace;
  line-height: 1.15;
}
.ribbon-tile-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}
.shift-bento-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.15rem;
  align-items: stretch;
}
@media (max-width: 768px) {
  .shift-bento-ribbon {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .shift-bento-main-grid {
    grid-template-columns: 1fr !important;
  }
}
.shift-bento-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), inset 0 1px 0 #ffffff;
}
.shift-bento-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
}
.panel-header-title-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.panel-header-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.shift-bento-footer {
  padding: 0.85rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
}
.shift-bento-footer-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: #64748b;
}
.shift-bento-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.live-calc-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.live-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #64748b;
}
.live-calc-row strong {
  font-family: "JetBrains Mono", monospace;
  color: #0f172a;
}
.live-calc-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0.2rem 0;
}
.live-calc-result-box {
  background:
    linear-gradient(
      135deg,
      #f0fdf4 0%,
      #ecfdf5 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.live-calc-result-box.amber {
  background:
    linear-gradient(
      135deg,
      #fffbeb 0%,
      #fef3c7 100%);
  border-color: #fde68a;
}
.calc-result-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #065f46;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.calc-result-amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: #047857;
  font-family: "JetBrains Mono", monospace;
}
.calc-result-amount.text-amber {
  color: #b45309;
}
.top-pos-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-left: 20px;
}
.top-pos-bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.42rem 0.85rem;
  background: #ffffff;
  border: 1.2px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  user-select: none;
  transition: all 0.18s ease;
}
.top-pos-branch-badge {
  border-color: #e0e7ff;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f8faff 100%);
}
.top-pos-counter-badge {
  border-color: #ede9fe;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #faf8ff 100%);
}
.top-pos-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.top-pos-badge-icon.branch {
  background: #eff6ff;
  color: #3b82f6;
  border: 1px solid #dbeafe;
}
.top-pos-badge-icon.counter {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ede9fe;
}
.top-pos-badge-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.top-pos-badge-label {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #64748b;
  text-transform: uppercase;
  line-height: 1;
}
.top-pos-badge-val-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.25;
}
.top-pos-badge-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.top-pos-code-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #4338ca;
  background: #e0e7ff;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid #c7d2fe;
}
.top-pos-lock-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 7px;
  border-radius: 6px;
  line-height: 1.2;
}
.top-pos-lock-tag svg {
  color: #059669;
}
@media (max-width: 768px) {
  .top-pos-header-left {
    margin-left: 10px;
    gap: 0.5rem;
  }
  .top-pos-bento-badge {
    padding: 0.35rem 0.65rem;
  }
  .top-pos-badge-icon {
    width: 28px;
    height: 28px;
  }
  .top-pos-badge-val {
    font-size: 0.8rem;
  }
}
.invoices-bento-root {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
}
.top-invoices-header-left {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-left: 20px;
}
.top-invoices-title-group {
  display: flex;
  flex-direction: column;
}
.top-invoices-title {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}
.top-invoices-subtitle {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}
.invoices-context-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.65rem 1rem;
  background: #ffffff;
  border: 1.2px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.invoices-context-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.invoices-branch-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}
.invoices-branch-icon {
  color: #6366f1;
}
.invoices-branch-label {
  color: #64748b;
  font-weight: 600;
}
.invoices-branch-name {
  color: #0f172a;
}
.invoices-branch-code {
  color: #475569;
  font-size: 0.72rem;
}
.invoices-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
}
.invoices-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pulse-dot 2s infinite;
}
.invoices-quick-pos-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #6366f1 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
  transition: all 0.15s ease;
}
.invoices-quick-pos-btn:hover {
  background:
    linear-gradient(
      135deg,
      #4338ca 0%,
      #4f46e5 100%);
  transform: translateY(-1px);
}
.invoices-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.95rem;
}
.invoices-kpi-card {
  background: #ffffff;
  border: 1.2px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: all 0.18s ease;
}
.invoices-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);
  border-color: #cbd5e1;
}
.invoices-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.invoices-kpi-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.invoices-kpi-icon-wrap.indigo {
  background: #eef2ff;
  color: #6366f1;
  border: 1px solid #e0e7ff;
}
.invoices-kpi-icon-wrap.emerald {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.invoices-kpi-icon-wrap.violet {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ede9fe;
}
.invoices-kpi-icon-wrap.amber {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}
.invoices-kpi-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
}
.invoices-kpi-badge.indigo {
  background: #e0e7ff;
  color: #4338ca;
}
.invoices-kpi-badge.emerald {
  background: #d1fae5;
  color: #065f46;
}
.invoices-kpi-badge.violet {
  background: #ede9fe;
  color: #5b21b6;
}
.invoices-kpi-badge.amber {
  background: #fef3c7;
  color: #92400e;
}
.invoices-kpi-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.invoices-kpi-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
}
.invoices-kpi-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.invoices-kpi-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.invoices-kpi-sub-amount {
  font-size: 0.88rem;
  font-weight: 700;
  color: #4338ca;
  background: #eef2ff;
  padding: 1px 6px;
  border-radius: 6px;
}
.invoices-kpi-sub {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}
.invoices-controls-bar {
  background: #ffffff;
  border: 1.2px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.invoices-controls-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 320px;
  flex-wrap: wrap;
}
.invoices-search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.42rem 0.75rem;
  flex: 1 1 240px;
  max-width: 360px;
  transition: all 0.15s ease;
}
.invoices-search-box:focus-within {
  background: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.invoices-search-icon {
  color: #94a3b8;
  flex-shrink: 0;
}
.invoices-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.82rem;
  color: #0f172a;
  width: 100%;
}
.invoices-clear-search-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 2px;
  font-size: 0.8rem;
}
.invoices-clear-search-btn:hover {
  color: #475569;
}
.invoices-filter-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.invoices-filter-pill {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  user-select: none;
}
.invoices-filter-pill:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.invoices-filter-pill.active {
  background: #eff6ff;
  border-color: #6366f1;
  color: #4338ca;
  font-weight: 700;
}
.invoices-controls-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.invoices-admin-branch-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
}
.invoices-branch-dropdown {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
}
.invoices-bento-table-card {
  background: #ffffff;
  border: 1.2px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
}
.invoices-table-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.35rem;
  border-bottom: 1px solid #e2e8f0;
  background: #fafafa;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.invoices-table-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.invoices-table-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.invoices-count-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: #e0e7ff;
  color: #4338ca;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #c7d2fe;
}
.invoices-table-scroller {
  overflow-x: auto;
  width: 100%;
}
.invoices-bento-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.invoices-bento-table thead th {
  background: #f8fafc;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.15rem;
  border-bottom: 1.5px solid #e2e8f0;
  white-space: nowrap;
}
.invoices-bento-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}
.invoices-bento-table tbody tr:hover {
  background-color: #f8fafc;
}
.invoices-bento-table tbody td {
  padding: 0.9rem 1.15rem;
  font-size: 0.84rem;
  color: #1e293b;
  vertical-align: middle;
}
.bento-bill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.28rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bento-bill-btn:hover {
  background: #e0e7ff;
  border-color: #a5b4fc;
  transform: translateY(-1px);
}
.invoices-tag-credit-note {
  font-size: 0.65rem;
  font-weight: 800;
  background: #ede9fe;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
  padding: 1px 5px;
  border-radius: 6px;
}
.invoices-tag-voided {
  font-size: 0.65rem;
  font-weight: 800;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 1px 5px;
  border-radius: 6px;
}
.invoices-branch-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #334155;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}
.invoices-datetime-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.invoices-date-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}
.invoices-time-text {
  font-size: 0.72rem;
  color: #64748b;
  font-family: "JetBrains Mono", monospace;
}
.invoices-cust-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.invoices-cust-name-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.invoices-cust-name {
  font-weight: 700;
  color: #0f172a;
}
.invoices-cust-phone-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.invoices-cust-phone {
  font-size: 0.74rem;
  color: #64748b;
  font-family: "JetBrains Mono", monospace;
}
.invoices-return-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  margin-top: 3px;
  cursor: pointer;
  width: fit-content;
}
.invoices-return-status-pill.full {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.invoices-return-status-pill.partial {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}
.invoices-amount-total {
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  color: #0f172a;
  font-size: 0.95rem;
}
.invoices-amount-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  color: #475569;
}
.invoices-pmt-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.invoices-pmt-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 2px 7px;
  border-radius: 6px;
  width: fit-content;
}
.invoices-pmt-pill.cash {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.invoices-pmt-pill.upi {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}
.invoices-pmt-pill.card {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}
.invoices-pmt-pill.other {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}
.bento-act-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.bento-act-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  line-height: 1.2;
  white-space: nowrap;
}
.bento-act-btn.view {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}
.bento-act-btn.view:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.bento-act-btn.thermal {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}
.bento-act-btn.thermal:hover {
  background: #dbeafe;
  color: #1e40af;
}
.bento-act-btn.a4 {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #475569;
}
.bento-act-btn.a4:hover {
  background: #f1f5f9;
  color: #1e293b;
}
.bento-act-btn.return {
  background: #faf5ff;
  border-color: #e9d5ff;
  color: #7e22ce;
}
.bento-act-btn.return:hover {
  background: #f3e8ff;
  color: #6b21a8;
}
.bento-act-btn.return:disabled {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
}
.bento-act-btn.whatsapp {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}
.bento-act-btn.whatsapp:hover {
  background: #dcfce7;
  color: #166534;
}
.bento-act-btn.void {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
.bento-act-btn.void:hover {
  background: #fee2e2;
  color: #991b1b;
}
.bento-act-btn.collect {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}
.bento-act-btn.collect:hover {
  background: #fef3c7;
  color: #92400e;
}
.invoices-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.invoices-empty-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #eff6ff;
  color: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  border: 1px solid #dbeafe;
}
.invoices-empty-title {
  margin: 0 0 0.4rem 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}
.invoices-empty-sub {
  margin: 0 0 1.25rem 0;
  font-size: 0.84rem;
  color: #64748b;
  max-width: 380px;
  line-height: 1.5;
}
.invoices-empty-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #6366f1 100%);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  transition: all 0.15s ease;
}
.invoices-empty-action-btn:hover {
  background:
    linear-gradient(
      135deg,
      #4338ca 0%,
      #4f46e5 100%);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .invoices-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .invoices-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .invoices-search-box {
    max-width: 100%;
  }
}
.top-overdue-closing-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background: #fef2f2;
  border: 1.5px solid #ef4444;
  border-radius: 20px;
  color: #991b1b;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  animation: topOverdueGlowBlink 1.4s infinite ease-in-out;
  transition: all 0.2s ease;
  z-index: 5;
}
.top-overdue-closing-btn:hover {
  transform: translateY(-1px) scale(1.02);
  background: #dc2626;
  color: #ffffff;
}
.top-overdue-closing-btn svg {
  flex-shrink: 0;
  color: inherit;
}
@keyframes topOverdueGlowBlink {
  0%, 100% {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  }
  50% {
    background-color: #dc2626;
    border-color: #b91c1c;
    color: #ffffff;
    box-shadow: 0 0 12px 3px rgba(220, 38, 38, 0.45);
  }
}
.dashboard-overdue-alert-banner {
  background: #fff1f2;
  border: 1.5px solid #fecdd3;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #9f1239;
  font-size: 0.875rem;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.08);
  animation: dashboardBannerBlink 2s infinite ease-in-out;
  cursor: pointer;
}
.dashboard-overdue-alert-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dashboard-overdue-blink-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e11d48;
  color: #ffffff;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  animation: overdueButtonPulse 1.2s infinite ease-in-out;
  transition: transform 0.15s ease;
}
.dashboard-overdue-blink-btn:hover {
  background: #be123c;
  transform: scale(1.04);
}
@keyframes dashboardBannerBlink {
  0%, 100% {
    border-color: #fecdd3;
    box-shadow: 0 2px 10px rgba(225, 29, 72, 0.08);
  }
  50% {
    border-color: #f43f5e;
    box-shadow: 0 0 16px 3px rgba(244, 63, 94, 0.28);
  }
}
@keyframes overdueButtonPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.6);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 14px 4px rgba(225, 29, 72, 0.5);
  }
}
@keyframes fadeInModal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleInModal {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* client/src/components/inventory/PurchaseBentoModal.css */
.pbm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 1rem;
  box-sizing: border-box;
  animation: pbmFadeIn 0.2s ease-out;
}
@keyframes pbmFadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.pbm-modal-container {
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  width: 96%;
  max-width: 1140px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22), 0 4px 12px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: #1e1b4b;
}
.pbm-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  position: relative;
}
.pbm-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background:
    linear-gradient(
      90deg,
      #6d4aff 0%,
      #8b5cf6 50%,
      #10b981 100%);
}
.pbm-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.pbm-header-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #f5f3ff 0%,
      #ede9fe 100%);
  color: #6d4aff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd6fe;
  box-shadow: 0 3px 10px rgba(109, 74, 255, 0.15);
  flex-shrink: 0;
}
.pbm-header-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.pbm-header-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0.2rem 0 0 0;
  font-weight: 500;
}
.pbm-btn-close {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pbm-btn-close:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
.pbm-body {
  overflow-y: auto;
  flex: 1;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pbm-bento-tile {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 4px 16px -2px rgba(49, 46, 129, 0.03), 0 1px 3px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-sizing: border-box;
}
.pbm-tile-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #f1f5f9;
}
.pbm-grid-credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
}
.pbm-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.pbm-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
}
.pbm-input,
.pbm-select {
  height: 38px;
  padding: 0 0.85rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: inherit;
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
  width: 100%;
}
.pbm-input:focus,
.pbm-select:focus {
  border-color: #6d4aff;
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.12);
}
.pbm-input-error {
  border-color: #ef4444 !important;
  background: #fff8f8;
}
.pbm-attach-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}
.pbm-attach-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pbm-attach-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pbm-attach-icon.attached {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}
.pbm-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.95rem;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid #2563eb;
  color: #2563eb;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pbm-upload-label:hover {
  background: #eff6ff;
  border-color: #1d4ed8;
}
.pbm-quick-strip {
  background:
    linear-gradient(
      135deg,
      #f0fdf4 0%,
      #fafffc 100%);
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 0.75rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pbm-quick-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.pbm-quick-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pbm-quick-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #166534;
  margin: 0;
}
.pbm-quick-sub {
  font-size: 0.72rem;
  color: #15803d;
  margin: 0;
}
.pbm-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pbm-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.pbm-pill-btn:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}
.pbm-pill-btn.green {
  border-color: #86efac;
  color: #166534;
}
.pbm-pill-btn.blue {
  border-color: #7dd3fc;
  color: #0369a1;
}
.pbm-pill-btn.purple {
  border-color: #d8b4fe;
  color: #7e22ce;
}
.pbm-lines-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 4px 16px -2px rgba(49, 46, 129, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pbm-lines-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.pbm-lines-title-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.pbm-table-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow-x: auto;
  background: #ffffff;
}
.pbm-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
}
.pbm-data-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.pbm-data-table td {
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
}
.pbm-data-table tr:hover td {
  background-color: #faf9ff;
}
.pbm-btn-remove-line {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.pbm-btn-remove-line:hover {
  background: #fee2e2;
  color: #dc2626;
}
.pbm-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 900px) {
  .pbm-bottom-grid {
    grid-template-columns: 1fr;
  }
}
.pbm-payment-tile {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.pbm-summary-tile {
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #faf8ff 60%,
      #f4f0ff 100%);
  border: 1px solid #ede9fe;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}
.pbm-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}
.pbm-grand-total-box {
  background: #ffffff;
  border: 1px solid #ddd6fe;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.08);
  margin-top: 0.5rem;
}
.pbm-grand-total-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: #1e1b4b;
  line-height: 1.1;
}
.pbm-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 0.95rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pbm-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}
.pbm-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pbm-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pbmPulse 2s infinite;
}
@keyframes pbmPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.pbm-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background:
    linear-gradient(
      135deg,
      #6d4aff 0%,
      #7c3aed 100%);
  color: #ffffff;
  border: 1px solid #5b21b6;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(109, 74, 255, 0.25);
  transition: all 0.2s ease;
  font-family: inherit;
}
.pbm-btn-primary:hover:not(:disabled) {
  background:
    linear-gradient(
      135deg,
      #5b21b6 0%,
      #6d4aff 100%);
  box-shadow: 0 6px 16px rgba(109, 74, 255, 0.35);
  transform: translateY(-1px);
}
.pbm-btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}
/*# sourceMappingURL=bundle.css.map */
