.jvm-zoom-btn.jvm-zoomin,
.jvm-zoom-btn.jvm-zoomout {
  top: 10px;
  background: #d1d5db;
  color: #111827;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
}

.slick-dots {
  display: flex !important;
}

.fc-toolbar-title {
  font-size: 24px !important;
  font-weight: 600;
}

.fc-button {
  border-color: var(--primary-600) !important;
  background: #fff !important;
  color: var(--primary-600) !important;
  font-weight: 600 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-width: 80px !important;
}

.fc-button:hover {
  background-color: var(--primary-50) !important;
}

.fc-button-active {
  color: #fff !important;
  background-color: var(--primary-600) !important;
}

.fc-button-active:hover {
  color: #fff !important;
  background-color: var(--primary-600) !important;
}

.fc-button-active:focus,
.fc .fc-button-primary:not(:disabled):active:focus {
  box-shadow: none !important;
}

.fc-toolbar-chunk {
  display: flex !important;
}

.fc .fc-button-primary:focus {
  box-shadow: none !important;
}

.fc-h-event {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  background-color: var(--primary-50) !important;
  color: var(--primary-600) !important;
}

.fc-h-event .fc-event-main {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  background-color: var(--primary-50) !important;
  color: var(--primary-600) !important;
}

.fc-v-event .fc-event-main {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  background-color: var(--primary-50) !important;
  color: var(--primary-600) !important;
}

.fc-daygrid-day-number {
  transition: background-color 0.2s;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  border-radius: 50%;
}

.fc-daygrid-day:hover .fc-daygrid-day-number {
  background-color: var(--primary-100) !important;
  color: var(--primary-600) !important;
  transition: background-color 0.2s;
}

.slider-progress .active {
  transition: all 0.3s linear;
}

.slick-list {
  margin: 0 -7px;
}

.slick-slide > div {
  padding: 0 10px;
}

.center-gap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.inline-grid {
  display: inline-grid;
}

.image-upload__boxInner.custom {
  display: flex;
  justify-content: center;
  align-items: center;
}

table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
  text-align: unset !important;
}

/* Hide all submenus by default */
.sidebar-submenu {
  /* display: none; */
  list-style: none;
  padding-left: 20px;
  /* Adjust as needed */
}

.sidebar-menu .sidebar-submenu {
  display: block;
}

/* Optional: Add transition for smooth toggle */
.sidebar-menu .dropdown .sidebar-submenu {
  transition: max-height 0.3s linear;
  overflow: hidden;
  max-height: 0px;
}

/* .sidebar-menu .dropdown.open .sidebar-submenu {
  max-height: 1000px;
} */

.sidebar-menu li > a > i {
  margin-inline-end: 0;
}

.mr-10 {
  margin-right: 10px !important;
}

.sidebar-menu .sidebar-submenu li a {
  gap: 12px;
}

.sidebar-menu .sidebar-submenu li > .active-page {
  background-color: var(--button-secondary);
  color: var(--text-primary-light);
}

.sidebar-menu li > a.active-page:hover {
  color: var(--text-primary-light);
}
.me-8 {
  margin-right: 8px;
}

.gap-10 {
  display: flex;
  gap: 8px;
}

.w-33 {
  width: 33.33%;
}

.overlay::after {
  position: absolute;
  content: "";
  top: 0;
  inset-inline-start: 0;
  width: 0;
  height: 100%;
  background-color: #000;
  opacity: 0.65;
  transition: all 0.3s;
  z-index: 2;
}

.overlay.active::after {
  width: 100%;
}

.Gallery-masonry {
  background: #000;
  z-index: 99999;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
}

/* Sidebar menu group title styling */
.sidebar-menu .sidebar-menu-group-title {
  color: var(--neutral-500);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1.15rem 0.75rem 0.35rem;
  list-style: none;
}

.sidebar-menu li a {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: var(--text-secondary-light);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s ease-in-out;
}

.sidebar-menu li a:hover {
  background-color: var(--primary-50);
  color: var(--primary-600);
}

.sidebar-menu li a.active-page {
  background-color: var(--primary-600) !important;
  color: #fff !important;
}

.sidebar-menu li a.active-page i,
.sidebar-menu li a.active-page .menu-icon,
.sidebar-menu li a.active-page svg {
  color: #fff !important;
}

.sidebar-menu li.dropdown > a {
  cursor: pointer;
}

/* ==========================================================================
   Omni B2B Sub-Page Harmonization & WowDash Design Integration
   ========================================================================== */

/* 1. Neutralize conflicting subpage container heights & mismatched backgrounds */
.wowdash-theme-root main.min-h-dvh,
.wowdash-theme-root main[class*="min-h-"],
.wowdash-theme-root main[class*="bg-[#F8F9FA]"] {
  min-height: auto !important;
  background-color: transparent !important;
  padding: 0 !important;
}

