/* ===== Sidebar collapsed = icon-only: text hide, icons + U-connect logo stay ===== */
body.hide-sidebar:not(.show-sidebar) #menu {
  width: 60px !important;
  margin-left: 0 !important;
  padding-left: 0;
  padding-right: 0;
  overflow: visible !important;
  z-index: 1100;
}
/* Setup panel open hone par bhi collapsed sidebar upar rahe (piche na jaye); panel 60px ke baad, right shadow */
body.hide-sidebar:not(.show-sidebar) #setup-menu-wrapper {
  left: 60px !important;
  width: 230px !important;
  z-index: 100 !important;
  box-shadow: 6px 0 16px rgba(0, 0, 0, 0.12);
}
body.hide-sidebar:not(.show-sidebar) #setup-menu-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: -8px;
  width: 8px;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.06), transparent);
  pointer-events: none;
}
[dir="rtl"].hide-sidebar:not(.show-sidebar) #setup-menu-wrapper {
  left: auto !important;
  right: 60px !important;
  box-shadow: -6px 0 16px rgba(0, 0, 0, 0.12);
}
[dir="rtl"].hide-sidebar:not(.show-sidebar) #setup-menu-wrapper::after {
  right: auto;
  left: -8px;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.06), transparent);
}
body.hide-sidebar:not(.show-sidebar) #menu #side-menu {
  overflow: visible !important;
}
body.hide-sidebar:not(.show-sidebar) #wrapper {
  margin-left: 60px !important;
}
body.hide-sidebar:not(.show-sidebar) #header {
  margin-left: 60px !important;
}
/* Collapsed: hide arrow, badge; submenu = right-side flyout (sirf click pe) */
body.hide-sidebar:not(.show-sidebar) #menu .sub-menu-text,
body.hide-sidebar:not(.show-sidebar) #menu .fa.arrow,
body.hide-sidebar:not(.show-sidebar) #menu .badge {
  display: none !important;
}
/* Submenu flyout: hide bar icon text jesa hi glass effect */
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level {
  display: flex !important;
  position: absolute !important;
  left: 100% !important;
  top: 0 !important;
  margin-left: 6px !important;
  padding: 6px 8px !important;
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.25) inset !important;
  z-index: 99999 !important;
  list-style: none !important;
  height: auto !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 0 !important;
  min-width: 200px !important;
  text-align: left !important;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92) translateX(-6px);
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Flyout dikhao: sirf hover pe */
body.hide-sidebar:not(.show-sidebar) #menu #side-menu > li:hover .nav-second-level {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) translateX(0) !important;
  pointer-events: auto !important;
  transition: opacity 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level.collapsing {
  height: auto !important;
  overflow: visible !important;
}
/* Flyout heading: hide icon text jesa color */
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level .flyout-heading {
  display: block !important;
  text-align: center;
  padding: 10px 12px 8px;
  margin: 0 0 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
  pointer-events: none;
}
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level .flyout-heading:empty {
  display: none !important;
}
/* Expanded sidebar me flyout heading na dikhe */
body:not(.hide-sidebar) #menu .nav-second-level .flyout-heading {
  display: none !important;
}
/* Options vertical: light glass item style, blue text (Dashboard jaisa) */
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level li {
  display: block !important;
  margin: 0 !important;
}
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level li a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 8px 12px !important;
  color: #2563eb !important;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  margin: 2px 0;
  white-space: nowrap;
  gap: 10px;
  background: transparent;
  box-shadow: none;
}
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level li a .menu-icon {
  margin-right: 8px !important;
  color: #2563eb;
}
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level .sub-menu-text {
  display: inline !important;
  color: #2563eb !important;
}
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level li a:hover,
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level li a:focus {
  background: rgba(255, 255, 255, 0.35) !important;
  color: #2563eb !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.25) inset !important;
}
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level li a:hover .menu-icon,
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level li a:focus .menu-icon {
  color: #2563eb;
}
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level li.active a {
  background: rgba(255, 255, 255, 0.35) !important;
  color: #2563eb !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.25) inset !important;
}
body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level li.active a .menu-icon {
  color: #2563eb;
}
/* Menu item text: hidden by default, show only when that row is hovered (Dashboard / WhatsApp / Mailbox etc.) */
body.hide-sidebar:not(.show-sidebar) #menu #side-menu > li {
  position: relative;
}
body.hide-sidebar:not(.show-sidebar) #menu #side-menu > li > a .menu-text {
  display: block !important;
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #2563eb;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 15px;
  z-index: 9999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(255,255,255,0.25) inset;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
