/* ======================================================
LevelUp Global Dropdown & Select UI (Updated & Fixed Version)

This file defines a shared design system for dropdowns and select inputs
used across the LevelUp platform.
====================================================== */

/* -----------------------------------------------------------------
1. Shared Select Styling
----------------------------------------------------------------- */
.form-select,
.lu-select,
.form-select-custom {
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background-color: var(--card-bg);
  color: var(--body-text);
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: inherit;
  width: 100%;
  box-sizing: border-box;
}

.form-select:focus,
.lu-select:focus,
.form-select-custom:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.9);
  box-shadow: 0 0 0 0.18rem rgba(99, 102, 241, 0.14);
  background-color: var(--card-bg);
}

.form-select::-ms-expand,
.lu-select::-ms-expand {
  filter: invert(1);
}

.form-select option,
.lu-select option,
.form-select-custom option {
  background-color: var(--card-bg);
  color: var(--body-text);
  cursor: inherit;
}

.form-select[disabled],
.lu-select[disabled],
.form-select-custom[disabled] {
  opacity: 0.8;
  cursor: not-allowed;
}

/* -----------------------------------------------------------------
2. Shared Dropdown Menu Styling
----------------------------------------------------------------- */
.dropdown-menu,
.lu-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  margin-top: 0.5rem;
  background-color: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 22px;
  box-sizing: border-box;
  padding: 0.5rem 0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  color: var(--nav-text);
  backdrop-filter: blur(18px);
  z-index: 9999 !important;
  max-height: min(320px, calc(100dvh - 120px));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.dropdown-menu.show,
.lu-dropdown-menu.show {
  animation: levelup-drop 0.22s ease-out;
}

@keyframes levelup-drop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item,
.lu-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.85rem 1.25rem;
  color: var(--nav-text);
  font-size: 0.95rem;
  border-radius: 12px;
  margin: 0.25rem 0.5rem;
  width: calc(100% - 1rem);
  box-sizing: border-box;
  border: none !important;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Keep dropdowns within viewport on small screens and when aligned to end */
.dropdown-menu.dropdown-menu-end,
.lu-dropdown-menu.dropdown-menu-end {
  right: 0;
  left: auto;
  transform: none;
}

/* Ensure custom menus also respect container width */
.custom-dropdown-menu,
.custom-filter-dropdown .dropdown-menu {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* On very small screens, keep the menu centered and inside the viewport */
@media (max-width: 576px) {
  .dropdown-menu,
  .lu-dropdown-menu,
  .custom-dropdown-menu,
  .custom-filter-dropdown .dropdown-menu {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
    border-radius: 16px !important;
    max-height: min(70dvh, 360px) !important;
  }

  .dropdown-menu.dropdown-menu-end,
  .lu-dropdown-menu.dropdown-menu-end {
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
  }

  .btn-dropdown-trigger { 
    width: 100% !important; 
  }
}

/* Modifier utilities: compact / wide dropdown variants for page-specific needs */
.lu-dropdown--compact .dropdown-menu,
.lu-dropdown--compact .custom-dropdown-menu,
.lu-dropdown--compact .custom-filter-dropdown .dropdown-menu {
  min-width: 220px !important;
  max-width: 320px !important;
  box-sizing: border-box !important;
}

.lu-dropdown--wide .dropdown-menu,
.lu-dropdown--wide .custom-dropdown-menu,
.lu-dropdown--wide .custom-filter-dropdown .dropdown-menu {
  min-width: 340px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Utility to hide internal scrollbar for short dropdowns where scrolling isn't needed */
.lu-dropdown--no-scroll .dropdown-menu,
.lu-dropdown--no-scroll .lu-dropdown-menu,
.lu-dropdown--no-scroll .custom-dropdown-menu {
  overflow-y: visible !important;
  max-height: none !important;
}

.dropdown-item:last-child,
.lu-dropdown-item:last-child {
  margin-bottom: 0.25rem;
}

.dropdown-item:hover,
.dropdown-item:focus,
.lu-dropdown-item:hover,
.lu-dropdown-item:focus {
  background-color: rgba(99, 102, 241, 0.14);
  color: var(--nav-text);
}

.dropdown-item.active,
.lu-dropdown-item.active,
.dropdown-item:active,
.lu-dropdown-item:active {
  background-color: rgba(6, 182, 212, 0.18);
  color: #ffffff;
  font-weight: 600;
  border-left: none !important;
  box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.35);
}

.dropdown-item.text-danger,
.lu-dropdown-item.text-danger {
  color: #ef4444;
}

.dropdown-item.text-danger:hover,
.lu-dropdown-item.text-danger:hover {
  background-color: rgba(239, 68, 68, 0.14);
  color: #ef4444;
}

.dropdown-divider {
  border-color: rgba(148, 163, 184, 0.18);
  margin: 0.5rem 0;
}

/* -----------------------------------------------------------------
3. Button Dropdown Triggers
----------------------------------------------------------------- */
.btn-dropdown-trigger {
  width: 100%;
  box-sizing: border-box;
  border-radius: 18px;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(31, 41, 55, 0.96));
  color: var(--nav-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-dropdown-trigger:hover,
.btn-dropdown-trigger:focus {
  background-color: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.45);
}

.btn-dropdown-trigger::after {
  display: inline-block;
  margin-left: 0.45rem;
  border-style: solid;
  border-width: 0.28rem 0.28rem 0 0.28rem;
  border-color: var(--nav-text) transparent transparent transparent;
  content: '';
}

.btn-dropdown-trigger.active-filter,
.custom-filter-dropdown.show .btn-dropdown-trigger {
  border-color: rgba(6, 182, 212, 0.55);
  background-color: rgba(6, 182, 212, 0.14);
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.18);
}

