body[data-bnc-theme] .alert,
body[data-bnc-theme] .toast {
  --bnc-alert-rgb: var(--bnc-primary-rgb);
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(var(--bnc-alert-rgb), .18) !important;
  background: linear-gradient(135deg, rgba(var(--bnc-alert-rgb), .10), rgba(255, 255, 255, .92)) !important;
  color: var(--bnc-text-strong) !important;
  box-shadow: var(--bnc-shadow-soft);
  backdrop-filter: blur(12px);
}
body[data-bnc-theme] .alert::before,
body[data-bnc-theme] .toast::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(var(--bnc-alert-rgb), .95), rgba(var(--bnc-alert-rgb), .25));
  opacity: .92;
}
body[data-bnc-theme] .alert .alert-link,
body[data-bnc-theme] .toast .toast-header strong,
body[data-bnc-theme] .toast .toast-body,
body[data-bnc-theme] .alert-heading {
  color: inherit !important;
}
body[data-bnc-theme] .alert .btn-close,
body[data-bnc-theme] .toast .btn-close,
body[data-bnc-theme] .modal-header .btn-close,
body[data-bnc-theme] .offcanvas-header .btn-close {
  border-radius: 999px;
  padding: .48rem;
  background-color: rgba(var(--bnc-primary-rgb), .08);
  box-shadow: none;
  opacity: .88;
}
body[data-bnc-theme] .alert-primary,
body[data-bnc-theme] .toast.bg-primary,
body[data-bnc-theme] .toast.text-bg-primary {
  --bnc-alert-rgb: var(--bnc-primary-rgb);
}
body[data-bnc-theme] .alert-info,
body[data-bnc-theme] .toast.bg-info,
body[data-bnc-theme] .toast.text-bg-info {
  --bnc-alert-rgb: 14, 165, 233;
}
body[data-bnc-theme] .alert-success,
body[data-bnc-theme] .toast.bg-success,
body[data-bnc-theme] .toast.text-bg-success {
  --bnc-alert-rgb: 34, 197, 94;
}
body[data-bnc-theme] .alert-warning,
body[data-bnc-theme] .toast.bg-warning,
body[data-bnc-theme] .toast.text-bg-warning {
  --bnc-alert-rgb: 245, 158, 11;
}
body[data-bnc-theme] .alert-danger,
body[data-bnc-theme] .toast.bg-danger,
body[data-bnc-theme] .toast.text-bg-danger {
  --bnc-alert-rgb: 239, 68, 68;
}
body[data-bnc-theme] .alert-secondary,
body[data-bnc-theme] .alert-dark,
body[data-bnc-theme] .toast.bg-secondary,
body[data-bnc-theme] .toast.text-bg-secondary,
body[data-bnc-theme] .toast.bg-dark,
body[data-bnc-theme] .toast.text-bg-dark {
  --bnc-alert-rgb: 100, 116, 139;
}
body[data-bnc-theme] .alert-light,
body[data-bnc-theme] .toast.bg-light,
body[data-bnc-theme] .toast.text-bg-light {
  --bnc-alert-rgb: var(--bnc-primary-rgb);
}

