/**
 * Bootstrap DateTimePicker (Eonasdan) — extracted from vendor.css for Tailwind pages.
 * Required wherever $('#...').datetimepicker() is used without layouts.app / vendor.css.
 */

/*
 * Tailwind preflight sets `.collapse { visibility: collapse }` (table-layout meaning).
 * Eonasdan datetimepicker uses Bootstrap's `.collapse` / `.collapse.in` for date↔time panes.
 * Without this override the calendar opens as an empty box on Tailwind pages.
 */
.bootstrap-datetimepicker-widget .collapse {
  visibility: visible !important;
  display: none;
  height: auto;
}

.bootstrap-datetimepicker-widget .collapse.in,
.bootstrap-datetimepicker-widget .collapse.show {
  display: block !important;
  visibility: visible !important;
}

/* Zero-size fixed origin — widgets use position:fixed with viewport coords. */
.bm-dtp-widget-host {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10120;
  width: 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

.bm-dtp-widget-host > .bootstrap-datetimepicker-widget {
  pointer-events: auto;
}

.bootstrap-datetimepicker-widget,
.bootstrap-datetimepicker-widget ul,
.bootstrap-datetimepicker-widget ol,
.bootstrap-datetimepicker-widget li,
.bootstrap-datetimepicker-widget .list-unstyled {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  display: block;
  margin: 2px 0;
  padding: 4px;
  width: 19em
}

@media (min-width:768px) {
  .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
    width: 38em
  }
}

@media (min-width:992px) {
  .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
    width: 38em
  }
}

@media (min-width:1200px) {
  .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
    width: 38em
  }
}

.bootstrap-datetimepicker-widget.dropdown-menu:after,
.bootstrap-datetimepicker-widget.dropdown-menu:before {
  content: '';
  display: inline-block;
  position: absolute
}

.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before {
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ccc;
  border-bottom-color: rgba(0, 0, 0, .2);
  top: -7px;
  left: 7px
}

.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
  top: -6px;
  left: 8px
}

.bootstrap-datetimepicker-widget.dropdown-menu.top:before {
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #ccc;
  border-top-color: rgba(0, 0, 0, .2);
  bottom: -7px;
  left: 6px
}

.bootstrap-datetimepicker-widget.dropdown-menu.top:after {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fff;
  bottom: -6px;
  left: 7px
}

.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before {
  left: auto;
  right: 6px
}

.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after {
  left: auto;
  right: 7px
}

.bootstrap-datetimepicker-widget .list-unstyled {
  margin: 0;
  padding-left: 0;
}

.bootstrap-datetimepicker-widget a[data-action] {
  padding: 6px 0
}

.bootstrap-datetimepicker-widget a[data-action]:active {
  box-shadow: none
}

.bootstrap-datetimepicker-widget .timepicker-hour,
.bootstrap-datetimepicker-widget .timepicker-minute,
.bootstrap-datetimepicker-widget .timepicker-second {
  width: 54px;
  font-weight: 700;
  font-size: 1.2em;
  margin: 0
}

.bootstrap-datetimepicker-widget button[data-action] {
  padding: 6px
}

.bootstrap-datetimepicker-widget .btn[data-action=incrementHours]::after {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  content: "Increment Hours"
}

.bootstrap-datetimepicker-widget .btn[data-action=incrementMinutes]::after {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  content: "Increment Minutes"
}

.bootstrap-datetimepicker-widget .btn[data-action=decrementHours]::after {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  content: "Decrement Hours"
}

.bootstrap-datetimepicker-widget .btn[data-action=decrementMinutes]::after {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  content: "Decrement Minutes"
}

.bootstrap-datetimepicker-widget .btn[data-action=showHours]::after {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  content: "Show Hours"
}

.bootstrap-datetimepicker-widget .btn[data-action=showMinutes]::after {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  content: "Show Minutes"
}

.bootstrap-datetimepicker-widget .btn[data-action=togglePeriod]::after {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  content: "Toggle AM/PM"
}

.bootstrap-datetimepicker-widget .btn[data-action=clear]::after {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  content: "Clear the picker"
}

.bootstrap-datetimepicker-widget .btn[data-action=today]::after {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  content: "Set the date to today"
}

.bootstrap-datetimepicker-widget .picker-switch {
  text-align: center
}

.bootstrap-datetimepicker-widget .picker-switch::after {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  content: "Toggle Date and Time Screens"
}

