  /* Firefox global: auto thickness */
  * {
  scrollbar-width: auto;
  scrollbar-color: #c1c1c1 #f1f1f1;
  }

  /* Desktop WebKit only */
  @media screen and (min-width: 1025px) {
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
  width: 14px;
  height: 14px;
  }

  html::-webkit-scrollbar-track,
  body::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  border-radius: 0 !important; /* Just in case */
  }

  html::-webkit-scrollbar-thumb,
  body::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
  border-radius: 0 !important; /* Force square ends */
  }

  html::-webkit-scrollbar-thumb:hover,
  body::-webkit-scrollbar-thumb:hover {
  background-color: #b0b0b0;
  }
  }

  /* ==========================================================================
  Miscellaneous Fixes
  ========================================================================== */

  /* Ensuring font smoothing */
  html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  }

  /* ==========================================================================
  Base & Layout
  ========================================================================== */

  html {
  scrollbar-gutter: stable;
  height: 100%;
  margin: 0;
  padding: 0;
  }
  html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  }

  body {
  font-family: "Poppins", sans-serif !important;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  }

  #wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  }

  #content-wrapper {
  display: flex;
  flex-direction: column;
  /* flex-grow: 1;  <-- REMOVE this */
  min-height: 0;
  }

  .main-content {
  background-color: var(--bs-custom-bg-fill-dark) !important;
  flex: 1 0 auto;
  padding: 20px;
  margin-left: 240px;
  margin-top: 0 !important;
  transition: margin-left 0.4s ease, width 0.4s ease;
  height: auto !important;
  overflow-y: visible !important;
  }

  .container-fluid {
  margin: 0;
  }

  /* Sticky Footer */

  footer.sticky-footer {
  padding: 1rem 0;
  flex-shrink: 0;
  background-color:  var(--bs-custom-bg-white-dark)!important;
  }

  footer.sticky-footer .copyright {
  line-height: 1;
  font-size: 0.8rem;

  }

  footer.sticky-footer small {
  font-size: 0.75rem;
  line-height: 1.2;
  display: block;
  }

  /* Common bg wrapper */

  .common-bg-wrapper {
  position: relative;
  background-color:  var(--bs-custom-bg-white-fill) !important;
  }

  .common-bg-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  box-shadow: 0 0.125rem 0.25rem rgba(var(--bs-body-color-rgb), 0.075) !important;
  pointer-events: none;
  }

  /* ==========================================================================
  Icons
  ========================================================================== */

  .fa {
  font-size: 6px;
  }

  

  svg {
  color: var(--bs-custom-options-icon);
  transition: transform 150ms ease;
  }

  svg.ellipses {
  color: var(--bs-body-color) !important;
  }

  .icon-20 {
  font-size: 15px;
  position: relative;
  transition: opacity 0.4s ease;
  }

  /* =======================================================================
  Icons: Positioning
  ========================================================================== */

  th svg, td svg {
  vertical-align: middle;
  position: relative;
  top: -2px;
  font-weight: 700;
  }

  /* ==========================================================================
  Progress Bars
  ========================================================================== */

  .progress {
  border: 2px solid var(--bs-custom-stroke-strong);
  }

  .progress-bar {
  background-color: var(--bs-primary) !important;
  box-shadow: none;
  }

  /* ==========================================================================
  Lottie Animations
  ========================================================================== */

  /* Empty state container */
  .empty-state {
  text-align: center;
  padding: 2rem;
  }


  /* Lottie wrapper */
  .empty-lottie-wrapper {
  width: 90px;
  height: 90px;
  margin: 0 auto 1rem;
  background-color: var(--bs-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  }

  /* Lottie itself */
  .lottie-container {
  width: 150px;
  height: 150px;
  }

  /* Text */
  /* Text inside empty-state */
  .empty-state h5 {
  font-size: 1.25rem;       /* adjust as needed for desktop */
  font-weight: 600;
  color: var(--bs-custom-text-strong);
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  }

  .empty-state p {
  font-size: 0.9rem;        /* adjust as needed */
  font-weight: 400;
  color: var(--bs-custom-text-weak);
  margin: 0;
  }


  /* ==========================================================================
  Form Element Defaults
  ========================================================================== */
  /* Form labels */
  label {
  font-weight: 600;
  color: var(--bs-body-color);
  }

  .common-search-input,
  .form-select,
  .form-control {
  width: 100%;
  }

  .common-bg-wrapper .form-control,
  .common-bg-wrapper .form-select {
  max-width: 100%;

  }

  /* Select options truncation */
  select.form-select option {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px; /* adjust as needed */
  display: block;
  }

  /* Bootstrap Form control  */
  form .form-control:focus,
  .form-select:focus,
  .form-check-input:checked,
  .form-check-input:active {
  box-shadow: none !important;
  }

  /*button typing dots animation searching span*/

  .typing-dots::after {
  display: inline-block;
  text-align: left;
  width: 1.5em; /* enough space for 3 dots */
  content: '';
  animation: dots 1.5s steps(3, end) infinite;
  white-space: pre; /* keeps spacing */
  }

  @keyframes dots {
  0%   { content: ''; }
  33%  { content: '.'; }
  66%  { content: '..'; }
  100% { content: '...'; }
  }

  /* ==========================================================================
  Transitions & Common Elements
  ========================================================================== */

  html,
  body,
  .main-content,
  .chart-title,
  .card-heading-text,
  .sidebar{
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  }

  /* ==========================================================================
  Tooltips
  ========================================================================== */

  .tooltip {
  --bs-tooltip-bg: var(--bs-primary);
  --bs-tooltip-color: var(--bs-custom-white-dark);
  font-size: 0.75rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.4;
  transition: opacity 0.5s ease;
  }

  /* ==========================================================================
  Dropdowns
  ========================================================================== */
  .dropdown {
  position: relative !important;
  }

  .dropdown-menu {
  z-index: 9999;
  }

  /* Remove default dropdown toggler arrows */
  .dropdown-toggle::after,
  .dropdown-toggle::before {
  display: none !important;
  }

  .common-dropdown-btn {
  border: 1px solid var(--bs-custom-stroke-strong) !important;
  color: var(--bs-custom-text-strong) !important;
  background-color: transparent !important;
  transition: background-color 0.2s ease, color 0.2s ease;
  }

  .common-dropdown-btn:hover,
  .common-dropdown-btn.show {
  background-color: var(--bs-primary) !important;
  color: var(--bs-custom-white-dark) !important;
  box-shadow: none !important;
  outline: none !important;
  }

  .dropdown-item span {
  display: inline-flex;
  align-items: center;
  }

  .dropdown-item:hover,
  .dropdown-item:focus {
  background-color: var(--bs-custom-hover-strokeweak-fill) !important;
  }

  .dropdown-menu a:active {
  background-color: var(--bs-custom-stroke-weak) !important;
  color: var(--bs-custom-text-strong) !important;
  }

  .dropdown-menu .common-dropdown-selector.form-check-input {
  width: 2.5em;
  height: 20px;
  }

  /* Chevron rotation animation */
  .rotate-chevron {
  display: inline-block;
  transition: transform 0.3s ease-in-out;
  }

  .rotate-chevron.open {
  transform: rotate(180deg) !important;
  }

  /* Dropdown menu alignment */

  /* Right dropdown */
  .dropdown-menu-right {
  top: 100% !important;
  left: 0% !important;
  right: auto !important;
  margin-top: 0.75rem !important;
  margin-right: 0.5rem !important;
  transform-origin: right top !important;
  }

  /* Right dropdown animations */
  .dropdown-animate-in-right {
  animation: slideInRightBottom 0.2s ease forwards;
  transform-origin: left bottom;
  }

  .dropdown-animate-out-right {
  animation: slideOutRightBottom 0.2s ease forwards;
  transform-origin: left bottom;
  }

  /* Left dropdown */
  .dropdown-menu-left {
  top: 100% !important;
  left: auto !important;
  right: 0% !important;
  margin-top: 0.1rem !important;
  margin-right: 0rem !important;
  transform-origin: right top !important;
  }

  /* Left dropdown animations */
  .dropdown-animate-in-left {
  animation: slideInLeftBottom 0.2s ease forwards;
  transform-origin: right bottom;
  }

  .dropdown-animate-out-left {
  animation: slideOutLeftBottom 0.2s ease forwards;
  transform-origin: right bottom;
  }

  /* Dropdown widths */
  .wide-dropdown {
  min-width: 400px;
  max-width: 500px;
  width: auto; /* or width: fit-content; for modern browsers */
  }

  .medium-dropdown {
  min-width: 200px;
  max-width: 300px;
  width: auto;
  }

  /* ==========================================================================
  Dropdown Animations Keyframes
  ========================================================================== */

  /* Right Animations  */

  @keyframes slideInRightBottom {
  0% {
  opacity: 0;
  transform: translateX(-20px) translateY(10px);
  }
  100% {
  opacity: 1;
  transform: translateX(0) translateY(0);
  }
  }

  @keyframes slideOutRightBottom {
  0% {
  opacity: 1;
  transform: translateX(0) translateY(0);
  }
  100% {
  opacity: 0;
  transform: translateX(-20px) translateY(10px);
  }
  }

  /* Left Animations  */

  @keyframes slideInLeftBottom {
  0% {
  opacity: 0;
  transform: translateX(20px) translateY(10px);
  }
  100% {
  opacity: 1;
  transform: translateX(0) translateY(0);
  }
  }

  @keyframes slideOutLeftBottom {
  0% {
  opacity: 1;
  transform: translateX(0) translateY(0);
  }
  100% {
  opacity: 0;
  transform: translateX(20px) translateY(10px);
  }
  }

  /* ============================
  📆 INPUT: Date Picker Styles
  ============================ */

  input[type="date"] {
  height: 2.5rem;
  padding: 0 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: var(--bs-custom-fill);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  box-shadow: inset 0 1px 2px rgba(var(--bs-body-color-rgb), 0.075);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  appearance: none;
  width: 100%;
  max-width: 300px;
  cursor: pointer;
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
  cursor: pointer;
  }

  input[type="date"]::-moz-calendar-picker-indicator {
  display: none;
  }


  /* ==========================================================================
  Tables
  ========================================================================== */

  /* Common table */
  table.common-table {
  margin-top: 0rem;
  overflow: visible !important;
  border-collapse: separate !important;
  }

  table.common-table th {
  text-align: left!important;
  vertical-align: middle;
  font-size: 18px!important;
  font-weight: 500!important;
  font-family: "Poppins", sans-serif !important;
  color: var(--bs-body-color);
  background-color: var(--bs-custom-fill) !important;
  border-bottom: 2px solid var(--bs-custom-stroke-weak) !important;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  }

  table.common-table td {
  font-size: 0.9375rem; /* ~15px */
  font-weight: 400;
  color: var(--bs-body-color);
  font-family: "Open Sans", sans-serif;
  vertical-align: middle;
  padding: 0.5rem 1rem;
  border-top: none;
  background-color: var(--bs-custom-white-dark);
  text-align: left;
  }

  table.occurences-table td {
  padding: 1rem;
  }

  /* Hover effect */
  table.common-table tbody tr:hover {
  background-color: var(--bs-custom-fill) !important;
  cursor: pointer;
  }

  table.common-table thead th:last-child {
  border-top-right-radius: 10px solid var(--bs-custom-stroke-weak) !important;
  }

  table.common-table thead .tableHeadColorChange {
  background-color: transparent !important;
  }


  /* -------------------------------------------------------------------
  Occurences table Wrapper
  ----------------------------------------------------------------- */

  .occurences-table-wrapper {
  position: relative;
  min-height: 200px;
  }

  .occurences-table-wrapper .modal-loader {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1055;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  }

  .occurences-table-wrapper .modal-loader.active {
  visibility: visible;
  opacity: 1;
  }

  .occurences-table-wrapper .modal-loader .spinner-border {
  color: var(--bs-primary);
  }

  .occurences-wrapper select.form-select,
  .occurences-wrapper select.form-select-sm {
  width: auto !important;       /* shrink to content */
  min-width: 50px !important;   /* optional: keep minimum width */
  max-width: 70px !important;   /* optional: limit max width */
  padding: 2px 6px !important;
  height: 28px !important;      /* adjust height */
  font-size: 0.85rem !important;/* match previous small size */
  }


  /* ==========================================================================
  DataTables Styling
  ========================================================================== */

div.dataTables_processing div {
  display: none;
}


  /* -------------------------------
  Hover effect on non-selected rows
  --------------------------------- */
  table.table.dataTable > tbody > tr:not(.selected):hover > * {
  box-shadow: inset 0 0 0 9999px var(--bs-custom-bg-fill-dark) !important;
  color: var(--bs-body-color) !important;
  cursor: pointer;
  }

  /* -------------------------------
  Selected row
  --------------------------------- */
  table.table.dataTable > tbody > tr.selected > * {
  box-shadow: inset 0 0 0 9999px var(--bs-custom-stroke-weak) !important;
  color: var(--bs-body-color) !important;  /* readable text */
  }

  /* -------------------------------
  Links inside selected row
  --------------------------------- */
  table.table.dataTable > tbody > tr.selected a {
  color: var(--bs-custom-text-strong) !important;
  text-decoration: none;
  }

  /* Hover effect for links inside selected row only */
  table.table.dataTable > tbody > tr.selected a:hover {
  background-color: var(--bs-custom-fill) !important;
  color: var(--bs-custom-text-strong) !important;
  }

  /* Active effect for links inside selected row only */
  table.table.dataTable > tbody > tr.selected a:active {
  background-color: var(--bs-custom-stroke-weak) !important;
  color: var(--bs-custom-text-strong) !important;
  }


  /* Hide sorting icons */
  table.dataTable span.dt-column-order {
  display: none;
  }

  /* Hide default search filter */
  .dataTables_filter {
  display: none;
  }

  div.dataTables_wrapper span.select-info,
  div.dataTables_wrapper span.select-item {
  margin-left: 0.5em;
  }

  div.dt-container.dt-empty-footer tbody > tr:last-child > * {
  border-bottom: 1px solid var(--bs-custom-dropdown-divider-bg);
  overflow: hidden;
  }

  div.dataTables_wrapper {
  margin: 0 auto;
  }

  .sortable-header-label {
  display: flex;                 /* flex container for text + arrow */
  align-items: center;           /* vertical alignment */
  justify-content: space-between; /* pushes arrow to extreme right */
  width: 100%;                   /* important: fill entire th width */
  box-sizing: border-box;        /* ensures padding/margin don't break width */
  cursor: pointer;
  user-select: none;
  }

  .sort-arrow {
  font-size: 1.1rem;
  vertical-align: middle;
  opacity: 0;                    /* hidden by default */
  transition: opacity 0.2s ease;
  }


  /* Show arrow on hover or sorted column */
  th.sortable-header:hover .sort-arrow,
  th.sortable-header.sorted .sort-arrow {
  opacity: 1;
  }

  /* Cursor */
  th.sortable-header {
  cursor: pointer;
  user-select: none;
  }

  .sort-arrow {
  font-size: 1rem;
  margin-left: 4px;
  letter-spacing: -2px; /* optional, make arrows tighter */
  }



  .keyword-table thead th {
  position: relative;
  overflow: hidden;
  }

  /* Right handle */
  .th-resizer-right {
  position: absolute;
  right: -3px;
  top: 0;
  width: 6px;
  height: 100%;
  cursor: col-resize;
  z-index: 10;
  }

  /* Left handle */
  .th-resizer-left {
  position: absolute;
  left: -3px;
  top: 0;
  width: 6px;
  height: 100%;
  cursor: col-resize;
  z-index: 10;
  }

  th:hover .th-resizer-right,
  th:hover .th-resizer-left {
  background: rgba(0, 0, 0, 0.08);
  }


  /* ==========================================================================
  DataTables Pagination Styling
  ========================================================================== */

  div.dt-container div.dt-paging ul.pagination {
  height:45px;
  flex-wrap: nowrap;
  margin-left:-20px;
  }

  div.dt-paging button.ellipsis {
  width:10px;
  height:10px;
  }

  .page-link {
  background-color: transparent !important;
  border: 0px;
  padding:0.25rem 0.75rem;
  border-radius:1.2rem;
  }

  .active > .page-link,
  .page-link.active {
  z-index: 3;
  color: var(--bs-custom-white-dark) !important;;
  background-color: var(--bs-primary) !important;
  /* border: 1px solid var(--bs-custom-stroke-strong) !important; */
  outline: none !important;
  border: none !important;
  border-radius: 5px;
  }

  div.dt-container .dt-paging .dt-paging-button:hover {
  color: transparent !important;
  border: none !important;
  background:  var(--bs-custom-hover-strokeweak-fill) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important; 
  }

  div.dt-container .dt-paging .dt-paging-button {
  border: none !important;
  padding: 0.5em 0.375em!important;
  margin-left: 0px!important;
  }

  .page-item:first-child{
  margin-right: -14px;
  }

  div.dt-container .dt-paging .dt-paging-button:last-child {
  margin-left: -14px!important;
  }

  /* ==========================================================================
  DataTables Scrollbar Wrapper (Reusable + Responsive)
  ========================================================================== */

  .dataTables__scrollbar-wrapper {
  position: relative;
  max-height: calc(100vh - 250px); /* adjust if needed */
  overflow-y: auto;
  overflow-x: auto;
  max-width: 100%;
  z-index: 9;
  scrollbar-width: thin;
  scrollbar-color: var(--bs-primary);
  }

  .dataTables__scrollbar-wrapper::-webkit-scrollbar {
  width: 14px;  /* Increased from 6px */
  height: 14px; /* For horizontal scrollbar */
  }

  .dataTables__scrollbar-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;

  }

  .dataTables__scrollbar-wrapper::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;

  }

  .dataTables__scrollbar-wrapper::-webkit-scrollbar-thumb:hover {
  background-color: #c1c1c1;
  }

  /* Sticky table headers */

  .dataTables__scrollbar-wrapper thead {
  position: sticky;
  top: 0;
  background-color: var(--bs-custom-white-dark);
  z-index: 9;
  border: none;
  }

  .dataTables__scrollbar-wrapper thead th::before {
  position: absolute;
  content: "";
  top: 0;
  left: -2px;
  width: calc(100% + 2px);
  height: 1px;
  background-color: var(--bs-custom-stroke-weak);
  }



  /* Aggressively reduce space between table wrapper and modal footer */
  /* Aggressively reduce space between occurences-table and modal footer */
  /* Only for modals containing an occurences-table */
  .modal:has(.occurences-table) .modal-body {
  padding-bottom: 0 !important;   /* remove bottom padding */
  }

  .modal:has(.occurences-table) .modal-footer {
  padding-top: 0.2rem !important;    /* minimal space above footer buttons */
  padding-bottom: 0.2rem !important; /* minimal space below footer buttons */
  }


  /* Compact layout for all occurences-table instances */
  .occurences-table_wrapper {
  margin-bottom: 0 !important;      /* remove space below table */
  padding-bottom: 0 !important;
  }

  /* Table cells tighter */
  .occurences-table th,
  .occurences-table td {
  padding: 0.2rem 0.4rem !important;
  vertical-align: middle;
  }

  /* Optional: tighten info/pagination spacing */
  .occurences-table_wrapper .dataTables_info,
  .occurences-table_wrapper .dataTables_paginate {
  margin-bottom: 0 !important;
  }


  /* Optional: minimal modal footer space for occurences table modals */
  .modal .occurences-table + .modal-footer {
  padding-top: 0.4rem !important;    /* minimal space above footer */
  padding-bottom: 0.4rem !important; /* minimal space below footer */
  }



  /* Only for modal table */
  .occurences-wrapper .dt-paging ul.pagination {
  justify-content: center;   /* centers buttons horizontally */
  flex-wrap: nowrap;
  }

  /* Add horizontal space inside the links */
  .occurences-wrapper .dt-paging ul.pagination a.page-link {
  padding: 0.25rem 0.5rem !important; /* smaller padding */
  min-width: 2.2em;                  /* keep buttons clickable */
  border-radius: 0.25rem !important;
  }

  /* Hover shadow */
  .occurences-wrapper .dt-paging ul.pagination a.page-link:hover {
  box-shadow: 0 1px 2px rgba(0,0,0,0.15) !important; /* subtle shadow */
  background: var(--bs-custom-hover-strokeweak-fill) !important;
  color: transparent !important;
  }

  /* Only for occurences-table modal */
  .occurences-wrapper .page-item:first-child {
  margin-right: 0 !important; /* remove negative margin only for this table */
  }

  .occurences-wrapper .page-item:last-child {
  margin-left: 0 !important; /* optional, in case last child also had -14px */
  }

  /*render table output 3 lines in datatable last column*/

  /* === Datatable Dropdown (Match Theme) === */
  .datatable-dropdown {
  position: fixed !important;
  display: none;
  z-index: 9999 !important;
  background-color: var(--bs-custom-white-dark);
  color: var(--bs-custom-text-strong);
  list-style: none;
  margin: 0;
  padding: 0rem 0;
  border-radius: 0.25rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
  }

  /* Individual dropdown items */
  .datatable-dropdown li {
  padding: 0.2rem 0.75rem;
  }

  /* Links inside dropdown */
  /* === Desktop: More comfortable hover area === */
  .datatable-dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bs-custom-text-strong);
  border-radius: 0.25rem;
  transition: background-color 0.15s ease, color 0.15s ease;
  padding: 0.6rem 0.6rem; /* 🔥 increased vertical & horizontal padding */
  }


  /* Hover & focus (match .dropdown-item) */
  .datatable-dropdown li:hover,
  .datatable-dropdown li:focus {
  background-color: var(--bs-custom-hover-strokeweak-fill) !important;
  color: var(--bs-custom-text-strong) !important;
  }

  /* Active (match .dropdown-menu a:active) */
  .datatable-dropdown li a:active {
  background-color: var(--bs-custom-stroke-weak) !important;
  color: var(--bs-custom-text-strong) !important;
  }

  /* Show dropdown */
  .datatable-dropdown.show {
  display: block;
  }

  /* SVG icon (three dots) */
  .dropdown-toggle svg {
  color: #999;
  cursor: pointer;
  transition: color 0.15s ease;
  }

  .dropdown-toggle svg:hover {
  color: var(--bs-primary, #0d6efd);
  }

  .subtle-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border: 1px solid var(--bs-custom-stroke-weak); /* subtle gray outline */
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  }

  .subtle-button:hover {
  background-color: var(--bs-custom-stroke-weak); /* very light hover */
  border-color: #9ca3af; /* slightly darker border on hover */
  }

  .subtle-button svg {
  display: block;
  color: var(--bs-custom-stroke-strong); /* icon color */
  }


  /* Right-click Datatable header (Chrome, Edge, Safari) */

  .dt-context-menu {
  position: fixed;
  display: none;
  background: transparent;          /* ❌ no background */
  border: none;                      /* ❌ no border */
  box-shadow: none;                  /* ❌ no shadow */
  z-index: 9999;
  min-width: 180px;
  }

  .dt-context-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  }

  .dt-context-menu li {
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--bs-custom-text-strong); /* ✅ text color only */
  background: transparent;             /* ensure no bg */
  }

  /* ❌ Disable hover styles completely */
  .dt-context-menu li:hover,
  .dt-context-menu li:active,
  .dt-context-menu li:focus {
  background: transparent;
  color: var(--bs-custom-text-strong);
  }

  /*Datatables button see more or less from videosearch.js*/

  .moreless-button {
  display: inline;
  background: none !important;
  border: none;
  padding: 0 !important;
  margin: 0 0 0 4px; /* small space before button */
  font-size: 0.9375rem; /* ~15px */
  font-family: inherit;
  font-weight:600;
  color: var(--bs-primary) !important;
  text-decoration: none;
  cursor: pointer;
  line-height: 1; /* reduce height */
  vertical-align: baseline; /* better alignment */
  }

  /* ==========================================================================
  Checkboxes for intermedinate style thead
  ========================================================================== */
  /* Reusable style for header checkboxes */

  /* ==========================================================================
  Checkboxes for intermediate-style thead
  ========================================================================== */

  /* Reusable style for header checkboxes */
  .table-header-checkbox {
  border-radius: 0.25em;

  width: 24px;

  height: 24px;
  margin-top: 0.25em;
  vertical-align: top;
  background-color: var(--bs-form-check-bg);
  border: var(--bs-border-width) solid var(--bs-border-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  position: relative;
  }

  /* Checked state using ::before for tick */
  .table-header-checkbox:checked::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 8px;
  width: 6px;
  height: 12px;
  border: solid var(--bs-primary); /* ✅ Tick color here */
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  }

  /* Checked state background/border */
  .table-header-checkbox:checked {
  background-color: var(--bs-custom-white-dark);
  border-color: var(--bs-custom-stroke-strong);
  }

  /* Unchecked */
  .table-header-checkbox:not(:checked)::before {
  content: none;
  }

  /* Indeterminate */

  .table-header-checkbox.indeterminate {
  background-color: var(--bs-custom-white-dark); /* Same as checked state */
  border-color: var(--bs-custom-stroke-strong); /* Same as checked state */
  background-image: none;
  position: relative;
  }

  .table-header-checkbox.indeterminate::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 25%;
  width: 50%;
  height: 3px;
  background-color: var(--bs-primary); /* 👈 Change this */
  border-radius: 2px;
  transform: translateY(-50%);
  }

  input[type="checkbox"] {
  transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  /*Include/Exclude Keywords & navpills for modal filter*/

  .inc-exc__include-button  {
  background-color: var(--bs-custom-green)!important;
  }

  .inc-exc__exclude-button {
  background-color: var(--bs-custom-red)!important;
  }

  .nav-pills > li > button {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--bs-custom-stroke-strong);
  position: relative;
  }

  .nav-pills > li > button:hover {
  color: var(--bs-primary); !important;
  }

  .nav-pills > li > button.active {
  background: transparent !important;
  border-bottom: 3px solid var(--bs-primary); !important;
  border-radius: 0px !important;
  margin-top: -2.5px;
  }

  /*Off-canvas toggle*/

  /* Desktop view: always hide toggle */

  .navbar__offcanvas-toggle {
  display: none;
  background: none;
  border: none;
  }

  .offcanvas {
  transition: transform 0.15s ease-in-out, visibility 0.15s ease-in-out;
  }

  .offcanvas-body .navbar-nav {
  padding: 0;
  }

  .offcanvas-start {
  transform: translateX(-100%);
  }

  .offcanvas-end {
  transform: translateX(100%);
  }

  .offcanvas-start,
  .offcanvas-end {
  visibility: hidden;
  transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }

  .offcanvas-start.show,
  .offcanvas-end.show {
  visibility: visible;
  transform: translateX(0);
  }

  /* ==========================================================================
  Bulk Actions Utility
  ========================================================================== */
  /* Initially hide mobile-specific items only */
  .campaigns-bulk-dropdown__button,
  .selected-rows-text,
  .bulk-actions-column-mobile {
  display: none !important;
  }

  .bulk-actions-column {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .bulk-actions-column.bulk-actions-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  position: relative;   /* 👈 Add this */
  z-index: 10;          /* 👈 Add this */
  }

  .bulk-actions-column.bulk-actions-visible .campaigns-bulk-dropdown__button,
  .bulk-actions-column.bulk-actions-visible .selected-rows-text {
  display: inline-block !important;
  }

  /* ==========================================================================
  Campaigns Table
  ========================================================================== */

  .campaigns-table__search-icon {
  left: 15px !important;
  font-size: 1.2rem !important;
  }

  .campaigns-table__search-input {
  padding-left: 2.5rem !important;
  }

  .campaigns-table .dropdown {
  position: relative;
  }

  .campaigns-table .dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 1300 !important;
  min-width: 180px;
  }

  .export-videos {
  display: inline-block; /* or inline */
  width: 100%;           /* to fill the cell */
  text-align: center;    /* center content */
  }

  /* ================================================
  🧩 Common Select2 Styles (Reusable Across Views)
  ================================================ */

  /* Standard single select appearance */
  .select2-container--default .select2-selection--single {
  height: 2.5rem;
  padding-left: 0.375rem;  /* 👈 Adjust this to control space on left */
  padding-right: 0.75rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  background-color: var(--bs-custom-fill);
  color: var(--bs-body-color);
  box-shadow: inset 0 1px 2px rgba(var(--bs-body-color-rgb), 0.075);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  position: relative;
  outline: none !important; /* 🔧 Prevent default focus outline */
  }

  /* Hide default arrow */
  .select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
  }

  /* Custom chevron arrow (pointing down) */
  .select2-container--default .select2-selection--single::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  width: 8px;
  height: 8px;
  border-style: solid;
  border-width: 2px 2px 0 0;
  border-color: var(--bs-body-color);
  transform: translateY(-50%) rotate(135deg);
  pointer-events: none;
  transition: border-color 0.2s ease;
  }

  /* ✅ Arrow color change on hover/open */
  .select2-container--default.select2-container--open .select2-selection--single::after,
  .select2-container--default:hover .select2-selection--single::after {
  border-color: var(--bs-custom-white-dark);
  }

  /* Adjust space for arrow */
  .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-right: 20px;
  line-height: 2.5rem;
  color: var(--bs-custom-text-strong) !important;
  }

  /* Placeholder styling */
  .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--bs-custom-text-strong) !important;
  opacity: 1;
  transition: color 0.2s ease;
  }

  /* Hover & open state */
  .select2-container--default.select2-container--open .select2-selection--single,
  .select2-container--default:hover .select2-selection--single {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
  background-color: var(--bs-custom-fill);
  color: var(--bs-body-color);
  outline: none !important; /* 🔧 Remove browser focus outline */
  }

  /* White text on hover/open (dark mode support) */
  .select2-container--default.select2-container--open .select2-selection--single .select2-selection__placeholder,
  .select2-container--default:hover .select2-selection--single .select2-selection__placeholder,
  .select2-container--default.select2-container--open .select2-selection--single .select2-selection__rendered,
  .select2-container--default:hover .select2-selection--single .select2-selection__rendered {
  color: var(--bs-custom-white-dark) !important;
  }

  /* Dropdown Menu Style */
  .select2-container--default .select2-results > .select2-results__options {
  max-height: 200px;

  overflow-y: auto;
  border: 1px solid var(--bs-custom-stroke-strong);
  border-radius: 0.375rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  background-color: var(--bs-custom-white-dark);
  }

  /* Dropdown options */
  .select2-dropdown .select2-results__option {
  padding: 6px 12px;
  cursor: pointer;
  color: var(--bs-custom-text-strong);
  }

  .select2-dropdown .select2-results__option--highlighted {
  background-color: var(--bs-custom-hover-strokeweak-fill) !important;
  color: var(--bs-custom-text-strong) !important;
  }

  /* ============================
  🔍 Select2: Search Box Fix
  ============================ */
  .select2-container--default .select2-dropdown .select2-search--dropdown {
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  }

  .select2-container--default .select2-dropdown .select2-search--dropdown .select2-search__field {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  border-radius: 0rem !important;
  border: 1px solid var(--bs-border-color) !important;
  padding: 6px 8px !important;
  box-shadow: none !important;
  outline: none !important;
  background-color: var(--bs-custom-fill) !important;
  color: var(--bs-body-color) !important;
  font-style: normal !important;
  }

  /* Placeholder in search input */
  .select2-container--default .select2-search--dropdown .select2-search__field::placeholder {
  color: var(--bs-placeholder-color, #888) !important;
  opacity: 1 !important;
  font-style: italic !important;
  }

  /* Remove native browser focus styling */
  .select2-container--default .select2-search--dropdown .select2-search__field[type="search"] {
  -webkit-appearance: none !important;
  border-radius: 0 !important;
  }

  .select2-container--default .select2-search--dropdown .select2-search__field:focus {
  box-shadow: none !important;
  outline: none !important;
  }

  .select2-search__field:-webkit-autofill {
  -webkit-text-fill-color: var(--bs-body-color) !important;
  }

  /* Remove scrollable inner list rounding */
  .select2-container--default .select2-results__options {
  border-radius: 0 !important;
  padding-bottom: 20px; /* 👈 Adds extra scroll space */

  }

  /* Highlighted item (menu) */
  .select2-container--default .select2-results__option--highlighted,
  .select2-container--default .select2-results__option[aria-selected="true"].select2-results__option--highlighted {
  background-color: var(--bs-custom-hover-strokeweak-fill) !important;
  color: var(--bs-custom-text-strong) !important;
  }

  /* Selected but not hovered */
  .select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: transparent !important;
  color: var(--bs-custom-text-strong) !important;
  font-weight: normal !important;
  box-shadow: none !important;
  border: none !important;
  }

  /* 🎯 Selected State Appearance */
  .select2-selection--single {
  border: 1px solid var(--bs-custom-stroke-strong) !important;
  background-color: transparent !important;
  transition: background-color 0.2s ease, color 0.2s ease;
  outline: none !important; /* ✅ Disable native focus ring */
  }

  .select2-selection--single:hover,
  .select2-container--open .select2-selection--single {
  background-color: var(--bs-primary) !important;
  color: var(--bs-custom-white-dark) !important;
  box-shadow: none !important;
  outline: none !important;
  }

  /* ============================
  🖱️ Custom Scrollbar for Select2 Dropdown
  ============================ */

  .select2-container--default .select2-results__options {
  scrollbar-width: auto; /* Firefox only */
  }

  /* WebKit browsers (Chrome, Edge, Safari) */
  .select2-container--default .select2-results__options::-webkit-scrollbar {
  width: 10px; /* Adjust thickness here */
  }

  .select2-container--default .select2-results__options::-webkit-scrollbar-track,
  .select2-container--default .select2-results__options::-webkit-scrollbar-thumb {
  background: transparent; /* Use native colors */
  min-height: 30px; /* 👈 Helps prevent it from getting too small */
  border: none;
  }

  /* Spinner */

  
