body {
  font-family: 'Inter', sans-serif;
}

.table td,
.table th {
  vertical-align: middle;
}

.toast {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.pointer-events-none {
  pointer-events: none;
}







body {
  /* background: url('https://i.pinimg.com/originals/54/83/bb/5483bb592c24f186c634e5d953694ed4.jpg?nii=t'); */
  /* background-size: cover; */
  background: #000 !important;
}

.drawer {
  background: #22222278;
  backdrop-filter: blur(30px);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid #ffffff3a;
  display: flex !important;
  max-height: calc(100vh - 32px);
  min-height: calc(100vh - 32px);
  height: calc(100vh - 32px);
  overflow: auto;
  position: relative;
}

.drawer .drawer-content {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.drawer .drawer-side {
  display: block !important;
  position: relative !important;
  transform: none !important;
  visibility: visible !important;
  width: 16rem !important;
  flex-shrink: 0;
  order: -1;
}

aside.w-64.bg-base-100.h-full {
  background: transparent !important;
  /* backdrop-filter: blur(10px); */
}

ul.menu a,
.btn {
  padding: 10px 18px;
  border-radius: 16px;
}

.btn {
  height: fit-content;
}

ul.menu a.active {
  background: #46507140 !important;
  color: #ffffff !important;
  position: relative;
}
ul.menu a:hover {
background: #46507129;
}
ul.menu a.active::before {
  content: '';
  left: 4px;
  top: 0;
  bottom: 0;
  width: 4px;
  height: 10px;
  border-radius: 16px;
  position: absolute;
  margin: auto;
  background: #c6d4ff;
  box-shadow: 0 0 10px 0 #025cf6, 0 0 5px 0 #85b2ff;
}
ul.menu a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  height: 100%;
  width: 100px;
  background: linear-gradient(to right, #0e54d56d, transparent);
  border-radius: 16px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  /* border-left: 1px solid #5370ffe1; */

}
.rounded-xl {
  border-radius: 20px !important;
}

.text-primary {
  color: #000 !important;
}

.card {
  border-radius: 20px;
}

.drawer-content.flex.flex-col {
  background: #22222278;
  box-shadow: 0 0 13px 0 #95959536;
  overflow: hidden;
  margin: 7px;
  margin-left: 0;
  border-radius: 23px;
}

.drawer-content::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(163deg, #ffffff6f, #ffffff00, #ffffff47);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.navbar.sticky {
  margin: 7px;
  border-radius: 17px;
  width: calc(100% - 14px);
}

.logo {
  display: block;
  margin-left: 10px;
  margin-top: 10px;
  filter: invert(1);
}

#db-error-banner {
  width: auto;
  background: linear-gradient(-90deg, #ff00004d, #ff00000f);
  border: 1px solid #ff8080;
}

#page-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid !important;
  place-items: center;
  z-index: 10;
}

#page-loader.hidden {
  display: none !important;
}

#page-loader .loading {
  width: 48px;
  height: 48px;
}

.drawer-content main {
  position: relative;
  transition: opacity 0.15s ease;
}

.drawer .drawer-toggle {
  display: none;
}

.drawer .drawer-side>*:not(.drawer-overlay) {
  transform: none !important;
}

.drawer-side {
  pointer-events: all !important;
  height: 100%;
}


.settings-btns-container {
  background: #3d3d3d4e;
  position: relative;
  /* border-top-color: #ffffff92;
  border-left-color: #ffffff74;
  border-bottom-color: #ffffff41;
  border-right-color: #ffffff2c; */
  border-radius: 24px;

}

.settings-btns-container a {
  width: 100%;
}

.settings-btns-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(163deg, #ffffff6f, #ffffff00, #ffffff47);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

a[href="/logout"] {
  color: #90171f !important;
}

a[href="/logout"]:hover {
  color: #000000 !important;
  background: rgba(255, 0, 0, 0.9);
}