.cursor-pointer {
  cursor: pointer;
}

p.parsley-success {
  color: #ea5455;
  background-color: #DFF0D8;
  border: 1px solid #ea5455;
  font-size: 0.857rem;
}

p.parsley-error {
  color: #ea5455;
  background-color: #F2DEDE;
  border: 1px solid #ea5455;
  font-size: 0.857rem;
}

ul.parsley-errors-list {
  list-style: none;
  color: #ea5455;
  padding-left: 0;
  font-size: 0.857rem;
}

input.parsley-error,
textarea.parsley-error,
select.parsley-error {
  /*background: #FAEDEC;*/
  border: 1px solid #ea5455 !important;
  /*border-bottom: 1px solid #E85445;*/
  font-size: 0.857rem;
}

.btn-group .parsley-errors-list {
  display: none;
}

.menu .app-brand {
  height: 64px;
}

.iti {
  width: 100% !important;
}

.layout-wrapper {
  position: absolute;
}

.file-upload {
  position: relative;
  overflow: hidden;
  margin: 10px;
}

.file-upload input.upload {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
}

.crop-box {
  position: relative;
  height: 400px;
  width: 100%;
  background: #fff;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  cursor: move;
}

.crop-box .thumb-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-top: -100px;
  margin-left: -100px;
  box-sizing: border-box;
  box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.5);
  background: none repeat scroll 0% 0% transparent;
}

.crop-box .spinner {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  line-height: 400px;
  background: rgba(0, 0, 0, 0.7);
}

.state-loading {
  position: relative
}

.state-loading::before {
  content: " ";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: -2px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99
}

.state-loading::after {
  display: inline-block;
  font-family: tabler-icons;
  font-kerning: auto;
  line-height: 35px;
  font-size: 35px;
  font-style: normal;
  font-synthesis: weight style;
  font-weight: normal;
  animation: 2s linear 0s normal none infinite running fa-spin;
  color: #fff;
  content: "\eca3";
  left: 50%;
  position: absolute;
  text-align: center;
  top: 50%;
  z-index: 100;
  margin-top: -10px;
  margin-left: -10px
}

.mobile-700 {
  min-width: 100% !important;
}

@media only screen and (max-width: 600px) {
  .mobile-700 {
    min-width: 700px !important;
  }
}

/* ==========================================================================
   GOLDEN, BLACK AND WHITE THEME STYLING
   Sidebar & Topbar Redesign based on Mockup Image
   ========================================================================== */

:root {
  --theme-gold: #dfa724;
  --theme-gold-light: #f3cd64;
  --theme-gold-dark: #b88312;
  --theme-gold-gradient: linear-gradient(90deg, #d4a017 0%, #ebb928 100%);
  --theme-sidebar-bg: #0d0e10;
  --theme-topbar-bg: #000000;
  --theme-dark-surface: #141619;
  --theme-content-bg: #f5f6fa;
  --theme-border-gold: rgba(223, 167, 36, 0.35);
  --theme-border-dark: rgba(255, 255, 255, 0.07);
}

/* --------------------------------------------------------------------------
   GLOBAL LAYOUT & BACKGROUND
   -------------------------------------------------------------------------- */
body,
.layout-page,
.content-wrapper {
  background-color: var(--theme-content-bg) !important;
}

/* --------------------------------------------------------------------------
   TOP NAVBAR (SOLID BLACK BAR FLUSH ACROSS TOP)
   -------------------------------------------------------------------------- */
.layout-navbar,
.layout-navbar.navbar-detached,
.layout-navbar.container-xxl,
.bg-navbar-theme {
  background-color: var(--theme-topbar-bg) !important;
  background: #000000 !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 64px !important;
  min-height: 64px !important;
  padding: 0 1.5rem !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45) !important;
  border-bottom: 1px solid rgba(223, 167, 36, 0.25) !important;
  z-index: 1075 !important;
}

.layout-navbar-fixed .layout-navbar,
.layout-navbar-fixed .layout-navbar.navbar-detached {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 16.25rem !important;
  width: calc(100% - 16.25rem) !important;
  max-width: calc(100% - 16.25rem) !important;
}

.layout-navbar-fixed.layout-menu-collapsed .layout-navbar,
.layout-navbar-fixed.layout-menu-collapsed .layout-navbar.navbar-detached {
  left: 5.25rem !important;
  width: calc(100% - 5.25rem) !important;
  max-width: calc(100% - 5.25rem) !important;
}

@media (max-width: 1199.98px) {
  .layout-navbar,
  .layout-navbar.navbar-detached,
  .layout-navbar.container-xxl,
  .layout-navbar.navbar-detached.container-xxl,
  .layout-navbar-fixed .layout-navbar,
  .layout-navbar-fixed .layout-navbar.navbar-detached {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    width: 100vw !important;
    max-width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 0 1rem !important;
  }
}

@media (max-width: 991.98px) {
  .layout-navbar,
  .layout-navbar.navbar-detached,
  .layout-navbar.container-xxl,
  .layout-navbar.navbar-detached.container-xxl,
  .layout-navbar-fixed .layout-navbar,
  .layout-navbar-fixed .layout-navbar.navbar-detached {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    width: 100vw !important;
    max-width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 0 0.75rem !important;
  }
}

.layout-navbar-fixed .layout-page:before {
  display: none !important;
}

/* Hamburger Toggle Button (Round White Circle with Black Icon) */
.layout-navbar .layout-menu-toggle.menu-toggle-btn,
.navbar-nav .layout-menu-toggle {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  background-color: #ffffff !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #000000 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
  border: none !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.layout-navbar .layout-menu-toggle.menu-toggle-btn i,
.navbar-nav .layout-menu-toggle i {
  color: #000000 !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.layout-navbar .layout-menu-toggle.menu-toggle-btn:hover,
.navbar-nav .layout-menu-toggle:hover {
  transform: scale(1.06);
  background-color: #f2f2f2 !important;
}

/* Topbar Links Container */
.layout-navbar .navbar-nav {
  gap: 1.5rem !important;
  align-items: center !important;
}

/* Topbar Links (Hello, admin & Logout) */
.layout-navbar .nav-link,
.layout-navbar .dropdown-user>a,
.layout-navbar .topbar-logout-link {
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  cursor: pointer !important;
}

.layout-navbar .nav-link:hover,
.layout-navbar .dropdown-user>a:hover,
.layout-navbar .topbar-logout-link:hover {
  color: var(--theme-gold) !important;
}

.layout-navbar .nav-link i,
.layout-navbar .dropdown-user>a i,
.layout-navbar .topbar-logout-link i {
  color: #ffffff !important;
  font-size: 1.2rem !important;
  transition: color 0.2s ease !important;
}

.layout-navbar .nav-link:hover i,
.layout-navbar .dropdown-user>a:hover i,
.layout-navbar .topbar-logout-link:hover i {
  color: var(--theme-gold) !important;
}

/* Topbar Dropdown Menu */
.layout-navbar .dropdown-menu {
  background-color: var(--theme-dark-surface) !important;
  border: 1px solid var(--theme-border-gold) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important;
  padding: 0.5rem 0 !important;
  min-width: 220px !important;
}

.layout-navbar .dropdown-menu .dropdown-item {
  color: #f1f5f9 !important;
  font-size: 0.88rem !important;
  padding: 0.6rem 1.2rem !important;
  display: flex !important;
  align-items: center !important;
  transition: all 0.2s ease !important;
}

.layout-navbar .dropdown-menu .dropdown-item:hover {
  background-color: rgba(223, 167, 36, 0.15) !important;
  color: var(--theme-gold) !important;
}

.layout-navbar .dropdown-menu .dropdown-item i {
  color: var(--theme-gold) !important;
}

.layout-navbar .dropdown-menu .dropdown-item.text-danger {
  color: #ff5b5c !important;
}

.layout-navbar .dropdown-menu .dropdown-item.text-danger:hover {
  background-color: rgba(255, 91, 92, 0.15) !important;
  color: #ff5b5c !important;
}

.layout-navbar .dropdown-menu .dropdown-item.text-danger i {
  color: #ff5b5c !important;
}

.layout-navbar .dropdown-menu .dropdown-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.text-gold {
  color: var(--theme-gold) !important;
}

/* --------------------------------------------------------------------------
   SIDEBAR (DEEP BLACK WITH GOLD ACCENTS & RIGHT GOLD BORDER)
   -------------------------------------------------------------------------- */
#layout-menu,
.layout-menu.bg-menu-theme {
  background-color: var(--theme-sidebar-bg) !important;
  background: #0d0e10 !important;
  color: #ffffff !important;
  border-right: 2px solid var(--theme-gold) !important;
  box-shadow: 3px 0 15px rgba(0, 0, 0, 0.45) !important;
}

/* Brand Area */
#layout-menu .app-brand {
  background-color: #000000 !important;
  height: 64px !important;
  min-height: 64px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 0 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

#layout-menu .app-brand .app-brand-link {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

#layout-menu .app-brand img {
  max-height: 48px !important;
  width: auto !important;
  object-fit: contain !important;
}

#layout-menu .menu-inner-shadow {
  display: none !important;
}

#layout-menu .menu-inner {
  padding: 0 !important;
  background-color: transparent !important;
}

/* Inactive Menu Items */
#layout-menu .menu-inner>.menu-item {
  margin: 0 !important;
  border-bottom: 1px solid var(--theme-border-dark) !important;
}

#layout-menu .menu-inner>.menu-item>.menu-link {
  margin: 0 !important;
  border-radius: 0 !important;
  padding: 0.8rem 1.25rem !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
  display: flex !important;
  align-items: center !important;
  background-color: transparent !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

#layout-menu .menu-inner>.menu-item>.menu-link:hover {
  background-color: rgba(223, 167, 36, 0.12) !important;
  color: #ffffff !important;
}

/* Golden Menu Icons */
#layout-menu .menu-inner>.menu-item>.menu-link .menu-icon {
  color: var(--theme-gold) !important;
  font-size: 1.25rem !important;
  margin-right: 0.85rem !important;
  width: 1.5rem !important;
  text-align: center !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

#layout-menu .menu-inner>.menu-item>.menu-link:hover .menu-icon {
  color: var(--theme-gold-light) !important;
  transform: scale(1.1);
}

/* Active Menu Item (Rich Metallic Gold Gradient with Pure White Text & Icon) */
#layout-menu .menu-inner>.menu-item.active>.menu-link {
  background: var(--theme-gold-gradient) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(212, 160, 23, 0.35) !important;
}

#layout-menu .menu-inner>.menu-item.active>.menu-link .menu-icon {
  color: #ffffff !important;
}

#layout-menu .menu-inner>.menu-item.active::before {
  display: none !important;
}

/* Submenu Arrow / Toggle Chevron (< or >) */
#layout-menu .menu-toggle::after {
  color: rgba(255, 255, 255, 0.65) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  right: 1.25rem !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

#layout-menu .menu-item.open>.menu-toggle::after {
  border-color: var(--theme-gold) !important;
  color: var(--theme-gold) !important;
}

#layout-menu .menu-item.open>.menu-toggle {
  background-color: rgba(255, 255, 255, 0.04) !important;
}

/* Submenu Styling */
#layout-menu .menu-sub {
  background-color: #060708 !important;
  padding: 0.35rem 0 !important;
  border-left: 2px solid rgba(223, 167, 36, 0.4) !important;
  margin-left: 1.5rem !important;
}

#layout-menu .menu-sub .menu-item {
  margin: 0 !important;
}

#layout-menu .menu-sub .menu-link {
  position: relative !important;
  padding: 0.6rem 1.2rem 0.6rem 2.6rem !important;
  color: #cbd5e1 !important;
  font-size: 0.86rem !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  transition: all 0.2s ease !important;
}

/* Clear golden circular bullet positioned well to the left of the text with generous spacing */
#layout-menu .menu-sub .menu-link::before,
.bg-menu-theme.menu-vertical .menu-sub>.menu-item>.menu-link:before,
.bg-menu-theme.menu-vertical .menu-sub>.menu-item>.menu-link::before {
  content: "" !important;
  position: absolute !important;
  left: 1.1rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 6px !important;
  height: 6px !important;
  min-width: 6px !important;
  max-width: 6px !important;
  border-radius: 50% !important;
  background-color: var(--theme-gold) !important;
  box-shadow: 0 0 5px rgba(223, 167, 36, 0.6) !important;
  border: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  font-family: inherit !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}

#layout-menu .menu-sub .menu-link:hover {
  color: #ffffff !important;
  background-color: rgba(223, 167, 36, 0.12) !important;
  padding-left: 2.85rem !important;
}

#layout-menu .menu-sub .menu-link:hover::before {
  background-color: #ffffff !important;
  box-shadow: 0 0 6px #ffffff !important;
  left: 1.25rem !important;
}

#layout-menu .menu-sub .menu-item.active>.menu-link {
  color: #fff !important;
  font-weight: 600 !important;
  background-color: rgba(223, 167, 36, 0.18) !important;
}

#layout-menu .menu-sub .menu-item.active>.menu-link::before {
  background-color: var(--theme-gold-light) !important;
  box-shadow: 0 0 8px var(--theme-gold) !important;
  transform: translateY(-50%) scale(1.2) !important;
}

#layout-menu .menu-sub .menu-sub .menu-link {
  padding-left: 3.2rem !important;
}

#layout-menu .menu-sub .menu-sub .menu-link::before {
  left: 1.6rem !important;
}

/* Menu Category Headers */
#layout-menu .menu-header {
  padding: 0.85rem 1.25rem 0.35rem !important;
  background-color: #08090a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#layout-menu .menu-header .menu-header-text {
  color: var(--theme-gold) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

/* Scrollbar inside Sidebar */
#layout-menu .ps__rail-y {
  background-color: transparent !important;
}

#layout-menu .ps__thumb-y {
  background-color: rgba(223, 167, 36, 0.3) !important;
  width: 4px !important;
}

#layout-menu .ps__thumb-y:hover {
  background-color: rgba(223, 167, 36, 0.6) !important;
}

/* ==========================================================================
   COLLAPSED SIDEBAR (ICON-ONLY LUXURY GOLDEN & BLACK MINIMIZED VIEW)
   ========================================================================== */

/* Smooth Transitions for Layout Components */
#layout-menu,
.layout-menu.bg-menu-theme {
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease !important;
}