#fullpage-loader {
    display: none; /* hidden on page load */
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    pointer-events: none;
    background: transparent;
}

#fullpage-loader .preloader-content {
    position: relative;
    width: 80px;   /* compact width */
    height: 80px;  /* compact height */
}

#fullpage-loader .preloader-letter {
    font-family: 'Playfair Display', serif;
    font-size: 50px;  /* smaller T */
    font-weight: 700;
    color: var(--bs-primary);
    text-align: center;
    line-height: 80px; /* matches container height */
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    animation: pulse 1.8s infinite ease-in-out;
}

#fullpage-loader .rotating-circle {
    width: 100px;    /* smaller radius */
    height: 100px;
    border: 3px solid transparent;
    border-top: 3px solid var(--bs-primary);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    position: absolute;
    top: -10px;      /* closer to T */
    left: -10px;
    z-index: 1;
}

#fullpage-loader .loader-text {
    margin-top: 8px; /* smaller gap */
    font-weight: 500;
    font-size: 14px; /* smaller text */
    color: var(--bs-custom-text-strong);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}


#video-table-loader {
    display: none; /* hidden on page load */
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    pointer-events: none;
    background: transparent;
}

#video-table-loader .preloader-content {
    position: relative;
    width: 80px;   /* compact width */
    height: 80px;  /* compact height */
}

