/* Luzori Center Dashboard Theme â€” matches brand mockup */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Cairo:wght@300;400;500;600;700&display=swap');

body.luzori-center {
  --lz-forest: #002b26;
  --lz-forest-soft: #0a3a34;
  --lz-cream: #f9f6f1;
  --lz-cream-card: #fdfaf6;
  --lz-gold: #c5a070;
  --lz-gold-soft: #e8d5b5;
  --lz-gold-deep: #9a6923;
  --lz-mint: #d8f0e6;
  --lz-mint-text: #1a6b5a;
  --lz-peach: #f7e4d4;
  --lz-peach-text: #b06a2b;
  --lz-muted: #7a8582;
  --lz-text: #1a2a27;
  --lz-radius: 16px;
  --lz-shadow: 0 8px 28px rgba(0, 43, 38, 0.07);
  --lz-font-display: 'Cormorant Garamond', Georgia, serif;
  --lz-font-body: 'DM Sans', 'Cairo', sans-serif;

  /* Remap theme / Bootstrap primary (blue/purple) â†’ Luzori forest */
  --bs-primary: #002b26;
  --bs-primary-rgb: 0, 43, 38;
  --bs-link-color: #0a3a34;
  --bs-link-hover-color: #002b26;
  --primary: #002b26;
  --primary-rgb: 0, 43, 38;

  font-family: var(--lz-font-body);
  background: var(--lz-cream) !important;
}

html[dir='rtl'] body.luzori-center {
  --lz-font-body: 'Cairo', 'DM Sans', sans-serif;
}

body.luzori-center .layout-page,
body.luzori-center .content-wrapper,
body.luzori-center .container-p-y {
  background: var(--lz-cream) !important;
}

body.luzori-center .layout-navbar,
body.luzori-center .bg-navbar-theme {
  background: var(--lz-cream) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Solid navbar â€” remove outer margin/gutter only (keep theme width vs sidebar) */
body.luzori-center .navbar-detached,
body.luzori-center .layout-navbar.navbar-detached,
body.luzori-center #layout-navbar {
  background: var(--lz-cream) !important;
  opacity: 1 !important;
  box-shadow: 0 1px 0 rgba(0, 43, 38, 0.06) !important;
  border: none !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-inline: 0 !important;
}

/* Non-fixed: fill content column (no side gutter), do not force viewport width */
body.luzori-center .layout-wrapper:not(.layout-navbar-full) .layout-navbar.navbar-detached {
  width: 100% !important;
  max-width: none !important;
}

/* Fixed: keep sidebar offset on laptop only */
@media (min-width: 1200px) {
  html.layout-navbar-fixed:not(.layout-menu-collapsed) body.luzori-center .layout-content-navbar:not(.layout-without-menu) .layout-navbar.navbar-detached {
    width: calc(100% - 16.25rem) !important;
    max-width: none !important;
  }

  html.layout-navbar-fixed.layout-menu-collapsed body.luzori-center .layout-content-navbar:not(.layout-without-menu) .layout-navbar.navbar-detached {
    width: calc(100% - 5.25rem) !important;
    max-width: none !important;
  }
}

/*
 * Mobile navbar fix:
 * - Theme uses position:fixed + margin-top:$spacer â†’ gap above bar
 * - Helpers.js injects .layout-page{padding-top:navbarHeight} â†’ extra empty band
 * Keep navbar FIXED (does not scroll), flush to top, solid white.
 * Move the reserved space to .content-wrapper only.
 */
@media (max-width: 1199.98px) {
  /* Kill Helpers.js injected padding on layout-page (causes empty band above navbar) */
  html.layout-navbar-fixed body.luzori-center .layout-page,
  html body.luzori-center .layout-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* Reserve space under the fixed bar so content is not hidden */
  html.layout-navbar-fixed body.luzori-center .layout-page > .content-wrapper,
  html body.luzori-center .layout-page > .content-wrapper {
    padding-top: 3.875rem !important;
  }

  html.layout-navbar-fixed body.luzori-center .layout-navbar,
  html.layout-navbar-fixed body.luzori-center .layout-navbar.navbar-detached,
  html.layout-navbar-fixed body.luzori-center .layout-content-navbar .layout-navbar.navbar-detached,
  html body.luzori-center #layout-navbar.layout-navbar.navbar-detached,
  html body.luzori-center .layout-navbar.navbar-detached.container-xxl,
  html body.luzori-center .layout-navbar.navbar-detached.container-fluid {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    inset-inline: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 3.875rem !important;
    min-height: 3.875rem !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    padding: 0 0.75rem !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e8dccb !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    opacity: 1 !important;
    z-index: 1085 !important;
    box-shadow: 0 2px 8px rgba(0, 43, 38, 0.06) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
  }

  body.luzori-center .layout-navbar.navbar-detached .navbar-nav-right {
    flex-wrap: nowrap;
    min-width: 0;
    height: 100%;
  }
}

/* ---------- Sidebar ---------- */
body.luzori-center .layout-menu.bg-menu-theme,
body.luzori-center .bg-menu-theme {
  background: var(--lz-forest) !important;
  box-shadow: none !important;
  border: none !important;
  /* Keep theme fixed positioning â€” do not force position:relative (causes content gap) */
}

html.layout-menu-fixed body.luzori-center .layout-menu,
html.layout-menu-fixed-offcanvas body.luzori-center .layout-menu {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  z-index: 1080;
}

@media (min-width: 1200px) {
  html.layout-menu-fixed body.luzori-center .layout-menu,
  html.layout-menu-fixed-offcanvas body.luzori-center .layout-menu {
    inset-inline-start: 0 !important;
  }
}

/* Mobile: menu must sit above layout-overlay or taps hit the overlay */
@media (max-width: 1199.98px) {
  body.luzori-center .layout-menu,
  html.layout-menu-fixed body.luzori-center .layout-menu,
  html.layout-menu-fixed-offcanvas body.luzori-center .layout-menu {
    z-index: 1100 !important;
  }

  body.luzori-center .layout-overlay {
    z-index: 1099 !important;
  }

  html.layout-menu-expanded body.luzori-center .drag-target {
    z-index: 1098 !important;
    pointer-events: none !important;
  }
}

body.luzori-center .layout-menu .app-brand.demo,
body.luzori-center .light-style .menu .app-brand.demo,
body.luzori-center.light-style .menu .app-brand.demo,
html.light-style body.luzori-center .menu .app-brand.demo {
  height: auto !important;
  min-height: 88px;
  background: transparent;
  padding: 1rem 0.85rem 0.65rem !important;
  justify-content: center;
  align-items: center;
  overflow: visible !important;
  flex-shrink: 0 !important;
}

body.luzori-center .layout-menu .app-brand .layout-menu-toggle {
  position: absolute;
  inset-inline-end: 0.35rem;
  top: 0.55rem;
}

body.luzori-center .layout-menu .app-brand-logo.demo,
body.luzori-center .layout-menu .luzori-brand-logo {
  width: 118px !important;
  height: auto !important;
  max-height: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
}

body.luzori-center .layout-menu .app-brand-logo.demo svg {
  width: 110px;
  height: auto;
}

body.luzori-center .layout-menu .luzori-sidebar-logo {
  width: 118px !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain;
  display: block !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  mix-blend-mode: normal;
}

body.luzori-center .layout-menu .menu-inner-shadow {
  display: none;
}

/* Sidebar scroll: outer fixed shell, inner list scrolls (esp. mobile) */
body.luzori-center .layout-menu,
body.luzori-center .layout-menu.menu-vertical,
body.luzori-center #layout-menu {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  height: 100vh !important;
  max-height: 100dvh !important;
}

body.luzori-center .layout-menu .menu-inner,
body.luzori-center .layout-menu .ps {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0.35rem 0.75rem 5rem !important;
  touch-action: pan-y;
}

