@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --template-bg: #15171c;
  --template-bg-soft: #1b1e26;
  --template-panel: #21242d;
  --template-panel-2: #262a34;
  --template-panel-3: #2a2d35;
  --template-header: rgba(30, 33, 41, 0.92);
  --template-sidebar: #1a1d24;
  --template-sidebar-hover: #2a2e39;
  --template-sidebar-active: #2c3e50;
  --template-border: #323642;
  --template-text: #e2e8f0;
  --template-muted: #94a3b8;
  --template-blue: #3b82f6;
  --template-green: #10b981;
  --template-yellow: #f59e0b;
  --template-red: #ef4444;
  --template-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

html,
body {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 26rem),
    radial-gradient(circle at 80% 0%, rgba(16, 185, 129, 0.12), transparent 22rem),
    linear-gradient(180deg, #121419 0%, #15171c 100%);
  color: var(--template-text);
  font-family: "Manrope", sans-serif;
}

body.template-dashboard22 {
  min-height: 100vh;
}

body.template-dashboard22 a {
  color: #a9c9ff;
}

body.template-dashboard22 a:hover {
  color: #d7e6ff;
}

body.template-dashboard22 .sb-topnav {
  background: var(--template-header) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

body.template-dashboard22 .navbar-brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--template-text) !important;
}

body.template-dashboard22 .navbar-brand i {
  color: var(--template-blue);
}

body.template-dashboard22 #sidebarToggle,
body.template-dashboard22 .btn-link {
  color: var(--template-muted) !important;
}

body.template-dashboard22 #layoutSidenav_nav {
  flex-basis: 17rem;
}

body.template-dashboard22 .sb-sidenav {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--template-sidebar) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03);
}

body.template-dashboard22 .sb-sidenav-menu {
  padding: 1rem 0.85rem 1.2rem;
}

body.template-dashboard22 .sb-sidenav .nav-link {
  color: var(--template-muted);
  border-radius: 14px;
  margin: 0.18rem 0;
  padding: 0.9rem 0.95rem;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

body.template-dashboard22 .sb-sidenav .nav-link:hover,
body.template-dashboard22 .sb-sidenav .nav-link:focus {
  color: var(--template-text);
  background: var(--template-sidebar-hover);
  text-decoration: none;
  transform: translateX(2px);
}

body.template-dashboard22 .sb-sidenav .nav-link.active,
body.template-dashboard22 .sb-sidenav .nav-link[aria-expanded="true"] {
  color: var(--template-text);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.16), rgba(59, 130, 246, 0.08));
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.22);
}

body.template-dashboard22 .sb-sidenav-menu-heading {
  color: #73829a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 1.35rem 0 0.5rem;
}

body.template-dashboard22 .sb-sidenav .sb-sidenav-menu-nested .nav-link {
  padding: 0.65rem 0.8rem 0.65rem 2.45rem;
  font-size: 0.92rem;
}

body.template-dashboard22 .sb-sidenav-footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--template-muted);
}

body.template-dashboard22 #layoutSidenav_content {
  background: transparent;
}

body.template-dashboard22 main > .container-fluid {
  padding: 1.5rem 1.65rem 2rem !important;
}

body.template-dashboard22 h1,
body.template-dashboard22 h2,
body.template-dashboard22 h3,
body.template-dashboard22 h4,
body.template-dashboard22 h5,
body.template-dashboard22 h6 {
  color: #f6f8fc;
  font-weight: 800;
}

body.template-dashboard22 .breadcrumb {
  background: transparent;
  padding-left: 0;
  margin-top: -0.15rem;
}

body.template-dashboard22 .breadcrumb-item,
body.template-dashboard22 .breadcrumb-item a {
  color: var(--template-muted);
}

body.template-dashboard22 .breadcrumb-item.active {
  color: #dce6f7;
}

body.template-dashboard22 .card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)), var(--template-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  box-shadow: var(--template-shadow);
  overflow: hidden;
}

body.template-dashboard22 .card-header {
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #f2f6ff;
  padding: 1rem 1.25rem;
}

body.template-dashboard22 .card-body {
  color: var(--template-text);
  padding: 1.2rem 1.25rem;
}

body.template-dashboard22 .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--template-text);
  --bs-table-border-color: rgba(255, 255, 255, 0.07);
  margin-bottom: 0;
}

body.template-dashboard22 .table thead th {
  background: var(--template-panel-3);
  color: #c7d2e5;
  border-bottom-width: 1px;
  border-color: rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

body.template-dashboard22 .table > :not(caption) > * > * {
  padding: 0.92rem 1rem;
  border-color: rgba(255, 255, 255, 0.07);
  background-color: transparent;
}

body.template-dashboard22 .table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.01);
}

body.template-dashboard22 .table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