body.hide-sidebar:not(.show-sidebar) #menu #side-menu > li:hover > a .menu-text {
  opacity: 1;
  visibility: visible;
}
/* Icons ek line me align – sab same height, center */
body.hide-sidebar:not(.show-sidebar) #menu #side-menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-left: 0;
  padding-right: 0;
  width: 60px;
  margin: 0;
}
body.hide-sidebar:not(.show-sidebar) #menu #side-menu > li {
  display: block;
  margin: 0;
  padding: 0;
  min-height: 40px;
}
body.hide-sidebar:not(.show-sidebar) #menu.sidebar li a {
  padding: 10px 0;
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
  margin: 0 4px;
  border-radius: 6px;
}
body.hide-sidebar:not(.show-sidebar) #menu.sidebar li a i.menu-icon {
  margin: 0 !important;
  float: none !important;
  display: block !important;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 18px;
}
/* Selected/active icon: flyout jesa glass – sirf tab jab koi dusra hover na ho */
body.hide-sidebar:not(.show-sidebar) #menu.sidebar li.active > a {
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 6px;
  margin: 0 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.25) inset !important;
}
body.hide-sidebar:not(.show-sidebar) #menu.sidebar li.active > a i.menu-icon {
  width: 22px;
  height: 22px;
  line-height: 22px;
  font-size: 18px !important;
  opacity: 0.99;
}
/* Cursor icon par aaye to hover = glass selected; icon colour same hi rehne do */
body.hide-sidebar:not(.show-sidebar) #menu.sidebar li > a:hover,
body.hide-sidebar:not(.show-sidebar) #menu.sidebar li > a:focus {
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 6px;
  margin: 0 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.25) inset !important;
}
/* Jab kisi aur icon par hover ho to current page (li.active) ka highlight hata do – sirf hover wala dikhe */
body.hide-sidebar:not(.show-sidebar) #menu #side-menu:hover > li.active:not(:hover) > a {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none !important;
}
body.hide-sidebar:not(.show-sidebar) #menu #side-menu:hover > li.active:not(:hover) > a i.menu-icon {
  width: 22px;
  height: 22px;
  line-height: 22px;
  font-size: 18px !important;
}
/* Collapsed: logo ki jagah favicon dikhao, same line me */
body.hide-sidebar:not(.show-sidebar) #menu #side-menu > li:first-child {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.hide-sidebar:not(.show-sidebar) #menu #logo {
  display: flex !important;
  padding: 8px 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
}
body.hide-sidebar:not(.show-sidebar) #menu #logo .sidebar-logo-img {
  display: none !important;
}
body.hide-sidebar:not(.show-sidebar) #menu #logo .sidebar-favicon-img {
  display: block !important;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}
/* Expanded: favicon chhupao */
#menu #logo .sidebar-favicon-img {
  display: none !important;
}
[dir="rtl"].hide-sidebar:not(.show-sidebar) #menu {
  width: 60px !important;
  margin-right: 0;
  margin-left: auto;
  padding-left: 0;
  padding-right: 0;
}
[dir="rtl"].hide-sidebar:not(.show-sidebar) #wrapper {
  margin-right: 60px !important;
  margin-left: 0;
}
[dir="rtl"].hide-sidebar:not(.show-sidebar) #header {
  margin-right: 60px;
  margin-left: 0;
}
/* RTL: hover pe naam left side dikhe */
[dir="rtl"].hide-sidebar:not(.show-sidebar) #menu #side-menu > li > a .menu-text {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 8px;
}
[dir="rtl"].hide-sidebar:not(.show-sidebar) #menu #side-menu > li:hover > a .menu-text {
  opacity: 1;
  visibility: visible;
}