body[data-bnc-theme] .modal,
body[data-bnc-theme] .offcanvas,
body[data-bnc-theme] .swal2-container {
  --bnc-overlay-glow: rgba(var(--bnc-primary-rgb), .12);
}
body[data-bnc-theme] .modal-dialog {
  transform: translateZ(0);
}
body[data-bnc-theme] .modal-content,
body[data-bnc-theme] .offcanvas,
body[data-bnc-theme] .swal2-popup {
  overflow: hidden;
  border-radius: 22px !important;
  border: 1px solid rgba(var(--bnc-primary-rgb), .14) !important;
  box-shadow: 0 26px 64px rgba(15, 23, 42, .14), 0 0 0 1px rgba(var(--bnc-primary-rgb), .06) !important;
}
body[data-bnc-theme] .modal-content::before,
body[data-bnc-theme] .offcanvas::before,
body[data-bnc-theme] .swal2-popup::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bnc-primary), var(--bnc-accent));
  opacity: .96;
  pointer-events: none;
}
body[data-bnc-theme] .modal-header,
body[data-bnc-theme] .offcanvas-header,
body[data-bnc-theme] .swal2-title {
  position: relative;
}
body[data-bnc-theme] .modal-body,
body[data-bnc-theme] .offcanvas-body {
  background: linear-gradient(180deg, rgba(var(--bnc-primary-rgb), .022), rgba(255,255,255,.02));
}
body[data-bnc-theme] .modal-footer,
body[data-bnc-theme] .offcanvas-footer {
  background: linear-gradient(180deg, rgba(var(--bnc-primary-rgb), .035), rgba(255,255,255,.01));
  border-top-color: rgba(var(--bnc-primary-rgb), .10) !important;
}
body[data-bnc-theme] .modal-backdrop.show,
body[data-bnc-theme] .offcanvas-backdrop.show {
  opacity: .42;
  background: rgba(15, 23, 42, .42);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body[data-bnc-theme] .modal .modal-dialog-scrollable .modal-body,
body[data-bnc-theme] .offcanvas .offcanvas-body {
  scrollbar-width: thin;
}

body[data-bnc-theme] .table-responsive,
body[data-bnc-theme] .bnc-list-table-shell,
body[data-bnc-theme] .bnc-scroll-panel,
body[data-bnc-theme] .bnc-scroll-panel-lg,
body[data-bnc-theme] .bnc-scroll-panel-xl,
body[data-bnc-theme] .bnc-scroll-xl,
body[data-bnc-theme] .dataTables_wrapper .dataTables_scroll {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(var(--bnc-primary-rgb), .11);
  background: linear-gradient(180deg, rgba(var(--bnc-primary-rgb), .028), rgba(255,255,255,.88));
  box-shadow: var(--bnc-shadow-soft);
}
body[data-bnc-theme] .table-responsive::after,
body[data-bnc-theme] .bnc-list-table-shell::after,
body[data-bnc-theme] .bnc-scroll-panel::after,
body[data-bnc-theme] .bnc-scroll-panel-lg::after,
body[data-bnc-theme] .bnc-scroll-panel-xl::after,
body[data-bnc-theme] .bnc-scroll-xl::after {
  content: "";
  position: sticky;
  right: 0;
  display: block;
  width: 2.25rem;
  height: 0;
  margin-top: -1px;
  box-shadow: inset -24px 0 18px -22px rgba(var(--bnc-primary-rgb), .18);
  pointer-events: none;
}
body[data-bnc-theme] .table-responsive .table,
body[data-bnc-theme] .bnc-list-table-shell .table,
body[data-bnc-theme] .dataTables_wrapper .table {
  margin-bottom: 0;
}
body[data-bnc-theme] .table-responsive .table thead th,
body[data-bnc-theme] .bnc-list-table-shell .table thead th,
body[data-bnc-theme] .dataTables_wrapper table.dataTable thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(var(--bnc-primary-rgb), .12), rgba(255,255,255,.98)) !important;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 -1px 0 rgba(var(--bnc-primary-rgb), .10);
}
body[data-bnc-theme] .table tbody tr,
body[data-bnc-theme] .dataTables_wrapper table.dataTable tbody tr {
  transition: background-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
html[data-bnc-motion="subtle"] body[data-bnc-theme] .table tbody tr:hover,
html[data-bnc-motion="subtle"] body[data-bnc-theme] .dataTables_wrapper table.dataTable tbody tr:hover {
  transform: translateY(-1px);
}
html[data-bnc-motion="lively"] body[data-bnc-theme] .table tbody tr:hover,
html[data-bnc-motion="lively"] body[data-bnc-theme] .dataTables_wrapper table.dataTable tbody tr:hover {
  transform: translateY(-2px);
}
body[data-bnc-theme] .table td,
body[data-bnc-theme] .table th {
  vertical-align: middle;
}
body[data-bnc-theme] .table .title-cell,
body[data-bnc-theme] .table .bnc-list-row-title,
body[data-bnc-theme] .table .bnc-list-row-sub {
  display: block;
}
body[data-bnc-theme] .table .bnc-list-row-title {
  font-weight: 700;
  color: var(--bnc-text-strong);
}
body[data-bnc-theme] .table .bnc-list-row-sub {
  margin-top: .2rem;
  color: var(--bnc-text-soft);
  font-size: .87rem;
}
body[data-bnc-theme] .table [class*="badge"],
body[data-bnc-theme] .table .bnc-soft-badge {
  box-shadow: 0 8px 18px rgba(var(--bnc-primary-rgb), .10);
}
body[data-bnc-theme] .dataTables_wrapper .dataTables_filter,
body[data-bnc-theme] .dataTables_wrapper .dataTables_length,
body[data-bnc-theme] .dataTables_wrapper .dataTables_info,
body[data-bnc-theme] .dataTables_wrapper .dataTables_paginate {
  color: var(--bnc-text-soft) !important;
  padding: .35rem .2rem;
}
body[data-bnc-theme] .dataTables_wrapper .dataTables_filter input,
body[data-bnc-theme] .dataTables_wrapper .dataTables_length select {
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(var(--bnc-primary-rgb), .16);
  background: rgba(255,255,255,.92);
  color: var(--bnc-text-strong);
  box-shadow: none;
}
body[data-bnc-theme] .dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 12px !important;
  border: 1px solid rgba(var(--bnc-primary-rgb), .12) !important;
  background: rgba(var(--bnc-primary-rgb), .04) !important;
  color: var(--bnc-text-strong) !important;
}
body[data-bnc-theme] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body[data-bnc-theme] .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: linear-gradient(135deg, rgba(var(--bnc-primary-rgb), .16), rgba(var(--bnc-accent-rgb), .18)) !important;
  color: var(--bnc-primary-strong) !important;
}