.wowdash-theme-root main > div[class*="max-w-"] {
  max-width: 100% !important;
  margin: 0 !important;
}

/* 2. Seamless Form Inputs, Selects, and Textareas */
.wowdash-theme-root input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="range"]):not([type="hidden"]),
.wowdash-theme-root select,
.wowdash-theme-root textarea {
  min-height: 40px !important;
  padding: 0.5rem 0.85rem !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #1e293b !important;
  background-color: #ffffff !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.wowdash-theme-root select {
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 14px 10px !important;
  padding-right: 2.25rem !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.wowdash-theme-root input:not([type="checkbox"]):not([type="radio"]):focus,
.wowdash-theme-root select:focus,
.wowdash-theme-root textarea:focus {
  border-color: #487fff !important;
  box-shadow: 0 0 0 0.2rem rgba(72, 127, 255, 0.18) !important;
}

/* 3. Checkboxes & Radios */
.wowdash-theme-root input[type="checkbox"],
.wowdash-theme-root input[type="radio"] {
  width: 17px !important;
  height: 17px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  accent-color: #487fff !important;
  vertical-align: middle !important;
  margin: 0 !important;
}

/* 4. Elegant Cards & Panel Containers */
.wowdash-theme-root .rounded-lg.border.bg-white,
.wowdash-theme-root .rounded-md.border.bg-white,
.wowdash-theme-root form.rounded-lg,
.wowdash-theme-root form.border,
.wowdash-theme-root .overflow-x-auto.rounded-lg.border,
.wowdash-theme-root .overflow-x-auto.rounded-md.border {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* 5. Enterprise Table Styling */
.wowdash-theme-root table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.wowdash-theme-root table thead,
.wowdash-theme-root table thead tr {
  background-color: #f8fafc !important;
}

.wowdash-theme-root table thead th {
  padding: 0.85rem 1rem !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #64748b !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-top: none !important;
  background-color: #f8fafc !important;
  white-space: nowrap !important;
}

.wowdash-theme-root table tbody td {
  padding: 0.95rem 1rem !important;
  font-size: 0.875rem !important;
  color: #334155 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: middle !important;
  background-color: #ffffff;
}

.wowdash-theme-root table tbody tr:hover td {
  background-color: #f8fafc !important;
}

.wowdash-theme-root table tbody tr:last-child td {
  border-bottom: none !important;
}

/* 6. Status Badges & Pills (Do not override elements with explicit text-white or fixed dimension indicator dots) */
.wowdash-theme-root span[class*="rounded"][class*="bg-emerald"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]),
.wowdash-theme-root span[class*="rounded"][class*="bg-green"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]) {
  background-color: #ecfdf5 !important;
  color: #059669 !important;
  border-radius: 9999px !important;
  padding: 0.25rem 0.75rem !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  display: inline-block !important;
}

.wowdash-theme-root span[class*="rounded"][class*="bg-amber"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]),
.wowdash-theme-root span[class*="rounded"][class*="bg-yellow"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]) {
  background-color: #fffbeb !important;
  color: #d97706 !important;
  border-radius: 9999px !important;
  padding: 0.25rem 0.75rem !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  display: inline-block !important;
}

.wowdash-theme-root span[class*="rounded"][class*="bg-red"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]) {
  background-color: #fef2f2 !important;
  color: #dc2626 !important;
  border-radius: 9999px !important;
  padding: 0.25rem 0.75rem !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  display: inline-block !important;
}

.wowdash-theme-root span[class*="rounded"][class*="bg-blue"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]) {
  background-color: #eff6ff !important;
  color: #2563eb !important;
  border-radius: 9999px !important;
  padding: 0.25rem 0.75rem !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  display: inline-block !important;
}

.wowdash-theme-root span[class*="rounded"][class*="bg-slate"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]),
.wowdash-theme-root span[class*="rounded"][class*="bg-gray"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]) {
  background-color: #f1f5f9 !important;
  color: #64748b !important;
  border-radius: 9999px !important;
  padding: 0.25rem 0.75rem !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  display: inline-block !important;
}