.bootstrap-datetimepicker-widget .picker-switch td {
  padding: 0;
  margin: 0;
  height: auto;
  width: auto;
  line-height: inherit
}

.bootstrap-datetimepicker-widget .picker-switch td span {
  line-height: 2.5;
  height: 2.5em;
  width: 100%
}

.bootstrap-datetimepicker-widget table {
  width: 100%;
  margin: 0
}

.bootstrap-datetimepicker-widget table td,
.bootstrap-datetimepicker-widget table th {
  text-align: center;
  border-radius: 4px
}

.bootstrap-datetimepicker-widget table th {
  height: 20px;
  line-height: 20px;
  width: 20px
}

.bootstrap-datetimepicker-widget table th.picker-switch {
  width: 145px
}

.bootstrap-datetimepicker-widget table th.disabled,
.bootstrap-datetimepicker-widget table th.disabled:hover {
  background: 0 0;
  color: #777;
  cursor: not-allowed
}

.bootstrap-datetimepicker-widget table th.prev::after {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  content: "Previous Month"
}

.bootstrap-datetimepicker-widget table th.next::after {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  content: "Next Month"
}

/* Month/year nav arrows — CSS chevrons (Glyphicons not loaded on POS slim vendor). */
.bootstrap-datetimepicker-widget table th.prev,
.bootstrap-datetimepicker-widget table th.next {
  width: 32px !important;
  min-width: 32px !important;
  position: relative;
  color: #334155;
  font-size: 0;
  vertical-align: middle;
}

.bootstrap-datetimepicker-widget table th.prev .glyphicon,
.bootstrap-datetimepicker-widget table th.next .glyphicon {
  display: none !important;
}

.bootstrap-datetimepicker-widget table th.prev::before {
  content: '\2039';
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  line-height: 20px;
  color: inherit;
}

.bootstrap-datetimepicker-widget table th.next::before {
  content: '\203A';
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  line-height: 20px;
  color: inherit;
}

.bootstrap-datetimepicker-widget table thead tr:first-child th.prev:hover,
.bootstrap-datetimepicker-widget table thead tr:first-child th.next:hover {
  background: #f1f5f9;
  color: #0f172a;
}

html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table th.prev,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table th.next,
html.dark .bootstrap-datetimepicker-widget table th.prev,
html.dark .bootstrap-datetimepicker-widget table th.next {
  color: #cbd5e1;
}

html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table thead tr:first-child th.prev:hover,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table thead tr:first-child th.next:hover,
html.dark .bootstrap-datetimepicker-widget table thead tr:first-child th.prev:hover,
html.dark .bootstrap-datetimepicker-widget table thead tr:first-child th.next:hover {
  background: #1e293b;
  color: #f8fafc;
}

.bootstrap-datetimepicker-widget table thead tr:first-child th {
  cursor: pointer
}

.bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
  background: #eee
}

.bootstrap-datetimepicker-widget table td {
  height: 54px;
  line-height: 54px;
  width: 54px
}

.bootstrap-datetimepicker-widget table td.cw {
  font-size: .8em;
  height: 20px;
  line-height: 20px;
  color: #777
}

.bootstrap-datetimepicker-widget table td.day {
  height: 20px;
  line-height: 20px;
  width: 20px
}

.bootstrap-datetimepicker-widget table td.day:hover,
.bootstrap-datetimepicker-widget table td.hour:hover,
.bootstrap-datetimepicker-widget table td.minute:hover,
.bootstrap-datetimepicker-widget table td.second:hover {
  background: #eee;
  cursor: pointer
}

.bootstrap-datetimepicker-widget table td.new,
.bootstrap-datetimepicker-widget table td.old {
  color: #777
}

.bootstrap-datetimepicker-widget table td.today {
  position: relative
}