.layout-navbar {
  transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.layout-page {
  transition: padding-left 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 1. Collapsed Sidebar Container (When Not Hovered) */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu,
html.layout-menu-collapsed:not(.layout-menu-hover) .layout-menu.bg-menu-theme {
  width: 5.25rem !important;
  min-width: 5.25rem !important;
  max-width: 5.25rem !important;
  overflow-x: hidden !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) .layout-page {
  padding-left: 5.25rem !important;
}

/* 2. Logo / Brand in Collapsed State */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .app-brand {
  justify-content: center !important;
  padding: 0 !important;
  text-align: center !important;
  overflow: hidden !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .app-brand .app-brand-link {
  justify-content: center !important;
  width: 100% !important;
  padding: 0 0.5rem !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .app-brand img {
  max-height: 38px !important;
  max-width: 38px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  transition: transform 0.25s ease !important;
}

/* 3. Menu Item Container */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner>.menu-item {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  border-bottom: 1px solid var(--theme-border-dark) !important;
  position: relative !important;
}

/* 4. Menu Link: Centered Sleek Rounded Icon Button */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner>.menu-item>.menu-link {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  margin: 6px auto !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  position: relative !important;
  background-color: transparent !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner>.menu-item>.menu-link:hover {
  background: rgba(223, 167, 36, 0.16) !important;
  color: var(--theme-gold-light) !important;
  transform: scale(1.08) !important;
}

/* 5. Menu Icon: Centered, Crisp & Bold */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner>.menu-item>.menu-link .menu-icon {
  margin: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  font-size: 1.38rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  color: var(--theme-gold) !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner>.menu-item>.menu-link:hover .menu-icon {
  color: var(--theme-gold-light) !important;
}

/* 6. Active Menu Item: Glowing Gold Gradient Badge with High-Contrast Pitch Black Icon */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner>.menu-item.active>.menu-link {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border: 1px solid var(--theme-gold) !important;
  box-shadow: 0 3px 12px rgba(223, 167, 36, 0.45) !important;
  border-radius: 10px !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner>.menu-item.active>.menu-link .menu-icon {
  color: #000000 !important;
  font-weight: 700 !important;
}

/* 7. Hide All Text Labels (No text clipping or side overflows) */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner>.menu-item>.menu-link>div,
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner>.menu-item div:not(.menu-block) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* 8. Hide Submenu Toggle Arrows */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-toggle::after {
  display: none !important;
}

/* 9. Hide Submenus Completely (Eliminates misaligned bullets and blue background blocks) */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-sub,
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner>.menu-item>.menu-sub,
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner>.menu-item.open>.menu-sub {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* 10. Menu Category Divider Line */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-header {
  padding: 0.6rem 0.5rem !important;
  background: transparent !important;
  border: none !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-header .menu-header-text {
  display: none !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-header::before {
  content: "" !important;
  display: block !important;
  width: 24px !important;
  height: 2px !important;
  background: rgba(223, 167, 36, 0.35) !important;
  margin: 0 auto !important;
  border-radius: 2px !important;
}

/* ==========================================================================
   HOVER-EXPANSION ON COLLAPSED SIDEBAR (FLOATING OVERLAY DRAWER)
   ========================================================================== */
html.layout-menu-collapsed.layout-menu-hover #layout-menu {
  width: 16.25rem !important;
  min-width: 16.25rem !important;
  max-width: 16.25rem !important;
  z-index: 1080 !important;
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.65), 0 0 15px rgba(223, 167, 36, 0.15) !important;
}

html.layout-menu-collapsed.layout-menu-hover #layout-menu .app-brand {
  padding: 0 1.25rem !important;
  justify-content: flex-start !important;
}

html.layout-menu-collapsed.layout-menu-hover #layout-menu .app-brand img {
  max-height: 48px !important;
  max-width: none !important;
  width: auto !important;
}

html.layout-menu-collapsed.layout-menu-hover #layout-menu .menu-inner>.menu-item {
  display: block !important;
  width: 100% !important;
}

html.layout-menu-collapsed.layout-menu-hover #layout-menu .menu-inner>.menu-item>.menu-link {
  width: auto !important;
  height: auto !important;
  min-width: unset !important;
  max-width: unset !important;
  min-height: unset !important;
  max-height: unset !important;
  padding: 0.8rem 1.25rem !important;
  margin: 0 !important;
  border-radius: 0 !important;
  justify-content: flex-start !important;
}

html.layout-menu-collapsed.layout-menu-hover #layout-menu .menu-inner>.menu-item>.menu-link .menu-icon {
  margin-right: 0.85rem !important;
  width: 1.5rem !important;
  font-size: 1.25rem !important;
  color: var(--theme-gold) !important;
}

html.layout-menu-collapsed.layout-menu-hover #layout-menu .menu-inner>.menu-item.active>.menu-link {
  background: var(--theme-gold-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 8px rgba(212, 160, 23, 0.35) !important;
}

html.layout-menu-collapsed.layout-menu-hover #layout-menu .menu-inner>.menu-item.active>.menu-link .menu-icon {
  color: #ffffff !important;
}

html.layout-menu-collapsed.layout-menu-hover #layout-menu .menu-inner>.menu-item>.menu-link>div {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
}

html.layout-menu-collapsed.layout-menu-hover #layout-menu .menu-toggle::after {
  display: block !important;
}

html.layout-menu-collapsed.layout-menu-hover #layout-menu .menu-sub .menu-item.active>.menu-link {
  color: var(--theme-gold) !important;
  font-weight: 600 !important;
  background-color: rgba(223, 167, 36, 0.18) !important;
  background: rgba(223, 167, 36, 0.18) !important;
  box-shadow: none !important;
  border: none !important;
}

/* --------------------------------------------------------------------------
   FOOTER (DARK & GOLD ACCENTS)
   -------------------------------------------------------------------------- */
.content-footer,
.footer.bg-footer-theme {
  background-color: var(--theme-sidebar-bg) !important;
  background: #0d0e10 !important;
  color: #94a3b8 !important;
  border-top: 1px solid rgba(223, 167, 36, 0.25) !important;
  padding: 0.75rem 0 !important;
}

.content-footer a,
.footer.bg-footer-theme a {
  color: var(--theme-gold) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.content-footer a:hover,
.footer.bg-footer-theme a:hover {
  color: var(--theme-gold-light) !important;
}

/* --------------------------------------------------------------------------
   GOLDEN BLACK & WHITE THEME UTILITIES (FOR CARDS & PAGES)
   -------------------------------------------------------------------------- */
.bg-theme-gold {
  background-color: var(--theme-gold) !important;
}

.bg-theme-gold-gradient {
  background: var(--theme-gold-gradient) !important;
}

.text-theme-gold {
  color: var(--theme-gold) !important;
}

.border-theme-gold {
  border-color: var(--theme-gold) !important;
}

.btn-gold {
  background: var(--theme-gold-gradient) !important;
  color: #ffffff !important;
  font-weight: 600;
  border: none !important;
  box-shadow: 0 2px 6px rgba(212, 160, 23, 0.35);
  transition: all 0.2s ease;
}

.btn-gold:hover {
  background: linear-gradient(90deg, #c59313 0%, #dbab20 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(212, 160, 23, 0.45);
}

.badge-gold {
  background-color: var(--theme-gold) !important;
  color: #ffffff !important;
  font-weight: 600;
}

/* ==========================================================================
   USER DASHBOARD - GOLDEN, BLACK & WHITE THEME
   ========================================================================== */

/* Grid & Layout Helpers */
@media (min-width: 1200px) {
  .col-xl-2-4 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
    width: 20% !important;
  }
}

.w-0 {
  width: 0% !important;
}

/* Dashboard Promo Image Modal (Scoped Specifically) */
#popupModal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}

#popupModal .modal-content {
  margin: auto;
  position: relative;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#popupModal .close-btn-popup {
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  background-color: #000000;
  border: 2px solid var(--theme-gold);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

#popupModal .close-btn-popup:hover {
  background-color: var(--theme-gold);
  color: #000000;
  transform: scale(1.05);
}

#popupModal .modal-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--theme-gold);
}

/* ==========================================================================
   GLOBAL MODAL & MAGNIFIC POPUP THEME - GOLDEN, BLACK & WHITE
   Ensures all popups have solid white backgrounds and premium black/gold headers.
   ========================================================================== */

/* Magnific Popup & Bootstrap Modal Overlays */
.mfp-bg {
  background: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  opacity: 1 !important;
  z-index: 10800 !important;
}

.mfp-wrap {
  z-index: 10805 !important;
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  opacity: 1 !important;
  z-index: 10800 !important;
}

.modal:not(.pos-static) {
  z-index: 10805 !important;
}

/* Ensure Fancybox image previews appear above Magnific Popup and Modals */
.fancybox__container {
  z-index: 109999 !important;
}
.fancybox__backdrop {
  z-index: -1 !important;
}

/* Static Modal Containers (Magnific Popup Wrappers) */
.modal.pos-static {
  position: static !important;
  display: block !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  height: auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

.mfp-content .modal.pos-static {
  padding: 0 !important;
}

.mfp-content .modal-dialog {
  margin: 1.5rem auto !important;
}

.mfp-content .modal-dialog.modal-sm {
  max-width: 420px !important;
}

.mfp-content .modal-dialog:not(.modal-sm):not(.modal-lg):not(.modal-xl) {
  max-width: 580px !important;
}

.mfp-content .modal-dialog.modal-lg {
  max-width: 840px !important;
}

.mfp-content .modal-dialog.modal-xl {
  max-width: 1140px !important;
}

/* Global Modal Card Container */
.modal-content {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: 1px solid rgba(223, 167, 36, 0.35) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(223, 167, 36, 0.2) !important;
  overflow: hidden !important;
  max-width: 100% !important;
  pointer-events: auto !important;
}

/* Modal Header (Deep Black with Gold Accent & Gold Title) */
.modal-header,
.modal-header.bg-white,
.modal-header.bg-light,
.modal-header.border-bottom {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom: 2px solid var(--theme-gold) !important;
  padding: 1.1rem 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.modal-header .modal-title,
.modal-header h4,
.modal-header h5,
.modal-header h6,
.modal-header .modal-title.text-dark,
.modal-header .text-dark {
  color: var(--theme-gold-light) !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 0 !important;
}

.modal-header .modal-title i,
.modal-header .text-primary,
.modal-header i {
  color: var(--theme-gold) !important;
}

/* Modal Header Close Button */
.btn-close.close-popup,
.modal-header .btn-close,
.modal-header .close-popup.btn-close,
.modal-header button.close {
  box-sizing: border-box !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: var(--theme-gold) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
  background-position: center !important;
  background-size: 11px 11px !important;
  background-repeat: no-repeat !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: 0 2px 8px rgba(223, 167, 36, 0.45) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

/* On hover: becomes solid Black with gold border and glowing gold cross */
.btn-close.close-popup:hover,
.modal-header .btn-close:hover,
.modal-header .close-popup.btn-close:hover,
.modal-header button.close:hover {
  opacity: 1 !important;
  background-color: #000000 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f3cd64'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
  border-color: var(--theme-gold) !important;
  border-width: 1.5px !important;
  filter: none !important;
  transform: rotate(90deg) scale(1.1) !important;
  box-shadow: 0 0 12px rgba(223, 167, 36, 0.6) !important;
}

.btn-close.close-popup:focus,
.modal-header .btn-close:focus,
.modal-header .close-popup.btn-close:focus,
.modal-header button.close:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(223, 167, 36, 0.4) !important;
}

/* Modal Body (Solid White Background with Legible Dark Content) */
.modal-body {
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #1e293b !important;
  padding: 1.5rem !important;
  font-size: 0.9rem !important;
}

.modal-body.bg-light-subtle,
.modal-body.bg-light {
  background-color: #fafbfc !important;
}

.modal-dialog-scrollable .modal-body {
  max-height: calc(85vh - 130px) !important;
  overflow-y: auto !important;
}

/* Sleek Gold Scrollbar in Scrollable Modals */
.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
  background: rgba(223, 167, 36, 0.4);
  border-radius: 3px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--theme-gold);
}

.modal-body .form-label {
  color: #000000 !important;
  font-weight: 600 !important;
  font-size: 0.84rem !important;
  margin-bottom: 0.4rem !important;
}

.modal-body .form-control,
.modal-body .form-select {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.18) !important;
  border-radius: 8px !important;
  padding: 0.52rem 0.85rem !important;
  font-size: 0.875rem !important;
  transition: all 0.2s ease !important;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 0 0 3px rgba(223, 167, 36, 0.2) !important;
  outline: none !important;
}

/* Inner Cards inside Modal */
.modal-body .card {
  background-color: #ffffff !important;
  border: 1px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.modal-body .card .card-body {
  background-color: #ffffff !important;
}

/* Modal Footer */
.modal-footer,
.modal-footer.bg-white,
.modal-footer.border-top,
#modal-footer {
  background-color: #fafbfc !important;
  background: #fafbfc !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 1rem 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.75rem !important;
  margin-top: 0 !important;
}

/* Close & Secondary Action Buttons inside Modal */
.modal-content .btn-label-secondary,
.modal-content .btn-secondary,
.modal-content .close-popup:not(.btn-close),
.modal-footer .btn-label-secondary,
.modal-footer .btn-secondary,
.modal-footer .close-popup:not(.btn-close),
#modal-footer .btn-label-secondary,
#modal-footer .close-popup:not(.btn-close) {
  background: #000000 !important;
  background-color: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid rgba(223, 167, 36, 0.5) !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 0.5rem 1.35rem !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
}

.modal-content .btn-label-secondary:hover,
.modal-content .btn-secondary:hover,
.modal-content .close-popup:not(.btn-close):hover,
.modal-footer .btn-label-secondary:hover,
.modal-footer .btn-secondary:hover,
.modal-footer .close-popup:not(.btn-close):hover,
#modal-footer .btn-label-secondary:hover,
#modal-footer .close-popup:not(.btn-close):hover {
  background: #1e2025 !important;
  background-color: #1e2025 !important;
  color: #ffffff !important;
  border-color: var(--theme-gold) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

/* Primary / Submit Action Buttons inside Modal */
.modal-content .btn-primary,
.modal-footer .btn-primary,
.modal-footer button[type="submit"],
#modal-footer button[type="submit"],
#modal-footer .btn-success {
  background: var(--theme-gold-gradient) !important;
  background-color: var(--theme-gold) !important;
  color: #000000 !important;
  border: 1px solid var(--theme-gold) !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 0.5rem 1.6rem !important;
  box-shadow: 0 2px 8px rgba(212, 160, 23, 0.35) !important;
  transition: all 0.2s ease !important;
}

.modal-content .btn-primary:hover,
.modal-footer .btn-primary:hover,
.modal-footer button[type="submit"]:hover,
#modal-footer button[type="submit"]:hover,
#modal-footer .btn-success:hover {
  background: linear-gradient(135deg, #e8b63e 0%, #c48e1a 100%) !important;
  color: #000000 !important;
  border-color: var(--theme-gold-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 160, 23, 0.5) !important;
}

/* Detail Table inside Modals */
.modal-body table.table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 0 !important;
}

.modal-body table.table tbody th {
  background-color: #f8fafc !important;
  color: #000000 !important;
  font-weight: 600 !important;
  width: 35% !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.85rem !important;
  vertical-align: middle !important;
}

.modal-body table.table tbody td {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.85rem !important;
  vertical-align: middle !important;
}

.modal-body table.table tbody tr:hover th {
  background-color: #f1f5f9 !important;
}