html[data-bnc-color-mode-resolved] .flatpickr-calendar,
html[data-bnc-color-mode-resolved] .pdp-default,
html[data-bnc-color-mode-resolved] .fc,
html[data-bnc-color-mode-resolved] .fc-theme-standard,
html[data-bnc-color-mode-resolved] .fc-theme-bootstrap5 {
  color: var(--bnc-text-strong);
}
html[data-bnc-color-mode-resolved] .flatpickr-calendar {
  background: rgba(255,255,255,.98) !important;
  border: 1px solid rgba(var(--bnc-primary-rgb), .14) !important;
  border-radius: 20px !important;
  box-shadow: 0 22px 48px rgba(15,23,42,.14) !important;
}
html[data-bnc-color-mode-resolved] .flatpickr-months,
html[data-bnc-color-mode-resolved] .flatpickr-weekdays,
html[data-bnc-color-mode-resolved] .flatpickr-time {
  background: linear-gradient(180deg, rgba(var(--bnc-primary-rgb), .08), rgba(255,255,255,.02)) !important;
  border-color: rgba(var(--bnc-primary-rgb), .10) !important;
}
html[data-bnc-color-mode-resolved] .flatpickr-current-month,
html[data-bnc-color-mode-resolved] .flatpickr-monthDropdown-months,
html[data-bnc-color-mode-resolved] .flatpickr-weekday,
html[data-bnc-color-mode-resolved] .flatpickr-time input,
html[data-bnc-color-mode-resolved] .numInputWrapper span.arrowUp::after,
html[data-bnc-color-mode-resolved] .numInputWrapper span.arrowDown::after {
  color: var(--bnc-text-strong) !important;
}
html[data-bnc-color-mode-resolved] .flatpickr-day,
html[data-bnc-color-mode-resolved] .flatpickr-time .flatpickr-am-pm {
  color: var(--bnc-text-strong) !important;
  border-radius: 12px !important;
}
html[data-bnc-color-mode-resolved] .flatpickr-day:hover,
html[data-bnc-color-mode-resolved] .flatpickr-day:focus,
html[data-bnc-color-mode-resolved] .flatpickr-day.inRange,
html[data-bnc-color-mode-resolved] .flatpickr-time .flatpickr-am-pm:hover {
  background: rgba(var(--bnc-primary-rgb), .10) !important;
  border-color: rgba(var(--bnc-primary-rgb), .10) !important;
}
html[data-bnc-color-mode-resolved] .flatpickr-day.selected,
html[data-bnc-color-mode-resolved] .flatpickr-day.startRange,
html[data-bnc-color-mode-resolved] .flatpickr-day.endRange,
html[data-bnc-color-mode-resolved] .flatpickr-day.today.selected {
  background: linear-gradient(135deg, var(--bnc-primary), var(--bnc-accent)) !important;
  border-color: transparent !important;
  color: #fff !important;
}
html[data-bnc-color-mode-resolved] .flatpickr-day.today {
  border-color: rgba(var(--bnc-primary-rgb), .34) !important;
}

