@media (min-width: 330px) {
  .dropdown-user,
  body.theme-dark .dropdown-user {
    margin-top: -45px;
  }
}

@media (min-width: 720px) {
  .dropdown-user,
  body.theme-dark .dropdown-user {
    margin-top: -20px;
  }
}

.lds-ring {
  display: inline-block;
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.footer {
  position: fixed !important;
  left: 0;
  bottom: 0;
  width: 100%;
}

:root {
  --admin-bg: #f4f7fb;
  --admin-surface: #ffffff;
  --admin-border: #e6ebf2;
  --admin-text: #0f172a;
  --admin-muted: #64748b;
  --admin-accent: #0ea5e9;
}

body {
  background: radial-gradient(circle at top right, #e0f2fe 0%, var(--admin-bg) 34%, #eef2ff 100%);
  color: var(--admin-text);
}

.theme-dark {
  --admin-bg: #0b1220;
  --admin-surface: #111b2e;
  --admin-border: #253349;
  --admin-text: #e2e8f0;
  --admin-muted: #94a3b8;
  --admin-accent: #38bdf8;
}

body.theme-dark {
  background: radial-gradient(circle at top right, #132136 0%, var(--admin-bg) 40%, #0a1425 100%);
}

.theme-dark .slim-header,
.theme-dark .sidebar,
.theme-dark .content,
.theme-dark .card,
.theme-dark .dropdown-menu {
  background-color: var(--admin-surface) !important;
  border-color: var(--admin-border) !important;
  color: var(--admin-text) !important;
}

.theme-dark .tx-color-03,
.theme-dark .tx-gray-500,
.theme-dark .text-secondary {
  color: var(--admin-muted) !important;
}

.theme-dark .sidebar-nav-link,
.theme-dark .nav-sub-link,
.theme-dark .logged-user span,
.theme-dark .dropdown-menu .nav-link {
  color: var(--admin-text) !important;
}

.theme-dark .sidebar-nav-link.active {
  background-color: rgba(56, 189, 248, 0.2) !important;
  color: #7dd3fc !important;
}

.theme-dark table,
.theme-dark .table {
  color: var(--admin-text);
}

.dashboard-hero {
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(2, 132, 199, 0.03));
}

.dashboard-stat {
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  padding: 16px;
  background-color: var(--admin-surface);
}

.dashboard-list .list-group-item {
  border-color: var(--admin-border);
  background-color: transparent;
}

.dashboard-list .list-group-item a {
  color: var(--admin-text);
}
