body {
  font-family: "Poppins", sans-serif;
}
/* Ensure all text elements inherit the font-family */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
div,
li,
ul,
ol,
button,
input,
textarea,
select {
  font-family: inherit;
}

.h2.card-title {
  font-family: "Poppins";
}

/* Custom class to hide scrollbar but retain scroll functionality */
.no-scrollbar {
  /* For Firefox */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */

  /* For Chrome, Safari, and Opera */
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

/* Optional: To ensure the content is still accessible via keyboard navigation */
.no-scrollbar:focus {
  outline: none;
}

/* custom.css */

/* Override for .page-header h1 */
.page-header h1 {
  font-size: 25px;
  font-weight: bold;
  background: linear-gradient(to right, #2196f3, #9c27b0);
  /* Gradient from brand-primary to brand-info */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* For non-WebKit browsers */
  color: transparent;
  /* Fallback for non-supporting browsers */
}

/* Fallback color for browsers that do not support background-clip: text */
@supports not (-webkit-background-clip: text) {
  .page-header h1 {
    color: #2196f3;
    /* Fallback to brand-primary color */
  }
}

#newNavbarContent {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* CARDS STATS */
.stat-card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  margin: 10px;
}

.stat-card:hover {
  transform: scale(1.2) translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.stat-card-body .display-4 {
  transition: all 0.3s ease;
}

.stat-card-size {
}

.stat-card:hover .stat-card-body .display-4 {
  transform: scale(1.1);
}

.stat-icon-custom-size {
  font-size: 3rem;
  /* Customize the size */
}

/* Optional: For all statuses, align vertically in the center */
td[data-column-name="fk_child_status"] {
  vertical-align: middle;
  /* Vertically center the text */
}

/* Optional: Custom hover effect for status cells */
td[data-column-name="fk_child_status"]:hover {
}

/* Button Animation Classes */
.enabled-animation {
  animation: buttonEnableAnimation 0.6s ease-out;
}

.disabled-animation {
  animation: buttonDisableAnimation 0.6s ease-out;
}

@keyframes buttonEnableAnimation {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes buttonDisableAnimation {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.95);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* utilities */
.hover-text-red:hover {
  color: #ffffff !important;
  /* This is the equivalent of red-600 in Tailwind */
}

.custom-hover {
  color: #000 !important;
  /* default text color */
  transition: color 0.3s ease;
  /* smooth transition */
}

.custom-hover:hover {
  color: #343a40;
  /* dark text color on hover */
}

.date-picker-ranges.btn {
  border: none;
}

@media (min-width: 992px) {
  .sidebar-desktop-active .sidebar-owner {
    /* padding-left: 240px; */
  }

  .sidebar-desktop-active .sidebar {
    left: 0;
  }

  .sidebar-desktop-active .icon-toggle-sidebar:before {
    content: "\e622";
  }
}

/* Date Picker Base Styles */
.date-picker {
  margin: 20px;
  --cui-date-picker-zindex: 1000;
  --cui-date-picker-font-family: ;
  --cui-date-picker-font-size: 1rem;
  --cui-date-picker-font-weight: 400;
  --cui-date-picker-line-height: 1.5;
  --cui-date-picker-color: var(--cui-body-color);
  --cui-date-picker-bg: var(--cui-body-bg);
  --cui-date-picker-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  --cui-date-picker-border-width: var(--cui-border-width);
  --cui-date-picker-border-color: var(--cui-border-color);
  --cui-date-picker-border-radius: 0.375rem;
  --cui-date-picker-disabled-color: var(--cui-body-color);
  --cui-date-picker-disabled-bg: var(--cui-secondary-bg);
  --cui-date-picker-disabled-border-color: var(--cui-border-color);
  --cui-date-picker-focus-color: var(--cui-body-color);
  --cui-date-picker-focus-bg: var(--cui-body-bg);
  --cui-date-picker-focus-border-color: #86b7fe;
  --cui-date-picker-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  --cui-date-picker-placeholder-color: var(--cui-secondary-color);
  --cui-date-picker-padding-y: 0.375rem;
  --cui-date-picker-padding-x: 0.75rem;
}

.date-picker .btn:hover {
  color: white;
}

/* Override Bootstrap Buttons for DatePicker */
.date-picker .btn {
  /* all: unset !important; */
  background-color: transparent;
  border: none;
  border-radius: var(--cui-date-picker-border-radius);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: none;
  /* Removes Bootstrap styling 
    /* display: inline-block;
    color: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;*/
}

/* .date-picker .btn:hover {
    background-color: rgb(0, 204, 255);
    border: #2196F3;
} */

/* Date Picker Dropdown */
.date-picker-dropdown {
  position: absolute;
  z-index: var(--cui-date-picker-zindex);
  display: none;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
  background-color: var(--cui-date-picker-bg);
  border: var(--cui-date-picker-border-width) solid
    var(--cui-date-picker-border-color);
  border-radius: var(--cui-date-picker-border-radius);
  box-shadow: var(--cui-box-shadow);
}

.date-picker.show .date-picker-dropdown {
  display: block;
}

/* Date Picker Input */
.date-picker-input {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  padding: var(--cui-date-picker-padding-y) var(--cui-date-picker-padding-x);
  font-family: var(--cui-date-picker-font-family);
  font-size: var(--cui-date-picker-font-size);
  font-weight: var(--cui-date-picker-font-weight);
  line-height: var(--cui-date-picker-line-height);
  color: var(--cui-date-picker-color);
  background: transparent;
  border: none;
  appearance: none;
  height: 40px;
}

.date-picker-input:focus {
  outline: none;
  color: var(--cui-date-picker-focus-color);
}

/* Additional Styling for Indicators, Cleaners, and Separators */
.date-picker-cleaner,
.date-picker-indicator,
.date-picker-separator {
  position: relative;
  width: 2.5rem;
  background-repeat: no-repeat;
  background-position: center;
}

.date-picker-cleaner::before,
.date-picker-indicator::before,
.date-picker-separator::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
}

#day {
  padding: 1px;
  /* width: 100%; 
    height: 100px; */
}

/* .date-picker-rangesbtn {
    padding: 10px;
} */

/*OVERRIDES*/
/* Custom styles for the .day class */
.date-picker .day {
  width: 30px;
  height: 30px;
}

.date-picker .day:hover {
  background-color: #add8e6;
  /* Hover effect with lighter blue */
  color: #000;
  /* Black text on hover */
  cursor: pointer;
  /* Pointer cursor on hover */
}

/* Custom styles for the .date-picker-ranges */
.date-picker-ranges {
  display: flex;
  flex-direction: column;
  margin: 10px;
}

/* Custom styles for buttons inside .date-picker-ranges */
/* .date-picker-ranges .btn {
   
  }
  
  .date-picker-ranges .btn:hover {
    
  }
   */

#myDateRangePickerCustomRanges {
  margin-top: 0px;
  margin-bottom: 15px;
  margin-left: 0px;
}