html[data-bnc-color-mode-resolved] .pdp-default {
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(var(--bnc-primary-rgb), .14) !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 22px 48px rgba(15,23,42,.14) !important;
}
html[data-bnc-color-mode-resolved] .pdp-default .pdp-header,
html[data-bnc-color-mode-resolved] .pdp-default .pdp-footer {
  background: linear-gradient(180deg, rgba(var(--bnc-primary-rgb), .08), rgba(255,255,255,.98)) !important;
  border-color: rgba(var(--bnc-primary-rgb), .12) !important;
  color: var(--bnc-text-strong) !important;
}
html[data-bnc-color-mode-resolved] .pdp-default .yearSelect,
html[data-bnc-color-mode-resolved] .pdp-default .monthSelect,
html[data-bnc-color-mode-resolved] .pdp-default .days,
html[data-bnc-color-mode-resolved] .pdp-default .dows {
  background: rgba(255,255,255,.98) !important;
  color: var(--bnc-text-strong) !important;
  border-color: rgba(var(--bnc-primary-rgb), .12) !important;
}
html[data-bnc-color-mode-resolved] .pdp-default .dow,
html[data-bnc-color-mode-resolved] .pdp-default .day,
html[data-bnc-color-mode-resolved] .pdp-default .monthYear,
html[data-bnc-color-mode-resolved] .pdp-default .nextArrow,
html[data-bnc-color-mode-resolved] .pdp-default .prevArrow {
  color: var(--bnc-text-strong) !important;
}
html[data-bnc-color-mode-resolved] .pdp-default .day,
html[data-bnc-color-mode-resolved] .pdp-default .today,
html[data-bnc-color-mode-resolved] .pdp-default .selday,
html[data-bnc-color-mode-resolved] .pdp-default .selected,
html[data-bnc-color-mode-resolved] .pdp-default .goToday {
  border-radius: 12px !important;
}
html[data-bnc-color-mode-resolved] .pdp-default .day:hover,
html[data-bnc-color-mode-resolved] .pdp-default .today:hover,
html[data-bnc-color-mode-resolved] .pdp-default .goToday:hover,
html[data-bnc-color-mode-resolved] .pdp-default .nextArrow:hover,
html[data-bnc-color-mode-resolved] .pdp-default .prevArrow:hover,
html[data-bnc-color-mode-resolved] .pdp-default .yearSelect li:hover,
html[data-bnc-color-mode-resolved] .pdp-default .monthSelect li:hover {
  background: rgba(var(--bnc-primary-rgb), .12) !important;
  color: var(--bnc-primary-strong) !important;
  border-color: rgba(var(--bnc-primary-rgb), .14) !important;
}
html[data-bnc-color-mode-resolved] .pdp-default .selday,
html[data-bnc-color-mode-resolved] .pdp-default .selected {
  background: linear-gradient(135deg, var(--bnc-primary), var(--bnc-accent)) !important;
  color: #fff !important;
}
html[data-bnc-color-mode-resolved] .pdp-default .today {
  background: rgba(var(--bnc-primary-rgb), .08) !important;
  color: var(--bnc-primary-strong) !important;
}
html[data-bnc-color-mode-resolved] .pdp-default .disday,
html[data-bnc-color-mode-resolved] .pdp-default .disableMonth,
html[data-bnc-color-mode-resolved] .pdp-default .nul {
  opacity: .46 !important;
}