#video-table-loader .preloader-letter {
    font-family: 'Playfair Display', serif;
    font-size: 50px;  /* smaller T */
    font-weight: 700;
    color: var(--bs-primary);
    text-align: center;
    line-height: 80px; /* matches container height */
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    animation: pulse 1.8s infinite ease-in-out;
}

#video-table-loader .rotating-circle {
    width: 100px;    /* smaller radius */
    height: 100px;
    border: 3px solid transparent;
    border-top: 3px solid var(--bs-primary);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    position: absolute;
    top: -10px;      /* closer to T */
    left: -10px;
    z-index: 1;
}

#video-table-loader .loader-text {
    margin-top: 8px; /* smaller gap */
    font-weight: 500;
    font-size: 14px; /* smaller text */
    color: var(--bs-custom-text-strong);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}


#channel-table-loader {
    display: none; /* hidden on page load */
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    pointer-events: none;
    background: transparent;
}

#channel-table-loader .preloader-content {
    position: relative;
    width: 80px;   /* compact width */
    height: 80px;  /* compact height */
}

#channel-table-loader .preloader-letter {
    font-family: 'Playfair Display', serif;
    font-size: 50px;  /* smaller T */
    font-weight: 700;
    color: var(--bs-primary);
    text-align: center;
    line-height: 80px; /* matches container height */
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    animation: pulse 1.8s infinite ease-in-out;
}