.bootstrap-datetimepicker-widget table td.today:before {
  content: '';
  display: inline-block;
  border: solid transparent;
  border-width: 0 0 7px 7px;
  border-bottom-color: var(--bm-ui-accent, #0f172a);
  border-top-color: rgba(0, 0, 0, .2);
  position: absolute;
  bottom: 4px;
  right: 4px
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background-color: var(--bm-ui-accent, #0f172a);
  color: var(--bm-ui-accent-text, #ffffff);
  text-shadow: none;
}

.bootstrap-datetimepicker-widget table td.active.today:before {
  border-bottom-color: var(--bm-ui-accent-text, #ffffff);
}

.bootstrap-datetimepicker-widget table td.disabled,
.bootstrap-datetimepicker-widget table td.disabled:hover {
  background: 0 0;
  color: #777;
  cursor: not-allowed
}

.bootstrap-datetimepicker-widget table td span {
  display: inline-block;
  width: 54px;
  height: 54px;
  line-height: 54px;
  margin: 2px 1.5px;
  cursor: pointer;
  border-radius: 4px
}

.bootstrap-datetimepicker-widget table td span:hover {
  background: #eee
}

.bootstrap-datetimepicker-widget table td span.active {
  background-color: var(--bm-ui-accent, #0f172a);
  color: var(--bm-ui-accent-text, #ffffff);
  text-shadow: none;
}

.bootstrap-datetimepicker-widget table td span.old {
  color: #777
}

.bootstrap-datetimepicker-widget table td span.disabled,
.bootstrap-datetimepicker-widget table td span.disabled:hover {
  background: 0 0;
  color: #777;
  cursor: not-allowed
}

.bootstrap-datetimepicker-widget.usetwentyfour td.hour {
  height: 27px;
  line-height: 27px
}

.bootstrap-datetimepicker-widget.wider {
  width: 21em
}

.bootstrap-datetimepicker-widget .datepicker-decades .decade {
  line-height: 1.8em !important
}

/* Tailwind shell: sit above cards and filter panels */
.bootstrap-datetimepicker-widget.dropdown-menu {
  z-index: 12060;
  background: #ffffff;
  opacity: 1;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
}

/* Flex input-groups (Tailwind migrated pages) must not shrink the picker widget */
.input-group .bootstrap-datetimepicker-widget {
  position: absolute;
  flex: none;
  width: 19em;
  min-width: 280px;
}

body[data-bm-layout='pos'] #expense_modal .input-group .bootstrap-datetimepicker-widget.timepicker-sbs,
body[data-bm-layout='pos'] #expense_modal .bm-pos-expense-date-input .bootstrap-datetimepicker-widget.timepicker-sbs {
  position: fixed !important;
  width: max-content !important;
  min-width: 0 !important;
  max-width: calc(100vw - 16px) !important;
}

.input-group.date .input-group-addon {
  cursor: pointer;
}

/* Plugin requires a non-static widgetParent (do not use position:static body). */
.input-group.date.bm-dtp-anchor,
.form-group.bm-dtp-anchor,
.bm-pos-expense-date-input.bm-dtp-anchor,
.bm-pos-field.bm-dtp-anchor,
.bm-sale-input-group.bm-dtp-anchor {
  position: relative;
}

/* Keep calendar above Tailwind cards when widget stays in the input-group — only while open. */
.bm-dtp-anchor-open {
  position: relative;
  z-index: 12200;
  overflow: visible;
}

body.bm-dtp-open .bm-exp-create .bm-exp-section,
body.bm-dtp-open .bm-exp-create .bm-exp-section-body,
body.bm-dtp-open .bm-exp-create .payment_row,
body.bm-dtp-open .bm-exp-create .bm-exp-form-main {
  overflow: visible;
}

/* Closed widgets inside anchors must stay hidden (do not force display:block). */
.bm-dtp-anchor > .bootstrap-datetimepicker-widget:not(.bm-dtp-widget-open) {
  display: none !important;
}

.bm-dtp-anchor-open > .bootstrap-datetimepicker-widget,
.bm-dtp-anchor > .bootstrap-datetimepicker-widget.bm-dtp-widget-open,
.bootstrap-datetimepicker-widget.bm-dtp-widget-open {
  z-index: 12100 !important;
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Floating pickers on migrated pages / host — mirror body theming. */
.bm-dtp-anchor-open > .bootstrap-datetimepicker-widget.dropdown-menu,
.bm-dtp-anchor > .bootstrap-datetimepicker-widget.dropdown-menu.bm-dtp-widget-open,
.bootstrap-datetimepicker-widget.dropdown-menu.bm-dtp-widget-open,
#bm-dtp-widget-host > .bootstrap-datetimepicker-widget.dropdown-menu {
  background: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14) !important;
  color: #0f172a !important;
  pointer-events: auto !important;
}

.bm-dtp-anchor-open .bootstrap-datetimepicker-widget table td.active,
.bm-dtp-anchor-open .bootstrap-datetimepicker-widget table td.active:hover,
.bm-dtp-anchor-open .bootstrap-datetimepicker-widget table td span.active,
.bootstrap-datetimepicker-widget.bm-dtp-widget-open table td.active,
.bootstrap-datetimepicker-widget.bm-dtp-widget-open table td.active:hover,
.bootstrap-datetimepicker-widget.bm-dtp-widget-open table td span.active,
#bm-dtp-widget-host .bootstrap-datetimepicker-widget table td.active,
#bm-dtp-widget-host .bootstrap-datetimepicker-widget table td.active:hover,
#bm-dtp-widget-host .bootstrap-datetimepicker-widget table td span.active {
  background: var(--bm-ui-accent, #0f172a) !important;
  color: var(--bm-ui-accent-text, #ffffff) !important;
  text-shadow: none;
}

.bm-dtp-anchor-open .bootstrap-datetimepicker-widget table td.today:before,
.bootstrap-datetimepicker-widget.bm-dtp-widget-open table td.today:before,
#bm-dtp-widget-host .bootstrap-datetimepicker-widget table td.today:before {
  border-bottom-color: var(--bm-ui-accent, #0f172a);
}

.bm-dtp-anchor-open .bootstrap-datetimepicker-widget table td.active.today:before,
.bootstrap-datetimepicker-widget.bm-dtp-widget-open table td.active.today:before,
#bm-dtp-widget-host .bootstrap-datetimepicker-widget table td.active.today:before {
  border-bottom-color: var(--bm-ui-accent-text, #ffffff);
}

body > .bootstrap-datetimepicker-widget.dropdown-menu {
  z-index: 12100 !important;
  background: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14) !important;
  color: #0f172a !important;
  pointer-events: auto !important;
}

body.bm-dtp-open > .bootstrap-datetimepicker-widget.dropdown-menu,
.bootstrap-datetimepicker-widget.dropdown-menu.bm-dtp-widget-open {
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body > .bootstrap-datetimepicker-widget table,
body > .bootstrap-datetimepicker-widget td,
body > .bootstrap-datetimepicker-widget th {
  background: #ffffff;
  color: #0f172a;
}

body > .bootstrap-datetimepicker-widget table td.active,
body > .bootstrap-datetimepicker-widget table td.active:hover,
body > .bootstrap-datetimepicker-widget table td span.active {
  background: var(--bm-ui-accent, #0f172a) !important;
  color: var(--bm-ui-accent-text, #ffffff) !important;
}

body > .bootstrap-datetimepicker-widget table td.today:before {
  border-bottom-color: var(--bm-ui-accent, #0f172a);
}

/* Dark theme — readable hover/selection (override light #eee / #777 defaults). */
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget.dropdown-menu,
html.dark .bootstrap-datetimepicker-widget.dropdown-menu,
body.bm-theme-dark .bootstrap-datetimepicker-widget.dropdown-menu,
html[data-bm-theme='dark'] body > .bootstrap-datetimepicker-widget.dropdown-menu,
html.dark body > .bootstrap-datetimepicker-widget.dropdown-menu,
body.bm-theme-dark body > .bootstrap-datetimepicker-widget.dropdown-menu {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
}

html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table th,
html.dark .bootstrap-datetimepicker-widget table td,
html.dark .bootstrap-datetimepicker-widget table th,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td,
body.bm-theme-dark .bootstrap-datetimepicker-widget table th,
html[data-bm-theme='dark'] body > .bootstrap-datetimepicker-widget table td,
html[data-bm-theme='dark'] body > .bootstrap-datetimepicker-widget table th,
html.dark body > .bootstrap-datetimepicker-widget table td,
html.dark body > .bootstrap-datetimepicker-widget table th,
body.bm-theme-dark body > .bootstrap-datetimepicker-widget table td,
body.bm-theme-dark body > .bootstrap-datetimepicker-widget table th {
  background: #0f172a;
  color: #e2e8f0;
}

html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td.new,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td.old,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td span.old,
html.dark .bootstrap-datetimepicker-widget table td.new,
html.dark .bootstrap-datetimepicker-widget table td.old,
html.dark .bootstrap-datetimepicker-widget table td span.old,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td.new,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td.old,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td span.old {
  color: #94a3b8;
}

html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td.day:hover,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td.hour:hover,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td.minute:hover,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td.second:hover,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td span:hover,
html.dark .bootstrap-datetimepicker-widget table td.day:hover,
html.dark .bootstrap-datetimepicker-widget table td.hour:hover,
html.dark .bootstrap-datetimepicker-widget table td.minute:hover,
html.dark .bootstrap-datetimepicker-widget table td.second:hover,
html.dark .bootstrap-datetimepicker-widget table td span:hover,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td.day:hover,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td.hour:hover,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td.minute:hover,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td.second:hover,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td span:hover,
html[data-bm-theme='dark'] body > .bootstrap-datetimepicker-widget table td.day:hover,
html[data-bm-theme='dark'] body > .bootstrap-datetimepicker-widget table td.hour:hover,
html[data-bm-theme='dark'] body > .bootstrap-datetimepicker-widget table td.minute:hover,
html[data-bm-theme='dark'] body > .bootstrap-datetimepicker-widget table td.second:hover,
html[data-bm-theme='dark'] body > .bootstrap-datetimepicker-widget table td span:hover,
html.dark body > .bootstrap-datetimepicker-widget table td.day:hover,
html.dark body > .bootstrap-datetimepicker-widget table td.hour:hover,
html.dark body > .bootstrap-datetimepicker-widget table td.minute:hover,
html.dark body > .bootstrap-datetimepicker-widget table td.second:hover,
html.dark body > .bootstrap-datetimepicker-widget table td span:hover,
body.bm-theme-dark body > .bootstrap-datetimepicker-widget table td.day:hover,
body.bm-theme-dark body > .bootstrap-datetimepicker-widget table td.hour:hover,
body.bm-theme-dark body > .bootstrap-datetimepicker-widget table td.minute:hover,
body.bm-theme-dark body > .bootstrap-datetimepicker-widget table td.second:hover,
body.bm-theme-dark body > .bootstrap-datetimepicker-widget table td span:hover {
  background: #334155 !important;
  color: #f8fafc !important;
  cursor: pointer;
}

html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table thead tr:first-child th:hover,
html.dark .bootstrap-datetimepicker-widget table thead tr:first-child th:hover,
body.bm-theme-dark .bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
  background: #1e293b !important;
  color: #f8fafc !important;
}

html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td.active,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td.active:hover,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td span.active,
html.dark .bootstrap-datetimepicker-widget table td.active,
html.dark .bootstrap-datetimepicker-widget table td.active:hover,
html.dark .bootstrap-datetimepicker-widget table td span.active,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td.active,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td.active:hover,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td span.active,
html[data-bm-theme='dark'] body > .bootstrap-datetimepicker-widget table td.active,
html[data-bm-theme='dark'] body > .bootstrap-datetimepicker-widget table td.active:hover,
html[data-bm-theme='dark'] body > .bootstrap-datetimepicker-widget table td span.active,
html.dark body > .bootstrap-datetimepicker-widget table td.active,
html.dark body > .bootstrap-datetimepicker-widget table td.active:hover,
html.dark body > .bootstrap-datetimepicker-widget table td span.active,
body.bm-theme-dark body > .bootstrap-datetimepicker-widget table td.active,
body.bm-theme-dark body > .bootstrap-datetimepicker-widget table td.active:hover,
body.bm-theme-dark body > .bootstrap-datetimepicker-widget table td span.active {
  background: var(--bm-ui-accent, #591cd3) !important;
  color: var(--bm-ui-accent-text, #ffffff) !important;
  text-shadow: none;
}

html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td.disabled,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td.disabled:hover,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td span.disabled,
html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td span.disabled:hover,
html.dark .bootstrap-datetimepicker-widget table td.disabled,
html.dark .bootstrap-datetimepicker-widget table td.disabled:hover,
html.dark .bootstrap-datetimepicker-widget table td span.disabled,
html.dark .bootstrap-datetimepicker-widget table td span.disabled:hover,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td.disabled,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td.disabled:hover,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td span.disabled,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td span.disabled:hover {
  background: transparent !important;
  color: #64748b !important;
}

html[data-bm-theme='dark'] .bootstrap-datetimepicker-widget table td.today:before,
html.dark .bootstrap-datetimepicker-widget table td.today:before,
body.bm-theme-dark .bootstrap-datetimepicker-widget table td.today:before {
  border-bottom-color: var(--bm-ui-accent, #a78bfa);
}