html[data-bnc-color-mode-resolved] .fc {
  --fc-border-color: rgba(var(--bnc-primary-rgb), .10);
  --fc-page-bg-color: transparent;
  --fc-neutral-bg-color: rgba(var(--bnc-primary-rgb), .04);
  --fc-list-event-hover-bg-color: rgba(var(--bnc-primary-rgb), .06);
  --fc-today-bg-color: rgba(var(--bnc-primary-rgb), .08);
  --fc-button-bg-color: var(--bnc-primary);
  --fc-button-border-color: transparent;
  --fc-button-hover-bg-color: var(--bnc-primary-strong);
  --fc-button-hover-border-color: transparent;
  --fc-button-active-bg-color: var(--bnc-primary-strong);
  --fc-button-active-border-color: transparent;
  --fc-event-bg-color: var(--bnc-primary);
  --fc-event-border-color: transparent;
  --fc-event-text-color: #fff;
}
html[data-bnc-color-mode-resolved] .fc .fc-toolbar-title,
html[data-bnc-color-mode-resolved] .fc .fc-col-header-cell-cushion,
html[data-bnc-color-mode-resolved] .fc .fc-daygrid-day-number,
html[data-bnc-color-mode-resolved] .fc .fc-list-day-text,
html[data-bnc-color-mode-resolved] .fc .fc-list-day-side-text {
  color: var(--bnc-text-strong) !important;
}
html[data-bnc-color-mode-resolved] .fc .fc-scrollgrid,
html[data-bnc-color-mode-resolved] .fc .fc-popover,
html[data-bnc-color-mode-resolved] .fc .fc-view-harness,
html[data-bnc-color-mode-resolved] .fc .fc-list {
  border-color: rgba(var(--bnc-primary-rgb), .12) !important;
  background: rgba(255,255,255,.72) !important;
  border-radius: 18px;
  box-shadow: var(--bnc-shadow-soft);
}
html[data-bnc-color-mode-resolved] .fc .fc-popover-header,
html[data-bnc-color-mode-resolved] .fc .fc-list-day-cushion,
html[data-bnc-color-mode-resolved] .fc .fc-toolbar {
  background: linear-gradient(180deg, rgba(var(--bnc-primary-rgb), .06), rgba(255,255,255,.01)) !important;
}
html[data-bnc-color-mode-resolved] .fc .fc-button-primary {
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(var(--bnc-primary-rgb), .16);
}

