/* Swiper - neutralize default pagination bullet chrome so the existing
   .slick-dots / .slick-active styling (already in style.css) fully controls
   dot appearance; only the wrapper button inside each <li> is meant to be visible. */
.swiper-pagination.slick-dots {
  position: static;
  width: auto;
  bottom: auto;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
}
.img-slider .swiper-pagination.slick-dots {
  position: absolute;
  width: 100%;
  bottom: 15px;
  left: 0;
  right: auto;
  top: auto;
}
.swiper-pagination.slick-dots .swiper-pagination-bullet:has(button) {
  background: none;
  opacity: 1;
  width: auto;
  height: auto;
  border-radius: 0;
  margin: 0;
  display: block;
}

/* Choices.js - reskinned to match the previous Select2 baseline
   (border, radius, height, font, colors) from style.css's Select2 rules. */
.choices {
  margin-bottom: 0;
}
.choices__inner {
  border: 1px solid var(--gray-100);
  border-radius: 5px;
  min-height: 42px;
  background: var(--white);
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-500);
  padding: 0 30px 0 12px;
  display: flex;
  align-items: center;
}
.choices[data-type*="select-one"] .choices__inner {
  padding-bottom: 0;
}
.choices__list--single {
  padding: 0;
}
.choices__list--single .choices__item {
  line-height: 40px;
}
.choices__placeholder {
  opacity: 1;
  color: var(--gray-500);
}
.choices[data-type*="select-one"]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-color: var(--gray-900);
  border-style: solid;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.choices.is-open[data-type*="select-one"]::after {
  transform: translateY(-35%) rotate(-135deg);
  border-color: var(--gray-900);
  margin-top: 0;
}
.choices[data-type*="select-one"] .choices__button {
  display: none;
}
.choices__list--dropdown,
.choices__list[aria-expanded] {
  border: 1px solid var(--gray-100);
  border-radius: 5px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  margin-top: 4px;
}
.choices__list--dropdown .choices__item--selectable,
.choices__list[aria-expanded] .choices__item--selectable {
  padding: 10px 12px;
  font-size: 14px;
}
.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background-color: #FF6900;
  color: var(--white);
}
.choices__input {
  background: var(--white);
  font-size: 14px;
  margin-bottom: 0;
}
.choices.is-disabled .choices__inner,
.choices.is-disabled .choices__input {
  background-color: var(--light);
  opacity: 0.7;
}
.choices[data-type*="select-multiple"] .choices__inner,
.choices[data-type*="text"] .choices__inner {
  padding: 5px 12px;
}
.choices__list--multiple .choices__item {
  background-color: var(--light);
  border: 0;
  color: var(--gray-900);
  font-size: 13px;
  font-weight: 500;
  border-radius: 5px;
  padding: 4px 8px;
  margin: 2px 4px 2px 0;
}
.choices__list--multiple .choices__item .choices__button {
  border-left: 0;
  margin-left: 8px;
}

/* Flatpickr - reskinned to match the previous bootstrap-datetimepicker /
   daterangepicker baseline (brand color, radius, spacing) from style.css. */
.flatpickr-calendar {
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-100);
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
  display: none;
}
.flatpickr-months .flatpickr-month {
  color: var(--gray-900);
}
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: var(--gray-900);
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange {
  background: #FF6900;
  border-color: #FF6900;
}
.flatpickr-day.inRange {
  background: rgba(255, 105, 0, 0.1);
  border-color: transparent;
  box-shadow: -5px 0 0 rgba(255, 105, 0, 0.1), 5px 0 0 rgba(255, 105, 0, 0.1);
}
.flatpickr-day:hover {
  background: var(--light);
}
.flatpickr-day.today {
  border-color: #FF6900;
}

/* Lightbox-lite - replaces fancybox for the two chat image-gallery pages. */
.lightbox-lite-overlay {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  padding: 30px;
}
.lightbox-lite-overlay.active {
  display: flex;
}
.lightbox-lite-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
}
.lightbox-lite-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-lite-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
body.lightbox-lite-open {
  overflow: hidden;
}

/* Shared slider header nav (data-slider-nav) - disabled state for the
   trend-nav-style prev/next buttons when the active slider hits an edge. */
.trend-nav .slick-arrow.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* DataTable-lite - reuses existing dt-* styling contexts, only new bits below. */
.dt-search-input {
  border: 1px solid var(--gray-100);
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 14px;
  background: var(--white);
}
