@import url("https://rsms.me/inter/inter.css");

:root {
  --tblr-font-sans-serif: "Inter Var", -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
}

body {
  font-feature-settings: "cv03", "cv04", "cv11";
}

.chat-bubbles {
  max-height: 85vh;
  overflow-y: auto;
  padding: 0 10px;
}

.card-table tr td:first-child,
.card-table tr th:first-child {
  padding-left: 0.25rem;
}

.card-table tr td:last-child,
.card-table tr th:last-child {
  padding-right: 0.25rem;
}

/* li.nav-item.active.dropdown::before {
    content: " ";
    position: absolute;
    width: 95%;
    left: 5px;
    height: 100%;
    background-color: #206bc421;
    border-radius: 0 20px 20px 0;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #206bc4 !important;
    font-weight: 800 !important;
    background-color: rgba(0, 0, 0, 0) !important;
} */

.login-logo-brand {
  max-height: 75px;
  filter: drop-shadow(0 0 1rem var(--xcol));
  opacity: 0.8;
}

.bx {
  font-size: 1.2rem;
  vertical-align: middle;
}

/* LOADER */
.custom-loader {
  padding: 5rem 0;
  display: flex;
  justify-content: center;
}

.loader-item {
  animation-delay: calc(var(--i) * 100ms);
}

.preloader {
  width: 50px;
  height: 50px;
  position: relative;
  animation-name: preloader;
  animation-duration: 0.8s;
  animation-iteration-count: infinite;
}

@keyframes preloader {
  0% {
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
  }
}
/* END LOADER */

.permission-item:last-child {
  flex: none !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  background-color: #f3f3f3;
  color: darkslategray;
}

.tscroll {
  overflow-x: scroll;
  margin-bottom: 10px;
}

.tscroll .sticky {
  position: sticky;
  left: 0;
  /* background-color: #fcfdfe; */
  outline: 1px solid #e9e9e9ff;
  z-index: 1000;
}

.dt-container {
  position: relative;
}

.table-bordered {
  border: solid rgb(220, 220, 220) 1px;
}

table.dataTable.table-bordered tr th,
table.dataTable.table-bordered tr td {
  border-bottom-width: 1px !important;
}

table.dataTable .text-center th,
table.dataTable .text-center td {
  text-align: center !important;
}

table.dataTable .text-center th,
table.dataTable .text-center td {
  text-align: center !important;
}

.dt-buttons button {
  padding: 4px 10px;
}

@media print {
  body *:not(.printable, .printable *) {
    display: none;
  }
}

.scrollTrigger {
  max-height: 500px;
}

@media screen and (max-width: 768px) {
  .scrollTrigger {
    max-height: 250px;
  }
}

.manual-attendance:hover {
  cursor: pointer;
  background-color: #f3f3f3 !important;
}

.air-datepicker-global-container {
  z-index: 1500 !important;
}

.gradient-background {
  background: linear-gradient(300deg, rgba(0, 191, 255, 0.25), rgba(148, 0, 211, 0.25), rgba(122, 216, 46, 0.25));
  background-size: 180% 180%;
  animation: gradient-animation 5s ease infinite;
}

.gradient-background img {
  filter: none !important;
  background-color: #fff;
  transition: 0.5s ease;
}

.gradient-background:hover img {
  background-color: rgba(255, 255, 255, 0) !important;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.btn-sm {
  --tblr-btn-padding-y: 0.1rem;
  --tblr-btn-padding-x: 0.55rem;
  --tblr-btn-font-size: 0.65rem;
  --tblr-btn-border-radius: var(--tblr-border-radius-sm);
}

.btn-group-sm > .btn,
.btn-sm {
  --tblr-btn-line-height: 1.25;
  --tblr-btn-icon-size: 0.65rem;
}

@media print {
  .no-print {
    display: none !important;
  }
}