html[data-theme-mode="dark"] body[data-bnc-theme] .alert,
html[data-theme-mode="dark"] body[data-bnc-theme] .toast {
  background: linear-gradient(135deg, rgba(var(--bnc-alert-rgb), .16), rgba(15, 23, 42, .96)) !important;
  border-color: rgba(var(--bnc-alert-rgb), .22) !important;
}
html[data-theme-mode="dark"] body[data-bnc-theme] .alert .btn-close,
html[data-theme-mode="dark"] body[data-bnc-theme] .toast .btn-close,
html[data-theme-mode="dark"] body[data-bnc-theme] .modal-header .btn-close,
html[data-theme-mode="dark"] body[data-bnc-theme] .offcanvas-header .btn-close {
  filter: invert(1) grayscale(1);
  background-color: rgba(148, 163, 184, .16);
}
html[data-theme-mode="dark"] body[data-bnc-theme] .modal-content,
html[data-theme-mode="dark"] body[data-bnc-theme] .offcanvas,
html[data-theme-mode="dark"] body[data-bnc-theme] .swal2-popup {
  box-shadow: 0 26px 68px rgba(2, 6, 23, .52), 0 0 0 1px rgba(148, 163, 184, .08) !important;
}
html[data-theme-mode="dark"] body[data-bnc-theme] .modal-body,
html[data-theme-mode="dark"] body[data-bnc-theme] .offcanvas-body,
html[data-theme-mode="dark"] body[data-bnc-theme] .modal-footer,
html[data-theme-mode="dark"] body[data-bnc-theme] .offcanvas-footer {
  background: linear-gradient(180deg, rgba(var(--bnc-primary-rgb), .035), rgba(15,23,42,.10)) !important;
}
html[data-theme-mode="dark"] body[data-bnc-theme] .table-responsive,
html[data-theme-mode="dark"] body[data-bnc-theme] .bnc-list-table-shell,
html[data-theme-mode="dark"] body[data-bnc-theme] .bnc-scroll-panel,
html[data-theme-mode="dark"] body[data-bnc-theme] .bnc-scroll-panel-lg,
html[data-theme-mode="dark"] body[data-bnc-theme] .bnc-scroll-panel-xl,
html[data-theme-mode="dark"] body[data-bnc-theme] .bnc-scroll-xl,
html[data-theme-mode="dark"] body[data-bnc-theme] .dataTables_wrapper .dataTables_scroll {
  background: linear-gradient(180deg, rgba(15,23,42,.96), rgba(15,23,42,.88));
  border-color: rgba(148, 163, 184, .14);
}
html[data-theme-mode="dark"] body[data-bnc-theme] .table-responsive .table thead th,
html[data-theme-mode="dark"] body[data-bnc-theme] .bnc-list-table-shell .table thead th,
html[data-theme-mode="dark"] body[data-bnc-theme] .dataTables_wrapper table.dataTable thead th {
  background: linear-gradient(180deg, rgba(30, 41, 59, .95), rgba(15, 23, 42, .96)) !important;
  box-shadow: inset 0 -1px 0 rgba(148, 163, 184, .12);
}
html[data-theme-mode="dark"] body[data-bnc-theme] .dataTables_wrapper .dataTables_filter input,
html[data-theme-mode="dark"] body[data-bnc-theme] .dataTables_wrapper .dataTables_length select {
  background: rgba(15,23,42,.92);
  color: var(--bnc-text-strong);
  border-color: rgba(148,163,184,.18);
}
html[data-theme-mode="dark"] .flatpickr-calendar {
  background: rgba(15,23,42,.98) !important;
  border-color: rgba(148,163,184,.18) !important;
}
html[data-theme-mode="dark"] .flatpickr-months,
html[data-theme-mode="dark"] .flatpickr-weekdays,
html[data-theme-mode="dark"] .flatpickr-time {
  background: linear-gradient(180deg, rgba(30,41,59,.88), rgba(15,23,42,.98)) !important;
}
html[data-theme-mode="dark"] .flatpickr-day,
html[data-theme-mode="dark"] .flatpickr-current-month,
html[data-theme-mode="dark"] .flatpickr-monthDropdown-months,
html[data-theme-mode="dark"] .flatpickr-weekday,
html[data-theme-mode="dark"] .flatpickr-time input,
html[data-theme-mode="dark"] .flatpickr-time .flatpickr-am-pm {
  color: var(--bnc-text-strong) !important;
}
html[data-theme-mode="dark"] .flatpickr-day.flatpickr-disabled,
html[data-theme-mode="dark"] .flatpickr-day.prevMonthDay,
html[data-theme-mode="dark"] .flatpickr-day.nextMonthDay {
  color: rgba(203,213,225,.36) !important;
}
html[data-theme-mode="dark"] .pdp-default,
html[data-theme-mode="dark"] .pdp-default .yearSelect,
html[data-theme-mode="dark"] .pdp-default .monthSelect,
html[data-theme-mode="dark"] .pdp-default .days,
html[data-theme-mode="dark"] .pdp-default .dows {
  background: rgba(15,23,42,.98) !important;
  border-color: rgba(148,163,184,.18) !important;
}
html[data-theme-mode="dark"] .pdp-default .pdp-header,
html[data-theme-mode="dark"] .pdp-default .pdp-footer {
  background: linear-gradient(180deg, rgba(30,41,59,.88), rgba(15,23,42,.98)) !important;
}
html[data-theme-mode="dark"] .fc .fc-scrollgrid,
html[data-theme-mode="dark"] .fc .fc-popover,
html[data-theme-mode="dark"] .fc .fc-view-harness,
html[data-theme-mode="dark"] .fc .fc-list {
  background: rgba(15,23,42,.88) !important;
  border-color: rgba(148,163,184,.16) !important;
}
html[data-theme-mode="dark"] .fc .fc-popover-header,
html[data-theme-mode="dark"] .fc .fc-list-day-cushion,
html[data-theme-mode="dark"] .fc .fc-toolbar {
  background: linear-gradient(180deg, rgba(30,41,59,.84), rgba(15,23,42,.12)) !important;
}