/* -----------------------------------------------------------------
4. Theme-specific Overrides
----------------------------------------------------------------- */
html[data-theme="light"] .dropdown-menu,
html[data-theme="light"] .lu-dropdown-menu,
html[data-theme="light"] .form-select,
html[data-theme="light"] .lu-select,
html[data-theme="light"] .form-select-custom,
html[data-theme="light"] .btn-dropdown-trigger {
  background-color: #ffffff;
  border-color: #e2e8f0;
  color: #0f172a;
}

html[data-theme="light"] .dropdown-item,
html[data-theme="light"] .lu-dropdown-item {
  color: #334155;
}

html[data-theme="light"] .dropdown-item:hover,
html[data-theme="light"] .lu-dropdown-item:hover {
  background-color: #eef2ff;
  color: #0f172a;
}

html[data-theme="light"] .form-select option,
html[data-theme="light"] .lu-select option,
html[data-theme="light"] .form-select-custom option {
  background-color: #ffffff;
  color: #0f172a;
}

html[data-theme="light"] .btn-dropdown-trigger:hover,
html[data-theme="light"] .btn-dropdown-trigger:focus {
  background-color: rgba(99, 102, 241, 0.08);
}

/* -----------------------------------------------------------------
5. Custom Filter Dropdowns (Centralized)
----------------------------------------------------------------- */
.custom-filter-dropdown {
  position: relative !important;
  width: 100%;
}

.custom-filter-dropdown .btn-dropdown-trigger {
  width: 100% !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  color: var(--body-text) !important;
  padding: 0.85rem 1.25rem !important;
  border-radius: 16px !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.custom-filter-dropdown .btn-dropdown-trigger:hover,
.custom-filter-dropdown .btn-dropdown-trigger:focus {
  border-color: rgba(99, 102, 241, 0.45) !important;
  background-color: rgba(99, 102, 241, 0.08) !important;
}

.dropdown.custom-filter-dropdown {
  position: relative;
  width: 100%;
}

.custom-filter-dropdown .dropdown-menu {
  border-radius: 20px !important;
  padding: 0.75rem 0.5rem !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  max-height: 360px !important;
  overflow-y: auto !important;
  margin-top: 8px !important;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18) !important;
  z-index: 9999 !important;
}

.custom-filter-dropdown .form-check {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  margin-bottom: 0.95rem !important;
  padding: 0.5rem 0.75rem !important;
}

.custom-filter-dropdown .form-check-label {
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  cursor: inherit !important;
  user-select: none !important;
}

html[data-theme="light"] .custom-filter-dropdown .form-check-input {
  background-color: #f8fafc !important;
  border: 1.8px solid #a5b4fc !important;
}

html[data-theme="light"] .custom-filter-dropdown .form-check-input:checked {
  background-color: #6366f1 !important;
  border-color: #6366f1 !important;
}

html[data-theme="dark"] .custom-filter-dropdown .dropdown-menu,
:root:not([data-theme="light"]) .custom-filter-dropdown .dropdown-menu {
  background-color: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
}

html[data-theme="dark"] .custom-filter-dropdown .form-check-input,
:root:not([data-theme="light"]) .custom-filter-dropdown .form-check-input {
  background-color: #1e293b !important;
  border: 1.8px solid #6366f1 !important;
}

html[data-theme="dark"] .custom-filter-dropdown .form-check-input:checked,
:root:not([data-theme="light"]) .custom-filter-dropdown .form-check-input:checked {
  background-color: #06b6d4 !important;
  border-color: #06b6d4 !important;
}

/* -----------------------------------------------------------------
6. Custom Sort Dropdown Item Styles
----------------------------------------------------------------- */
.dropdown-item-custom,
.lu-dropdown-item {
  color: var(--nav-text) !important;
  border-radius: 12px !important;
  padding: 0.85rem 1.15rem !important;
  font-size: 0.95rem !important;
  cursor: inherit !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  margin: 0.25rem 0.5rem !important;
  width: calc(100% - 1rem) !important;
  box-sizing: border-box !important;
  border: none !important;
}