body.luzori-center .layout-menu .ps__rail-y,
body.luzori-center .layout-menu .ps__rail-x,
body.luzori-center .layout-menu .ps__thumb-y,
body.luzori-center .layout-menu .ps__thumb-x {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 1199.98px) {
  html.layout-menu-expanded body.luzori-center .layout-menu .menu-inner,
  html.layout-menu-expanded body.luzori-center .layout-menu .ps,
  body.luzori-center .layout-menu .menu-inner,
  body.luzori-center .layout-menu .ps {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    overscroll-behavior: contain;
  }
  /* PerfectScrollbar often blocks mobile pan — prefer native scroll */
  body.luzori-center .layout-menu .menu-inner.ps {
    overflow-y: auto !important;
  }
}

body.luzori-center .layout-menu .menu-item {
  margin-bottom: 0.12rem;
}

/* ---------- Collapsed sidebar: square icon tiles ---------- */
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .app-brand.demo {
  min-height: 72px;
  padding: 0.85rem 0.4rem 0.55rem !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .luzori-brand-logo,
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .app-brand-logo.demo {
  width: 44px !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .luzori-sidebar-logo {
  width: 44px !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .app-brand .layout-menu-toggle {
  display: none !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner {
  padding: 0.35rem 0.45rem 4.5rem !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 0.35rem;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item > .menu-link {
  width: 2.6rem !important;
  min-width: 2.6rem !important;
  max-width: 2.6rem !important;
  height: 2.6rem !important;
  min-height: 2.6rem !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border-radius: 12px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0 !important;
  overflow: hidden !important;
  background: rgba(255, 214, 168, 0.08) !important;
  box-shadow: none !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item > .menu-link:hover {
  background: rgba(255, 214, 168, 0.18) !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item.active > .menu-link,
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item.open > .menu-link,
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item.active > .menu-link.menu-toggle,
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item.open > .menu-link.menu-toggle,
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .bg-menu-theme .menu-inner .menu-item.active > .menu-link.menu-toggle,
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .bg-menu-theme .menu-inner .menu-item.open > .menu-link.menu-toggle {
  background: linear-gradient(160deg, #d4b483 0%, #e8d5b5 100%) !important;
  background-image: linear-gradient(160deg, #d4b483 0%, #e8d5b5 100%) !important;
  color: var(--lz-forest) !important;
  box-shadow: 0 4px 12px rgba(197, 160, 112, 0.35) !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item.active > .menu-link .menu-icon,
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item.active > .menu-link i,
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item.open > .menu-link .menu-icon,
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item.open > .menu-link i {
  color: var(--lz-forest) !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item.active > .menu-link img:not(.luzori-sidebar-logo),
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item.open > .menu-link img:not(.luzori-sidebar-logo) {
  filter: brightness(0) saturate(100%) !important;
  opacity: 0.85;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item > .menu-link > div:not(.lz-menu-icon-wrap):not(.badge),
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item > .menu-link .badge,
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item > .menu-toggle::after {
  display: none !important;
}

/* Theme sets opacity:0 on all divs when collapsed â€” keep icon wraps visible */
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item div.lz-menu-icon-wrap,
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item > .menu-link > .lz-menu-icon-wrap {
  opacity: 1 !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.35rem !important;
  min-width: 1.35rem !important;
  height: 1.35rem !important;
  margin: 0 !important;
  visibility: visible !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item > .menu-link > .menu-icon,
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item > .menu-link > i.menu-icon {
  width: 1.35rem !important;
  min-width: 1.35rem !important;
  height: 1.35rem !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-flex !important;
  font-size: 1.25rem !important;
  color: rgba(255, 214, 168, 0.95) !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-inner > .menu-item > .menu-link img:not(.luzori-sidebar-logo) {
  width: 1.2rem !important;
  height: 1.2rem !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  filter: brightness(0) saturate(100%) invert(88%) sepia(18%) saturate(450%) hue-rotate(345deg) !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-sub,
html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .layout-menu .menu-header {
  display: none !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .luzori-menu-footer-text {
  display: none !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .luzori-menu-footer {
  padding: 0.5rem;
  background: transparent;
}

html.layout-menu-collapsed:not(.layout-menu-hover) body.luzori-center .luzori-menu-footer::before {
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 40px;
  opacity: 0.45;
}

/* One horizontal alignment: icon | label | chevron */
body.luzori-center .layout-menu .menu-link {
  display: flex !important;
  align-items: center !important;
  color: rgba(255, 245, 230, 0.78) !important;
  border-radius: 999px !important;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.78rem !important;
  font-weight: 500;
  letter-spacing: 0.01em;
  gap: 0.65rem !important;
  min-height: 2.35rem;
  background: transparent !important;
  box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

body.luzori-center .layout-menu .menu-link:hover {
  background: rgba(255, 214, 168, 0.1) !important;
  color: #fff8ee !important;
}

/* Icon column fixed width for straight alignment */
body.luzori-center .layout-menu .menu-icon,
body.luzori-center .layout-menu .menu-link > i.menu-icon {
  width: 1.45rem !important;
  min-width: 1.45rem !important;
  height: 1.45rem !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.28rem !important;
  line-height: 1 !important;
  color: rgba(255, 214, 168, 0.92) !important;
  stroke-width: 1.5;
}

body.luzori-center .layout-menu .menu-link > .lz-menu-icon-wrap,
body.luzori-center .layout-menu .menu-link > div[style*='padding'] {
  padding: 0 !important;
  width: 1.4rem !important;
  min-width: 1.4rem !important;
  height: 1.4rem !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

body.luzori-center .layout-menu .menu-link > .lz-menu-icon-wrap img,
body.luzori-center .layout-menu .menu-link > div[style*='padding'] img,
body.luzori-center .layout-menu .menu-link img:not(.luzori-sidebar-logo) {
  width: 1.15rem !important;
  height: 1.15rem !important;
  margin: 0 !important;
  filter: brightness(0) saturate(100%) invert(88%) sepia(18%) saturate(450%) hue-rotate(345deg);
  opacity: 0.95;
}

/* Label takes remaining space, stays on one line with icon + chevron */
body.luzori-center .layout-menu .menu-link > div:not(.lz-menu-icon-wrap):not(.badge) {
  flex: 1 1 auto !important;
  min-width: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  align-self: center;
}

body.luzori-center .layout-menu .menu-toggle::after {
  position: static !important;
  top: auto !important;
  inset: auto !important;
  margin: 0 0 0 auto !important;
  transform: rotate(45deg) !important;
  flex-shrink: 0;
  color: rgba(255, 214, 168, 0.55) !important;
  inline-size: 0.45rem;
  block-size: 0.45rem;
  width: 0.45rem !important;
  height: 0.45rem !important;
  display: inline-block !important;
  align-self: center;
}

body.luzori-center .layout-menu .menu-item.open:not(.menu-item-closing) > .menu-toggle::after {
  transform: rotate(135deg) !important;
}

html[dir='rtl'] body.luzori-center .layout-menu .menu-toggle::after {
  margin: 0 auto 0 0 !important;
  transform: rotate(-45deg) !important;
}

html[dir='rtl'] body.luzori-center .layout-menu .menu-item.open:not(.menu-item-closing) > .menu-toggle::after {
  transform: rotate(-135deg) !important;
}

/* Expanded / parent toggle: keep open, NEVER white (override theme-default) */
body.luzori-center .bg-menu-theme .menu-inner .menu-item.open > .menu-link.menu-toggle,
body.luzori-center .bg-menu-theme .menu-inner .menu-item.active > .menu-link.menu-toggle,
body.luzori-center .bg-menu-theme .menu-inner .menu-item.open.active > .menu-link.menu-toggle,
body.luzori-center .layout-menu .menu-item.open > .menu-link,
body.luzori-center .layout-menu .menu-item.open > .menu-link.menu-toggle,
body.luzori-center .layout-menu .menu-item.active.open > .menu-link.menu-toggle,
body.luzori-center .layout-menu .menu-item.active > .menu-link.menu-toggle,
html:not(.layout-menu-collapsed) body.luzori-center .bg-menu-theme .menu-inner .menu-item.open > .menu-link.menu-toggle,
html:not(.layout-menu-collapsed) body.luzori-center .bg-menu-theme .menu-inner .menu-item.active > .menu-link.menu-toggle {
  background: rgba(255, 214, 168, 0.1) !important;
  background-image: none !important;
  color: #fff8ee !important;
  font-weight: 600;
  box-shadow: none !important;
}

body.luzori-center .layout-menu .menu-item.open > .menu-link .menu-icon,
body.luzori-center .layout-menu .menu-item.open > .menu-link i,
body.luzori-center .layout-menu .menu-item.active.open > .menu-link.menu-toggle .menu-icon,
body.luzori-center .layout-menu .menu-item.active > .menu-link.menu-toggle i,
body.luzori-center .bg-menu-theme .menu-inner .menu-item.open > .menu-link.menu-toggle i,
body.luzori-center .bg-menu-theme .menu-inner .menu-item.active > .menu-link.menu-toggle i {
  color: rgba(255, 214, 168, 0.9) !important;
}

body.luzori-center .layout-menu .menu-item.open > .menu-link img:not(.luzori-sidebar-logo),
body.luzori-center .layout-menu .menu-item.active > .menu-link.menu-toggle img:not(.luzori-sidebar-logo),
body.luzori-center .bg-menu-theme .menu-inner .menu-item.open > .menu-link.menu-toggle img:not(.luzori-sidebar-logo),
body.luzori-center .bg-menu-theme .menu-inner .menu-item.active > .menu-link.menu-toggle img:not(.luzori-sidebar-logo) {
  filter: brightness(0) saturate(100%) invert(88%) sepia(18%) saturate(450%) hue-rotate(345deg) !important;
  opacity: 1;
}

/* Only leaf items (no submenu toggle) get the gold active pill */
body.luzori-center .layout-menu .menu-item.active > .menu-link:not(.menu-toggle) {
  background: linear-gradient(90deg, #d4b483 0%, #e8d5b5 55%, #f3e6cf 100%) !important;
  color: var(--lz-forest) !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(197, 160, 112, 0.35);
}

body.luzori-center .layout-menu .menu-item.active > .menu-link:not(.menu-toggle) .menu-icon,
body.luzori-center .layout-menu .menu-item.active > .menu-link:not(.menu-toggle) i {
  color: var(--lz-forest) !important;
}

body.luzori-center .layout-menu .menu-item.active > .menu-link:not(.menu-toggle) img:not(.luzori-sidebar-logo) {
  filter: brightness(0) saturate(100%) !important;
  opacity: 0.85;
}

/* Submenu panel — vertical tree line linking children to parent */
body.luzori-center .layout-menu .menu-item:not(.open) > .menu-sub {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}
body.luzori-center .layout-menu .menu-item.open > .menu-sub {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  background: transparent !important;
  margin: 0.15rem 0 0.35rem 1.15rem !important;
  padding: 0.2rem 0 0.25rem 0.95rem !important;
  box-shadow: none !important;
  border-inline-start: 2px solid rgba(197, 160, 112, 0.4) !important;
}
body.luzori-center .layout-menu .menu-sub {
  position: relative !important;
  background: transparent !important;
}

html[dir='rtl'] body.luzori-center .layout-menu .menu-sub {
  margin: 0.15rem 1.15rem 0.35rem 0 !important;
}

body.luzori-center .layout-menu .menu-sub > .menu-item {
  position: relative;
}

/* No horizontal connectors â€” vertical line only */
body.luzori-center .bg-menu-theme.menu-vertical .menu-sub > .menu-item > .menu-link::before,
body.luzori-center .layout-menu .menu-sub > .menu-item > .menu-link::before {
  content: none !important;
  display: none !important;
}

body.luzori-center .layout-menu .menu-sub .menu-link {
  position: relative !important;
  color: rgba(255, 245, 230, 0.65) !important;
  background: transparent !important;
  padding: 0.45rem 0.85rem !important;
  min-height: 2.1rem;
  box-shadow: none !important;
}

body.luzori-center .layout-menu .menu-sub .menu-item.active > .menu-link {
  background: linear-gradient(90deg, #d4b483 0%, #e8d5b5 55%, #f3e6cf 100%) !important;
  color: var(--lz-forest) !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(197, 160, 112, 0.3);
}

body.luzori-center .layout-menu .menu-sub .menu-item.active > .menu-link .menu-icon,
body.luzori-center .layout-menu .menu-sub .menu-item.active > .menu-link i {
  color: var(--lz-forest) !important;
}

body.luzori-center .layout-menu .menu-sub .menu-item.active > .menu-link img:not(.luzori-sidebar-logo) {
  filter: brightness(0) saturate(100%) !important;
}

body.luzori-center .layout-menu .menu-header-text {
  color: rgba(255, 214, 168, 0.45) !important;
}

body.luzori-center .layout-menu .layout-menu-toggle i {
  color: var(--lz-gold-soft) !important;
}

body.luzori-center .layout-menu .badge {
  background: #e25555 !important;
  color: #fff !important;
  margin-inline-start: 0.25rem;
}

body.luzori-center .luzori-menu-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem 1.5rem;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 43, 38, 0.92) 35%, #002b26 100%);
}

body.luzori-center .luzori-menu-footer::before {
  content: '';
  position: absolute;
  left: -20px;
  bottom: -10px;
  width: 140px;
  height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100' fill='none'%3E%3Cpath d='M20 80c20-35 40-50 55-55 8 18 5 40-5 58' stroke='%23c5a070' stroke-opacity='.35' stroke-width='1'/%3E%3Cpath d='M50 90c25-40 48-52 70-55 5 20 0 42-12 58' stroke='%23c5a070' stroke-opacity='.28' stroke-width='1'/%3E%3Cpath d='M85 92c18-28 35-38 52-40' stroke='%23c5a070' stroke-opacity='.22' stroke-width='1'/%3E%3Ccircle cx='75' cy='28' r='3' fill='%23c5a070' fill-opacity='.35'/%3E%3C/svg%3E")
    no-repeat left bottom;
  background-size: contain;
  opacity: 0.9;
}

body.luzori-center .luzori-menu-footer-text {
  position: relative;
  z-index: 1;
  color: rgba(255, 214, 168, 0.55);
  font-size: 0.68rem;
  line-height: 1.35;
  text-align: end;
  font-weight: 400;
  letter-spacing: 0.02em;
}

html[dir='rtl'] body.luzori-center .luzori-menu-footer-text {
  text-align: start;
}

/* ---------- Navbar ---------- */
body.luzori-center .luzori-nav-search {
  flex: 1;
  max-width: 520px;
  margin: 0 1rem;
}

body.luzori-center .luzori-nav-search .form-control {
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 43, 38, 0.08);
  box-shadow: 0 2px 10px rgba(0, 43, 38, 0.04);
  padding: 0.65rem 1.15rem 0.65rem 2.75rem;
  font-size: 0.88rem;
  color: var(--lz-text);
}

body.luzori-center .luzori-nav-search .form-control:focus {
  border-color: var(--lz-gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 112, 0.18);
}

body.luzori-center .luzori-nav-search-wrap {
  position: relative;
}

body.luzori-center .luzori-nav-search-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lz-muted);
  z-index: 2;
}

html[dir='rtl'] body.luzori-center .luzori-nav-search-wrap i {
  left: auto;
  right: 1rem;
}

html[dir='rtl'] body.luzori-center .luzori-nav-search .form-control {
  padding: 0.65rem 2.75rem 0.65rem 1.15rem;
}

body.luzori-center .navbar-nav .nav-link {
  color: var(--lz-text) !important;
}

body.luzori-center .luzori-user-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.2rem 0.35rem 0.2rem 0.2rem;
}

body.luzori-center .luzori-user-chip .luzori-user-meta {
  line-height: 1.15;
  text-align: start;
}

html[dir='rtl'] body.luzori-center .luzori-user-chip .luzori-user-meta {
  text-align: end;
}

body.luzori-center .luzori-user-chip .luzori-user-hi {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--lz-text);
}

body.luzori-center .luzori-user-chip .luzori-user-role {
  display: block;
  font-size: 0.72rem;
  color: var(--lz-muted);
}

body.luzori-center .footer {
  background: transparent !important;
  color: var(--lz-muted);
}

/* Scrollbar subtle on sidebar */
body.luzori-center .layout-menu .menu-inner::-webkit-scrollbar {
  width: 4px;
}
body.luzori-center .layout-menu .menu-inner::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 112, 0.35);
  border-radius: 4px;
}

/* ---------- Shared page chrome ---------- */
body.luzori-center .luzori-page {
  position: relative;
  font-family: var(--lz-font-body);
}

body.luzori-center .luzori-page::before,
body.luzori-center .luzori-dashboard::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -20px;
  width: 260px;
  height: 260px;
  background: url("../img/branding/corner-leaf-beige.png") no-repeat right top;
  background-size: contain;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}

html[dir='rtl'] body.luzori-center .luzori-page::before,
html[dir='rtl'] body.luzori-center .luzori-dashboard::before {
  right: auto;
  left: -20px;
  transform: scaleX(-1);
}

body.luzori-center .luzori-dashboard {
  position: relative;
}

body.luzori-center .lz-page-toolbar {
  position: relative;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  overflow: visible;
}

body.luzori-center .lz-page-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

body.luzori-center .lz-page-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #efe2d0;
  color: #7a5a2f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

body.luzori-center .lz-page-title {
  font-family: var(--lz-font-display);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 600;
  color: var(--lz-forest);
  margin: 0;
  line-height: 1.15;
}

body.luzori-center .lz-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  position: relative;
  z-index: 45;
  overflow: visible;
}

/* DataTables Column/Export dropdowns must float above the table card */
body.luzori-center .lz-page-actions .dt-buttons,
body.luzori-center .lz-page-actions .btn-group,
body.luzori-center .lz-page-actions .dt-button-collection,
body.luzori-center div.dt-button-collection,
body.luzori-center .dt-button-collection {
  z-index: 1080 !important;
}

body.luzori-center div.dt-button-collection {
  position: absolute !important;
  background: #fff !important;
  border: 1px solid #efe6d8 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0, 43, 38, 0.16) !important;
  padding: 0.35rem !important;
  min-width: 10rem;
}

body.luzori-center div.dt-button-collection .dt-button {
  border-radius: 8px !important;
  color: var(--lz-forest) !important;
  background: transparent !important;
  border: none !important;
}

body.luzori-center div.dt-button-collection .dt-button:hover {
  background: #f7f2ea !important;
}

/* Hide leftover DataTables header (causes white box behind Column/Export) */
body.luzori-center .lz-table-card .dataTables_wrapper > .card-header,
body.luzori-center .lz-table-card .dataTables_wrapper .card-header {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.luzori-center .lz-table-card .dataTables_wrapper > .card-header .dt-action-buttons,
body.luzori-center .lz-table-card .dt-action-buttons:empty {
  display: none !important;
}

body.luzori-center .btn-luzori-beige {
  background: linear-gradient(90deg, #d4b483, #e8d5b5) !important;
  border: none !important;
  color: var(--lz-forest) !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(197, 160, 112, 0.25);
}

body.luzori-center .btn-luzori-muted {
  background: #5f7a72 !important;
  border: none !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
}

body.luzori-center .btn-luzori-primary {
  background: var(--lz-forest) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 16px rgba(0, 43, 38, 0.2);
}

body.luzori-center .btn-luzori-primary:hover,
body.luzori-center .btn-luzori-beige:hover,
body.luzori-center .btn-luzori-muted:hover {
  filter: brightness(1.05);
  color: inherit !important;
}

body.luzori-center .lz-table-card {
  position: relative;
  z-index: 1;
  border: none !important;
  border-radius: 18px !important;
  box-shadow: var(--lz-shadow) !important;
  background: #fff !important;
  overflow: visible;
}

body.luzori-center .luzori-page {
  position: relative;
  z-index: auto;
  overflow: visible;
}

body.luzori-center .lz-table-card .card-header {
  background: transparent !important;
  border-bottom: none !important;
  padding: 1rem 1.25rem 0.25rem !important;
}

body.luzori-center .lz-table-card .card-body {
  padding: 0.75rem 1.25rem 1.25rem !important;
}

body.luzori-center .lz-table-card table.dataTable,
body.luzori-center .lz-table-card .table {
  border: none !important;
  margin-bottom: 0 !important;
}

body.luzori-center .lz-table-card table thead th {
  background: #f7f2ea !important;
  color: var(--lz-forest) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none !important;
  border-bottom: 1px solid #efe6d8 !important;
  white-space: nowrap;
  padding: 0.9rem 0.85rem !important;
}

body.luzori-center .lz-table-card table tbody td {
  border-color: #f1ebe3 !important;
  color: var(--lz-text);
  font-size: 0.86rem;
  vertical-align: middle !important;
  padding: 0.85rem !important;
}

body.luzori-center .lz-table-card table tbody tr:nth-child(even) {
  background: #fcfaf7;
}

body.luzori-center .lz-table-card .dataTables_wrapper .dataTables_length select,
body.luzori-center .lz-table-card .dataTables_wrapper .dataTables_filter input {
  border-radius: 10px !important;
  border: 1px solid #e5ddd2 !important;
  background: #fff !important;
  color: var(--lz-text) !important;
}

body.luzori-center .lz-table-card .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--lz-forest) !important;
  border-color: var(--lz-forest) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

body.luzori-center .lz-table-card .dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 8px !important;
}

body.luzori-center .lz-table-card .switch-input:checked ~ .switch-toggle-slider,
body.luzori-center .switch .switch-input:checked ~ .switch-toggle-slider,
body.luzori-center .switch-primary .switch-input:checked ~ .switch-toggle-slider {
  background: #1a6b5a !important;
  border-color: #1a6b5a !important;
  box-shadow: none !important;
}

body.luzori-center .switch .switch-toggle-slider {
  border-radius: 999px !important;
}

body.luzori-center .switch .switch-input:checked ~ .switch-toggle-slider::after,
body.luzori-center .switch .switch-input:checked ~ .switch-toggle-slider .switch-on {
  color: #fff !important;
}

/* ---------- Forms ---------- */
body.luzori-center .lz-form-card {
  position: relative;
  z-index: 1;
  border: none !important;
  border-radius: 18px !important;
  box-shadow: var(--lz-shadow) !important;
  background: #fff !important;
}

body.luzori-center .lz-form-card .card-body {
  padding: 1.5rem 1.75rem 1.75rem !important;
}

body.luzori-center .lz-form-card .card-footer {
  background: transparent !important;
  border-top: 1px solid #f1ebe3 !important;
  padding: 1rem 1.75rem 1.35rem !important;
}

body.luzori-center .lz-lang-tabs,
body.luzori-center .nav-tabs.lz-lang-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid #e8dccb !important;
  border-bottom: 1px solid #e8dccb !important;
  margin-bottom: 1.35rem;
  padding: 0.28rem;
  background: linear-gradient(180deg, #fbf7f1 0%, #f3ebe0 100%);
  border-radius: 999px;
  width: auto;
  max-width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.luzori-center .lz-lang-tabs .nav-item {
  margin: 0 !important;
}

body.luzori-center .lz-lang-tabs .nav-link,
body.luzori-center .nav-tabs.lz-lang-tabs .nav-link {
  border: none !important;
  border-radius: 999px !important;
  color: #6d7875 !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.48rem 1.05rem !important;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent !important;
  box-shadow: none !important;
  position: relative;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.luzori-center .lz-lang-tabs .nav-link::after,
body.luzori-center .lz-lang-tabs .nav-link::before,
body.luzori-center .nav-tabs.lz-lang-tabs .nav-link::after,
body.luzori-center .nav-tabs.lz-lang-tabs .nav-link::before,
body.luzori-center .lz-lang-tabs .nav-item::after,
body.luzori-center .lz-lang-tabs .nav-item::before,
body.luzori-center .nav-tabs.lz-lang-tabs .nav-link.active::after,
body.luzori-center .nav-tabs.lz-lang-tabs .nav-link.active::before {
  display: none !important;
  content: none !important;
  border: none !important;
  background: none !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  box-shadow: none !important;
}

body.luzori-center .lz-lang-tabs .nav-link:hover {
  color: var(--lz-forest) !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

body.luzori-center .lz-lang-tabs .nav-link.active,
body.luzori-center .nav-tabs.lz-lang-tabs .nav-link.active,
body.luzori-center .nav-tabs.lz-lang-tabs .nav-item.show .nav-link {
  color: #fff !important;
  background: var(--lz-forest) !important;
  border: none !important;
  box-shadow: 0 6px 14px rgba(0, 43, 38, 0.22) !important;
}

body.luzori-center .lz-lang-tabs .nav-link.active .lz-lang-flag {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

body.luzori-center .lz-lang-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

body.luzori-center .lz-lang-flag-en {
  background-image: url("https://flagcdn.com/w40/gb.png");
}

body.luzori-center .lz-lang-flag-ar {
  background-image: url("https://flagcdn.com/w40/ae.png");
}

body.luzori-center .lz-lang-flag-fr {
  background-image: url("https://flagcdn.com/w40/fr.png");
}

body.luzori-center .lz-field-label {
  display: block;
  font-weight: 700;
  color: var(--lz-forest);
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

body.luzori-center .lz-field-help {
  display: block;
  color: var(--lz-muted);
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
}

body.luzori-center .lz-form-card .form-control,
body.luzori-center .lz-form-card .form-select {
  border-radius: 12px !important;
  border: 1px solid #e5ddd2 !important;
  padding: 0.7rem 0.95rem !important;
  background: #fff !important;
  color: var(--lz-text) !important;
  box-shadow: none !important;
}

body.luzori-center .lz-form-card .form-control:focus,
body.luzori-center .lz-form-card .form-select:focus {
  border-color: var(--lz-gold) !important;
  box-shadow: 0 0 0 3px rgba(197, 160, 112, 0.18) !important;
}

/* Joined input-group: one unit, flat where icon meets the field */
body.luzori-center .input-group {
  border: 1px solid #e5ddd2 !important;
  border-radius: 12px !important;
  overflow: hidden;
  flex-wrap: nowrap;
  background: #fff;
}

body.luzori-center .input-group > .input-group-text {
  background: #f7f3ec !important;
  border: none !important;
  border-radius: 0 !important;
  color: var(--lz-forest);
}

body.luzori-center .input-group > .form-control,
body.luzori-center .input-group > .form-select,
body.luzori-center .lz-form-card .input-group > .form-control,
body.luzori-center .lz-form-card .input-group > .form-select {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.luzori-center .input-group > .input-group-text:not(:last-child) {
  border-inline-end: 1px solid #e5ddd2 !important;
}

body.luzori-center .input-group > .input-group-text:not(:first-child) {
  border-inline-start: 1px solid #e5ddd2 !important;
}

body.luzori-center .input-group:focus-within {
  border-color: var(--lz-gold) !important;
  box-shadow: 0 0 0 3px rgba(197, 160, 112, 0.18);
}

body.luzori-center .lz-map-search .btn {
  border-radius: 0 12px 12px 0 !important;
  background: var(--lz-forest) !important;
  border-color: var(--lz-forest) !important;
  color: #fff !important;
  font-weight: 600;
}

html[dir='rtl'] body.luzori-center .lz-map-search .btn {
  border-radius: 12px 0 0 12px !important;
}

body.luzori-center .lz-map-search .form-control {
  border-radius: 12px 0 0 12px !important;
}

html[dir='rtl'] body.luzori-center .lz-map-search .form-control {
  border-radius: 0 12px 12px 0 !important;
}

body.luzori-center #map {
  border-radius: 14px !important;
  border: 1px solid #e5ddd2 !important;
  overflow: hidden;
}

/* ---------- Action icons (table) ---------- */
body.luzori-center .lz-action-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
}

body.luzori-center .lz-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3ebe0;
  color: var(--lz-forest) !important;
  border: 1px solid #e8dccb;
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none !important;
}

body.luzori-center .lz-action-btn:hover {
  background: #e8d5b5;
  transform: translateY(-1px);
  color: var(--lz-forest) !important;
}

body.luzori-center .lz-action-btn.lz-action-danger {
  background: #fdecea;
  border-color: #f5d0cc;
  color: #b42318 !important;
}

body.luzori-center .lz-action-btn.lz-action-danger:hover {
  background: #f8d7d3;
  color: #912018 !important;
}

body.luzori-center .lz-actions-col {
  width: 1%;
  white-space: nowrap;
}

/* Keep Actions visible on mobile (DataTables Responsive otherwise hides it) */
body.luzori-center table.dataTable.dtr-inline.collapsed > tbody > tr > td.lz-actions-col,
body.luzori-center table.dataTable.dtr-column.collapsed > tbody > tr > td.lz-actions-col,
body.luzori-center table.dataTable > thead > tr > th.lz-actions-col,
body.luzori-center table.dataTable > tbody > tr > td.lz-actions-col,
body.luzori-center table.dataTable th.all.lz-actions-col,
body.luzori-center table.dataTable td.all.lz-actions-col {
  display: table-cell !important;
}

/* Hide DataTables expand arrows â€” details open via eye dialog */
body.luzori-center table.dataTable.dtr-column > tbody > tr > td.dtr-control,
body.luzori-center table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control {
  cursor: default;
}

body.luzori-center table.dataTable.dtr-column > tbody > tr > td.dtr-control:before,
body.luzori-center table.dataTable.dtr-column.collapsed > tbody > tr > td.dtr-control:before,
body.luzori-center table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
body.luzori-center table.dataTable > tbody > tr > td.dtr-control:before {
  display: none !important;
  content: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.luzori-center .lz-inline-row-details {
  display: inline-flex;
  margin-inline-start: 0.4rem;
  vertical-align: middle;
}

body.luzori-center .lz-row-details-modal {
  border: 0;
  border-radius: 18px;
  background: #fdfaf6;
  box-shadow: 0 16px 40px rgba(0, 43, 38, 0.14);
}

body.luzori-center .lz-row-details-modal .modal-header {
  border-bottom-color: #efe6d8;
}

body.luzori-center .lz-row-details-modal .modal-title {
  color: var(--lz-forest);
  font-weight: 700;
}

body.luzori-center .lz-row-details-modal .modal-footer {
  border-top-color: #efe6d8;
}

body.luzori-center .lz-row-details-table {
  margin: 0;
}

body.luzori-center .lz-row-details-table th {
  width: 34%;
  color: #7a8582;
  font-weight: 600;
  font-size: 0.82rem;
  border-color: #efe6d8;
  vertical-align: top;
  background: transparent;
}

body.luzori-center .lz-row-details-table td {
  color: var(--lz-text);
  border-color: #efe6d8;
  vertical-align: top;
  overflow-wrap: anywhere;
}

body.luzori-center .lz-row-details-modal .modal-body {
  overflow-x: hidden;
}

body.luzori-center .lz-row-details-table img,
body.luzori-center .lz-row-details-modal .modal-body img,
body.luzori-center #lzRowDetailsDrawer .lz-row-drawer-body img,
body.luzori-center img.lz-details-thumb {
  display: block !important;
  max-width: 140px !important;
  max-height: 140px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px;
  border: 1px solid #efe6d8;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 43, 38, 0.06);
}

body.luzori-center table.dataTable tbody tr.lz-row-details-active > td {
  background: #e8f2ef !important;
  box-shadow: inset 3px 0 0 #0a3a34;
}

body.luzori-center .lz-row-details-table .lz-perm-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #eef3f2;
  color: #0a3a34;
  font-size: 0.68rem;
  font-weight: 600;
  margin: 0.15rem;
  white-space: normal;
}

body.luzori-center table.dataTable > tbody > tr.child {
  cursor: default;
  background: #fff !important;
}

body.luzori-center table.dataTable > tbody > tr.child > td {
  background: #fff !important;
  box-shadow: none !important;
}

body.luzori-center table.dataTable > tbody > tr.child ul.dtr-details {
  width: 100%;
}

body.luzori-center table.dataTable > tbody > tr.child span.dtr-title {
  color: var(--lz-forest);
  font-weight: 700;
  min-width: 140px;
}

/* Expanded / selected DataTable rows â€” no theme blue */
body.luzori-center table.dataTable > tbody > tr.parent,
body.luzori-center table.dataTable > tbody > tr.parent > *,
body.luzori-center table.dataTable > tbody > tr.selected,
body.luzori-center table.dataTable > tbody > tr.selected > *,
body.luzori-center table.dataTable.stripe > tbody > tr.parent,
body.luzori-center table.dataTable.display > tbody > tr.parent,
body.luzori-center table.dataTable.hover > tbody > tr.parent:hover,
body.luzori-center table.dataTable.display > tbody > tr.parent:hover,
body.luzori-center .table-primary,
body.luzori-center .table-primary > th,
body.luzori-center .table-primary > td,
body.luzori-center tr.table-primary,
body.luzori-center tr.table-primary > th,
body.luzori-center tr.table-primary > td {
  background-color: #efe6d8 !important;
  background: #efe6d8 !important;
  color: var(--lz-forest) !important;
  box-shadow: none !important;
  --bs-table-bg: #efe6d8;
  --bs-table-color: #002b26;
  --bs-table-striped-bg: #ebe2d2;
  --bs-table-hover-bg: #e8dccb;
  --bs-table-border-color: #e5ddd2;
}

body.luzori-center table.dataTable > tbody > tr.parent > td,
body.luzori-center table.dataTable > tbody > tr.parent > th,
body.luzori-center table.dataTable > tbody > tr.selected > td,
body.luzori-center table.dataTable > tbody > tr.selected > th {
  background-color: #efe6d8 !important;
  color: var(--lz-forest) !important;
  box-shadow: inset 0 0 0 9999px #efe6d8 !important;
  border-color: #e5ddd2 !important;
}

body.luzori-center table.dataTable.hover > tbody > tr:hover > *,
body.luzori-center table.dataTable.display > tbody > tr:hover > *,
body.luzori-center .lz-table-card table tbody tr:hover > td {
  background-color: #f7f2ea !important;
  box-shadow: inset 0 0 0 9999px #f7f2ea !important;
  color: var(--lz-text) !important;
}

/* ---------- Global primary remap (replace blue/purple accents) ---------- */
body.luzori-center .btn-primary,
body.luzori-center .btn-primary:focus,
body.luzori-center .btn-primary:active,
body.luzori-center .btn-primary.active,
body.luzori-center .btn-primary.show {
  background-color: var(--lz-forest) !important;
  border-color: var(--lz-forest) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.luzori-center .btn-primary:hover {
  background-color: var(--lz-forest-soft) !important;
  border-color: var(--lz-forest-soft) !important;
  color: #fff !important;
}

body.luzori-center .btn-outline-primary {
  color: var(--lz-forest) !important;
  border-color: var(--lz-forest) !important;
  background: transparent !important;
}

body.luzori-center .btn-outline-primary:hover,
body.luzori-center .btn-outline-primary.active,
body.luzori-center .btn-outline-primary:active,
body.luzori-center .btn-check:checked + .btn-outline-primary {
  background-color: var(--lz-forest) !important;
  border-color: var(--lz-forest) !important;
  color: #fff !important;
}

body.luzori-center .bg-primary,
body.luzori-center .badge.bg-primary,
body.luzori-center .alert-primary {
  background-color: var(--lz-forest) !important;
  border-color: var(--lz-forest) !important;
  color: #fff !important;
}

body.luzori-center .text-primary,
body.luzori-center a.text-primary,
body.luzori-center .link-primary {
  color: var(--lz-forest) !important;
}

body.luzori-center .border-primary {
  border-color: var(--lz-forest) !important;
}

body.luzori-center .form-check-input:checked {
  background-color: var(--lz-forest) !important;
  border-color: var(--lz-forest) !important;
}

body.luzori-center .form-check-input:focus,
body.luzori-center .form-control:focus,
body.luzori-center .form-select:focus {
  border-color: var(--lz-gold) !important;
  box-shadow: 0 0 0 0.2rem rgba(197, 160, 112, 0.22) !important;
}

body.luzori-center .nav-pills .nav-link.active,
body.luzori-center .nav-tabs .nav-link.active {
  background-color: var(--lz-forest) !important;
  color: #fff !important;
  border-color: var(--lz-forest) !important;
}

body.luzori-center .page-item.active .page-link,
body.luzori-center .pagination .page-item.active .page-link {
  background-color: var(--lz-forest) !important;
  border-color: var(--lz-forest) !important;
  color: #fff !important;
}

body.luzori-center .page-link {
  color: var(--lz-forest);
}

body.luzori-center .page-link:hover {
  color: var(--lz-forest-soft);
}

body.luzori-center .progress-bar {
  background-color: var(--lz-forest) !important;
}

/* Luzori loaders â€” dual ring (forest + gold) */
@keyframes lz-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lz-spin-rev {
  to {
    transform: rotate(-360deg);
  }
}

body.luzori-center .lz-loader {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  position: relative;
  border-radius: 8px;
  border: 3px solid rgba(0, 43, 38, 0.1);
  border-top-color: var(--lz-forest);
  border-right-color: var(--lz-gold);
  animation: lz-spin 0.75s linear infinite;
  box-sizing: border-box;
}

body.luzori-center .lz-loader::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 4px;
  border: 2.5px solid transparent;
  border-bottom-color: var(--lz-gold-deep);
  border-left-color: rgba(197, 160, 112, 0.45);
  animation: lz-spin-rev 1.05s linear infinite;
  box-sizing: border-box;
}

body.luzori-center .lz-loader.lz-loader-sm {
  width: 22px;
  height: 22px;
  border-width: 2px;
}

body.luzori-center .lz-loader.lz-loader-sm::after {
  inset: 4px;
  border-width: 1.5px;
}

body.luzori-center .spinner-border,
body.luzori-center .spinner-border.text-primary,
body.luzori-center .spinner-border.text-secondary,
body.luzori-center .spinner-border-sm {
  width: 2.15rem !important;
  height: 2.15rem !important;
  border: 3px solid rgba(0, 43, 38, 0.1) !important;
  border-top-color: var(--lz-forest) !important;
  border-right-color: var(--lz-gold) !important;
  border-bottom-color: transparent !important;
  border-left-color: rgba(197, 160, 112, 0.35) !important;
  border-radius: 50% !important;
  color: transparent !important;
  animation: lz-spin 0.75s linear infinite !important;
}

body.luzori-center .spinner-border-sm {
  width: 1.15rem !important;
  height: 1.15rem !important;
  border-width: 2px !important;
}

body.luzori-center .spinner-grow,
body.luzori-center .spinner-grow.text-primary {
  background-color: var(--lz-gold) !important;
  color: var(--lz-gold) !important;
  border-radius: 50% !important;
}

/* DataTables processing â€” square loader; must hide when DT finishes */
body.luzori-center div.dataTables_processing,
body.luzori-center div.dt-processing {
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  padding: 0 !important;
  background: rgba(253, 250, 246, 0.96) !important;
  border: 1px solid var(--lz-gold-soft) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 22px rgba(0, 43, 38, 0.12) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  z-index: 30 !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Default hidden â€” only show when DataTables sets display:block inline */
body.luzori-center div.dataTables_processing:not([style*='display: block']):not([style*='display:block']),
body.luzori-center div.dt-processing:not([style*='display: block']):not([style*='display:block']) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

body.luzori-center div.dataTables_processing[style*='display: block'],
body.luzori-center div.dataTables_processing[style*='display:block'],
body.luzori-center div.dt-processing[style*='display: block'],
body.luzori-center div.dt-processing[style*='display:block'] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.luzori-center div.dataTables_processing[style*='display: none'],
body.luzori-center div.dataTables_processing[style*='display:none'],
body.luzori-center div.dt-processing[style*='display: none'],
body.luzori-center div.dt-processing[style*='display:none'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.luzori-center div.dataTables_processing::before,
body.luzori-center div.dt-processing::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2.5px solid rgba(0, 43, 38, 0.12);
  border-top-color: var(--lz-forest);
  border-right-color: var(--lz-gold);
  animation: lz-spin 0.75s linear infinite;
  box-sizing: border-box;
}

body.luzori-center div.dataTables_processing > div,
body.luzori-center div.dt-processing > div {
  display: none !important;
}

/* BlockUI / SpinKit */
body.luzori-center .blockUI.blockOverlay {
  background: rgba(249, 246, 241, 0.72) !important;
  opacity: 1 !important;
}

body.luzori-center .blockUI.blockMsg {
  background: transparent !important;
  border: 0 !important;
  color: var(--lz-forest) !important;
  width: auto !important;
}

body.luzori-center .sk-wave {
  width: 48px !important;
}

body.luzori-center .sk-wave .sk-wave-rect,
body.luzori-center .sk-primary .sk-wave-rect {
  background: var(--lz-gold) !important;
  border-radius: 999px !important;
  width: 5px !important;
}

body.luzori-center .sk-wave .sk-wave-rect:nth-child(2),
body.luzori-center .sk-wave .sk-wave-rect:nth-child(4) {
  background: var(--lz-forest) !important;
}

body.luzori-center .sk-fold.sk-primary .sk-fold-cube:before,
body.luzori-center .sk-primary .sk-fold-cube:before {
  background-color: var(--lz-forest) !important;
}

body.luzori-center .sk-chase-dot:before,
body.luzori-center .sk-primary .sk-chase-dot:before {
  background-color: var(--lz-gold) !important;
}

body.luzori-center .form-range::-webkit-slider-thumb {
  background: var(--lz-forest) !important;
}

body.luzori-center .form-range::-moz-range-thumb {
  background: var(--lz-forest) !important;
}

/* Vuexy default primary (#696cff) leftovers */
body.luzori-center .bg-label-primary {
  background-color: rgba(0, 43, 38, 0.1) !important;
  color: var(--lz-forest) !important;
}

body.luzori-center .dropdown-item.active,
body.luzori-center .dropdown-item:active {
  background-color: var(--lz-forest) !important;
  color: #fff !important;
}

body.luzori-center .list-group-item.active {
  background-color: var(--lz-forest) !important;
  border-color: var(--lz-forest) !important;
}

body.luzori-center .custom-option.checked,
body.luzori-center .form-check-input[type='checkbox']:checked {
  border-color: var(--lz-forest) !important;
}

body.luzori-center .switch-input:checked ~ .switch-toggle-slider {
  background: var(--lz-mint-text) !important;
}

/* Floating customizer / leftover purple accents on center */
body.luzori-center .buy-now .btn-buy-now,
body.luzori-center .template-customizer-open-btn {
  background: var(--lz-forest) !important;
  border-color: var(--lz-forest) !important;
}

/* ---------- Breadcrumbs ---------- */
body.luzori-center .lz-breadcrumbs,
body.luzori-center .breadcrumbs-top {
  position: relative;
  z-index: 50;
}

body.luzori-center .breadcrumb-item a {
  color: var(--lz-forest) !important;
  font-weight: 600;
  text-decoration: none !important;
  pointer-events: auto !important;
}

body.luzori-center .breadcrumb-item a:hover {
  color: var(--lz-gold-deep) !important;
}

body.luzori-center .breadcrumb-item.active,
body.luzori-center .breadcrumb-item .lz-crumb-plain {
  color: var(--lz-muted) !important;
  font-weight: 600;
}

body.luzori-center .breadcrumb-item + .breadcrumb-item::before {
  color: var(--lz-gold) !important;
}

/* ==========================================================================

/* ==========================================================================
   Dark theme — html.dark-style
   Keep forest green for sidebar; gold only for accents.
   ========================================================================== */
html.dark-style body.luzori-center {
  --lz-forest: #002b26;
  --lz-forest-soft: #0a3a34;
  --lz-cream: #141824;
  --lz-cream-card: #1c2233;
  --lz-gold: #c5a070;
  --lz-gold-soft: #d4b483;
  --lz-gold-deep: #e8d5b5;
  --lz-muted: #a8b0bf;
  --lz-text: #eef1f6;
  --lz-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
  background: #141824 !important;
  color: var(--lz-text) !important;
}

html.dark-style body.luzori-center .layout-page,
html.dark-style body.luzori-center .content-wrapper,
html.dark-style body.luzori-center .luzori-page,
html.dark-style body.luzori-center .luzori-dashboard {
  background: #141824 !important;
  color: var(--lz-text) !important;
}

html.dark-style body.luzori-center .layout-menu,
html.dark-style body.luzori-center .layout-menu.bg-menu-theme,
html.dark-style body.luzori-center .bg-menu-theme,
html.dark-style body.luzori-center #layout-menu {
  background: #002b26 !important;
  background-color: #002b26 !important;
}

html.dark-style body.luzori-center .layout-menu .menu-link {
  color: rgba(255, 228, 196, 0.92) !important;
}

html.dark-style body.luzori-center .layout-menu .menu-item.active > .menu-link,
html.dark-style body.luzori-center .layout-menu .menu-item.open > .menu-link {
  background: linear-gradient(160deg, #d4b483 0%, #e8d5b5 100%) !important;
  color: #002b26 !important;
}

html.dark-style body.luzori-center .layout-navbar,
html.dark-style body.luzori-center .navbar-detached,
html.dark-style body.luzori-center #layout-navbar {
  background: #1a2030 !important;
  background-color: #1a2030 !important;
}

html.dark-style body.luzori-center .card,
html.dark-style body.luzori-center .lz-form-card,
html.dark-style body.luzori-center .lz-table-card {
  background: #1c2233 !important;
  border-color: #2e364a !important;
  color: var(--lz-text) !important;
}

html.dark-style body.luzori-center h1,
html.dark-style body.luzori-center h2,
html.dark-style body.luzori-center h3,
html.dark-style body.luzori-center h4,
html.dark-style body.luzori-center .lz-page-title {
  color: #e8d5b5 !important;
}

html.dark-style body.luzori-center .form-label,
html.dark-style body.luzori-center label {
  color: #d0d6e2 !important;
}

html.dark-style body.luzori-center .form-control,
html.dark-style body.luzori-center .form-select,
html.dark-style body.luzori-center textarea.form-control {
  background: #141824 !important;
  border: 1px solid #4a556c !important;
  color: #eef1f6 !important;
}

html.dark-style body.luzori-center .form-control:focus,
html.dark-style body.luzori-center .form-select:focus {
  border-color: #c5a070 !important;
  box-shadow: 0 0 0 3px rgba(197, 160, 112, 0.25) !important;
}

html.dark-style body.luzori-center .tab-content,
html.dark-style body.luzori-center .tab-pane {
  background: transparent !important;
  color: var(--lz-text) !important;
}

html.dark-style body.luzori-center .lz-lang-tabs {
  background: linear-gradient(180deg, #252b3d 0%, #1c2233 100%) !important;
  border-color: #3d465c !important;
}

html.dark-style body.luzori-center .lz-lang-tabs .nav-link.active {
  background: #002b26 !important;
  color: #e8d5b5 !important;
}

html.dark-style body.luzori-center table.table thead th {
  background: #252b3d !important;
  color: #d4b483 !important;
}

html.dark-style body.luzori-center table.table tbody td {
  color: #eef1f6 !important;
  border-color: #2a3144 !important;
}

html.dark-style body.luzori-center .lz-action-btn {
  background: #252b3d !important;
  border-color: #3d465c !important;
  color: #d4b483 !important;
}

html.dark-style body.luzori-center .btn-primary,
html.dark-style body.luzori-center .btn-luzori-primary {
  background: #002b26 !important;
  border-color: #002b26 !important;
  color: #e8d5b5 !important;
}

html.dark-style body.luzori-center .btn-luzori-beige {
  background: linear-gradient(90deg, #9a7a4a, #c5a070) !important;
  color: #002b26 !important;
}

html.dark-style body.luzori-center .dropdown-menu {
  background: #1c2233 !important;
  border-color: #3d465c !important;
}

html.dark-style body.luzori-center .dropdown-item {
  color: #eef1f6 !important;
}

@media (max-width: 1199.98px) {
  html.dark-style.layout-navbar-fixed body.luzori-center #layout-navbar,
  html.dark-style.layout-navbar-fixed body.luzori-center .layout-navbar.navbar-detached {
    background: #1a2030 !important;
    background-color: #1a2030 !important;
  }
}

/* Dark text contrast — forest green only on solid BG, not body text */
html.dark-style body.luzori-center .lz-page-title,
html.dark-style body.luzori-center .lz-stat-value,
html.dark-style body.luzori-center .card-header h2,
html.dark-style body.luzori-center .card-header h4,
html.dark-style body.luzori-center a:not(.btn):not(.menu-link):not(.dropdown-item):not(.page-link):not(.nav-link),
html.dark-style body.luzori-center .breadcrumb-item a,
html.dark-style body.luzori-center .footer,
html.dark-style body.luzori-center .footer a,
html.dark-style body.luzori-center .dataTables_wrapper .dataTables_info,
html.dark-style body.luzori-center .lz-action-btn,
html.dark-style body.luzori-center .text-primary {
  color: #e8d5b5 !important;
}

html.dark-style body.luzori-center .form-label,
html.dark-style body.luzori-center label:not(.btn):not(.switch),
html.dark-style body.luzori-center .text-muted,
html.dark-style body.luzori-center .breadcrumb-item.active {
  color: #c5ccd8 !important;
}

html.dark-style body.luzori-center .btn-luzori-beige,
html.dark-style body.luzori-center .layout-menu .menu-item.active > .menu-link {
  color: #002b26 !important;
}

html.dark-style body.luzori-center .layout-menu .menu-link {
  color: rgba(255, 228, 196, 0.92) !important;
}


/* LIGHT MODE LOCK */
html:not(.dark-style) body.luzori-center {
  --lz-forest: #002b26;
  --lz-cream: #f9f6f1;
  --lz-text: #1a2a27;
  background: #f9f6f1 !important;
  color: #1a2a27 !important;
}
html:not(.dark-style) body.luzori-center .layout-menu,
html:not(.dark-style) body.luzori-center .bg-menu-theme,
html:not(.dark-style) body.luzori-center #layout-menu {
  background: #002b26 !important;
  background-color: #002b26 !important;
}
html:not(.dark-style) body.luzori-center .layout-menu .menu-link {
  color: rgba(255, 228, 196, 0.92) !important;
}
html:not(.dark-style) body.luzori-center .layout-menu .menu-item.active > .menu-link {
  color: #002b26 !important;
}
html:not(.dark-style) body.luzori-center .card,
html:not(.dark-style) body.luzori-center .lz-table-card,
html:not(.dark-style) body.luzori-center .lz-form-card {
  background: #fff !important;
  color: #1a2a27 !important;
}
html:not(.dark-style) body.luzori-center .lz-page-title,
html:not(.dark-style) body.luzori-center .breadcrumb-item a {
  color: #002b26 !important;
}
html:not(.dark-style) body.luzori-center table.table thead th {
  background: #f7f2ea !important;
  color: #002b26 !important;
}
html:not(.dark-style) body.luzori-center table.table tbody td {
  color: #1a2a27 !important;
}
html:not(.dark-style) body.luzori-center .form-control,
html:not(.dark-style) body.luzori-center .form-select {
  background: #fff !important;
  color: #1a2a27 !important;
  border-color: #e5ddd2 !important;
}
html:not(.dark-style) body.luzori-center .btn-primary {
  background: #002b26 !important;
  color: #fff !important;
}

/* ==========================================================================
   Mobile: lock horizontal rubber-band / bounce (Center)
   ========================================================================== */
html:has(body.luzori-center),
html:has(body.luzori-center) body,
body.luzori-center {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-x: none !important;
  max-width: 100% !important;
}

body.luzori-center .layout-wrapper,
body.luzori-center .layout-container,
body.luzori-center .layout-page,
body.luzori-center .content-wrapper,
body.luzori-center .container-p-y,
body.luzori-center .luzori-page {
  overflow-x: hidden !important;
  overscroll-behavior-x: none !important;
  max-width: 100% !important;
}

@media (max-width: 1199.98px) {
  /* Document scroll. Nested overflow:hidden was clipping the page and blocking touch. */
  html:has(body.luzori-center),
  html:has(body.luzori-center) body,
  body.luzori-center {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    touch-action: auto !important;
  }

  body.luzori-center .layout-wrapper,
  body.luzori-center .layout-container,
  body.luzori-center .layout-page,
  body.luzori-center .layout-page > .content-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    flex: none !important;
  }

  /* Drop the sidebar gutter so content uses the full phone width */
  body.luzori-center .layout-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.luzori-center .content-wrapper > .container-fluid,
  body.luzori-center .content-wrapper > .container-xxl,
  body.luzori-center .container-p-y {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }
  body.luzori-center .content-wrapper > .container-fluid,
  body.luzori-center .content-wrapper > .container-xxl,
  body.luzori-center .container-p-y {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
  }

  /* DataTables: allow horizontal swipe inside table wrappers */
  body.luzori-center .lz-table-card .card-body {
    max-width: 100%;
    min-width: 0;
  }
  body.luzori-center .lz-table-card .table-responsive {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y !important;
  }
  body.luzori-center .lz-table-card table.dataTable,
  body.luzori-center .lz-table-card .table {
    min-width: 560px;
  }

  /* Notifications dropdown — mobile panel under navbar */
  body.luzori-center .lz-notif-dropdown {
    position: static !important;
  }
  body.luzori-center .lz-notif-menu.dropdown-menu {
    position: fixed !important;
    top: 3.875rem !important;
    left: 0.5rem !important;
    right: 0.5rem !important;
    inset-inline: 0.5rem !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: calc(100dvh - 4.5rem) !important;
    margin: 0 !important;
    border-radius: 14px !important;
    border: 1px solid #e8dccb !important;
    box-shadow: 0 12px 32px rgba(0, 43, 38, 0.18) !important;
    overflow: hidden !important;
    flex-direction: column !important;
    z-index: 1090 !important;
    padding: 0 !important;
  }
  body.luzori-center .lz-notif-menu.dropdown-menu.show {
    display: flex !important;
  }
  body.luzori-center .lz-notif-menu .dropdown-menu-header,
  body.luzori-center .lz-notif-menu .dropdown-menu-footer {
    flex: 0 0 auto;
  }
  body.luzori-center .lz-notif-list.dropdown-notifications-list,
  body.luzori-center .lz-notif-list.scrollable-container {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 11rem) !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
  }
  body.luzori-center .lz-notif-list.ps {
    overflow-y: auto !important;
  }
  body.luzori-center .lz-notif-list .ps__rail-x,
  body.luzori-center .lz-notif-list .ps__rail-y {
    display: none !important;
  }
  body.luzori-center .lz-notif-menu .dropdown-notifications-item {
    padding: 0.85rem 1rem !important;
  }
  body.luzori-center .lz-notif-menu .dropdown-notifications-item h6 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem !important;
  }
  body.luzori-center .lz-notif-menu .dropdown-notifications-item p {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.15rem !important;
  }
}