#channel-table-loader .rotating-circle {
    width: 100px;    /* smaller radius */
    height: 100px;
    border: 3px solid transparent;
    border-top: 3px solid var(--bs-primary);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    position: absolute;
    top: -10px;      /* closer to T */
    left: -10px;
    z-index: 1;
}

#channel-table-loader .loader-text {
    margin-top: 8px; /* smaller gap */
    font-weight: 500;
    font-size: 14px; /* smaller text */
    color: var(--bs-custom-text-strong);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}


#keyword-table-loader {
    display: none; /* hidden on page load */
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    pointer-events: none;
    background: transparent;
}

#keyword-table-loader .preloader-content {
    position: relative;
    width: 80px;   /* compact width */
    height: 80px;  /* compact height */
}

#keyword-table-loader .preloader-letter {
    font-family: 'Playfair Display', serif;
    font-size: 50px;  /* smaller T */
    font-weight: 700;
    color: var(--bs-primary);
    text-align: center;
    line-height: 80px; /* matches container height */
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    animation: pulse 1.8s infinite ease-in-out;
}

#keyword-table-loader .rotating-circle {
    width: 100px;    /* smaller radius */
    height: 100px;
    border: 3px solid transparent;
    border-top: 3px solid var(--bs-primary);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    position: absolute;
    top: -10px;      /* closer to T */
    left: -10px;
    z-index: 1;
}