.dropdown-item-custom:hover,
.lu-dropdown-item:hover {
  background-color: rgba(99, 102, 241, 0.14) !important;
}

.dropdown-item-custom.active,
.lu-dropdown-item.active {
  background-color: rgba(6, 182, 212, 0.16) !important;
  color: var(--nav-text) !important;
  font-weight: 600 !important;
  border-left: none !important;
  box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.35) !important;
}

/* -----------------------------------------------------------------
7. Custom Dropdown Builder Styles
----------------------------------------------------------------- */
.form-select-custom,
.lu-select {
  min-height: 46px !important;
  padding: 0.85rem 1.15rem !important;
  border-radius: 18px !important;
  border: 1px solid rgba(99, 102, 241, 0.22) !important;
  background-color: var(--card-bg) !important;
  color: var(--body-text) !important;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.12) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.form-select-custom:focus,
.lu-select:focus {
  outline: none !important;
  border-color: rgba(99, 102, 241, 0.9) !important;
  box-shadow: 0 0 0 0.18rem rgba(99, 102, 241, 0.14) !important;
}

.form-select-custom option,
.lu-select option {
  background-color: var(--card-bg) !important;
  color: var(--body-text) !important;
}

html[data-theme="light"] .form-select-custom,
html[data-theme="light"] .lu-select {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

html[data-theme="light"] .form-select-custom option,
html[data-theme="light"] .lu-select option {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

html[data-theme="dark"] .form-select-custom,
:root:not([data-theme="light"]) .form-select-custom {
  background-color: #0f172a !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
  color: #f8fafc !important;
}

/* -----------------------------------------------------------------
7b. Specificity Fix
----------------------------------------------------------------- */
.form-dark-input.form-select,
.form-dark-input.lu-select,
.form-dark-input.form-select-custom {
  min-height: 48px !important;
  padding: 0.85rem 1.25rem !important;
  border-radius: 18px !important;
  border: 1px solid rgba(99, 102, 241, 0.22) !important;
  background: var(--card-bg) !important;
  background-color: var(--card-bg) !important;
  color: var(--body-text) !important;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.12) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.form-dark-input.form-select:focus,
.form-dark-input.lu-select:focus,
.form-dark-input.form-select-custom:focus {
  border-color: rgba(99, 102, 241, 0.9) !important;
  box-shadow: 0 0 0 0.18rem rgba(99, 102, 241, 0.14) !important;
}

html[data-theme="light"] .form-dark-input.form-select,
html[data-theme="light"] .form-dark-input.lu-select,
html[data-theme="light"] .form-dark-input.form-select-custom {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

html[data-theme="dark"] .form-dark-input.form-select,
html[data-theme="dark"] .form-dark-input.lu-select,
html[data-theme="dark"] .form-dark-input.form-select-custom,
:root:not([data-theme="light"]) .form-dark-input.form-select,
:root:not([data-theme="light"]) .form-dark-input.lu-select,
:root:not([data-theme="light"]) .form-dark-input.form-select-custom {
  background: #0f172a !important;
  background-color: #0f172a !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
  color: #f8fafc !important;
}

/* -----------------------------------------------------------------
8. Custom Interactive Dropdown Builder (Smooth Transition Fix)
----------------------------------------------------------------- */
.custom-dropdown-wrapper {
  position: relative;
  width: 100%;
}

.custom-dropdown-btn {
  border-radius: 18px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  padding: 0.85rem 1.25rem;
  background: var(--card-bg);
  color: var(--body-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.10);
}

.custom-dropdown-btn:hover,
.custom-dropdown-wrapper.active .custom-dropdown-btn {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.28);
  z-index: 9999 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  padding: 0.5rem 0;
  max-height: 420px;
  overflow-y: auto;
}

.custom-dropdown-wrapper.active .custom-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.95rem;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  color: var(--body-text);
  cursor: inherit;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  margin: 0.25rem 0.5rem;
  width: calc(100% - 1rem);
  box-sizing: border-box;
  background: transparent;
  border: none !important;
}

.custom-dropdown-item:last-child {
  margin-bottom: 0.25rem;
}

.custom-dropdown-item:hover {
  background: rgba(99, 102, 241, 0.14);
  box-shadow: none;
}

.custom-dropdown-item.selected {
  background: rgba(6, 182, 212, 0.16);
  color: #ffffff;
  font-weight: 600;
  border: none !important;
  box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.35);
}

.custom-dropdown-item .item-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.18);
  color: var(--lv-cyan);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.custom-dropdown-item:hover .item-icon-box,