@media (max-width: 768px) {
  body[data-bnc-theme] .modal-dialog {
    margin: .7rem;
  }
  body[data-bnc-theme] .table-responsive,
  body[data-bnc-theme] .bnc-list-table-shell,
  body[data-bnc-theme] .bnc-scroll-panel,
  body[data-bnc-theme] .bnc-scroll-panel-lg,
  body[data-bnc-theme] .bnc-scroll-panel-xl,
  body[data-bnc-theme] .bnc-scroll-xl {
    border-radius: 16px;
  }
  body[data-bnc-theme] .table-responsive .table thead th,
  body[data-bnc-theme] .bnc-list-table-shell .table thead th,
  body[data-bnc-theme] .dataTables_wrapper table.dataTable thead th {
    font-size: .82rem;
  }
  html[data-bnc-color-mode-resolved] .fc .fc-toolbar {
    gap: .55rem;
    flex-wrap: wrap;
  }
  html[data-bnc-color-mode-resolved] .fc .fc-toolbar-title {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-bnc-theme] .alert,
  body[data-bnc-theme] .toast,
  body[data-bnc-theme] .modal-content,
  body[data-bnc-theme] .offcanvas,
  body[data-bnc-theme] .table tbody tr {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}


/* Phase24 modal stacking fixes */
body[data-bnc-theme] .modal {
  z-index: 1088 !important;
}
body[data-bnc-theme] .modal-backdrop,
body[data-bnc-theme] .offcanvas-backdrop {
  z-index: 1080 !important;
}
body[data-bnc-theme] .modal-dialog,
body[data-bnc-theme] .modal-content,
body[data-bnc-theme] .modal-header,
body[data-bnc-theme] .modal-body,
body[data-bnc-theme] .modal-footer {
  position: relative;
}
body[data-bnc-theme] .modal.show .modal-content {
  pointer-events: auto;
}
body[data-bnc-theme] .swal2-container {
  z-index: 1095 !important;
}


/* Phase25 modal click-through guard */
body[data-bnc-theme] .modal-backdrop.show {
  z-index: 1990 !important;
}
body[data-bnc-theme] .modal {
  z-index: 2000 !important;
}
body[data-bnc-theme] .modal-dialog,
body[data-bnc-theme] .modal-content {
  pointer-events: auto !important;
}