#keyword-table-loader .loader-text {
    margin-top: 8px; /* smaller gap */
    font-weight: 500;
    font-size: 14px; /* smaller text */
    color: var(--bs-custom-text-strong);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}



/* Full modal overlay */
#modal-loader-occurences {
  position: absolute;        /* cover entire modal */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bs-custom-fill, rgba(248, 249, 250, 0.9)); /* light by default, customizable for dark */
  display: flex;
  align-items: center;       /* vertical center */
  justify-content: center;   /* horizontal center */
  z-index: 1050;             /* above modal content */
  backdrop-filter: blur(2px); /* subtle blur for modern look */
}

/* Inner content */
#modal-loader-occurences .loader-overlay {
  text-align: center;
}

/* Circle + letter */
#modal-loader-occurences .preloader-content {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

#modal-loader-occurences .preloader-letter {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--bs-primary);
  text-align: center;
  line-height: 70px;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  animation: pulse 1.8s infinite ease-in-out;
}

#modal-loader-occurences .rotating-circle {
  width: 90px;
  height: 90px;
  border: 2px solid transparent;
  border-top: 2px solid var(--bs-primary);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 1;
}

/* Loader text below circle */
#modal-loader-occurences .loader-text {
  margin-top: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bs-primary);
}





/* Full modal overlay for Video Occurrences */
#modal-loader-occurences-videos {
  position: absolute;        /* cover entire modal */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bs-custom-fill, rgba(248, 249, 250, 0.9)); /* light by default */
  display: flex;
  align-items: center;       /* vertical center */
  justify-content: center;   /* horizontal center */
  z-index: 1050;             /* above modal content */
  backdrop-filter: blur(2px); /* subtle blur */
}