.modal-body table.table tbody tr:hover td {
  background-color: #fbfbfb !important;
}

/* Modal Icons & Primary Highlights */
.modal-header .text-primary,
.modal-body .text-primary {
  color: var(--theme-gold) !important;
}

.modal-body .btn-outline-primary,
.modal-body .btn-copy {
  color: var(--theme-gold-dark) !important;
  border-color: var(--theme-gold) !important;
  background: transparent !important;
  transition: all 0.2s ease !important;
}

.modal-body .btn-outline-primary:hover,
.modal-body .btn-copy:hover {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border-color: var(--theme-gold) !important;
}

/* File Selector Button inside Modals */
.modal-body input[type="file"]::file-selector-button {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid rgba(223, 167, 36, 0.45) !important;
  border-radius: 6px !important;
  padding: 0.35rem 0.85rem !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  margin-right: 0.75rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.modal-body input[type="file"]::file-selector-button:hover {
  background: #1e2025 !important;
  color: #ffffff !important;
  border-color: var(--theme-gold) !important;
}

/* Date Indicator inside Modals */
.modal-body input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(40%) sepia(80%) saturate(500%) hue-rotate(5deg);
  cursor: pointer;
}

/* OTP and Special Buttons inside Modal */
.modal-body #get-otp-btn {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid rgba(223, 167, 36, 0.5) !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.modal-body #get-otp-btn:hover {
  background: #1e2025 !important;
  color: #ffffff !important;
  border-color: var(--theme-gold) !important;
}

.modal-body .alert {
  border-radius: 10px !important;
  border-left: 4px solid var(--theme-gold) !important;
}

/* Base Dashboard Card */
.dash-card {
  background-color: #ffffff;
  border: 1px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* User Profile Hero Card */
.dash-profile-card {
  background: #ffffff;
  border: 1px solid rgba(223, 167, 36, 0.35) !important;
  border-radius: 16px !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.dash-profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--theme-gold-gradient);
}