/* ===== Hide bar: responsive for all screen sizes ===== */
/* Tablet / small desktop: flyout fits viewport */
@media (max-width: 1199px) {
  body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level {
    max-width: calc(100vw - 80px) !important;
  }
  body.hide-sidebar:not(.show-sidebar) #setup-menu-wrapper {
    width: 200px !important;
    max-width: calc(100vw - 68px) !important;
  }
}
@media (max-width: 991px) {
  body.hide-sidebar:not(.show-sidebar) #menu {
    width: 56px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #wrapper {
    margin-left: 56px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #header {
    margin-left: 56px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #setup-menu-wrapper {
    left: 56px !important;
    width: 200px !important;
    max-width: calc(100vw - 64px) !important;
  }
  body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level {
    min-width: 180px !important;
    max-width: calc(100vw - 72px) !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #wrapper {
    margin-right: 56px !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #header {
    margin-right: 56px !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #setup-menu-wrapper {
    left: auto !important;
    right: 56px !important;
  }
}
/* Mobile: touch-friendly targets, flyout within screen */
@media (max-width: 768px) {
  body.hide-sidebar:not(.show-sidebar) #menu {
    width: 52px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #wrapper {
    margin-left: 52px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #header {
    margin-left: 52px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #setup-menu-wrapper {
    left: 52px !important;
    width: 180px !important;
    max-width: calc(100vw - 60px) !important;
  }
  body.hide-sidebar:not(.show-sidebar) #menu #side-menu > li > a {
    min-height: 44px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #menu #side-menu > li:first-child {
    min-height: 48px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #menu #logo {
    min-height: 48px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #menu #logo .sidebar-favicon-img {
    max-width: 28px !important;
    max-height: 28px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level {
    min-width: 160px !important;
    max-width: calc(100vw - 64px) !important;
    margin-left: 4px !important;
    padding: 6px 6px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level li a {
    padding: 10px 12px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
  }
  body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level .flyout-heading {
    padding: 8px 10px 6px !important;
    font-size: 12px !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #menu {
    width: 52px !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #wrapper {
    margin-right: 52px !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #header {
    margin-right: 52px !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #setup-menu-wrapper {
    right: 52px !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #menu .nav-second-level {
    margin-left: 0 !important;
    margin-right: 4px !important;
  }
}
/* Small phone: compact bar, flyout full usable width */
@media (max-width: 576px) {
  body.hide-sidebar:not(.show-sidebar) #menu {
    width: 48px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #wrapper {
    margin-left: 48px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #header {
    margin-left: 48px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #setup-menu-wrapper {
    left: 48px !important;
    width: 160px !important;
    max-width: calc(100vw - 56px) !important;
  }
  body.hide-sidebar:not(.show-sidebar) #menu #logo .sidebar-favicon-img {
    max-width: 24px !important;
    max-height: 24px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level {
    min-width: 140px !important;
    max-width: calc(100vw - 56px) !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #menu {
    width: 48px !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #wrapper {
    margin-right: 48px !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #header {
    margin-right: 48px !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #setup-menu-wrapper {
    right: 48px !important;
  }
}
/* Extra small: ensure nothing overflows */
@media (max-width: 380px) {
  body.hide-sidebar:not(.show-sidebar) #menu {
    width: 44px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #wrapper {
    margin-left: 44px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #header {
    margin-left: 44px !important;
  }
  body.hide-sidebar:not(.show-sidebar) #setup-menu-wrapper {
    left: 44px !important;
    max-width: calc(100vw - 50px) !important;
  }
  body.hide-sidebar:not(.show-sidebar) #menu .nav-second-level {
    max-width: calc(100vw - 50px) !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #wrapper {
    margin-right: 44px !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #header {
    margin-right: 44px !important;
  }
  [dir="rtl"].hide-sidebar:not(.show-sidebar) #setup-menu-wrapper {
    right: 44px !important;
  }
}