/* Dark mode harmony for status badges */
[data-theme="dark"] .wowdash-theme-root span[class*="rounded"][class*="bg-emerald"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]),
[data-theme="dark"] .wowdash-theme-root span[class*="rounded"][class*="bg-green"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]) {
  background-color: rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
}
[data-theme="dark"] .wowdash-theme-root span[class*="rounded"][class*="bg-amber"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]),
[data-theme="dark"] .wowdash-theme-root span[class*="rounded"][class*="bg-yellow"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]) {
  background-color: rgba(245, 158, 11, 0.2) !important;
  color: #fbbf24 !important;
}
[data-theme="dark"] .wowdash-theme-root span[class*="rounded"][class*="bg-red"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]) {
  background-color: rgba(239, 68, 68, 0.2) !important;
  color: #f87171 !important;
}
[data-theme="dark"] .wowdash-theme-root span[class*="rounded"][class*="bg-blue"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]) {
  background-color: rgba(37, 99, 235, 0.2) !important;
  color: #60a5fa !important;
}
[data-theme="dark"] .wowdash-theme-root span[class*="rounded"][class*="bg-slate"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]),
[data-theme="dark"] .wowdash-theme-root span[class*="rounded"][class*="bg-gray"]:not([class*="text-white"]):not([class*="h-"]):not([class*="w-"]) {
  background-color: rgba(100, 116, 139, 0.2) !important;
  color: #cbd5e1 !important;
}

/* 7. Action and Filter Buttons */
.wowdash-theme-root button.inline-flex,
.wowdash-theme-root a.inline-flex {
  border-radius: 8px !important;
  font-weight: 500 !important;
}

