.jvm-zoom-btn.jvm-zoomin,
.jvm-zoom-btn.jvm-zoomout {
  top: 10px;
  background: #d1d5db;
  color: #111827;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
}

.slick-dots {
  display: flex !important;
}

.fc-toolbar-title {
  font-size: 24px !important;
  font-weight: 600;
}

.fc-button {
  border-color: var(--primary-600) !important;
  background: #fff !important;
  color: var(--primary-600) !important;
  font-weight: 600 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-width: 80px !important;
}

.fc-button:hover {
  background-color: var(--primary-50) !important;
}

.fc-button-active {
  color: #fff !important;
  background-color: var(--primary-600) !important;
}

.fc-button-active:hover {
  color: #fff !important;
  background-color: var(--primary-600) !important;
}

.fc-button-active:focus,
.fc .fc-button-primary:not(:disabled):active:focus {
  box-shadow: none !important;
}

.fc-toolbar-chunk {
  display: flex !important;
}

.fc .fc-button-primary:focus {
  box-shadow: none !important;
}

.fc-h-event {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  background-color: var(--primary-50) !important;
  color: var(--primary-600) !important;
}

.fc-h-event .fc-event-main {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  background-color: var(--primary-50) !important;
  color: var(--primary-600) !important;
}

.fc-v-event .fc-event-main {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  background-color: var(--primary-50) !important;
  color: var(--primary-600) !important;
}

.fc-daygrid-day-number {
  transition: background-color 0.2s;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  border-radius: 50%;
}

.fc-daygrid-day:hover .fc-daygrid-day-number {
  background-color: var(--primary-100) !important;
  color: var(--primary-600) !important;
  transition: background-color 0.2s;
}

.slider-progress .active {
  transition: all 0.3s linear;
}

.slick-list {
  margin: 0 -7px;
}

.slick-slide>div {
  padding: 0 10px;
}

.center-gap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.inline-grid {
  display: inline-grid;
}

.image-upload__boxInner.custom {
  display: flex;
  justify-content: center;
  align-items: center;
}

table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
  text-align: unset !important;
}

/* Hide all submenus by default */
.sidebar-submenu {
  /* display: none; */
  list-style: none;
  padding-left: 20px;
  /* Adjust as needed */
}

.sidebar-menu .sidebar-submenu {
  display: block;
}

/* Optional: Add transition for smooth toggle */
.sidebar-menu .dropdown .sidebar-submenu {
  transition: max-height 0.3s linear;
  overflow: hidden;
  max-height: 0px;
}

/* .sidebar-menu .dropdown.open .sidebar-submenu {
  max-height: 1000px;
} */

.sidebar-menu li>a>i {
  margin-inline-end: 0;
}

.mr-10 {
  margin-right: 10px !important;
}

.sidebar-menu .sidebar-submenu li a {
  gap: 12px;
}

.sidebar-menu .sidebar-submenu li>.active-page {
  background-color: var(--button-secondary);
  color: var(--text-primary-light);
}

.sidebar-menu li>a.active-page:hover {
  color: var(--text-primary-light);
}

.me-8 {
  margin-right: 8px;
}

.gap-10 {
  display: flex;
  gap: 8px;
}

.w-33 {
  width: 33.33%;
}

.overlay::after {
  position: absolute;
  content: "";
  top: 0;
  inset-inline-start: 0;
  width: 0;
  height: 100%;
  background-color: #000;
  opacity: 0.65;
  transition: all 0.3s;
  z-index: 2;
}

.overlay.active::after {
  width: 100%;
}