/* ===== Dashboard + Leads: glass effect (panel-body), background gradient ===== */
body #wrapper .content:has([data-container]) {
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%, #f8fafc 100%) !important;
}
#wrapper .content [data-container] .widget .panel_s {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.26) 8%, rgba(255, 255, 255, 0.15) 25%, rgba(255, 255, 255, 0.1) 100%) !important;
  backdrop-filter: blur(36px) saturate(190%) brightness(1.05) contrast(0.97) !important;
  -webkit-backdrop-filter: blur(36px) saturate(190%) brightness(1.05) contrast(0.97) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 14px 56px -6px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 6px 20px -4px rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.06) !important;
  border-radius: 20px !important;
}
#wrapper .content .panel_s:has(.panel-body.padding-10),
#wrapper .content .panel_s:has(.panel-body.padding-15) {
  background: transparent !important;
}
#wrapper .content .panel_s .panel-body.padding-10,
#wrapper .content .panel_s .panel-body.padding-15 {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.26) 8%, rgba(255, 255, 255, 0.15) 25%, rgba(255, 255, 255, 0.1) 100%) !important;
  backdrop-filter: blur(36px) saturate(190%) brightness(1.05) contrast(0.97) !important;
  -webkit-backdrop-filter: blur(36px) saturate(190%) brightness(1.05) contrast(0.97) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 14px 56px -6px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 6px 20px -4px rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.06) !important;
  border-radius: 20px !important;
}
#wrapper .content .panel_s.todo-panel,
#wrapper .content .panel_s.todo-panel .panel-body.padding-10 {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.26) 8%, rgba(255, 255, 255, 0.15) 25%, rgba(255, 255, 255, 0.1) 100%) !important;
  backdrop-filter: blur(36px) saturate(190%) brightness(1.05) contrast(0.97) !important;
  -webkit-backdrop-filter: blur(36px) saturate(190%) brightness(1.05) contrast(0.97) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 14px 56px -6px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 6px 20px -4px rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.06) !important;
  border-radius: 20px !important;
}
#wrapper .content .panel_s .panel-body { color: #334155; }
#wrapper .content .panel_s .panel-body h4,
#wrapper .content .panel_s .panel-body a { color: inherit; text-shadow: 0 0 0 transparent; }
/* Leads tab: same background + glass on leads box */
body #wrapper .content:has(#leads-table) {
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%, #f8fafc 100%) !important;
}
body #wrapper .content:has(#leads-table) .panel_s {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.26) 8%, rgba(255, 255, 255, 0.15) 25%, rgba(255, 255, 255, 0.1) 100%) !important;
  backdrop-filter: blur(36px) saturate(190%) brightness(1.05) contrast(0.97) !important;
  -webkit-backdrop-filter: blur(36px) saturate(190%) brightness(1.05) contrast(0.97) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 14px 56px -6px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 6px 20px -4px rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.06) !important;
  border-radius: 20px !important;
}
body #wrapper .content:has(#leads-table) .panel_s .panel-body {
  background: transparent !important;
}

/* Mailbox module: same background + glass on left panel (compose + tabs) and right panel (mail list) */
body #wrapper .content:has(#ref_count) {
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%, #f8fafc 100%) !important;
}
body #wrapper .content:has(#ref_count) .panel_s {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.26) 8%, rgba(255, 255, 255, 0.15) 25%, rgba(255, 255, 255, 0.1) 100%) !important;
  backdrop-filter: blur(36px) saturate(190%) brightness(1.05) contrast(0.97) !important;
  -webkit-backdrop-filter: blur(36px) saturate(190%) brightness(1.05) contrast(0.97) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 14px 56px -6px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 6px 20px -4px rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.06) !important;
  border-radius: 20px !important;
}
body #wrapper .content:has(#ref_count) .panel_s .panel-body {
  background: transparent !important;
}
body #wrapper .content:has(#ref_count) .panel_s .panel-body,
body #wrapper .content:has(#ref_count) .panel_s .panel-body h4,
body #wrapper .content:has(#ref_count) .panel_s .panel-body a {
  color: #334155;
}
body #wrapper .content:has(#ref_count) .panel_s .panel-body a {
  color: inherit;
  text-shadow: 0 0 0 transparent;
}

.usefullmenu:hover .dropdown-menu {display: block;}
.cursor-pointer {cursor: pointer;}
ul.dropdown-menu>.active>a, ul.dropdown-menu>.active>a:focus, ul.dropdown-menu>.active>a:hover, ul.dropdown-menu>li>a:hover, #sms_list_program>li.notification-wrapper>.text-muted:hover {
  --tw-bg-opacity: 1;
  --tw-text-opacity: 1;
  background-color: rgb(85 107 241);
  color: rgb(255 255 255);
}

/* ===== Notification box – improved design ===== */
.dropdown-menu.notifications {
  padding: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
  min-width: 320px;
  max-width: 380px;
  overflow: hidden;
}
.dropdown-menu.notifications > div:first-child {
  padding: 12px 16px !important;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}