.custom-dropdown-item.selected .item-icon-box {
  background: linear-gradient(135deg, var(--lv-cyan), var(--lv-indigo));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.24);
}

/* -----------------------------------------------------------------
8b. Generated by lu-dropdown.js (auto select -> div converter)
----------------------------------------------------------------- */
.custom-dropdown-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-dropdown-item.disabled-item {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.custom-dropdown-wrapper:has(select.is-invalid) .custom-dropdown-btn {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 0.15rem rgba(239, 68, 68, 0.25) !important;
}

/* -----------------------------------------------------------------
8c. Curriculum Accordion (course-detail.php)
    ตัว Trigger (.accordion-button) รับดีไซน์จาก theme กลางอยู่แล้ว
    แต่ตัว Container/Menu (.accordion-collapse, .accordion-body,
    .list-group-item) เดิมใช้ bg-surface (การ์ดทั่วไป) ซึ่งเป็นคนละสี/
    คนละดีไซน์กับ .custom-dropdown-menu เลยดูเหมือนไม่ได้ถูกแทนที่
    ส่วนนี้ทำให้ container ใช้โทนสีและดีไซน์เดียวกับ custom dropdown menu
----------------------------------------------------------------- */
#curriculumAccordion .accordion-item {
  background: transparent;
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 20px !important;
}

#curriculumAccordion .accordion-collapse {
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(18px);
}

#curriculumAccordion .accordion-body {
  background: transparent !important;
  border-top: 1px solid rgba(99, 102, 241, 0.18) !important;
  padding: 0.5rem 0 !important;
}

#curriculumAccordion .list-group-item.lesson-row-link {
  background: transparent !important;
  border: none !important;
  border-radius: 14px;
  margin: 0.25rem 0.5rem;
  width: calc(100% - 1rem);
  box-sizing: border-box;
  color: var(--nav-text);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#curriculumAccordion .list-group-item.lesson-row-link:last-child {
  margin-bottom: 0.25rem;
}

#curriculumAccordion .list-group-item.lesson-row-link:hover,
#curriculumAccordion .list-group-item.lesson-row-link:focus {
  background-color: rgba(99, 102, 241, 0.14) !important;
}

html[data-theme="light"] #curriculumAccordion .accordion-collapse {
  background: #ffffff;
}

html[data-theme="light"] #curriculumAccordion .accordion-item {
  border-color: #e2e8f0;
}

html[data-theme="light"] #curriculumAccordion .accordion-body,
html[data-theme="light"] #curriculumAccordion .list-group-item.lesson-row-link {
  border-color: #e2e8f0 !important;
}

/* -----------------------------------------------------------------
9. Stacking Context & Overflow Fixes (แก้ปัญหา Dropdown ถูกบังยั่งยืน)
----------------------------------------------------------------- */
/* 1. อนุญาตให้การ์ดลอยทะลุขอบ และตั้ง z-index พื้นฐาน */
.editor-section-card,
.card,
.block-unit-item {
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

/* 2. ดัน z-index ของการ์ดใบที่มี Dropdown เปิดค้างอยู่ (.active / .show / :focus-within)
      ให้ลอยอยู่สูงที่สุดเสมอ แม้เมาส์จะหลุดออกจากการ์ดใบนั้นไปแล้ว */
.editor-section-card:has(.custom-dropdown-wrapper.active),
.editor-section-card:has(.dropdown-menu.show),
.editor-section-card:has(.show),
.card:has(.custom-dropdown-wrapper.active),
.card:has(.dropdown-menu.show),
.card:has(.show),
.block-unit-item:has(.custom-dropdown-wrapper.active),
.block-unit-item:has(.dropdown-menu.show),
.block-unit-item:has(.show) {
  z-index: 1000 !important;
}

/* 3. รองรับการ Hover และ Focus ปกติเมื่อไม่ได้เปิด Dropdown */
.editor-section-card:hover,
.editor-section-card:focus-within,
.card:hover,
.card:focus-within,
.block-unit-item:hover,
.block-unit-item:focus-within {
  z-index: 100;
}

/* 4. ดัน Layer ของ Custom Dropdown Wrapper ขณะ Active ให้ลอยสูงที่สุด */
.custom-dropdown-wrapper.active {
  z-index: 9999 !important;
}

/* -----------------------------------------------------------------
10. Custom Rocket Cursor & Dropdown Pointer Alignment
----------------------------------------------------------------- */
.form-select,
.lu-select,
.form-select-custom,
select,
.custom-dropdown-btn,
.custom-dropdown-item,
.dropdown-item {
  cursor: inherit !important;
  user-select: none !important;
}

.form-select option,
.lu-select option,
.form-select-custom option,
select option {
  cursor: inherit !important;
}

.custom-cursor,
.rocket-cursor,
#rocket-cursor,
.custom-rocket-cursor,
#custom-cursor {
  z-index: 999999 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}