/* Fix form-select dropdown text alignment - match template styles */
.form-select {
  height: 2.75rem !important;
  padding: 0.5625rem 1.875rem 0.5625rem 0.9375rem !important;
  background-position: right 0.75rem center !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  border-radius: var(--bs-border-radius) !important;
  border: 1px solid var(--input-form-light, #e5e7eb) !important;
}

.form-select:focus,
.form-select:active {
  padding: 0.5625rem 1.875rem 0.5625rem 0.9375rem !important;
  background-position: right 0.75rem center !important;
  border-radius: var(--bs-border-radius) !important;
}

/* For custom height selects (h-56-px = 56px) - adjust padding for better vertical centering */
.form-select.h-56-px {
  padding: 0.875rem 1.875rem 0.875rem 0.9375rem !important;
  background-position: right 0.75rem center !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  border-radius: var(--bs-border-radius) !important;
}

.form-select.h-56-px:focus,
.form-select.h-56-px:active {
  padding: 0.875rem 1.875rem 0.875rem 0.9375rem !important;
  background-position: right 0.75rem center !important;
  border-radius: var(--bs-border-radius) !important;
}

.form-select.radius-12 {
  border-radius: var(--bs-border-radius) !important;
}

.form-select option {
  padding: 0.5rem 0.9375rem !important;
  border-radius: 0 !important;
}

/* Improve select dropdown visual connection and appearance */
.form-select {
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
  cursor: pointer !important;
}

.form-select:focus,
.form-select:active {
  border-color: var(--primary-600) !important;
  outline: none !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
  z-index: 1 !important;
  position: relative !important;
}

.form-select:hover {
  border-color: var(--primary-400, #86b7fe) !important;
}

/* Better visual feedback for small selects used in filters */
.form-select-sm {
  transition: all 0.2s ease-in-out !important;
  border-radius: var(--bs-border-radius) !important;
}

.form-select-sm:focus {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
  border-color: var(--primary-600) !important;
  border-radius: var(--bs-border-radius) !important;
}

/* Custom dropdown styling to match select - for status filter dropdown */
.dropdown-toggle.form-select-sm,
button.dropdown-toggle.form-select-sm {
  background-color: var(--white) !important;
  border: 1px solid var(--input-form-light, #e5e7eb) !important;
  color: var(--text-primary-light, #111827) !important;
  text-align: left !important;
  font-size: 1rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.dropdown-toggle.form-select-sm:focus,
.dropdown-toggle.form-select-sm:active,
.dropdown-toggle.form-select-sm.show,
button.dropdown-toggle.form-select-sm:focus,
button.dropdown-toggle.form-select-sm:active,
button.dropdown-toggle.form-select-sm.show {
  border-color: var(--primary-600) !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
  background-color: var(--white) !important;
  outline: none !important;
}

.dropdown-toggle.form-select-sm:hover,
button.dropdown-toggle.form-select-sm:hover {
  border-color: var(--primary-400, #86b7fe) !important;
  background-color: var(--white) !important;
}

.dropdown-toggle.form-select-sm::after {
  display: none !important;
}

.dropdown-menu.radius-12 {
  border-radius: var(--bs-border-radius) !important;
  border: 1px solid var(--input-form-light, #e5e7eb) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  margin-top: 4px !important;
  padding: 4px !important;
  min-width: 140px !important;
}

.dropdown-item {
  transition: all 0.15s ease-in-out !important;
  border-radius: 8px !important;
  margin: 2px 4px !important;
}

.dropdown-item:hover {
  background-color: var(--neutral-200, #e5e7eb) !important;
  color: var(--text-primary-light, #111827) !important;
}

.dropdown-item.active,
.dropdown-item.bg-primary-50 {
  background-color: var(--primary-50, #eff6ff) !important;
  color: var(--primary-600, #2563eb) !important;
  font-weight: 500 !important;
}

/* Ensure buttons with flex display maintain proper padding */
.btn.d-flex {
  padding-left: 0.5rem !important;
  /* Reduced to bring icon closer to left edge */
  padding-right: 1.25rem !important;
}

.btn.d-flex.align-items-center {
  justify-content: flex-start !important;
  /* Align content to left */
}

/* Fix table backgrounds for dark mode - use --white (theme-aware) instead of --base */
.card .table,
.card .table tbody,
.card .table tbody tr,
.card .table tbody tr td,
.card .table thead,
.card .table thead tr,
.card .table thead tr th {
  background-color: var(--white) !important;
}

.table,
.table tbody,
.table tbody tr,
.table tbody tr td,
.table thead,
.table thead tr,
.table thead tr th {
  background-color: var(--white) !important;
}

.table tbody tr {
  background-color: var(--white) !important;
}

.table tbody tr td {
  background-color: var(--white) !important;
}

.table thead tr {
  background-color: var(--white) !important;
}

.table thead tr th {
  background-color: var(--white) !important;
}

.table-hover tbody tr:hover {
  background-color: var(--neutral-50) !important;
}

.table-hover tbody tr:hover td {
  background-color: var(--neutral-50) !important;
}

/* Fix checkbox alignment - ensure checkbox and label are vertically centered */
.form-check {
  display: flex !important;
  align-items: center !important;
}