.dropdown-menu.notifications > div:first-child a {
  font-size: 13px;
  font-weight: 600;
  color: rgb(85 107 241) !important;
  text-decoration: none;
  transition: color 0.15s ease;
}
.dropdown-menu.notifications > div:first-child a:hover {
  color: rgb(67 91 227) !important;
  text-decoration: underline;
}
.dropdown-menu.notifications li.divider {
  margin: 0 !important;
  height: 1px;
  background: #e2e8f0;
  border: none;
}
.dropdown-menu.notifications li.notification-wrapper {
  margin: 0;
  list-style: none;
  border: none;
  position: relative;
}
.dropdown-menu.notifications li.notification-wrapper .notification-handler {
  display: block;
  text-decoration: none;
  color: inherit;
  background: transparent !important;
  transition: background 0.15s ease;
}
.dropdown-menu.notifications li.notification-wrapper .notification-handler:hover,
.dropdown-menu.notifications li.notification-wrapper .notification-handler:focus {
  background: transparent !important;
  color: inherit !important;
}
.dropdown-menu.notifications li.notification-wrapper .notification-box {
  padding: 12px 16px !important;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 3px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.dropdown-menu.notifications li.notification-wrapper .notification-box img.notification-image {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  border-radius: 10px !important;
  object-fit: cover;
  margin: 0 !important;
  border: 1px solid #e2e8f0;
}
.dropdown-menu.notifications li.notification-wrapper .notification-box .media-body-1111 {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.4;
}
.dropdown-menu.notifications li.notification-wrapper .notification-box .notification-title {
  display: block;
  color: #1e293b;
  font-weight: 500;
  margin-bottom: 4px;
}
.dropdown-menu.notifications li.notification-wrapper .notification-box .text-muted,
.dropdown-menu.notifications li.notification-wrapper .notification-box .tw-text-sm.text-muted {
  font-size: 12px !important;
  color: #64748b !important;
}
.dropdown-menu.notifications li.notification-wrapper .notification-handler:hover .notification-box,
.dropdown-menu.notifications li.notification-wrapper .notification-handler:focus .notification-box {
  background: #f8fafc !important;
}
.dropdown-menu.notifications li.notification-wrapper .notification-handler:hover .notification-box .notification-title,
.dropdown-menu.notifications li.notification-wrapper .notification-handler:hover .notification-box .text-muted {
  color: inherit !important;
}
.dropdown-menu.notifications li.notification-wrapper .unread-notification .notification-box {
  background: rgba(85, 107, 241, 0.06) !important;
  border-left-color: rgb(85 107 241);
}
.dropdown-menu.notifications li.notification-wrapper .unread-notification:hover .notification-box {
  background: rgba(85, 107, 241, 0.1) !important;
}
.dropdown-menu.notifications li.notification-wrapper .not-mark-as-read-inline {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px;
  color: rgb(85 107 241);
  opacity: 0.7;
  transition: opacity 0.15s ease;
}
.dropdown-menu.notifications li.notification-wrapper .not-mark-as-read-inline:hover {
  opacity: 1;
  color: rgb(67 91 227);
}
.dropdown-menu.notifications li.notification-wrapper .not-mark-as-read-inline small {
  font-size: 14px;
}
.dropdown-menu.notifications > div.tw-text-center {
  padding: 14px 16px !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0;
}
.dropdown-menu.notifications > div.tw-text-center .btn-default {
  background: #fff !important;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-weight: 500;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.dropdown-menu.notifications > div.tw-text-center .btn-default:hover {
  background: rgb(85 107 241) !important;
  border-color: rgb(85 107 241);
  color: #fff !important;
}
.dropdown-menu.notifications > div.tw-text-center p.tw-text-neutral-500 {
  font-size: 13px;
}
[dir="rtl"] .dropdown-menu.notifications li.notification-wrapper .notification-box {
  border-left: none;
  border-right: 3px solid transparent;
}
[dir="rtl"] .dropdown-menu.notifications li.notification-wrapper .unread-notification .notification-box {
  border-right-color: rgb(85 107 241);
}
[dir="rtl"] .dropdown-menu.notifications li.notification-wrapper .notification-box img.notification-image {
  margin: 0 !important;
}
[dir="rtl"] .dropdown-menu.notifications li.notification-wrapper .not-mark-as-read-inline {
  right: auto;
  left: 12px;
}

span.bold.unread {
    font-weight: 700;
}

.crm-dt-bottom {
    display: flex;
    justify-content: space-between;
}

div.dataTables_wrapper div.crm-dt-top div.dataTables_filter {
    float: right;
}

.hrms-status-box {
    box-shadow: 0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2);
    border-radius: .25rem;
    background-color: #fff;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1rem;
    /* min-height: 80px; */
    padding: .5rem;
    position: relative;
    width: 100%;
}

.hrms-status-box h3 {
    margin-top: 0px;
}