/* Inner content */
#modal-loader-occurences-videos .loader-overlay {
  text-align: center;
}

/* Circle + letter */
#modal-loader-occurences-videos .preloader-content {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

#modal-loader-occurences-videos .preloader-letter {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--bs-primary);
  text-align: center;
  line-height: 70px;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  animation: pulse 1.8s infinite ease-in-out;
}

#modal-loader-occurences-videos .rotating-circle {
  width: 90px;
  height: 90px;
  border: 2px solid transparent;
  border-top: 2px solid var(--bs-primary);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 1;
}

/* Loader text below circle */
#modal-loader-occurences-videos .loader-text {
  margin-top: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bs-primary);
}

/* Full modal overlay for Channels/Influencer Occurrences */
#modal-loader-occurences-channels {
  position: absolute;        /* cover entire modal */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bs-custom-fill, rgba(248, 249, 250, 0.9)); /* light by default */
  display: flex;
  align-items: center;       /* vertical center */
  justify-content: center;   /* horizontal center */
  z-index: 1050;             /* above modal content */
  backdrop-filter: blur(2px); /* subtle blur */
}

/* Inner content */
#modal-loader-occurences-channels .loader-overlay {
  text-align: center;
}

/* Circle + letter */
#modal-loader-occurences-channels .preloader-content {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

#modal-loader-occurences-channels .preloader-letter {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--bs-primary);
  text-align: center;
  line-height: 70px;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  animation: pulse 1.8s infinite ease-in-out;
}

#modal-loader-occurences-channels .rotating-circle {
  width: 90px;
  height: 90px;
  border: 2px solid transparent;
  border-top: 2px solid var(--bs-primary);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 1;
}

/* Loader text below circle */
#modal-loader-occurences-channels .loader-text {
  margin-top: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bs-primary);
}

/* Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.6; }
}











  

  /* Occurences */

  .flex-top {
  display: flex;
  justify-content: space-between; /* length on left, pagination on right */
  align-items: center;
  margin-bottom: 0.5rem;
  }

  .info-bottom {
  text-align: left; /* LEFT align the info */
  margin-top: 1rem;
  }
