@charset "UTF-8";
.w-73 {
  width: 73% !important;
}

body {
  background-color: #f5f6fa;
}

.sidebar {
  min-height: 100vh;
  background: #1e2a3a;
  color: #c8d0dc;
  width: 240px;
  flex-shrink: 0;
  transition: transform 0.3s ease, margin-left 0.3s ease, width 0.3s ease;
  position: relative;
  z-index: 1030;
}
.sidebar .brand {
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid #2d3f55;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  transition: padding 0.3s ease;
}
.sidebar .nav-link {
  color: #c8d0dc;
  padding: 0.6rem 1.5rem;
  border-radius: 0;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: padding 0.3s ease;
}
.sidebar .nav-link:hover, .sidebar .nav-link.active {
  color: #fff;
  background: #2d3f55;
}
.sidebar .nav-link i {
  margin-right: 0.5rem;
  flex-shrink: 0;
  transition: margin-right 0.3s ease;
}
.sidebar .brand-text,
.sidebar .nav-link-text {
  display: inline-block;
  max-width: 180px;
  opacity: 1;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.3s ease, opacity 0.2s ease 0.1s;
}
.sidebar.sidebar-hidden {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  transform: translateX(-100%);
}
.sidebar.sidebar-hidden.active {
  transform: translateX(0);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
}
.sidebar .nav-group-btn {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.sidebar .nav-submenu .nav-link {
  padding-left: 2.75rem;
  font-size: 0.85rem;
}
.sidebar .nav-group-btn[aria-expanded=true] .nav-chevron {
  transform: rotate(90deg);
}
.sidebar .nav-chevron {
  transition: transform 0.2s ease;
}

.sidebar-collapse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  background: transparent;
  border: 1px solid #4a5f78;
  color: #c8d0dc;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: background 0.2s, color 0.2s;
}
.sidebar-collapse-btn:hover {
  background: #2d3f55;
  color: #fff;
  border-color: #6a8aaa;
}

.main-content {
  flex: 1;
  min-width: 0;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid #e0e3ea;
  padding: 0.75rem 1.5rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #1e2a3a;
  cursor: pointer;
  padding: 0;
  margin-right: 1rem;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1029;
}
.sidebar-overlay.active {
  display: block;
}

body.sidebar-is-hidden .menu-toggle {
  display: block;
}

@media (max-width: 767.98px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    transform: translateX(-100%);
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .sidebar-collapse-btn {
    display: none !important;
  }
  .menu-toggle {
    display: block;
  }
  .main-content {
    width: 100%;
  }
}
.tabulator {
  border: none;
  font-size: 0.9rem;
}
.tabulator .tabulator-header {
  background: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
}
.tabulator .tabulator-header .tabulator-col {
  background: #f8f9fa;
}
.tabulator .tabulator-footer {
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.tabulator-row:hover {
  background: #f0f4ff !important;
}

.tabulator-responsive-collapse table {
  width: 100%;
  font-size: 0.85rem;
}
.tabulator-responsive-collapse td:first-child {
  color: #6c757d;
  padding-right: 8px;
  white-space: nowrap;
}

.tabulator .tabulator-row .tabulator-responsive-collapse-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background-color: #0d6efd !important;
  background-image: none !important;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: #fff !important;
  user-select: none;
  line-height: 1;
  border: none !important;
  padding: 0 !important;
}
.tabulator .tabulator-row .tabulator-responsive-collapse-toggle svg {
  display: none !important;
}
.tabulator .tabulator-row .tabulator-responsive-collapse-toggle::before {
  content: "+";
}
.tabulator .tabulator-row .tabulator-responsive-collapse-toggle.open::before {
  content: "−";
}

.tabulator-table .tabulator-row .tabulator-cell.tabulator-row-handle {
  display: unset;
}

.tabulator-row .tabulator-cell[tabulator-field=actions] {
  overflow: visible !important;
}

.dropdown-menu.tabulator-dropdown-teleported {
  z-index: 1080 !important;
  position: fixed;
}

@media (max-width: 575.98px) {
  .tabulator {
    font-size: 0.8rem;
  }
  .tabulator .tabulator-footer {
    padding: 4px 6px;
  }
  .tabulator .tabulator-footer .tabulator-footer-contents {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .tabulator .tabulator-footer .tabulator-page-size {
    width: 100%;
  }
  .tabulator .tabulator-footer .tabulator-paginator {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
  }
  .tabulator .tabulator-footer .tabulator-page {
    min-width: 30px;
    padding: 2px 6px;
  }
  .tabulator .tabulator-footer .tabulator-page-counter {
    text-align: center;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.spin {
  display: inline-block;
  animation: spin 0.6s linear infinite;
}
