.bg-primary {
  background-color: hsl(var(--primary));
}
async,
collapsible {
  display: none;
}
button,
.uk-nav li {
  user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
}
.mt-lay {
  margin-top: 24px;
}
.mb-lay {
  margin-bottom: 20px;
}
/* html {
  font-size: calc(100% + 0.05vw);
} */
aside {
  border-right: 1px solid hsl(var(--border));
}
.pb-5 {
  padding-bottom: 1.25rem;
}
.w-20 {
  width: 5rem;
}
.m-auto {
  margin: auto;
}
.max-w-md {
  max-width: 28rem;
}
.w-full {
  width: 100%;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .lg\:items-center {
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .lg\:mt-0 {
    margin-top: 0;
  }
}

@keyframes bounce {
  0%,
  to {
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    transform: translateY(-25%);
  }

  50% {
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    transform: none;
  }
}

.animate-bounce {
  animation: bounce 1s infinite;
}

@media (min-width: 640px) {
  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
.font-bold {
  font-weight: 700;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.mt-4 {
  margin-top: 1rem;
}

.verify-token {
  font-size: 120% !important;
  padding: 30px !important;
}

.w-24 {
  width: 6rem;
}
.h-24 {
  height: 6rem;
}

.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus,
.uk-input-fake-focus,
.uk-input-fake:focus {
  --tw-ring-shadow: none !important;
}

.sticky-nav {
  position: sticky;
  top: 20px;
  min-height: 200px;
  height: 100vh;
  margin-top: -16px;
  padding-top: 16px !important;
  padding-bottom: 30px !important;
  overflow: auto;
}

.uk-btn {
  user-select: none;
}

@media (max-width: 767px) {
  .uk-button-navtoggle {
    display: block !important;
  }
  .preload-screen {
    left: 0px !important;
    width: 100vw !important;
  }
}

/* @media (min-width: 1480px) {
  .uk-button-navtoggle {
    display: none !important;
  }
  #sidebar {
    display: block !important;
  }
} */
@media (min-width: 1024px) {
  .report-overview-mobile {
    display: none !important;
  }
}

.uk-nav-mobile {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.uk-nav-mobile,
.uk-nav-mobile ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.uk-nav-mobile li > a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* .uk-nav-secondary > li.uk-active > a {
  background-color: hsl(var(--secondary-foreground)) !important;
  color: hsl(var(--primary-foreground)) !important;
} */

.dark .chart div {
  filter: invert(1) !important;
  color: #000 !important;
  box-shadow: none !important;
}
.dark .chart canvas {
  filter: invert(1) !important;
}

.dark::-webkit-scrollbar {
  width: 8px;
}

.dark::-webkit-scrollbar-track {
  background: #1e1e1e; /* Dark track */
  border-radius: 4px;
}

.dark::-webkit-scrollbar-thumb {
  background: #444; /* Darker thumb */
  border-radius: 4px;
}

.dark::-webkit-scrollbar-thumb:hover {
  background: #666; /* Slightly lighter on hover */
}

/* Firefox scrollbar */
.dark {
  scrollbar-color: #444 #1e1e1e;
  scrollbar-width: thin;
}

/* canvas {
  filter: invert(1);
} */

@media (max-width: 860px) {
  .notification-list {
    width: calc(100vw - 29px) !important;
  }
  .notification-list > div {
    display: block !important;
    width: auto !important;
  }
  .notification-list button {
    display: block !important;
    width: 100%;
  }
}
.notif-color {
  position: relative;
  top: -6px;
}
.notification-items {
  max-height: 50vh;
  overflow: auto;
}
th,
td {
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.core-datatable td,
.core-datatable th {
  padding: 9px !important;
}
/* .uk-dropdown-nav li a div {
  margin-right: 5px;
} */

.uk-dropdown-nav li a span.i18n {
  margin-right: 5px;
}

.ai-query.loaded .queryLoading {
  display: none;
}

.ai-query.loading .queryLoaded {
  display: none;
}

/* .echart svg path {
  stroke: transparent !important;
} */

.skeleton-loader {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 8px;
}

/* Shared properties for all skeleton elements */
.skeleton-element {
  background: linear-gradient(90deg, #eee 8%, #ddd 18%, #eee 33%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* Header skeleton */
.skeleton-header {
  height: 32px;
  width: 60%;
}

/* Text line skeletons with varied widths */
.skeleton-text-line {
  height: 16px;
}

.skeleton-text-line.full {
  width: 100%;
}

.skeleton-text-line.medium {
  width: 75%;
}

.skeleton-text-line.short {
  width: 50%;
}

/* Image placeholder skeleton */
.skeleton-image {
  height: 200px;
  width: 100%;
  margin: 15px 0;
}

/* Button or action skeleton */
.skeleton-button {
  height: 40px;
  width: 120px;
  margin-top: 15px;
}

/* Animation for the shimmer effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
button[disabled] {
  pointer-events: none;
}
.aug1 {
  --aug-border-all: 0.01rem;
  --aug-border-bg: hsl(var(--border));
  color: hsl(var(--foreground));
}
.shift-title {
  position: relative;
  top: -8px;
  left: -8px;
  border: 1px solid hsl(var(--border));
  border-radius: 20px;
  color: hsl(var(--foreground));
  padding: 5px;
  margin-bottom: -10px;
  padding-left: 13px;
  padding-right: 13px;
}

.grid-bg {
  background-image: linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: 20px 20px;
}

.date-picker-grid button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.date-range-selected {
  border-radius: var(--uk-btn-radius) !important;
  background-color: hsla(var(--foreground) / 1) !important;
  color: hsla(var(--background) / 1) !important;
}
.date-range-between {
  border-radius: var(--uk-btn-radius) !important;
  background-color: hsla(var(--foreground) / 0.07) !important;
}

:root {
  --grid-color: hsla(var(--foreground-hsl) / 0.1);
}

/* Colors for light mode */
@media (prefers-color-scheme: light) {
  :root {
    --background-hsl: 0, 0%, 100%; /* white */
    --foreground-hsl: 222.2, 84%, 4.9%; /* dark gray */
  }
}

/* Colors for dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --background-hsl: 222.2, 84%, 4.9%; /* dark gray */
    --foreground-hsl: 210, 40%, 98%; /* light gray */
  }
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  animation: spinner 1s linear infinite;
}

.uk-form-help {
  max-width: 66vw;
}
@media (min-width: 1200px) {
  .uk-form-help {
    max-width: 26vw;
  }
}

.preload-screen {
  transition: opacity 0.5s ease-out;
  display: block !important;
}

.loader-container {
  position: fixed;
  height: 1px;
  background-color: hsl(var(--background));
  z-index: 1;
  top: 56px;
  left: 255px;
  width: calc(100vw - 255px);
  overflow: hidden;
  opacity: 1;
}

@media (max-width: 768px) {
  .loader-container {
    left: 0px;
    width: calc(100vw);
  }
}

.loader {
  position: relative;
  height: 100%;
  width: 0;
  background-color: hsl(var(--muted-foreground));
  animation: loading 2s infinite ease-in-out;
}

.loader::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    hsl(var(--background)) 0%,
    transparent 10%,
    transparent 90%,
    hsl(var(--background)) 100%
  );
}

@keyframes loading {
  0% {
    width: 0;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0;
    transform: translateX(100%);
  }
}

.bg-custom-red {
  background-color: #d63e43;
}

.bg-custom-yellow {
  background-color: #f6cf00;
}

.bg-custom-blue {
  background-color: #5a68c2;
}

.bg-custom-green {
  background-color: #2abe8a;
}
/* 
.dark .bg-custom-red {
  background-color: #af060b;
}
.dark .bg-custom-yellow {
  background-color: #e9d100;
}
.dark .bg-custom-blue {
  background-color: #0203ba;
} */

.bg-custom-red-dark {
  background-color: #d63e43;
}
.bg-custom-yellow-dark {
  background-color: #f6cf00;
}
.bg-custom-blue-dark {
  background-color: #5a68c2;
}
.bg-custom.green-dark {
  background-color: #2abe8a;
}