span.text-left.bold.customizer-heading {
    color: #334155;
}
#staff_docs_accordion > .panel-default > .panel-heading,
#interview_docs_accordion > .panel-default > .panel-heading {
    padding: 0;
    border-radius: 0;
    background-color: #FAFAFA;
}
#staff_docs_accordion .panel-title > a,
#interview_docs_accordion .panel-title > a {
    display: block;
    padding: 10px;
    text-decoration: none;
}
#staff_docs_accordion a[aria-expanded="true"],
#interview_docs_accordion a[aria-expanded="true"] {
    color: #012fff;
}

.doc-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    /* padding: 20px; */
  }

  .doc-tile {
    width: 120px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .doc-tile img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
  }

  .doc-tile .file-name {
    margin-top: 8px;
    font-size: 14px;
    color: #012fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .doc-tile .delete-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
  }

  .doc-tile:hover .delete-icon {
    opacity: 1;
  }

.hrms.dashborad-birthday-box {
  min-height: 400px;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom Scrollbar Styles */
.hrms.dashborad-birthday-box::-webkit-scrollbar {
  width: 10px;              /* Scrollbar width */
}

.hrms.dashborad-birthday-box::-webkit-scrollbar-track {
  background: #f1f1f1;      /* Track background */
  border-radius: 10px;      /* Rounded corners for track */
}

.hrms.dashborad-birthday-box::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #6b73ff, #000dff); /* Gradient scrollbar */
  border-radius: 10px;      /* Rounded corners */
  border: 2px solid #f1f1f1; /* Border around scrollbar thumb */
}

.hrms.dashborad-birthday-box::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #6b73ff, #4b5cff); /* Hover effect */
}

.crm-profile-image-medium {
  height: 100px;
  width: 100px;
  border-radius: 50%;
}

.crm-tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.crm-tooltip {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #6483e9;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  /* white-space: pre-wrap; */
  z-index: 1000;
  width: fit-content;
  max-width: 200px;
  text-align: left;
}

.crm-tooltip-wrapper:hover .crm-tooltip {
  display: block;
}

.crm-salary-slip {
  margin: 20px auto;
  width: 80%;
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
}
.crm-salary-slip h3 {
  margin-bottom: 20px;
  color: #007bff;
}
.table.crm-salary-table {
  margin-top: 20px;
  width: 100%;
  background: #f9f9f9;
}
.table.crm-salary-table th, .table.crm-salary-table td {
  padding: 10px;
  font-size: 14px;
}
.table.crm-salary-table thead tr.table-primary th {
  background-color: #e3f2fd;
  font-weight: bold;
}
.table.crm-salary-table tfoot tr.table-secondary th,
.table.crm-salary-table tfoot tr.table-success th {
  background-color: #dff0d8;
  font-weight: bold;
}
.crm-salary-slip p {
  margin: 5px 0;
}

/* --------------------------- */
body.fullscreen-active {
  overflow: hidden;
}
#meetingFullscreenOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 9999;
}
#meetingFullscreenOverlay button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.txt-success {
  color: rgb(34 197 94/var(--tw-bg-opacity));
}
.txt-danger {
  color: rgb(220 38 38 / var(--tw-border-opacity));
}
.txt-info {
  color: rgb(2 132 199/var(--tw-bg-opacity));
}

.ul-num {
  list-style: 'num';
}
.crm-mailbox-pwd-info b {
  font-weight: 700;
}
#accountStatusDiv {
  border: 1px solid #cdcccc;
  padding: 15px 5px;
  border-radius: 0.375rem;
  background: #f5f5f5;
  width: 100%;
  display: flow-root;
}
.accountDetailDiv {
  display: table;
  /* border: 1px solid #b9bbbc; */
  border-radius: 0.375rem;
  margin-bottom: 5px;
  width: 100%;
}
textarea {
  resize: vertical;
}

/* ************* */
div#luckysheet-scrollbar-x::-webkit-scrollbar-track {
  background: yellow;
}
/* whatsapp image preveiw in single template */
div#imagePrev {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
#imagePrev img.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* --------------------------------- */
.no-mouse {
  pointer-events: none;
}
.form-divider-heading {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-bottom: 1px solid #d8d8d8;
}
.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ellipsis-10 {
  width: 10ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}
@media (max-width: 1370px) {
  .hb {
    font-size: 18px;
  }
}
/* mobile screen */
@media (max-width: 768px) {
  .hb {
    font-size: 18px;
  }
}

/* very small screen */
@media (max-width: 480px) {
  .hb {
    font-size: 14px;
  }
}