/* 8. Full Dark Mode Harmony */
[data-theme="dark"] .wowdash-theme-root input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="range"]):not([type="hidden"]),
[data-theme="dark"] .wowdash-theme-root select,
[data-theme="dark"] .wowdash-theme-root textarea {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .wowdash-theme-root .rounded-lg.border.bg-white,
[data-theme="dark"] .wowdash-theme-root .rounded-md.border.bg-white,
[data-theme="dark"] .wowdash-theme-root form.rounded-lg,
[data-theme="dark"] .wowdash-theme-root form.border,
[data-theme="dark"] .wowdash-theme-root .overflow-x-auto.rounded-lg.border,
[data-theme="dark"] .wowdash-theme-root .overflow-x-auto.rounded-md.border {
  background-color: #1e293b !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .wowdash-theme-root table thead,
[data-theme="dark"] .wowdash-theme-root table thead tr,
[data-theme="dark"] .wowdash-theme-root table thead th {
  background-color: #0f172a !important;
  color: #94a3b8 !important;
  border-bottom-color: #334155 !important;
}

[data-theme="dark"] .wowdash-theme-root table tbody td {
  background-color: #1e293b !important;
  color: #e2e8f0 !important;
  border-bottom-color: #334155 !important;
}

[data-theme="dark"] .wowdash-theme-root table tbody tr:hover td {
  background-color: #334155 !important;
}

.search-icon-input {
  padding-left: 36px !important;
}

/* Typography & Heading Contrast Fixes */
.text-dark {
  color: #0f172a !important;
}
[data-theme="dark"] .text-dark {
  color: #f8fafc !important;
}

.card-header h6:not(.text-white):not([class*="text-white"]),
.card-header h5:not(.text-white):not([class*="text-white"]),
.card-header h4:not(.text-white):not([class*="text-white"]),
.card:not(.text-white):not([class*="bg-primary"]):not([class*="bg-blue"]):not([class*="bg-indigo"]):not([class*="bg-slate-9"]) h6:not(.text-white):not([class*="text-white"]),
.card:not(.text-white):not([class*="bg-primary"]):not([class*="bg-blue"]):not([class*="bg-indigo"]):not([class*="bg-slate-9"]) h5:not(.text-white):not([class*="text-white"]),
.card:not(.text-white):not([class*="bg-primary"]):not([class*="bg-blue"]):not([class*="bg-indigo"]):not([class*="bg-slate-9"]) h4:not(.text-white):not([class*="text-white"]) {
  color: #0f172a !important;
}
[data-theme="dark"] .card-header h6,
[data-theme="dark"] .card-header h5,
[data-theme="dark"] .card-header h4,
[data-theme="dark"] .card h6,
[data-theme="dark"] .card h5,
[data-theme="dark"] .card h4 {
  color: #f8fafc !important;
}

.form-label {
  color: #334155 !important;
}
[data-theme="dark"] .form-label {
  color: #cbd5e1 !important;
}

/* MDEditor Harmony with WowDash */
.w-md-editor {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-radius: 8px !important;
}
.w-md-editor-text-input,
.w-md-editor-text-pre,
.w-md-editor-text-pre code,
.w-md-editor-text {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
[data-theme="dark"] .w-md-editor {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}
[data-theme="dark"] .w-md-editor-toolbar {
  background-color: #1e293b !important;
  border-bottom-color: #334155 !important;
}
[data-theme="dark"] .w-md-editor-toolbar li > button {
  color: #cbd5e1 !important;
}
[data-theme="dark"] .w-md-editor-text-input,
[data-theme="dark"] .w-md-editor-text-pre,
[data-theme="dark"] .w-md-editor-text-pre code,
[data-theme="dark"] .w-md-editor-text {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

/* ==========================================================================
   Global Badge & Pill Contrast Hardening
   Prevents Bootstrap's unlayered .badge { color: #fff } from overriding
   text color classes on light backgrounds (white on light gray/white bug).
   ========================================================================== */
.badge {
  --bs-badge-color: inherit;
}

/* Force explicit text colors on .badge when text color classes are present */
.badge[class*="text-slate-"],
.badge[class*="text-gray-"],
.badge[class*="text-zinc-"],
.badge[class*="text-neutral-"],
.badge[class*="text-secondary"],
.badge[class*="text-dark"],
.badge[class*="text-primary-"],
.badge[class*="text-success-"],
.badge[class*="text-warning-"],
.badge[class*="text-danger-"],
.badge[class*="text-info-"],
.badge[class*="text-blue-"],
.badge[class*="text-amber-"],
.badge[class*="text-emerald-"],
.badge[class*="text-rose-"],
.badge[class*="text-purple-"],
.badge[class*="text-red-"] {
  color: inherit !important;
}

.badge.text-slate-900, .badge[class*="text-slate-900"] { color: #0f172a !important; }
.badge.text-slate-800, .badge[class*="text-slate-800"] { color: #1e293b !important; }
.badge.text-slate-700, .badge[class*="text-slate-700"] { color: #334155 !important; }
.badge.text-slate-600, .badge[class*="text-slate-600"] { color: #475569 !important; }
.badge.text-slate-500, .badge[class*="text-slate-500"] { color: #64748b !important; }
.badge.text-neutral-900, .badge[class*="text-neutral-900"] { color: #171717 !important; }
.badge.text-neutral-800, .badge[class*="text-neutral-800"] { color: #262626 !important; }
.badge.text-neutral-700, .badge[class*="text-neutral-700"] { color: #404040 !important; }
.badge.text-neutral-600, .badge[class*="text-neutral-600"] { color: #525252 !important; }
.badge.text-neutral-500, .badge[class*="text-neutral-500"] { color: #737373 !important; }
.badge.text-secondary-light, .badge[class*="text-secondary-light"] { color: #64748b !important; }
.badge.text-secondary, .badge[class*="text-secondary"]:not([class*="text-secondary-light"]) { color: #475569 !important; }

/* Dark mode explicit overrides for badges */
[data-theme="dark"] .badge[class*="dark:text-slate-100"] { color: #f1f5f9 !important; }
[data-theme="dark"] .badge[class*="dark:text-slate-200"] { color: #e2e8f0 !important; }
[data-theme="dark"] .badge[class*="dark:text-slate-300"] { color: #cbd5e1 !important; }
[data-theme="dark"] .badge[class*="dark:text-neutral-100"] { color: #f5f5f5 !important; }
[data-theme="dark"] .badge[class*="dark:text-neutral-200"] { color: #e5e5e5 !important; }
[data-theme="dark"] .badge[class*="dark:text-neutral-300"] { color: #d4d4d4 !important; }

/* Light background badges with no explicit text color must never default to white text */
.badge.bg-light:not([class*="text-white"]),
.badge[class*="bg-neutral-50"]:not([class*="text-white"]),
.badge[class*="bg-neutral-100"]:not([class*="text-white"]),
.badge[class*="bg-neutral-200"]:not([class*="text-white"]),
.badge[class*="bg-slate-50"]:not([class*="text-white"]),
.badge[class*="bg-slate-100"]:not([class*="text-white"]),
.badge[class*="bg-slate-200"]:not([class*="text-white"]),
.badge[class*="bg-gray-50"]:not([class*="text-white"]),
.badge[class*="bg-gray-100"]:not([class*="text-white"]),
.badge[class*="bg-gray-200"]:not([class*="text-white"]) {
  color: #334155 !important;
}

/* Guard against text-white accidentally applied on light/gray backgrounds in light mode */
.bg-white[class*="text-white"]:not([class*="dark:text-white"]),
.bg-light[class*="text-white"]:not([class*="dark:text-white"]),
[class*="bg-slate-50"][class*="text-white"]:not([class*="dark:text-white"]),
[class*="bg-slate-100"][class*="text-white"]:not([class*="dark:text-white"]),
[class*="bg-slate-200"][class*="text-white"]:not([class*="dark:text-white"]),
[class*="bg-gray-50"][class*="text-white"]:not([class*="dark:text-white"]),
[class*="bg-gray-100"][class*="text-white"]:not([class*="dark:text-white"]),
[class*="bg-neutral-50"][class*="text-white"]:not([class*="dark:text-white"]),
[class*="bg-neutral-100"][class*="text-white"]:not([class*="dark:text-white"]),
[class*="bg-neutral-200"][class*="text-white"]:not([class*="dark:text-white"]) {
  color: #0f172a !important;
}