body.template-dashboard22 .form-control,
body.template-dashboard22 .form-select,
body.template-dashboard22 textarea,
body.template-dashboard22 .note-editor.note-frame {
  background: #171a21;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--template-text);
  border-radius: 14px;
  box-shadow: none;
}

body.template-dashboard22 .form-control:focus,
body.template-dashboard22 .form-select:focus,
body.template-dashboard22 textarea:focus {
  background: #171a21;
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 0.22rem rgba(59, 130, 246, 0.16);
  color: var(--template-text);
}

body.template-dashboard22 .form-label,
body.template-dashboard22 label {
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

body.template-dashboard22 .btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.52rem 1rem;
  border-width: 1px;
  box-shadow: none;
}

body.template-dashboard22 .btn-primary {
  background: linear-gradient(180deg, #4a8cff, #2f6fe2);
  border-color: rgba(115, 163, 255, 0.4);
}

body.template-dashboard22 .btn-primary:hover {
  background: linear-gradient(180deg, #5b97ff, #3d79e6);
  border-color: rgba(115, 163, 255, 0.6);
}

body.template-dashboard22 .btn-success {
  background: linear-gradient(180deg, #18c08a, #0ea56f);
  border-color: rgba(52, 211, 153, 0.35);
}

body.template-dashboard22 .btn-warning {
  color: #111827;
  background: linear-gradient(180deg, #f7bf42, #f09b1a);
  border-color: rgba(252, 211, 77, 0.35);
}

body.template-dashboard22 .btn-danger {
  background: linear-gradient(180deg, #f46262, #dd3f3f);
  border-color: rgba(252, 165, 165, 0.35);
}

body.template-dashboard22 .btn-outline-light {
  color: #c7d2e5;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

body.template-dashboard22 .btn-outline-light.active,
body.template-dashboard22 .btn-outline-light:hover {
  color: #fff;
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(59, 130, 246, 0.36);
}

body.template-dashboard22 .badge {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
}

body.template-dashboard22 .badge.bg-primary {
  background: rgba(30, 58, 138, 0.9) !important;
  color: #93c5fd;
}

body.template-dashboard22 .badge.bg-success {
  background: rgba(5, 46, 22, 0.95) !important;
  color: #6ee7b7;
}

body.template-dashboard22 .badge.bg-warning {
  background: rgba(69, 26, 3, 0.95) !important;
  color: #fcd34d;
}

body.template-dashboard22 .badge.bg-danger {
  background: rgba(69, 10, 10, 0.95) !important;
  color: #fca5a5;
}

body.template-dashboard22 .badge.bg-info {
  background: rgba(30, 58, 138, 0.72) !important;
  color: #7dd3fc;
}

body.template-dashboard22 .alert {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.template-dashboard22 .alert-danger {
  background: rgba(69, 10, 10, 0.72);
  color: #fecaca;
}

body.template-dashboard22 .alert-success {
  background: rgba(5, 46, 22, 0.76);
  color: #bbf7d0;
}

body.template-dashboard22 .dropdown-menu {
  background: rgba(29, 32, 41, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: var(--template-shadow);
}

body.template-dashboard22 .dropdown-item {
  color: var(--template-text);
  border-radius: 12px;
}

body.template-dashboard22 .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

body.template-dashboard22 .dataTables_wrapper .dataTables_length,
body.template-dashboard22 .dataTables_wrapper .dataTables_filter,
body.template-dashboard22 .dataTables_wrapper .dataTables_info,
body.template-dashboard22 .dataTables_wrapper .dataTables_paginate {
  color: var(--template-muted);
  margin-top: 0.85rem;
}

body.template-dashboard22 .dataTables_wrapper .dataTables_filter input,
body.template-dashboard22 .dataTables_wrapper .dataTables_length select {
  background: #171a21;
  color: var(--template-text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

body.template-dashboard22 .dataTables_wrapper .paginate_button {
  color: var(--template-muted) !important;
}

body.template-dashboard22 .dataTables_wrapper .paginate_button.current,
body.template-dashboard22 .dataTables_wrapper .paginate_button.current:hover {
  color: #fff !important;
  background: rgba(59, 130, 246, 0.2) !important;
  border: 1px solid rgba(59, 130, 246, 0.32) !important;
}

body.template-dashboard22 .circle {
  background: linear-gradient(180deg, #f9fbff, #dbe7fb) !important;
  color: #162235 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 15px 35px rgba(0, 0, 0, 0.25);
}

body.template-dashboard22 .container,
body.template-dashboard22 .container-fluid {
  position: relative;
  z-index: 1;
}

body.template-dashboard22::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 92%);
  opacity: 0.4;
}

@media (max-width: 991.98px) {
  body.template-dashboard22 #layoutSidenav_nav {
    flex-basis: 15.5rem;
  }

  body.template-dashboard22 main > .container-fluid {
    padding: 1rem !important;
  }
}

