.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%;
}

/* ------------------------------Custome CSS------------------------------ */

.truncate-cell {
  min-width: 0;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: auto;
}
/* Add responsive behavior */
@media (min-width: 1200px) {
  .truncate-cell {
    max-width: none;
    white-space: normal;
  }
}
/* fix search input in table */
.dataTables_filter {
  position: absolute !important;
  left: 0 !important;
  top: 0;
  /* Optional: Adjust as needed */
  z-index: 1000;
  /* Ensure it stays above other elements */
}

/* Base link styles */
.custom-nav-link {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: inherit;
  /* Inherits default text color */
}

/* Active/Selected state */
.custom-nav-link-active {
  background-color: var(--primary-600);
  /* Your active bg color */
}

.custom-nav-link-active .custom-nav-text,
.custom-nav-link-active .custom-nav-icon {
  color: white !important;
  /* Forces white text and icon */
}

/* Prevent any hover effects on active links */
.custom-nav-link-active:hover .custom-nav-text,
.custom-nav-link-active:hover .custom-nav-icon {
  color: white !important;
  /* Maintains white color */
}

/* Icon styles */
.custom-nav-icon {
  transition: color 0.3s ease;
  color: inherit;
  /* Matches text color by default */
}

/* Text styles */
.custom-nav-text {
  transition: color 0.3s ease;
}

.disabled-tab {
  color: #505050 !important;
  cursor: not-allowed !important;
  pointer-events: none;
  opacity: 0.5;
}

/* Dropdown Button */
.btn-link {
  background: none;
  border: none;
  z-index: 10;
  cursor: pointer;
}

.dropdown-menu {
  display: block;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  margin-top: 5px;
  /* padding: 3px; */
  border: 1px solid #ddd;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  border-radius: 10px;
}

/* Dropdown Item */
.dropdown-item {
  /* padding: 4px 10px; */
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
}

/* Optional: Hover Effects for Buttons */
.bg-hover-neutral-200:hover {
  background-color: #f0f0f0;
}

.text-hover-neutral-900:hover {
  color: #333;
}

.bg-hover-danger-100:hover {
  background-color: #f8d7da;
}

.text-hover-danger-600:hover {
  color: #e74c3c;
}

/* Quill Editor Custom Styles */
.ql-editor {
  min-height: 200px;
  font-size: 16px;
}

.ql-toolbar.ql-snow {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.ql-container.ql-snow {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* Fix for icon alignment */
.ql-formats button i,
.ql-formats button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Better hover states */
.ql-toolbar button:hover,
.ql-toolbar button:focus {
  color: #000;
}

.ql-toolbar button.ql-active {
  background-color: #e6e6e6;
}

/* ------------skeleton for loading------------ */
.skeleton-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    rgba(190, 190, 190, 0.2) 25%,
    rgba(129, 129, 129, 0.24) 37%,
    rgba(190, 190, 190, 0.2) 63%
  );
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
}

.skeleton-line {
  height: 20px;
  background: linear-gradient(
    90deg,
    rgba(190, 190, 190, 0.2) 25%,
    rgba(129, 129, 129, 0.24) 37%,
    rgba(190, 190, 190, 0.2) 63%
  );
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: 4px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

/* Css for celebration card */
/* .bg-gradient-start-7 {
  background: linear-gradient(45deg, #fff5f7 0%, #ffe8ed 100%);
}

.bg-gradient-start-8 {
  background: linear-gradient(45deg, #fff4e6 0%, #ffe8cc 100%);
} */

/* Base pagination links */
.pagination .page-link {
  border-radius: 6px; /* rounded corners */
  margin: 0 3px; /* spacing between buttons */
  border: none; /* remove borders */
  color: #333; /* default text color */
  padding: 3px 14px; /* symmetric padding */
  transition: all 0.2s ease-in-out;
  background-color: #ebebeb;
}

/* Hover effect */
.pagination .page-link:hover {
  background-color: #3b82f6; /* Tailwind blue-500 */
  color: #fff;
}

/* Active page */
.pagination .page-item.active .page-link {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

/* Disabled state */
.pagination .page-item.disabled .page-link {
  color: #999;
  pointer-events: none;
  background-color: #f8f9fa;
}