.cancel-date-filter-row {
  max-width: 100px;
}

.addition-block.js-actions {
  /* width: 100vw; */
}

.sidebar-owner {
  all: unset !important;
}

/* Define the bounceInDown keyframes (from Animate.css) */
@keyframes bounceInDown {
  0% {
    opacity: 0;
    transform: translateY(-1000px);
  }

  60% {
    opacity: 1;
    transform: translateY(30px);
  }

  80% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(100px);
  }
}

/* add if modal starts to bug */
/* 
.modal.fade {
    opacity: 0;
    transition: none !important;
    overflow: visible !important;
}

.modal.fade.show {
    animation: bounceInDown 0.75s forwards ease-in-out !important;
    opacity: 1 !important;
    overflow: visible !important;
}

.modal-dialog {
    overflow: visible !important;
}

.modal-content {
    overflow: visible !important;
}

 */

/* add if modal starts to bug */
.modal-content {
  width: 600px;
}

.modal.filter-builder .modal-dialog {
  width: 600px !important;
  max-width: 600px !important;
}

/* MUST HAVES TO AVOID TAILWIND CONFLICTS */
html {
  font-size: 18px;
  -webkit-tap-highlight-color: transparent;
}

/* Sidebar */
.sidebar {
  all: unset !important;
}

/* Navbar */
.navbar {
  all: unset !important;
}

/* Links (a tags) */
.a {
  all: unset !important;
}



.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  scrollbar-width: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
}

body {
  padding: 0px;
}

.visible {
  visibility: visible;
}
.invisible {
  visibility: hidden;
}
.collapse {
  visibility: collapse;
}
/* 
.row,
[class^="col-"] {
  all: unset;
  display: revert;
}

* {
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

ul,
ol {
  list-style: revert;
}

table {
  all: unset;
  border-spacing: revert;
  border-collapse: revert;
}

.dropdown-menu {
  all: unset;
  display: revert !important;
} */