.dash-profile-glow {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(223, 167, 36, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.dash-avatar-img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border: 3px solid var(--theme-gold) !important;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(223, 167, 36, 0.25);
}

.dash-avatar-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background-color: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.dash-welcome-badge {
  background-color: #000000;
  color: var(--theme-gold-light);
  border: 1px solid var(--theme-gold);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dash-welcome-badge i {
  color: var(--theme-gold-light);
}

.dash-username-pill {
  background-color: #f8fafc;
  border: 1px solid rgba(223, 167, 36, 0.35);
  border-radius: 50px;
  padding: 0.35rem 0.85rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.dash-joined-badge {
  background-color: #f8fafc;
  color: #1e293b;
  border: 1px solid rgba(223, 167, 36, 0.35);
  border-radius: 50px;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.dash-joined-badge i {
  color: var(--theme-gold-light);
}

.dash-referral-wrap {
  border-top: 1px solid rgba(223, 167, 36, 0.2);
  margin-top: 1rem;
  padding-top: 1rem;
}

.dash-referral-box {
  background: #f8fafc;
  border: 1px solid rgba(223, 167, 36, 0.35);
  border-radius: 10px;
  padding: 4px 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.dash-referral-input {
  background: transparent !important;
  border: none !important;
  padding: 0 0.5rem !important;
  font-family: var(--bs-font-monospace);
  color: #000000 !important;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  width: 100%;
}

.dash-referral-input:focus {
  outline: none;
  box-shadow: none;
}

/* Themed Action Buttons */
.btn-gold-sm {
  background: var(--theme-gold-gradient);
  color: #ffffff !important;
  font-weight: 700;
  border: none !important;
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  box-shadow: 0 2px 6px rgba(212, 160, 23, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-gold-sm:hover {
  background: linear-gradient(90deg, #c59313 0%, #dbab20 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-dark-sm {
  background: #000000;
  color: #ffffff !important;
  border: 1px solid rgba(223, 167, 36, 0.35);
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.btn-dark-sm:hover {
  background: #1e293b;
  color: var(--theme-gold) !important;
  border-color: var(--theme-gold);
}

.btn-whatsapp-sm {
  background: #25d366;
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.btn-whatsapp-sm:hover {
  background: #1eb954;
  transform: translateY(-1px);
}

.btn-copy-icon {
  background: transparent;
  border: none;
  color: var(--theme-gold);
  padding: 2px 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.btn-copy-icon:hover {
  color: #000000;
}

/* Package Progress Track & Bar */
.dash-progress-track {
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  overflow: hidden;
}

.dash-progress-bar-gold {
  height: 100%;
  background: var(--theme-gold-gradient) !important;
  border-radius: 4px;
}

.dash-package-amount {
  color: #000000;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* KPI Cards (Section 2 & 2.5) matching Mockup */
.user-kpi-card,
.dash-kpi-card {
  background: #ffffff;
  border: 1px solid rgba(223, 167, 36, 0.3) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.user-kpi-card:hover,
.dash-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(223, 167, 36, 0.18) !important;
  border-color: var(--theme-gold) !important;
}

.dash-kpi-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--theme-gold-gradient);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(212, 160, 23, 0.25);
  flex-shrink: 0;
}

.dash-kpi-icon i {
  color: #ffffff !important;
}

.dash-kpi-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8e8a6f;
  display: block;
}

.dash-kpi-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #000000;
  line-height: 1.2;
}

/* Section Header Icons (Shop, Wallets, Loan Table) */
.dash-section-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: var(--theme-gold-gradient);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 3px 8px rgba(212, 160, 23, 0.25);
  flex-shrink: 0;
}

.dash-section-icon i {
  color: #ffffff !important;
}

/* Shop & Orders Section */
.dash-order-tile {
  background: #f8fafc;
  border: 1px solid rgba(223, 167, 36, 0.25);
  border-radius: 12px;
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.2s ease;
}

.dash-order-tile:hover {
  background: #ffffff;
  border-color: var(--theme-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 160, 23, 0.12);
}

.dash-order-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000000;
  color: var(--theme-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 1.1rem;
}

.dash-order-tile-value {
  font-weight: 800;
  font-size: 1.25rem;
  color: #000000;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

/* Wallets Summary Section */
.dash-wallet-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #000000;
  color: var(--theme-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-right: 0.5rem;
}

.dash-wallet-icon i {
  color: var(--theme-gold);
}

.dash-wallet-badge {
  background: #000000;
  color: var(--theme-gold-light) !important;
  border: 1px solid var(--theme-gold);
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-weight: 600;
}

.dash-wallet-badge strong {
  color: #ffffff;
}

.dash-wallet-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
  display: block;
  margin-bottom: 0.25rem;
}

.dash-wallet-stat-val {
  font-weight: 700;
  font-size: 0.95rem;
  color: #000000;
  margin-bottom: 0;
}

/* Buttons in Theme */
.btn-theme-outline-gold {
  background: transparent;
  color: #000000 !important;
  border: 1.5px solid var(--theme-gold) !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.btn-theme-outline-gold:hover {
  background: var(--theme-gold-gradient);
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-1px);
}

.btn-theme-gold-pill {
  background: var(--theme-gold-gradient);
  color: #ffffff !important;
  font-weight: 700;
  border: none !important;
  border-radius: 50px;
  padding: 0.35rem 1.1rem;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(212, 160, 23, 0.35);
  transition: all 0.2s ease;
}

.btn-theme-gold-pill:hover {
  background: linear-gradient(90deg, #c59313 0%, #dbab20 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Loan Table Header and Classes */
.table-theme-head {
  background: #000000 !important;
}

.table-theme-head th {
  background: #000000 !important;
  color: var(--theme-gold) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 0.9rem 1rem !important;
  border-bottom: 2px solid var(--theme-gold) !important;
}

.th-col-level {
  min-width: 140px;
}

.th-col-progress {
  min-width: 220px;
}

.th-col-bonus {
  min-width: 170px;
}

.th-col-rewards {
  min-width: 160px;
}

.th-col-ranks {
  min-width: 140px;
}

.th-col-status {
  width: 120px;
}

/* Loan Table Dynamic Row Classes */
.loan-row-achieved {
  background-color: rgba(223, 167, 36, 0.08) !important;
}

.loan-row-skipped {
  background-color: rgba(0, 0, 0, 0.03) !important;
}

.loan-progress-box {
  display: inline-block;
  text-align: left;
  width: 100%;
  max-width: 240px;
}

.loan-progress-track {
  height: 6px;
  border-radius: 4px;
  background: #e2e8f0;
}

.loan-reward-badge {
  max-width: 200px;
  line-height: 1.3;
  white-space: normal;
}

/* Status Badges */
.badge-status-active {
  background-color: #000000;
  color: var(--theme-gold-light);
  border: 1px solid var(--theme-gold);
}

.badge-status-pending {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-status-danger {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.badge-bonus-gold {
  background-color: rgba(223, 167, 36, 0.15);
  color: #854d0e;
  border: 1px solid rgba(223, 167, 36, 0.4);
}

.badge-reward-theme {
  background-color: #000000;
  color: var(--theme-gold-light);
  border: 1px solid var(--theme-gold);
}

.badge-rank-theme {
  background-color: #000000;
  color: var(--theme-gold-light);
  border: 1px solid var(--theme-gold);
}

/* ==========================================================================
   KYC VERIFICATION - GOLDEN, BLACK & WHITE THEME
   ========================================================================== */

.page-header-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: var(--theme-gold-gradient);
  color: #000000 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(212, 160, 23, 0.25);
  flex-shrink: 0;
}

.page-header-icon i {
  color: #000000 !important;
}

/* KYC Status Banners */
.kyc-status-card {
  background: #ffffff;
  border-radius: 16px !important;
  border: 1px solid rgba(223, 167, 36, 0.25) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden;
  position: relative;
}

.kyc-status-card-pending {
  border-left: 5px solid var(--theme-gold) !important;
  background: #ffffff;
}

.kyc-status-card-verified {
  border: 1.5px solid var(--theme-gold) !important;
  background: #0d0e10 !important;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(223, 167, 36, 0.15) !important;
}

.kyc-status-card-rejected {
  border-left: 5px solid #ef4444 !important;
  background: #ffffff;
}

.kyc-status-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.kyc-status-icon-pending {
  background: #000000;
  color: var(--theme-gold-light);
  border: 1px solid var(--theme-gold);
}

.kyc-status-icon-verified {
  background: var(--theme-gold-gradient);
  color: #000000;
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.35);
}

.kyc-status-icon-rejected {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

/* KYC Section Badge */
.kyc-section-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #000000;
  color: var(--theme-gold-light);
  border: 1px solid var(--theme-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.kyc-section-badge i {
  color: var(--theme-gold-light);
}

/* Rejection note box */
.kyc-rejection-note {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 1rem;
}

.btn-outline-primary {
  color: var(--theme-gold) !important;
  border-color: var(--theme-gold) !important;
}

.btn-outline-primary:hover {
  background: var(--theme-gold-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 0 0 0.2rem rgba(223, 167, 36, 0.2) !important;
}

/* ==========================================================================
   GLOBAL TABLE & DATATABLE OVERRIDES - GOLDEN, BLACK & WHITE THEME
   Applies across all tables (.table, .table-data-list, .data-list-table, DataTables)
   without requiring HTML changes across views.
   ========================================================================== */

/* Top-level List Action Buttons */
.btn-primary {
  background: var(--theme-gold-gradient) !important;
  border-color: var(--theme-gold) !important;
  color: #000000 !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 6px rgba(212, 160, 23, 0.3) !important;
  transition: all 0.2s ease !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #e8b63e 0%, #c48e1a 100%) !important;
  border-color: var(--theme-gold-dark) !important;
  color: #000000 !important;
  box-shadow: 0 4px 14px rgba(212, 160, 23, 0.45) !important;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #000000 !important;
  border: 1px solid rgba(223, 167, 36, 0.45) !important;
  color: var(--theme-gold-light) !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.2s ease !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #1a1c20 !important;
  border-color: var(--theme-gold) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-1px);
}

/* Filter Card Overrides */
#filter .card,
.collapse#filter .card,
.card:has(#filter) {
  background: #ffffff !important;
  border: 1px solid rgba(223, 167, 36, 0.28) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

#filter .form-label {
  font-weight: 600 !important;
  color: #000000 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 0.4rem !important;
}

/* Table Container Cards */
.card:has(.card-datatable),
.card:has(table.dataTable),
.card:has(.table-data-list),
.card:has(.data-list-table),
.card-datatable {
  background-color: #ffffff !important;
  border: 1px solid rgba(223, 167, 36, 0.22) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}

.card .card-datatable {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.card-datatable {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Ensure controls wrap naturally even inside .text-nowrap card-datatable */
.card-datatable .dataTables_wrapper {
  white-space: normal !important;
}

.card-datatable .dataTables_wrapper .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-items: center !important;
}

.card-datatable .dataTables_wrapper .row>[class*="col-"] {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

/* Global Table Overrides */
table.dataTable,
.table,
.table-data-list,
.data-list-table {
  width: 100% !important;
  margin-top: 0.35rem !important;
  margin-bottom: 0.35rem !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  color: #1e293b !important;
  border: 1px solid rgba(223, 167, 36, 0.22) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.table> :not(caption)>*>* {
  border-color: rgba(0, 0, 0, 0.06);
}

/* Table Header (Solid Deep Black with Gold Accent & Underline) */
table.dataTable thead,
.table thead,
.table-data-list thead,
.data-list-table thead {
  background: #000000 !important;
}

table.dataTable thead th,
table.dataTable thead td,
.table thead th,
.table thead td,
.table-data-list thead th,
.data-list-table thead th,
.table-bordered thead th {
  background-color: #000000 !important;
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  line-height: 1.35 !important;
  padding: 0.95rem 1rem !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 2px solid var(--theme-gold) !important;
  box-shadow: none !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

/* Rounded Header Corners */
table.dataTable thead tr:first-child th:first-child,
.table thead tr:first-child th:first-child {
  border-top-left-radius: 11px !important;
}

table.dataTable thead tr:first-child th:last-child,
.table thead tr:first-child th:last-child {
  border-top-right-radius: 11px !important;
}

/* DataTables Sorting Arrows (Golden on Black) */
table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:before,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>td.sorting:before,
table.dataTable thead>tr>td.sorting:after,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_asc:after,
table.dataTable thead>tr>td.sorting_desc:before,
table.dataTable thead>tr>td.sorting_desc:after {
  color: var(--theme-gold) !important;
  opacity: 0.3 !important;
}

table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_desc:after {
  color: var(--theme-gold-light) !important;
  opacity: 1 !important;
  text-shadow: 0 0 6px rgba(243, 205, 100, 0.6) !important;
}

/* Table Body Rows & Cells */
table.dataTable tbody tr,
.table tbody tr {
  background-color: #ffffff;
  transition: all 0.15s ease;
}

table.dataTable tbody td,
table.dataTable tbody th,
.table tbody td,
.table tbody th,
.table-data-list tbody td,
.data-list-table tbody td {
  padding: 0.85rem 1rem !important;
  vertical-align: middle !important;
  color: #1e293b !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  border-top: none !important;
  border-bottom: 1px solid #f1f3f7 !important;
  background-color: transparent;
  white-space: nowrap !important;
}

/* Striped Rows */
table.dataTable.table-striped>tbody>tr:nth-of-type(odd)>*,
table.dataTable.table-striped>tbody>tr.odd>*,
table.dataTable tbody tr:nth-of-type(even),
.table-striped tbody tr:nth-of-type(odd)>* {
  background-color: #fafbfc !important;
}

/* Row Hover with Subtle Gold Tint */
table.dataTable.table-hover>tbody>tr:hover>*,
table.dataTable tbody tr:hover,
table.dataTable tbody tr:hover>*,
.table-hover tbody tr:hover,
.table-hover tbody tr:hover>*,
.table-data-list tbody tr:hover,
.table-data-list tbody tr:hover>*,
.data-list-table tbody tr:hover,
.data-list-table tbody tr:hover>* {
  background-color: rgba(223, 167, 36, 0.08) !important;
  box-shadow: inset 0 0 0 9999px rgba(223, 167, 36, 0.08) !important;
}

/* Rounded Bottom Corners on Last Row */
table.dataTable tbody tr:last-child td:first-child,
.table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 11px !important;
}

table.dataTable tbody tr:last-child td:last-child,
.table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 11px !important;
}

table.dataTable tbody tr:last-child td,
.table tbody tr:last-child td {
  border-bottom: none !important;
}

/* Selected Row */
table.dataTable>tbody>tr.selected>*,
table.dataTable.table-hover>tbody>tr.selected:hover>* {
  box-shadow: inset 0 0 0 9999px rgba(223, 167, 36, 0.18) !important;
  color: #000000 !important;
}

/* Links inside Table cells */
table.dataTable tbody td a:not(.btn):not(.btn-attachment-chip),
.table tbody td a:not(.btn):not(.btn-attachment-chip) {
  color: #000000 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

table.dataTable tbody td a:not(.btn):not(.btn-attachment-chip):hover,
.table tbody td a:not(.btn):not(.btn-attachment-chip):hover {
  color: var(--theme-gold) !important;
  text-decoration: underline !important;
}

/* Avatars inside Table cells */
table.dataTable tbody td .avatar,
.table tbody td .avatar {
  width: 38px;
  height: 38px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

table.dataTable tbody td .avatar img,
.table tbody td .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% !important;
  border: 2px solid rgba(223, 167, 36, 0.35) !important;
  transition: all 0.2s ease;
}

table.dataTable tbody tr:hover .avatar img,
.table tbody tr:hover .avatar img {
  border-color: var(--theme-gold) !important;
  transform: scale(1.08);
}

table.dataTable tbody td .fw-medium,
.table tbody td .fw-medium {
  color: #000000 !important;
  font-weight: 600 !important;
}

table.dataTable tbody td .text-muted,
.table tbody td .text-muted {
  color: #64748b !important;
  font-size: 0.8rem !important;
}

/* Action Buttons inside Table cells */
.table .btn-group,
table.dataTable .btn-group {
  gap: 3px !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
}

.table .btn-group .btn,
table.dataTable .btn-group .btn {
  border-radius: 6px !important;
  padding: 0.32rem 0.6rem !important;
  font-size: 0.78rem !important;
  line-height: 1.2 !important;
  border: 1px solid transparent !important;
  transition: all 0.18s ease !important;
}

.table .btn-group .btn-primary,
table.dataTable .btn-group .btn-primary {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border-color: var(--theme-gold) !important;
}

.table .btn-group .btn-primary:hover,
table.dataTable .btn-group .btn-primary:hover {
  background: linear-gradient(135deg, #e8b63e 0%, #c48e1a 100%) !important;
  color: #000000 !important;
  transform: translateY(-1px);
}

.table .btn-group .btn-info,
table.dataTable .btn-group .btn-info {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border-color: rgba(223, 167, 36, 0.4) !important;
}

.table .btn-group .btn-info:hover,
table.dataTable .btn-group .btn-info:hover {
  background: #1e2025 !important;
  color: #ffffff !important;
  border-color: var(--theme-gold) !important;
  transform: translateY(-1px);
}

.table .btn-group .btn-secondary,
table.dataTable .btn-group .btn-secondary {
  background: #334155 !important;
  color: #ffffff !important;
}

.table .btn-group .btn-secondary:hover,
table.dataTable .btn-group .btn-secondary:hover {
  background: #1e293b !important;
  transform: translateY(-1px);
}

.table .btn-group .btn-danger,
table.dataTable .btn-group .btn-danger {
  background: #dc2626 !important;
  color: #ffffff !important;
}

.table .btn-group .btn-danger:hover,
table.dataTable .btn-group .btn-danger:hover {
  background: #b91c1c !important;
  transform: translateY(-1px);
}

.table .btn-group .btn-success,
table.dataTable .btn-group .btn-success {
  background: #16a34a !important;
  color: #ffffff !important;
}

.table .btn-group .btn-success:hover,
table.dataTable .btn-group .btn-success:hover {
  background: #15803d !important;
  transform: translateY(-1px);
}

/* Status Badges */
.badge {
  font-weight: 600 !important;
  padding: 0.4em 0.75em !important;
  font-size: 0.75rem !important;
  border-radius: 6px !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

.badge.bg-success,
.badge.bg-label-success {
  background-color: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.badge.bg-danger,
.badge.bg-label-danger {
  background-color: #fff1f2 !important;
  color: #be123c !important;
  border: 1px solid rgba(244, 63, 94, 0.3) !important;
}

.badge.bg-primary,
.badge.bg-label-primary {
  background-color: rgba(223, 167, 36, 0.14) !important;
  color: #946808 !important;
  border: 1px solid rgba(223, 167, 36, 0.4) !important;
}

.badge.bg-warning,
.badge.bg-label-warning {
  background-color: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
}

.badge.bg-info,
.badge.bg-label-info {
  background-color: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}

.badge.bg-secondary,
.badge.bg-label-secondary {
  background-color: #f8fafc !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
}

.badge.cursor-pointer {
  transition: all 0.18s ease !important;
}

.badge.cursor-pointer:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* DataTables Dropdown Menus */
.card-datatable .dropdown-menu,
.table .dropdown-menu {
  border: 1px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
  padding: 0.5rem !important;
}

.card-datatable .dropdown-item:hover,
.table .dropdown-item:hover {
  background: rgba(223, 167, 36, 0.12) !important;
  color: var(--theme-gold) !important;
}

/* Table Checkboxes */
table.dataTable input[type="checkbox"],
.table input[type="checkbox"] {
  accent-color: var(--theme-gold);
}

/* Empty Table Message */
table.dataTable td.dataTables_empty {
  padding: 3rem 1rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  text-align: center !important;
}

/* Responsive Extension Styling */
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before,
table.dataTable.dtr-column>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-column>tbody>tr>th.dtr-control:before {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border: 1.5px solid var(--theme-gold) !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 5px rgba(223, 167, 36, 0.35) !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before,
table.dataTable.dtr-column>tbody>tr.parent>td.dtr-control:before,
table.dataTable.dtr-column>tbody>tr.parent>th.dtr-control:before {
  background: #000000 !important;
  color: var(--theme-gold) !important;
  border: 1.5px solid var(--theme-gold) !important;
}

table.dataTable>tbody>tr.child {
  background-color: #fafbfc !important;
}

table.dataTable>tbody>tr.child ul.dtr-details {
  width: 100% !important;
  padding: 0.5rem 0.75rem !important;
}

table.dataTable>tbody>tr.child ul.dtr-details>li {
  border-bottom: 1px solid rgba(223, 167, 36, 0.12) !important;
  padding: 0.6rem 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

table.dataTable>tbody>tr.child span.dtr-title {
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

table.dataTable>tbody>tr.child span.dtr-data {
  color: #1e293b !important;
  font-size: 0.85rem !important;
}

/* DataTables Search Filter */
div.dataTables_wrapper div.dataTables_filter {
  padding: 0.75rem 1rem !important;
  text-align: right !important;
}

div.dataTables_wrapper div.dataTables_filter label {
  color: #000000 !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  margin-bottom: 0 !important;
}

div.dataTables_wrapper div.dataTables_filter input {
  margin-left: 0.5rem !important;
  border: 1px solid rgba(223, 167, 36, 0.35) !important;
  border-radius: 8px !important;
  padding: 0.45rem 0.9rem !important;
  font-size: 0.85rem !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  transition: all 0.2s ease !important;
  min-width: 180px !important;
}

div.dataTables_wrapper div.dataTables_filter input:focus {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 0 0 3px rgba(223, 167, 36, 0.2) !important;
  outline: none !important;
}

/* DataTables Length Select */
div.dataTables_wrapper div.dataTables_length {
  padding: 0.75rem 1rem !important;
  text-align: left !important;
}

div.dataTables_wrapper div.dataTables_length label {
  color: #000000 !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  margin-bottom: 0 !important;
}

div.dataTables_wrapper div.dataTables_length select {
  border: 1px solid rgba(223, 167, 36, 0.35) !important;
  border-radius: 8px !important;
  padding: 0.4rem 2rem 0.4rem 0.75rem !important;
  font-size: 0.85rem !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  margin: 0 0.5rem !important;
  transition: all 0.2s ease !important;
}

div.dataTables_wrapper div.dataTables_length select:focus {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 0 0 3px rgba(223, 167, 36, 0.2) !important;
  outline: none !important;
}

/* DataTables Info Text */
div.dataTables_wrapper div.dataTables_info {
  color: #64748b !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  padding: 1rem !important;
}

/* DataTables Pagination (Golden & Black Theme) */
div.dataTables_wrapper div.dataTables_paginate {
  padding: 0.85rem 1rem !important;
  text-align: right !important;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  gap: 5px !important;
  margin: 0 !important;
  justify-content: flex-end !important;
}

div.dataTables_wrapper .page-item .page-link,
div.dataTables_wrapper .paginate_button {
  color: #000000 !important;
  border: 1px solid rgba(223, 167, 36, 0.3) !important;
  border-radius: 8px !important;
  padding: 0.4rem 0.85rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 34px !important;
  text-decoration: none !important;
}

div.dataTables_wrapper .page-item:not(.active):not(.disabled) .page-link:hover,
div.dataTables_wrapper .paginate_button:hover:not(.current):not(.disabled) {
  background: rgba(223, 167, 36, 0.12) !important;
  border-color: var(--theme-gold) !important;
  color: #000000 !important;
}

div.dataTables_wrapper .page-item.active .page-link,
div.dataTables_wrapper .paginate_button.current {
  background: var(--theme-gold-gradient) !important;
  border-color: var(--theme-gold) !important;
  color: #000000 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(212, 160, 23, 0.35) !important;
}

div.dataTables_wrapper .page-item.disabled .page-link,
div.dataTables_wrapper .paginate_button.disabled {
  color: #94a3b8 !important;
  border-color: #e2e8f0 !important;
  background: #f8fafc !important;
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}

/* DataTables Loading Processing Overlay */
div.dataTables_processing {
  background: rgba(0, 0, 0, 0.9) !important;
  color: var(--theme-gold-light) !important;
  border: 1.5px solid var(--theme-gold) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.05em !important;
  padding: 1.25rem 2.5rem !important;
  z-index: 100 !important;
}

div.dataTables_processing>div:last-child>div {
  background: var(--theme-gold) !important;
}

/* Mobile Responsiveness for DataTables Controls */
@media (max-width: 767.98px) {

  div.dataTables_wrapper div.dataTables_length,
  div.dataTables_wrapper div.dataTables_filter,
  div.dataTables_wrapper div.dataTables_info,
  div.dataTables_wrapper div.dataTables_paginate {
    text-align: center !important;
    justify-content: center !important;
  }

  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center !important;
  }
}

/* Breadcrumb Theme */
ol.breadcrumb {
  margin-bottom: 0 !important;
}

ol.breadcrumb .breadcrumb-item a {
  color: #000000 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

ol.breadcrumb .breadcrumb-item a:hover {
  color: var(--theme-gold) !important;
}

ol.breadcrumb .breadcrumb-item.active {
  color: var(--theme-gold) !important;
  font-weight: 600 !important;
}

ol.breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(223, 167, 36, 0.6) !important;
}

/* ==========================================================================
   GENEALOGY SPONSOR SUMMARY CARD (render_card in general_helper.php)
   ========================================================================== */
.genealogy-sponsor-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #ffffff !important;
  border: 1px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 14px !important;
  padding: 1rem 1.5rem !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  margin: 1.25rem 0 !important;
}

.genealogy-sponsor-summary .sponsor-summary-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 100px;
}

.genealogy-sponsor-summary .sponsor-user-profile {
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.75rem;
  min-width: 180px;
}

.genealogy-sponsor-summary .avatar {
  width: 44px !important;
  height: 44px !important;
  position: relative;
}

.genealogy-sponsor-summary .avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  border: 2px solid var(--theme-gold) !important;
  box-shadow: 0 2px 8px rgba(223, 167, 36, 0.25) !important;
}

.genealogy-sponsor-summary .sponsor-user-info {
  display: flex;
  flex-direction: column;
}

.genealogy-sponsor-summary .sponsor-name {
  font-weight: 700 !important;
  color: #000000 !important;
  font-size: 0.95rem !important;
  line-height: 1.25 !important;
}

.genealogy-sponsor-summary .sponsor-username {
  color: #64748b !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
}

.genealogy-sponsor-summary .sponsor-summary-divider {
  width: 1px;
  height: 36px;
  background: rgba(223, 167, 36, 0.22);
}

.genealogy-sponsor-summary .sponsor-item-value {
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: #000000 !important;
  line-height: 1.25 !important;
}

.genealogy-sponsor-summary .sponsor-item-value.text-gold {
  color: var(--theme-gold-dark) !important;
}

.genealogy-sponsor-summary .sponsor-item-label {
  color: #64748b !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin-top: 3px !important;
}

.genealogy-sponsor-summary .sponsor-item-badge {
  display: inline-block;
}

.genealogy-sponsor-summary .sponsor-item-subtext {
  color: #64748b !important;
  font-size: 0.75rem !important;
  display: block;
}

@media (max-width: 767.98px) {
  .genealogy-sponsor-summary {
    justify-content: center !important;
    text-align: center !important;
    gap: 1.25rem !important;
    padding: 1.25rem 1rem !important;
  }

  .genealogy-sponsor-summary .sponsor-summary-divider {
    display: none !important;
  }

  .genealogy-sponsor-summary .sponsor-user-profile {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   SHOP MODULE - GOLDEN, BLACK & WHITE THEME
   ========================================================================== */

/* Shop Top Header Actions */
.shop-btn-orders {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid rgba(223, 167, 36, 0.45) !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 0.5rem 1.15rem !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

.shop-btn-orders:hover {
  background: #1e2025 !important;
  color: #ffffff !important;
  border-color: var(--theme-gold) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.shop-btn-cart {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border: 1px solid var(--theme-gold) !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 0.5rem 1.25rem !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  box-shadow: 0 2px 8px rgba(212, 160, 23, 0.35) !important;
}

.shop-btn-cart:hover {
  background: linear-gradient(135deg, #e8b63e 0%, #c48e1a 100%) !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 160, 23, 0.5) !important;
}

.shop-cart-badge {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid var(--theme-gold) !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  padding: 0.25rem 0.55rem !important;
}

/* E-Wallet Balance Banner */
.shop-wallet-banner {
  background: #ffffff !important;
  border: 1px solid rgba(223, 167, 36, 0.3) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
  position: relative;
  overflow: hidden;
}

.shop-wallet-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--theme-gold-gradient);
}

.shop-wallet-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #000000 !important;
  color: var(--theme-gold) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(223, 167, 36, 0.3);
}

.shop-wallet-balance-box {
  background: #000000 !important;
  border: 1px solid rgba(223, 167, 36, 0.45) !important;
  border-radius: 10px !important;
  padding: 0.65rem 1.35rem !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}

.shop-wallet-balance-box .balance-title {
  color: #a0aec0 !important;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.shop-wallet-balance-box .balance-amount {
  color: var(--theme-gold-light) !important;
  font-weight: 800;
  font-size: 1.25rem;
}

/* Category Filter Bar */
.shop-filter-card {
  background: #ffffff !important;
  border: 1px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

.category-filter-btn {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 0.45rem 1rem !important;
  transition: all 0.2s ease !important;
}

.category-filter-btn:hover {
  background: #141619 !important;
  color: var(--theme-gold-light) !important;
  border-color: var(--theme-gold) !important;
}

.category-filter-btn.active,
.category-filter-btn.btn-primary {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border-color: var(--theme-gold) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

.category-filter-btn.btn-label-primary:not(.active) {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

/* Shop Product Card */
.shop-product-card {
  background: #ffffff !important;
  border: 1px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.shop-product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(223, 167, 36, 0.4) !important;
  border-color: var(--theme-gold) !important;
}

.shop-product-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 195px;
  background-color: #fafbfc;
}

.shop-product-img-wrapper img {
  transition: transform 0.35s ease;
  object-fit: cover;
}

.shop-product-card:hover .shop-product-img-wrapper img {
  transform: scale(1.05);
}

.shop-discount-badge {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid var(--theme-gold) !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  padding: 0.28rem 0.6rem !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

.shop-cat-badge {
  background: rgba(223, 167, 36, 0.1) !important;
  color: var(--theme-gold-dark) !important;
  border: 1px solid rgba(223, 167, 36, 0.3) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  padding: 0.25rem 0.55rem !important;
}

.shop-price-highlight {
  color: var(--theme-gold-dark) !important;
  font-weight: 800 !important;
}

.shop-btn-details {
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  color: #1e293b !important;
  background: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 0.45rem 0.8rem !important;
  transition: all 0.2s ease !important;
}

.shop-btn-details:hover {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border-color: var(--theme-gold) !important;
}

.shop-btn-add {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border: 1px solid var(--theme-gold) !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 0.45rem 0.85rem !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(212, 160, 23, 0.3) !important;
}

.shop-btn-add:hover {
  background: linear-gradient(135deg, #e8b63e 0%, #c48e1a 100%) !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(212, 160, 23, 0.45) !important;
}

/* Stepper Buttons inside Product Card & Cart */
.shop-qty-btn {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(223, 167, 36, 0.45) !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  transition: all 0.2s ease !important;
  cursor: pointer;
}

.shop-qty-btn:hover {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border-color: var(--theme-gold) !important;
}

/* Floating Cart Button */
#floatingCartBtn {
  bottom: 35px;
  right: 35px;
  z-index: 1050;
  overflow: visible;
}

#floatingCartBtn .btn-floating-cart {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border: 2.5px solid #ffffff !important;
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.5), 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

#floatingCartBtn .btn-floating-cart:hover {
  transform: scale(1.08) rotate(-4deg) !important;
  box-shadow: 0 12px 30px rgba(212, 160, 23, 0.65), 0 4px 12px rgba(0, 0, 0, 0.35) !important;
}

#floatingCartBtn .floating-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 2px solid #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 4px 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Offcanvas Cart Drawer */
.shop-cart-drawer {
  width: 440px !important;
  max-width: 92vw !important;
  background-color: #ffffff !important;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25) !important;
  border-left: 1px solid rgba(223, 167, 36, 0.3) !important;
}

.shop-cart-drawer .offcanvas-header {
  background: #000000 !important;
  border-bottom: 2px solid var(--theme-gold) !important;
  padding: 1.2rem 1.5rem !important;
  color: #ffffff !important;
}

.shop-cart-drawer .offcanvas-title {
  color: var(--theme-gold-light) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  display: flex;
  align-items: center;
  margin-bottom: 0 !important;
}

.shop-cart-drawer .offcanvas-title i {
  color: var(--theme-gold) !important;
}

.shop-cart-drawer .btn-close {
  box-sizing: border-box !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: var(--theme-gold) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
  background-position: center !important;
  background-size: 11px 11px !important;
  background-repeat: no-repeat !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 50% !important;
  opacity: 1 !important;
  filter: none !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.shop-cart-drawer .btn-close:hover {
  background-color: #000000 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f3cd64'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
  border-color: var(--theme-gold) !important;
  border-width: 1.5px !important;
  filter: none !important;
  transform: rotate(90deg) scale(1.1) !important;
  box-shadow: 0 0 12px rgba(223, 167, 36, 0.6) !important;
}

.shop-cart-drawer .cart-summary-box {
  background-color: #fafbfc !important;
  border-top: 1px solid rgba(223, 167, 36, 0.25) !important;
  padding: 1.25rem 1.5rem !important;
  border-radius: 12px !important;
}

.cart-item-row {
  transition: background 0.2s ease;
}

.cart-item-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid rgba(223, 167, 36, 0.25);
  border-radius: 8px;
}

.shop-btn-trash {
  color: #ef4444 !important;
  transition: all 0.2s ease;
  font-size: 1.15rem;
}

.shop-btn-trash:hover {
  color: #b91c1c !important;
  transform: scale(1.15);
}

/* Delivery Method & Address Cards inside Checkout Modal */
.delivery-method-card {
  border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
}

.delivery-method-card:hover {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.delivery-method-card.active-delivery-card {
  border-color: var(--theme-gold) !important;
  border-width: 2px !important;
  background: rgba(223, 167, 36, 0.06) !important;
  box-shadow: 0 4px 14px rgba(223, 167, 36, 0.15) !important;
}

.saved-addr-card {
  border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
}

.saved-addr-card:hover {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.saved-addr-card.active-addr-card {
  border-color: var(--theme-gold) !important;
  border-width: 2px !important;
  background: rgba(223, 167, 36, 0.07) !important;
  box-shadow: 0 4px 12px rgba(223, 167, 36, 0.12) !important;
}

.saved-addr-card .badge.bg-primary {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  font-weight: 700 !important;
}

/* Shop Product Details Popup Image */
.shop-popup-img {
  max-height: 260px;
  object-fit: cover;
  border: 1.5px solid rgba(223, 167, 36, 0.3) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

/* ==========================================================================
   ACHIEVEMENT / LOAN INCOME MODULE - GOLDEN, BLACK & WHITE THEME
   ========================================================================== */

/* Header Elements */
.achieve-header-icon {
  width: 42px;
  height: 42px;
  background: #000000 !important;
  border: 1.5px solid var(--theme-gold) !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--theme-gold-light) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  flex-shrink: 0;
}

.achieve-breadcrumb-active {
  color: var(--theme-gold-dark) !important;
  font-weight: 600 !important;
}

.btn-achieve-back {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1.5px solid rgba(0, 0, 0, 0.25) !important;
  font-weight: 600 !important;
  border-radius: 50rem !important;
  padding: 0.45rem 1.15rem !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
}

.btn-achieve-back:hover {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border-color: var(--theme-gold) !important;
  transform: translateX(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
}

/* Stat Overview Cards */
.achieve-stat-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  overflow: hidden;
}

.achieve-stat-card:hover {
  transform: translateY(-3px) !important;
  border-color: var(--theme-gold) !important;
  box-shadow: 0 10px 24px rgba(223, 167, 36, 0.18) !important;
}

.achieve-stat-icon {
  width: 50px !important;
  height: 50px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  transition: transform 0.25s ease !important;
}

.achieve-stat-card:hover .achieve-stat-icon {
  transform: scale(1.06);
}

.achieve-stat-icon.icon-black {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1.5px solid rgba(223, 167, 36, 0.45) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
}

.achieve-stat-icon.icon-gold {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border: 1.5px solid var(--theme-gold) !important;
  box-shadow: 0 4px 14px rgba(212, 160, 23, 0.35) !important;
}

.achieve-stat-label {
  font-size: 0.76rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  color: #64748b !important;
  font-weight: 700 !important;
  margin-bottom: 0.25rem !important;
}

.achieve-stat-value {
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}

.achieve-stat-progress-track {
  height: 5px !important;
  border-radius: 6px !important;
  background: #e2e8f0 !important;
  overflow: hidden !important;
  margin-top: 0.4rem !important;
}

.achieve-stat-progress-bar {
  height: 100% !important;
  border-radius: 6px !important;
  background: var(--theme-gold-gradient) !important;
  box-shadow: 0 0 6px rgba(223, 167, 36, 0.5) !important;
}

/* Tier Progression Table Card */
.achieve-table-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
}

.achieve-card-header {
  background: #ffffff !important;
  border-bottom: 1.5px solid rgba(223, 167, 36, 0.3) !important;
  padding: 1.25rem 1.5rem !important;
}

.achieve-gold-icon {
  color: var(--theme-gold-dark) !important;
}

.achieve-header-pill {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid var(--theme-gold) !important;
  border-radius: 50rem !important;
  padding: 0.4rem 1.1rem !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Table Styling */
.achieve-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
}

.achieve-table thead th {
  background-color: #0d0e10 !important;
  color: #ffffff !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.75px !important;
  padding: 1rem 0.85rem !important;
  border-top: none !important;
  border-bottom: 2.5px solid var(--theme-gold) !important;
  white-space: nowrap !important;
}

.achieve-col-level {
  min-width: 130px !important;
}

.achieve-col-progress {
  min-width: 230px !important;
}

.achieve-col-bonus {
  min-width: 170px !important;
}

.achieve-col-rewards {
  min-width: 160px !important;
}

.achieve-col-ranks {
  min-width: 140px !important;
}

.achieve-col-status {
  min-width: 130px !important;
}

.achieve-table tbody tr {
  transition: background-color 0.2s ease !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.achieve-table tbody tr:last-child {
  border-bottom: none !important;
}

.achieve-table tbody tr:hover {
  background-color: rgba(223, 167, 36, 0.08) !important;
}

.achieve-table tbody tr.achieve-row-achieved {
  background-color: rgba(223, 167, 36, 0.04) !important;
}

.achieve-table tbody tr.achieve-row-achieved:hover {
  background-color: rgba(223, 167, 36, 0.1) !important;
}

.achieve-table tbody tr.achieve-row-skipped {
  background-color: #f8fafc !important;
  opacity: 0.82;
}

.achieve-table tbody tr.achieve-row-normal {
  background-color: #ffffff !important;
}

.achieve-table tbody td {
  padding: 1rem 0.85rem !important;
  vertical-align: middle !important;
}

/* Level Title */
.achieve-level-title {
  font-weight: 700 !important;
  color: #0f172a !important;
  font-size: 0.92rem !important;
}

/* Member Progress Box inside Table */
.achieve-progress-box {
  width: 100% !important;
  max-width: 230px !important;
  margin: 0 auto !important;
}

.achieve-pct-badge {
  font-family: var(--bs-font-monospace) !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  padding: 0.2rem 0.55rem !important;
  border-radius: 50rem !important;
}

.achieve-pct-badge.is-achieved {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
}

.achieve-pct-badge.is-skipped {
  background: #cbd5e1 !important;
  color: #334155 !important;
}

.achieve-pct-badge.is-active {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid rgba(223, 167, 36, 0.45) !important;
}

.achieve-prog-track {
  height: 7px !important;
  border-radius: 6px !important;
  background: #e2e8f0 !important;
  overflow: hidden !important;
}

.achieve-prog-fill {
  height: 100% !important;
  border-radius: 6px !important;
  transition: width 0.4s ease !important;
}

.achieve-prog-fill.is-achieved {
  background: var(--theme-gold-gradient) !important;
  box-shadow: 0 0 8px rgba(223, 167, 36, 0.5) !important;
}

.achieve-prog-fill.is-skipped {
  background: #94a3b8 !important;
}

.achieve-prog-fill.is-active {
  background: linear-gradient(90deg, #dfa724 0%, #f3cd64 100%) !important;
}

/* Team Performance Bonus Badge */
.achieve-bonus-pill {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid var(--theme-gold) !important;
  border-radius: 8px !important;
  padding: 0.4rem 0.85rem !important;
  font-weight: 700 !important;
  font-family: var(--bs-font-monospace) !important;
  font-size: 0.88rem !important;
  display: inline-block !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
}

/* Rewards Badge */
.achieve-reward-pill {
  background: rgba(223, 167, 36, 0.12) !important;
  border: 1px solid rgba(223, 167, 36, 0.4) !important;
  color: #7c5503 !important;
  font-weight: 600 !important;
  border-radius: 50rem !important;
  padding: 0.32rem 0.75rem !important;
  font-size: 0.78rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 190px !important;
  line-height: 1.3 !important;
  box-shadow: 0 1px 4px rgba(223, 167, 36, 0.15) !important;
}

/* Ranks Badge */
.achieve-rank-pill {
  background: #0d0e10 !important;
  border: 1px solid rgba(223, 167, 36, 0.45) !important;
  color: var(--theme-gold-light) !important;
  font-weight: 600 !important;
  border-radius: 50rem !important;
  padding: 0.32rem 0.75rem !important;
  font-size: 0.78rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

/* Status Badges */
.achieve-status-badge {
  border-radius: 50rem !important;
  padding: 0.38rem 0.9rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;
}

.achieve-status-badge.is-achieved {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border: 1px solid var(--theme-gold) !important;
  box-shadow: 0 2px 8px rgba(212, 160, 23, 0.3) !important;
}

.achieve-status-badge.is-skipped {
  background: #f1f5f9 !important;
  color: #64748b !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 600 !important;
  cursor: pointer;
}

.achieve-status-badge.is-hold {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1.5px solid rgba(223, 167, 36, 0.45) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
}

.achieve-status-badge.is-progress {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1.5px solid rgba(0, 0, 0, 0.15) !important;
  font-weight: 600 !important;
}

/* Empty State Card */
.achieve-empty-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 16px !important;
  padding: 3.5rem 2rem !important;
  text-align: center !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}

.achieve-empty-icon {
  font-size: 3rem !important;
  color: var(--theme-gold) !important;
  margin-bottom: 1rem !important;
  display: inline-block !important;
}

/* ==========================================================================
   ADMIN DASHBOARD MODULE - GOLDEN, BLACK & WHITE THEME
   ========================================================================== */

/* 5-Column Grid Utility */
@media (min-width: 1200px) {
  .col-xl-2-4 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
    width: 20% !important;
  }
}

/* Dashboard Header */
.btn-admin-refresh {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid var(--theme-gold) !important;
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
}

.btn-admin-refresh:hover {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.35) !important;
}

/* Section 1: KPI Cards */
.admin-kpi-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  overflow: hidden;
}

.admin-kpi-card:hover {
  transform: translateY(-3px) !important;
  border-color: var(--theme-gold) !important;
  box-shadow: 0 10px 24px rgba(223, 167, 36, 0.18) !important;
}

.admin-badge-gold {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border-radius: 50rem !important;
  padding: 0.3rem 0.75rem !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 6px rgba(212, 160, 23, 0.25) !important;
}

.admin-badge-dark {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid rgba(223, 167, 36, 0.4) !important;
  font-weight: 700 !important;
  border-radius: 50rem !important;
  padding: 0.3rem 0.75rem !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

.admin-kpi-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  transition: transform 0.25s ease !important;
}

.admin-kpi-card:hover .admin-kpi-icon {
  transform: scale(1.08);
}

.admin-kpi-icon.icon-gold {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  box-shadow: 0 3px 10px rgba(212, 160, 23, 0.3) !important;
}

.admin-kpi-icon.icon-black {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid rgba(223, 167, 36, 0.4) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
}

.admin-kpi-label {
  font-size: 0.76rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #64748b !important;
  font-weight: 700 !important;
  margin-bottom: 0.25rem !important;
  display: block;
}

.admin-kpi-value {
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}

/* Section 2: Cards & Member Overview */
.admin-dash-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
}

.admin-dash-card .card-header {
  border-bottom: 1.5px solid rgba(223, 167, 36, 0.25) !important;
  padding: 1.15rem 1.4rem !important;
}

.admin-member-tile {
  background: #fafbfc !important;
  border: 1px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 14px !important;
  padding: 1.15rem 0.75rem !important;
  transition: all 0.22s ease !important;
}

.admin-member-tile:hover {
  background: #ffffff !important;
  border-color: var(--theme-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(223, 167, 36, 0.14) !important;
}

.admin-member-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 0.65rem !important;
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1.5px solid var(--theme-gold) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.admin-member-tile:hover .admin-member-icon {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 16px rgba(223, 167, 36, 0.3) !important;
}

.admin-member-icon i {
  font-size: 1.35rem !important;
  -webkit-text-stroke: 0.5px currentColor !important;
  text-stroke: 0.5px currentColor !important;
  display: inline-block !important;
  line-height: 1 !important;
}

.admin-member-icon.icon-gold {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border: none !important;
}

.admin-member-label {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #64748b !important;
  display: block;
  margin-bottom: 0.25rem;
}

.admin-member-value {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 0;
}

.admin-periodic-tile {
  background: #fafbfc !important;
  border: 1px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 14px !important;
  padding: 1rem 1.25rem !important;
  transition: all 0.22s ease !important;
}

.admin-periodic-tile:hover {
  background: #ffffff !important;
  border-color: var(--theme-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(223, 167, 36, 0.14) !important;
}

.admin-periodic-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid rgba(223, 167, 36, 0.4) !important;
  flex-shrink: 0;
  transition: transform 0.2s ease !important;
}

.admin-periodic-tile:hover .admin-periodic-icon {
  transform: scale(1.06);
}

.admin-periodic-icon i {
  font-size: 1.35rem !important;
  -webkit-text-stroke: 0.5px currentColor !important;
  text-stroke: 0.5px currentColor !important;
  line-height: 1 !important;
}

.admin-periodic-label {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #64748b !important;
  display: block !important;
  margin-bottom: 0.25rem !important;
}

.admin-periodic-val {
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}

/* Section 3: Wallets Overview */
.admin-wallet-balance-pill {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid var(--theme-gold) !important;
  border-radius: 50rem !important;
  padding: 0.4rem 1.1rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.admin-wallet-balance-pill strong {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.admin-wallet-stat-box {
  padding: 0.5rem 0.25rem !important;
}

.admin-wallet-stat-label {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #64748b !important;
  display: block;
  margin-bottom: 0.25rem;
}

.admin-wallet-stat-val {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 0;
}

/* Section 4: Action Required Admin Requests */
.admin-action-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(223, 167, 36, 0.25) !important;
  border-left: 4px solid var(--theme-gold) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.admin-action-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(223, 167, 36, 0.16) !important;
}

.admin-action-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid rgba(223, 167, 36, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
}

.btn-admin-action {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid var(--theme-gold) !important;
  border-radius: 50rem !important;
  padding: 0.38rem 1rem !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: all 0.2s ease !important;
}

.btn-admin-action:hover {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border-color: var(--theme-gold) !important;
  transform: translateX(2px);
  box-shadow: 0 3px 10px rgba(212, 160, 23, 0.35) !important;
}

/* Section 5: Store & Orders Overview */
.btn-admin-orders {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1.5px solid rgba(0, 0, 0, 0.2) !important;
  border-radius: 50rem !important;
  padding: 0.35rem 1rem !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  transition: all 0.2s ease !important;
}

.btn-admin-orders:hover {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border-color: var(--theme-gold) !important;
}

.btn-admin-products {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border: 1px solid var(--theme-gold) !important;
  border-radius: 50rem !important;
  padding: 0.35rem 1rem !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(212, 160, 23, 0.3) !important;
}

.btn-admin-products:hover {
  background: linear-gradient(135deg, #e8b63e 0%, #c48e1a 100%) !important;
  color: #000000 !important;
  transform: translateY(-1px);
}

.admin-shop-tile {
  background: #fafbfc !important;
  border: 1px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 14px !important;
  padding: 1.25rem 0.85rem !important;
  transition: all 0.22s ease !important;
}

.admin-shop-tile:hover {
  background: #ffffff !important;
  border-color: var(--theme-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(223, 167, 36, 0.14) !important;
}

.admin-shop-tile-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid rgba(223, 167, 36, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 0.6rem !important;
}

.admin-shop-tile-icon.icon-gold {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border: none !important;
}

/* ==========================================================================
   GENEALOGY MATRIX TREE - LUXURY GOLDEN, BLACK & WHITE THEME
   ========================================================================== */

.tree-header-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  font-size: 1.4rem !important;
}

.genealogy-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden;
}

.genealogy-search-box {
  max-width: 500px;
  margin: 0 auto;
}

.genealogy-search-group {
  border: 1.5px solid rgba(223, 167, 36, 0.35) !important;
  border-radius: 12px !important;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.2s ease;
}

.genealogy-search-group:focus-within {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 0 0 3px rgba(223, 167, 36, 0.2) !important;
}

.tree-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000000 !important;
  padding: 6px 14px;
  border-radius: 12px !important;
  border: 1.5px solid rgba(223, 167, 36, 0.4) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.tree-zoom-btn {
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid rgba(223, 167, 36, 0.3) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.tree-zoom-btn:hover {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border-color: var(--theme-gold) !important;
  transform: scale(1.06) !important;
  box-shadow: 0 2px 8px rgba(223, 167, 36, 0.4) !important;
}

.zoom-level-text {
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff !important;
  min-width: 48px;
  text-align: center;
  letter-spacing: 0.5px;
}

.genealogy-wrapper {
  width: 100%;
  min-height: 540px;
  overflow: auto;
  padding: 40px 20px 140px 20px;
  background: radial-gradient(circle at 50% 35%, rgba(223, 167, 36, 0.05) 0%, rgba(250, 251, 252, 0.95) 60%, #ffffff 100%) !important;
  border-radius: 14px;
  border: 1.5px solid rgba(223, 167, 36, 0.2) !important;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.genealogy-wrapper:active {
  cursor: grabbing;
}

.genealogy-wrapper::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.genealogy-wrapper::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.genealogy-wrapper::-webkit-scrollbar-thumb {
  background: rgba(223, 167, 36, 0.4);
  border-radius: 4px;
}

.genealogy-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--theme-gold);
}

.tree-zoom-container {
  display: inline-block;
  min-width: 100%;
  transform-origin: top center;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
}

/* CSS Tree Structure */
.matrix-tree,
.matrix-tree ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
}

.matrix-tree ul {
  padding-top: 35px;
}

.matrix-tree li {
  text-align: center;
  position: relative;
  padding: 35px 3px 0 3px;
  transition: all 0.3s ease;
  flex: 1 1 auto;
  min-width: 98px;
  display: inline-block;
  vertical-align: top;
  white-space: normal;
}

/* Adjust padding for lower levels with multiple nodes */
.matrix-tree ul ul li {
  min-width: 96px;
  padding-left: 2px;
  padding-right: 2px;
}

/* Connectors - Luxury Gold */
.matrix-tree li::before,
.matrix-tree li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 2px solid rgba(223, 167, 36, 0.45);
  width: 50%;
  height: 35px;
  z-index: 1;
}

.matrix-tree li::after {
  right: auto;
  left: 50%;
  border-left: 2px solid rgba(223, 167, 36, 0.45);
}

.matrix-tree li:only-child::after,
.matrix-tree li:only-child::before {
  display: none;
}

.matrix-tree li:only-child {
  padding-top: 0;
}

.matrix-tree li:first-child::before,
.matrix-tree li:last-child::after {
  border: none;
}

.matrix-tree li:last-child::before {
  border-right: 2px solid rgba(223, 167, 36, 0.45);
  border-radius: 0 8px 0 0;
}

.matrix-tree li:first-child::after {
  border-radius: 8px 0 0 0;
}

.matrix-tree ul ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 2px solid rgba(223, 167, 36, 0.45);
  width: 0;
  height: 35px;
  z-index: 1;
}

/* Node Card Styling */
.matrix-node {
  position: relative;
  display: inline-block;
  z-index: 2;
}

.matrix-tree li:hover {
  z-index: 9999;
}

.matrix-node:hover {
  z-index: 10000;
}

.matrix-user-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  border-radius: 14px;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  width: 96px;
  height: 92px;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.matrix-user-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(223, 167, 36, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.matrix-user-card .avatar-box {
  position: relative;
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
}

.matrix-user-card .avatar-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.matrix-user-card .username-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.matrix-user-card .name-badge {
  max-width: 84px;
  font-size: 0.68rem;
  opacity: 0.85;
}

/* Status Themes - Golden, Black & White */
.status-active {
  background: linear-gradient(135deg, #ffffff 0%, #fffdf7 60%, rgba(223, 167, 36, 0.12) 100%) !important;
  border: 2px solid var(--theme-gold) !important;
  color: #000000 !important;
  box-shadow: 0 4px 12px rgba(223, 167, 36, 0.15);
}

.status-active .avatar-box img {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 0 8px rgba(223, 167, 36, 0.4);
}

.status-active .username-badge {
  color: #000000 !important;
  font-weight: 800;
}

.status-active .name-badge {
  color: #334155 !important;
}

.status-inactive {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 2px solid #000000 !important;
  color: #000000 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.status-inactive .avatar-box img {
  border-color: #000000 !important;
}

.status-inactive .username-badge {
  color: #000000 !important;
  font-weight: 700;
}

.status-inactive .name-badge {
  color: #64748b !important;
}

.status-vacant {
  background: #fafbfc !important;
  border: 2px dashed rgba(223, 167, 36, 0.45) !important;
  color: #94a3b8 !important;
}

.status-vacant .empty-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-gold-light);
  font-size: 1.1rem;
  margin-bottom: 4px;
  border: 1.5px solid rgba(223, 167, 36, 0.4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.status-vacant:hover {
  background: #ffffff !important;
  border-color: var(--theme-gold) !important;
  box-shadow: 0 6px 16px rgba(223, 167, 36, 0.15) !important;
}

.status-vacant:hover .empty-avatar-circle {
  background: var(--theme-gold-gradient);
  color: #000000;
  border-color: var(--theme-gold);
  transform: scale(1.05);
}

/* Hover Details Popover */
.node-details-popover {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  background: #ffffff !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(223, 167, 36, 0.2) !important;
  border: 1.5px solid var(--theme-gold) !important;
  padding: 14px;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
  text-align: left;
  user-select: text;
  -webkit-user-select: text;
  white-space: normal;
}

.node-details-popover::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent #000000 transparent;
}

.matrix-node:hover .node-details-popover,
.matrix-node.active-popover .node-details-popover,
.node-details-popover:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(8px);
}

.popover-header-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #000000 !important;
  padding: 10px 14px !important;
  margin: -14px -14px 12px -14px !important;
  border-radius: 12px 12px 0 0 !important;
  border-bottom: 2px solid var(--theme-gold) !important;
}

.popover-avatar {
  object-fit: cover;
  border: 2px solid var(--theme-gold) !important;
}

.popover-name {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
}

.popover-username {
  color: var(--theme-gold-light) !important;
  font-weight: 600;
  font-size: 0.78rem;
}

.btn-popover-view {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  border: 1px solid var(--theme-gold) !important;
  border-radius: 6px !important;
  padding: 3px 8px !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-popover-view:hover {
  background: linear-gradient(135deg, #e8b63e 0%, #c48e1a 100%) !important;
  color: #000000 !important;
  transform: scale(1.05);
}

.popover-table {
  width: 100%;
  font-size: 0.8rem;
  border-collapse: separate;
  border-spacing: 0 4px;
}

.popover-table th {
  color: #64748b;
  font-weight: 600;
  padding: 3px 0;
  width: 42%;
}

.popover-table td {
  color: #0f172a;
  font-weight: 700;
  padding: 3px 0;
  text-align: right;
}

/* Legend Card & Indicators */
.legend-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1.5px solid rgba(223, 167, 36, 0.25);
  color: #0f172a;
  transition: all 0.2s ease;
}

.legend-badge:hover {
  border-color: var(--theme-gold);
  transform: translateY(-1px);
}

.dot-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-indicator.dot-active {
  background: var(--theme-gold-gradient);
  box-shadow: 0 0 8px rgba(223, 167, 36, 0.6);
}

.dot-indicator.dot-inactive {
  background: #000000;
  border: 1px solid rgba(223, 167, 36, 0.4);
}

.dot-indicator.dot-vacant {
  background: #f8fafc;
  border: 2px dashed var(--theme-gold);
}

/* ==========================================================================
   USER MANAGEMENT & ADMIN DATATABLES - GOLDEN, BLACK & WHITE THEME
   ========================================================================== */

/* Filter & Action Cards */
.admin-filter-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(223, 167, 36, 0.3) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}

.admin-table-card,
.admin-form-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
}

/* Form Labels & Controls inside User Management */
.admin-filter-card .form-label,
.admin-form-card .form-label {
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  margin-bottom: 0.45rem !important;
}

.admin-filter-card .form-control,
.admin-filter-card .form-select,
.admin-form-card .form-control,
.admin-form-card .form-select {
  border: 1.5px solid rgba(0, 0, 0, 0.14) !important;
  border-radius: 8px !important;
  font-size: 0.88rem !important;
  padding: 0.52rem 0.85rem;
  transition: all 0.2s ease !important;
}

.admin-filter-card .form-control:focus,
.admin-filter-card .form-select:focus,
.admin-form-card .form-control:focus,
.admin-form-card .form-select:focus {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 0 0 3px rgba(223, 167, 36, 0.2) !important;
  outline: none !important;
}

/* ==========================================================================
   INTL-TEL-INPUT OVERLAP FIX & STYLING
   ========================================================================== */

.iti {
  width: 100% !important;
  display: block !important;
  position: relative !important;
}

.iti .iti__flag-container {
  z-index: 4 !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: #f8fafc !important;
  border-right: 1.5px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px 0 0 8px !important;
  padding: 0 8px 0 10px !important;
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

.iti--separate-dial-code .iti__selected-dial-code {
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-left: 6px !important;
  font-size: 0.88rem !important;
  line-height: normal !important;
}

/* Ensure mobile number text never overlaps flag or dial code */
.iti--separate-dial-code input.form-control,
.iti--separate-dial-code input[type="tel"],
.iti--separate-dial-code input.mobile_no,
.admin-form-card .iti--separate-dial-code .form-control,
.admin-form-card .iti--separate-dial-code input.mobile_no,
.admin-form-card .iti--separate-dial-code input[type="tel"] {
  padding-left: 96px !important;
}

.iti__country-list {
  z-index: 1060 !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border: 1.5px solid rgba(223, 167, 36, 0.3) !important;
  max-height: 220px !important;
}

.iti__country-list .iti__country:hover,
.iti__country-list .iti__country.iti__highlight {
  background-color: rgba(223, 167, 36, 0.12) !important;
  color: #000000 !important;
}

/* Datepicker Clear Buttons */
.btn-date-clear {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1.5px solid rgba(223, 167, 36, 0.4) !important;
  border-left: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 0.85rem !important;
  transition: all 0.2s ease !important;
}

.btn-date-clear:hover {
  background: #1e2025 !important;
  color: #ffffff !important;
  border-color: var(--theme-gold) !important;
}

/* User Management DataTable Styling */
.table-data-list {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.table-data-list thead th {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  border-bottom: 2px solid var(--theme-gold) !important;
  padding: 0.9rem 1rem !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

.table-data-list tbody td {
  padding: 0.85rem 1rem !important;
  vertical-align: middle !important;
  font-size: 0.875rem !important;
  color: #1e293b !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  background-color: #ffffff;
  transition: background-color 0.2s ease !important;
  white-space: nowrap !important;
}

/* Ensure all DataTable columns, cells, and contents never wrap */
table.dataTable th,
table.dataTable td,
table.dataTable thead th,
table.dataTable thead td,
table.dataTable tbody th,
table.dataTable tbody td,
table.dataTable tfoot th,
table.dataTable tfoot td,
.table-data-list th,
.table-data-list td,
.data-list-table th,
.data-list-table td,
.card-datatable table th,
.card-datatable table td,
.dataTables_wrapper table th,
.dataTables_wrapper table td {
  white-space: nowrap !important;
}

table.dataTable tbody td .d-flex,
.table-data-list tbody td .d-flex,
.data-list-table tbody td .d-flex {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.table-data-list tbody tr:hover td {
  background-color: rgba(223, 167, 36, 0.05) !important;
}

/* Action Buttons inside DataTable */
.table-data-list td .btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  margin: 2px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.table-data-list td .btn:hover {
  transform: translateY(-2px) scale(1.05) !important;
}

/* Edit action (btn-primary) */
.table-data-list td .btn.btn-primary {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border: 1px solid var(--theme-gold) !important;
}

.table-data-list td .btn.btn-primary:hover {
  box-shadow: 0 4px 10px rgba(223, 167, 36, 0.45) !important;
}

/* View/Details action (btn-secondary) */
.table-data-list td .btn.btn-secondary {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid rgba(223, 167, 36, 0.4) !important;
}

.table-data-list td .btn.btn-secondary:hover {
  background: #1e2025 !important;
  border-color: var(--theme-gold) !important;
  color: #ffffff !important;
}

/* Auto Login & 2FA action (btn-info) */
.table-data-list td .btn.btn-info {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid rgba(223, 167, 36, 0.5) !important;
}

.table-data-list td .btn.btn-info:hover {
  background: var(--theme-gold) !important;
  color: #000000 !important;
  border-color: var(--theme-gold-dark) !important;
}

/* Reset Password action (btn-danger) */
.table-data-list td .btn.btn-danger {
  background: #180808 !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.5) !important;
}

.table-data-list td .btn.btn-danger:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
}

/* Status Badges in DataTable */
.table-data-list .badge.bg-success,
.admin-detail-table .badge.bg-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.74rem !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: 50rem !important;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.table-data-list .badge.bg-danger,
.admin-detail-table .badge.bg-danger {
  background: #000000 !important;
  color: #ef4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  font-weight: 700 !important;
  font-size: 0.74rem !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: 50rem !important;
  letter-spacing: 0.3px;
}

/* DataTables Controls (Search, Length, Pagination) */
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_info {
  color: #475569 !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
}

.dataTables_wrapper .dataTables_length select {
  border: 1.5px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 8px !important;
  padding: 0.35rem 0.75rem !important;
  font-weight: 600;
  outline: none !important;
}

.dataTables_wrapper .dataTables_length select:focus {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 0 0 3px rgba(223, 167, 36, 0.2) !important;
}

.dataTables_wrapper .dataTables_filter input {
  border: 1.5px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 8px !important;
  padding: 0.35rem 0.75rem !important;
  margin-left: 0.5rem !important;
  outline: none !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 0 0 3px rgba(223, 167, 36, 0.2) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  padding: 0.35rem 0.75rem !important;
  margin: 0 2px !important;
  transition: all 0.2s ease !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border-color: var(--theme-gold) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border-color: var(--theme-gold) !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(212, 160, 23, 0.35) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  opacity: 0.4 !important;
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  border-color: transparent !important;
}

/* User Edit Avatar Styling */
.admin-edit-avatar-box {
  background: #f8fafc;
  border: 1.5px solid rgba(223, 167, 36, 0.25);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
}

.admin-edit-avatar-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--theme-gold) !important;
  box-shadow: 0 6px 18px rgba(223, 167, 36, 0.25);
  margin-bottom: 1rem;
}

.btn-upload-avatar {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid var(--theme-gold) !important;
  border-radius: 50rem !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  padding: 0.45rem 1.15rem !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
}

.btn-upload-avatar:hover {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(223, 167, 36, 0.35);
}

.btn-upload-avatar input[type="file"] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  cursor: inherit;
  display: block;
}

/* Crop Modal buttons */
.btn-crop-zoom {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1px solid rgba(223, 167, 36, 0.4) !important;
  transition: all 0.2s ease !important;
}

.btn-crop-zoom:hover {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border-color: var(--theme-gold) !important;
}

/* ==========================================================================
   GENEALOGY GENERATION TREE - MOBILE HORIZONTAL SCROLL & GOLDEN THEME
   ========================================================================== */

.generation-tree-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border-radius: 14px !important;
  border: 1px solid rgba(223, 167, 36, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

/* Mobile Scroll Notification Pill */
.generation-scroll-hint {
  width: 100%;
}

.generation-hint-pill {
  background: rgba(223, 167, 36, 0.1) !important;
  border: 1px dashed rgba(223, 167, 36, 0.45) !important;
  color: #1e293b !important;
  font-size: 0.82rem !important;
}

/* Horizontal Scroll Container */
.generation-tree-scroll-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x pan-y;
  padding: 1rem 0.5rem 1.5rem 0.5rem;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.generation-tree-scroll-wrapper.is-dragging {
  cursor: grabbing !important;
}

/* Custom Scrollbar for Smooth Touch & Desktop Scrolling */
.generation-tree-scroll-wrapper::-webkit-scrollbar {
  height: 8px !important;
}

.generation-tree-scroll-wrapper::-webkit-scrollbar-track {
  background: #f1f5f9 !important;
  border-radius: 6px !important;
}

.generation-tree-scroll-wrapper::-webkit-scrollbar-thumb {
  background: rgba(223, 167, 36, 0.45) !important;
  border-radius: 6px !important;
}

.generation-tree-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--theme-gold) !important;
}

/* Canvas ensures content never compresses on narrow mobile viewports */
.generation-tree-canvas {
  display: inline-block !important;
  min-width: 780px !important;
  width: max-content !important;
  text-align: left !important;
}

/* Section Badges and Dividers */
.generation-section-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid rgba(223, 167, 36, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
}

.generation-divider-line {
  position: relative;
  text-align: center;
  margin: 1.5rem 0 1rem 0;
}

.generation-divider-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(223, 167, 36, 0.1) 0%, rgba(223, 167, 36, 0.4) 50%, rgba(223, 167, 36, 0.1) 100%);
}

.generation-divider-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0f172a;
  border: 1px solid rgba(223, 167, 36, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Keep node cards in wide horizontal row inside tree and scroll wrapper */
.generation-tree-scroll-wrapper .genealogy-sponsor-summary,
.tree.jstree .genealogy-sponsor-summary,
.jstree .genealogy-sponsor-summary {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  min-width: 680px !important;
  width: max-content !important;
  height: auto !important;
  min-height: 70px !important;
  white-space: nowrap !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(223, 167, 36, 0.3) !important;
  border-radius: 12px !important;
  padding: 0.75rem 1.25rem !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.generation-tree-scroll-wrapper .genealogy-sponsor-summary:hover,
.tree.jstree .genealogy-sponsor-summary:hover,
.jstree .genealogy-sponsor-summary:hover {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 4px 16px rgba(223, 167, 36, 0.18) !important;
  transform: translateY(-1px);
}

.generation-tree-scroll-wrapper .genealogy-sponsor-summary .sponsor-summary-divider,
.tree.jstree .genealogy-sponsor-summary .sponsor-summary-divider,
.jstree .genealogy-sponsor-summary .sponsor-summary-divider {
  display: block !important;
  width: 1px !important;
  height: 32px !important;
  background: rgba(223, 167, 36, 0.25) !important;
  margin: 0 0.75rem !important;
  flex-shrink: 0 !important;
}

.generation-tree-scroll-wrapper .genealogy-sponsor-summary .sponsor-user-profile,
.tree.jstree .genealogy-sponsor-summary .sponsor-user-profile,
.jstree .genealogy-sponsor-summary .sponsor-user-profile {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.75rem !important;
  width: auto !important;
  min-width: 190px !important;
  justify-content: flex-start !important;
  flex-shrink: 0 !important;
}

.generation-tree-scroll-wrapper .genealogy-sponsor-summary .sponsor-summary-item,
.tree.jstree .genealogy-sponsor-summary .sponsor-summary-item,
.jstree .genealogy-sponsor-summary .sponsor-summary-item {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.generation-tree-scroll-wrapper .genealogy-sponsor-summary .sponsor-item-value,
.tree.jstree .genealogy-sponsor-summary .sponsor-item-value,
.jstree .genealogy-sponsor-summary .sponsor-item-value {
  white-space: nowrap !important;
}

.generation-tree-scroll-wrapper .genealogy-sponsor-summary .sponsor-item-label,
.tree.jstree .genealogy-sponsor-summary .sponsor-item-label,
.jstree .genealogy-sponsor-summary .sponsor-item-label {
  white-space: nowrap !important;
}

/* ==========================================================================
   JSTREE FIX FOR COMPLETE OVERLAP PREVENTION (LAPTOP & MOBILE)
   ========================================================================== */

.tree.jstree,
.tree.jstree.jstree-default {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  padding-left: 0.25rem !important;
}

.tree.jstree .jstree-container-ul,
.tree.jstree.jstree-default .jstree-container-ul,
.tree.jstree .jstree-children,
.tree.jstree.jstree-default .jstree-children {
  display: block !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.tree.jstree .jstree-children,
.tree.jstree.jstree-default .jstree-children {
  padding-left: 36px !important;
  margin-top: 10px !important;
}

/* Each node is an independent block with clear spacing and full auto height */
.tree.jstree .jstree-node,
.tree.jstree.jstree-default .jstree-node,
.tree.jstree li.jstree-node,
.jstree-default .jstree-node,
li.jstree-node {
  display: block !important;
  height: auto !important;
  min-height: 84px !important;
  line-height: normal !important;
  margin-top: 6px !important;
  margin-bottom: 14px !important;
  padding: 0 !important;
  clear: both !important;
  position: relative !important;
  white-space: nowrap !important;
}

/* Anchor expands naturally to wrap the full card height */
.tree.jstree .jstree-anchor,
.tree.jstree.jstree-default .jstree-anchor,
.tree.jstree a.jstree-anchor,
.jstree-default .jstree-anchor,
a.jstree-anchor {
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
  height: auto !important;
  min-height: 70px !important;
  line-height: normal !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  cursor: default !important;
  color: inherit !important;
  text-decoration: none !important;
}

.tree.jstree .jstree-anchor:hover,
.tree.jstree .jstree-anchor:focus,
.tree.jstree .jstree-anchor:active,
.jstree-default .jstree-anchor:hover,
.jstree-default .jstree-anchor:focus,
.jstree-default .jstree-anchor:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: inherit !important;
}

/* Open/Close toggle icons vertically centered with the card */
.tree.jstree .jstree-ocl,
.tree.jstree.jstree-default .jstree-ocl,
.jstree-default .jstree-ocl,
i.jstree-ocl {
  display: inline-block !important;
  vertical-align: middle !important;
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  margin: 0 10px 0 0 !important;
  float: none !important;
  position: relative !important;
  top: 0 !important;
  border-radius: 6px !important;
  transition: background 0.2s ease !important;
}

.tree.jstree .jstree-ocl:hover,
.jstree-default .jstree-ocl:hover {
  background: rgba(223, 167, 36, 0.15) !important;
}

/* Responsive adjustments ensuring horizontal layout never wraps into vertical stacks */
@media (max-width: 768px) {
  .generation-tree-card {
    border-radius: 12px !important;
  }

  .generation-tree-card .card-body {
    padding: 1rem 0.75rem !important;
  }

  .generation-tree-scroll-wrapper {
    padding: 0.5rem 0.25rem 1rem 0.25rem !important;
  }

  /* Force cards inside generation scroll wrapper to stay horizontal on mobile */
  .generation-tree-scroll-wrapper .genealogy-sponsor-summary,
  .tree.jstree .genealogy-sponsor-summary {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    text-align: left !important;
    min-width: 680px !important;
    width: max-content !important;
    margin: 0 !important;
  }

  .generation-tree-scroll-wrapper .genealogy-sponsor-summary .sponsor-summary-divider,
  .tree.jstree .genealogy-sponsor-summary .sponsor-summary-divider {
    display: block !important;
  }

  .generation-tree-scroll-wrapper .genealogy-sponsor-summary .sponsor-user-profile,
  .tree.jstree .genealogy-sponsor-summary .sponsor-user-profile {
    width: auto !important;
    justify-content: flex-start !important;
  }
}

/* ==========================================================================
   ATTACHMENT CHIP BUTTON (attachment_btn in general_helper.php)
   ========================================================================== */

.btn-attachment-chip,
a.btn-attachment-chip,
.table a.btn-attachment-chip,
table.dataTable a.btn-attachment-chip,
table.dataTable tbody td a.btn-attachment-chip,
.table-data-list tbody td a.btn-attachment-chip,
.modal-body a.btn-attachment-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  padding: 0.35rem 0.75rem !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1.5px solid rgba(223, 167, 36, 0.4) !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  max-width: 100% !important;
  vertical-align: middle !important;
  margin: 2px 0 !important;
}

/* Suppress underlines unconditionally across all states and descendants */
.btn-attachment-chip,
.btn-attachment-chip:hover,
.btn-attachment-chip:focus,
.btn-attachment-chip:active,
.btn-attachment-chip *,
.btn-attachment-chip:hover *,
.btn-attachment-chip:focus *,
.btn-attachment-chip:active * {
  text-decoration: none !important;
}

.btn-attachment-chip:hover,
.btn-attachment-chip:focus,
a.btn-attachment-chip:hover,
a.btn-attachment-chip:focus,
.table a.btn-attachment-chip:hover,
.table a.btn-attachment-chip:focus,
table.dataTable a.btn-attachment-chip:hover,
table.dataTable a.btn-attachment-chip:focus,
table.dataTable tbody td a.btn-attachment-chip:hover,
table.dataTable tbody td a.btn-attachment-chip:focus,
.table-data-list tbody td a.btn-attachment-chip:hover,
.table-data-list tbody td a.btn-attachment-chip:focus,
.modal-body a.btn-attachment-chip:hover,
.modal-body a.btn-attachment-chip:focus {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border-color: var(--theme-gold) !important;
  box-shadow: 0 4px 12px rgba(223, 167, 36, 0.38) !important;
  transform: translateY(-1px) !important;
  text-decoration: none !important;
}

/* Left Type Icon Box */
.btn-attachment-chip .attachment-chip-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  background: rgba(223, 167, 36, 0.14) !important;
  color: var(--theme-gold-dark) !important;
  border-radius: 5px !important;
  font-size: 0.95rem !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.btn-attachment-chip:hover .attachment-chip-icon,
.btn-attachment-chip:focus .attachment-chip-icon,
a.btn-attachment-chip:hover .attachment-chip-icon,
.table a.btn-attachment-chip:hover .attachment-chip-icon,
table.dataTable a.btn-attachment-chip:hover .attachment-chip-icon {
  background: rgba(0, 0, 0, 0.12) !important;
  color: #000000 !important;
  text-decoration: none !important;
}

/* Filename Text - Never turns gold, always crisp black & bold */
.btn-attachment-chip .attachment-chip-name {
  display: inline-block !important;
  max-width: 170px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #000000 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.btn-attachment-chip:hover .attachment-chip-name,
.btn-attachment-chip:focus .attachment-chip-name,
a.btn-attachment-chip:hover .attachment-chip-name,
.table a.btn-attachment-chip:hover .attachment-chip-name,
table.dataTable a.btn-attachment-chip:hover .attachment-chip-name,
table.dataTable tbody td a.btn-attachment-chip:hover .attachment-chip-name,
.btn-attachment-chip:hover .attachment-chip-name *,
.btn-attachment-chip:focus .attachment-chip-name *,
a.btn-attachment-chip:hover .attachment-chip-name *,
.table a.btn-attachment-chip:hover .attachment-chip-name * {
  color: #000000 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Right Action / Eye Icon */
.btn-attachment-chip .attachment-chip-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  font-size: 0.85rem !important;
  margin-left: 2px !important;
  flex-shrink: 0 !important;
  transition: color 0.2s ease !important;
  text-decoration: none !important;
  border: none !important;
}

.btn-attachment-chip:hover .attachment-chip-action,
.btn-attachment-chip:focus .attachment-chip-action,
a.btn-attachment-chip:hover .attachment-chip-action,
.table a.btn-attachment-chip:hover .attachment-chip-action,
table.dataTable a.btn-attachment-chip:hover .attachment-chip-action,
table.dataTable tbody td a.btn-attachment-chip:hover .attachment-chip-action,
.btn-attachment-chip:hover .attachment-chip-action i,
.btn-attachment-chip:focus .attachment-chip-action i,
a.btn-attachment-chip:hover .attachment-chip-action i,
.table a.btn-attachment-chip:hover .attachment-chip-action i {
  color: #000000 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* ==========================================================================
   FUND MANAGEMENT MODULE - GOLDEN, BLACK & WHITE THEME
   ========================================================================== */

.fund-stat-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  overflow: hidden;
}

.fund-stat-card:hover {
  transform: translateY(-3px) !important;
  border-color: var(--theme-gold) !important;
  box-shadow: 0 10px 24px rgba(223, 167, 36, 0.18) !important;
}

.fund-address-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(223, 167, 36, 0.3) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.fund-address-card:hover {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 8px 22px rgba(223, 167, 36, 0.15) !important;
}

.fund-address-input {
  background: #fafbfc !important;
  border: 1.5px solid rgba(223, 167, 36, 0.35) !important;
  font-family: var(--bs-font-monospace) !important;
  font-size: 0.88rem !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  border-radius: 8px 0 0 8px !important;
}

.fund-address-input:focus {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 0 0 3px rgba(223, 167, 36, 0.2) !important;
}

.fund-detail-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(223, 167, 36, 0.25);
  border-radius: 12px;
  overflow: hidden;
}

.fund-detail-table th {
  background-color: #fafbfc;
  color: #475569;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  width: 36%;
  vertical-align: middle;
}

.fund-detail-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #0f172a;
  font-size: 0.88rem;
  vertical-align: middle;
  background-color: #ffffff;
}

.fund-detail-table tr:last-child th,
.fund-detail-table tr:last-child td {
  border-bottom: none;
}

.fund-summary-banner {
  background: radial-gradient(circle at top right, rgba(223, 167, 36, 0.12) 0%, rgba(255, 255, 255, 0.95) 70%), #ffffff;
  border: 1.5px solid rgba(223, 167, 36, 0.3);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 3px 12px rgba(223, 167, 36, 0.08);
}

/* ==========================================================================
   PROFILE & SECURITY SETTINGS STYLING
   ========================================================================== */

.profile-nav-pills .nav-link {
  color: #475569 !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 0.65rem 1.25rem !important;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease !important;
  display: inline-flex;
  align-items: center;
}

.profile-nav-pills .nav-link:hover {
  background: rgba(223, 167, 36, 0.1) !important;
  border-color: var(--theme-gold) !important;
  color: #000000 !important;
}

.profile-nav-pills .nav-link.active {
  background: var(--theme-gold-gradient) !important;
  color: #000000 !important;
  border-color: var(--theme-gold) !important;
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.3) !important;
}

.custom-option.custom-option-icon .custom-option-content {
  border: 1.5px solid rgba(223, 167, 36, 0.25) !important;
  border-radius: 12px !important;
  transition: all 0.22s ease !important;
}

.custom-option.custom-option-icon .custom-option-content:hover {
  border-color: var(--theme-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(223, 167, 36, 0.18) !important;
}

.custom-option.custom-option-icon .form-check-input:checked~.custom-option-content,
.custom-option.custom-option-icon.checked .custom-option-content {
  border-color: var(--theme-gold) !important;
  background: #fffdf7 !important;
  box-shadow: 0 0 0 2px var(--theme-gold) !important;
}

.qr-code-box {
  background: #ffffff;
  border: 2px solid var(--theme-gold);
  border-radius: 14px;
  padding: 1rem;
  display: inline-block;
  box-shadow: 0 6px 20px rgba(223, 167, 36, 0.15);
}

.secret-key-box {
  background: #f8fafc;
  border: 1px dashed rgba(223, 167, 36, 0.6);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

/* ==========================================================================
   AUTHENTICATION PAGES (LOGIN, REGISTER, FORGOT, RESET, ACTIVATE, 2FA)
   Ultra-Luxury Golden, Deep Black & Clean White Styling
   ========================================================================== */

/* Background with deep dark overlay and fixed tech wallpaper */
.body-bg-image {
  background-color: #0b0c0e !important;
  background-image: radial-gradient(circle at center, rgba(13, 14, 16, 0.75) 0%, rgba(0, 0, 0, 0.95) 100%), url("../img/auth-background.jpg") !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  min-height: 100vh !important;
  position: relative !important;
}

/* Fixed particle canvas across entire viewport */
#particles-js {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* Override default auth.css purple SVG pseudo elements */
.authentication-wrapper.authentication-basic .authentication-inner:before,
.authentication-wrapper.authentication-basic .authentication-inner:after {
  display: none !important;
}

.authentication-wrapper {
  position: relative !important;
  z-index: 1 !important;
}

.authentication-wrapper.authentication-basic .authentication-inner {
  max-width: 450px;
  width: 100%;
}

.authentication-wrapper.authentication-basic .authentication-inner.auth-inner-wide {
  max-width: 650px !important;
}

/* Luxury Auth Card */
.auth-card {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(223, 167, 36, 0.45) !important;
  border-top: 4px solid var(--theme-gold) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 35px rgba(223, 167, 36, 0.15) !important;
  overflow: hidden !important;
  transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.auth-card:hover {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 45px rgba(223, 167, 36, 0.22) !important;
}

.auth-card .card-body {
  padding: 2.5rem 2.25rem !important;
}

@media (max-width: 575.98px) {
  .auth-card .card-body {
    padding: 1.75rem 1.25rem !important;
  }
}

/* Brand Logo Container */
.auth-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: #ffffff;
  border: 1.5px solid rgba(223, 167, 36, 0.35);
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

.auth-brand-badge:hover {
  border-color: var(--theme-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(223, 167, 36, 0.2);
}

.auth-brand-badge img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* Auth Header Typography */
.auth-title {
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 1.5rem !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0.35rem !important;
}

.auth-subtitle {
  color: #64748b !important;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
}

/* Form Labels */
.auth-card .form-label {
  color: #1e293b !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 0.35rem !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Inputs & Input Groups */
.auth-card .form-control,
.auth-card .form-select {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 0.65rem 0.95rem !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}

.auth-card .form-control:focus,
.auth-card .form-select:focus {
  background-color: #ffffff !important;
  border-color: var(--theme-gold) !important;
  box-shadow: 0 0 0 3.5px rgba(223, 167, 36, 0.2) !important;
  outline: none !important;
}

.auth-card .input-group {
  border-radius: 10px !important;
}

.auth-card .input-group .form-control {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.auth-card .input-group-text {
  background-color: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-left: none !important;
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  color: #64748b !important;
  transition: all 0.2s ease !important;
}

.auth-card .input-group:focus-within .input-group-text {
  border-color: var(--theme-gold) !important;
  background-color: #ffffff !important;
  color: var(--theme-gold-dark) !important;
}

.auth-card .input-group:focus-within .form-control {
  border-color: var(--theme-gold) !important;
}

/* Primary Auth Submit Button */
.auth-btn-primary,
.auth-card .btn-primary {
  background: var(--theme-gold-gradient) !important;
  background-color: var(--theme-gold) !important;
  color: #000000 !important;
  border: 1px solid var(--theme-gold) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border-radius: 10px !important;
  padding: 0.72rem 1.5rem !important;
  box-shadow: 0 4px 14px rgba(223, 167, 36, 0.35) !important;
  transition: all 0.22s ease !important;
}

.auth-btn-primary:hover,
.auth-card .btn-primary:hover {
  background: linear-gradient(135deg, #ebb928 0%, #c59313 100%) !important;
  color: #000000 !important;
  border-color: var(--theme-gold-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(223, 167, 36, 0.48) !important;
}

/* Secondary Auth Outline Button (e.g. Activate Account) */
.auth-btn-secondary,
.auth-card .btn-outline-primary {
  background: #000000 !important;
  background-color: #000000 !important;
  color: var(--theme-gold-light) !important;
  border: 1.5px solid var(--theme-gold) !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  border-radius: 10px !important;
  padding: 0.7rem 1.5rem !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.22s ease !important;
}

.auth-btn-secondary:hover,
.auth-card .btn-outline-primary:hover {
  background: #1e2025 !important;
  background-color: #1e2025 !important;
  color: #ffffff !important;
  border-color: var(--theme-gold-light) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 15px rgba(223, 167, 36, 0.25) !important;
}

/* Links & Footer in Auth Cards */
.auth-card a:not(.btn) {
  color: #b88312 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.auth-card a:not(.btn):hover {
  color: #8c6209 !important;
  text-decoration: underline !important;
}

.auth-forgot-link {
  color: #b88312 !important;
  font-weight: 600 !important;
  transition: color 0.2s ease;
}

.auth-forgot-link:hover {
  color: #8c6209 !important;
}

.auth-card hr {
  border-color: rgba(223, 167, 36, 0.25) !important;
  opacity: 1 !important;
  margin: 1.5rem 0 1rem !important;
}

.auth-footer-text {
  color: #64748b !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
}

/* Dynamic Feedback Cards (Activation & Registration Success) */
.auth-feedback-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(223, 167, 36, 0.35) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden;
}

.auth-credential-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-credential-box code,
.auth-credential-box span.mono-text {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

.auth-copy-btn {
  background: rgba(223, 167, 36, 0.12) !important;
  color: #b88312 !important;
  border: 1px solid rgba(223, 167, 36, 0.3) !important;
  border-radius: 6px !important;
  padding: 0.25rem 0.65rem !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}

.auth-copy-btn:hover {
  background: var(--theme-gold) !important;
  color: #000000 !important;
  border-color: var(--theme-gold) !important;
  transform: translateY(-1px);
}

.auth-qr-container {
  background: #ffffff;
  border: 2px solid var(--theme-gold);
  border-radius: 14px;
  padding: 10px;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(223, 167, 36, 0.2);
}

.auth-verification-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-top: 0.35rem;
}

.bottom-nav {
    position: fixed;
    bottom: 2px;
    width: 95%;
    height: 70px;
    /* left: 0; */
    background: #000000;

    backdrop-filter: blur(23px);

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    z-index: 100;

    border: 1px solid #f5b8178a;
    border-radius: 63px;
    margin: 11px;
}