@charset "UTF-8";
/* Sidebar Base Styles */
.sidebar {
  width: 14rem;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  background-color: #F4F4F4;
  border-right: 1px solid #dedede;
  overflow: hidden;
  transition: width 0.3s ease;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
}

.sidebar .logoContainer {
  display: flex;
  width: 14rem;
}

/* Side Navigation */
.SideNavigation {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 89dvh;
  padding: 0 20px;
  position: relative;
  justify-content: space-between;
  transition: all 0.3s ease-in-out;
}

@media (min-height: 780px) {
  .SideNavigation {
    height: 90dvh;
  }
}
/* Sidebar Toggle */
.sidebar-toggle {
  margin-left: 15rem;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  transition: margin-left 0.3s ease;
}

@media screen and (min-width: 1920px) {
  .sidebar-toggle {
    margin-left: 15rem;
  }
}
.sidebar-toggle:focus {
  outline: none;
}

.sidebar-menu-icon {
  position: relative;
}

/* Sidebar Title and Logo */
.sidebar-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 4.5rem;
  padding: 0 10px 0 16px;
  gap: 0.75rem;
  border-bottom: 1.2px solid #dedede;
}

.uk-link,
a {
  text-decoration: none !important;
}

.sidebar-logo-img {
  width: 45px;
  height: auto;
}

.logo-for-dark {
  display: none;
}

body.dark-theme .logo-for-light {
  display: none;
}

body.dark-theme .logo-for-dark {
  display: block;
}

.sidebar-title-text {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1A1A1A;
  opacity: 0.9;
}

/* Sidebar Section Title */
.sidebar-section-title,
h3 {
  color: rgba(136, 136, 136, 0.5215686275);
  font-size: 10px;
  font-family: satoshi-variable, "DM Sans", sans-serif;
  margin: 10px 0;
  display: block;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 1920px) {
  .sidebar-section-title {
    font-size: 12px;
    margin: 15px 0 0 !important;
    letter-spacing: 0.5px;
    padding-left: 5px;
  }
}
/* Navigation Items */
.nav-items {
  position: relative;
  margin-top: 0.5rem;
}

.nav-items a {
  display: flex;
  align-items: center;
  color: #333 !important;
  padding: 10px 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.3s, color 0.3s;
}

.nav-items a:hover {
  padding: 10px 15px;
  border-radius: 4px;
  border: 1px solid #008000;
  background-color: rgba(106, 176, 76, 0.08);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-items a .sidebar-icon {
  margin-right: 10px;
}

/* Sidebar Items */
.sidebar-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9rem;
  cursor: pointer;
}

.sidebar-item:hover {
  text-decoration: none !important;
}

.sidebar-item:hover .sidebar-text {
  color: rgba(26, 26, 26, 0.8);
}

.sidebar-icon {
  margin-right: 10px;
  fill: #626262;
}

.sidebar-text {
  margin-left: 1px;
  font-family: "Satoshi-Medium";
  font-size: 0.8rem;
}

@media screen and (min-width: 1920px) {
  .sidebar-text {
    font-size: 0.85rem;
    font-weight: 500;
  }
}
/* Active Link Styles */
.activeLink a {
  background-color: #008000 !important;
  color: white !important;
  border-radius: 5px;
}

.activeLink a:hover {
  background-color: #008000;
}

.activeLink a .sidebar-text {
  color: white !important;
  transition: color 0s;
}

.activeLink a:hover .sidebar-text {
  color: white !important;
}

.activeLink a .sidebar-icon {
  fill: white !important;
}

#MapSubItems a.activeSubItem {
  color: white !important;
  transition: all 0.3s ease;
  background-color: #008000;
}

#lookupSubItems a.activeSubItem {
  color: white !important;
  transition: all 0.3s ease;
  background-color: #008000;
}

#OtherSubItems a.activeSubItem {
  color: white !important;
  transition: all 0.3s ease;
  background-color: #008000;
}

/* Logout button — destructive red style */
.nav-items.logout-item a {
  background-color: #e53e3e;
  color: white !important;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease;
}

.nav-items.logout-item a:hover {
  background-color: #c53030;
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(197, 48, 48, 0.25);
}

.nav-items.logout-item a .sidebar-text {
  color: white !important;
}

.nav-items.logout-item a .sidebar-icon {
  fill: white !important;
}

/* Settings button — ghost / outlined style */
.nav-items.settings-item a {
  background-color: transparent;
  color: #333 !important;
  border-radius: 5px;
  border: 1.2px solid #dedede;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-items.settings-item a:hover {
  background-color: rgba(0, 128, 0, 0.06);
  border-color: #008000;
  box-shadow: none;
}

/* .nav-items.settings-item a .sidebar-text {
  color: #333 !important;
} */

.nav-items.settings-item a .sidebar-icon {
  fill: #626262;
}

body.dark-theme .nav-items.settings-item a {
  border-color: var(--dark-border, #334155);
  color: var(--dark-text, #e5e7eb) !important;
}

body.dark-theme .nav-items.settings-item a:hover {
  border-color: #008000;
  background-color: rgba(0, 128, 0, 0.08);
}

body.dark-theme .nav-items.settings-item a .sidebar-text {
  color: var(--dark-text, #e5e7eb) !important;
}

body.dark-theme .nav-items.settings-item a .sidebar-icon {
  fill: var(--dark-text, #e5e7eb);
}

/* =========================================
   COLLAPSED SIDEBAR — Icon-only rail
   ========================================= */
.sidebar.open {
  width: 64px;
}

/* Hide all text, labels, section titles */
.sidebar.open .sidebar-title-text,
.sidebar.open .sidebar-text,
.sidebar.open .sidebar-section-title,
.sidebar.open h3 {
  display: none;
}

/* Show acc-angle as small expand indicator in collapsed mode */
.sidebar.open .acc-angle {
  position: absolute;
  right: 6px;
  bottom: 8px;
  font-size: 0;
  margin-left: 0;
  pointer-events: none;
}
.sidebar.open .acc-angle i {
  font-size: 7px;
  color: #aaa;
  transform: rotate(-90deg) !important;
}

.sidebar.open .sidebar-logo-img {
  width: 32px;
  height: auto;
}

/* Icon centering — remove right margin that pushed icon left */
.sidebar.open .sidebar-icon {
  margin-right: 0;
  transform: none;
  flex-shrink: 0;
}

/* Items: row layout so icon is centred in the 64px space */
.sidebar.open .sidebar-item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  gap: 0;
}

.sidebar.open .nav-items {
  margin: 3px 6px;
}

.sidebar.open .SideNavigation {
  padding: 0 4px;
}

.sidebar.open + .main-content {
  margin-left: 64px;
  padding-left: 20px;
}

/* Collapse button — fixed to sidebar edge */
.sidebar-collapse-btn {
  position: fixed;
  top: 50%;
  left: calc(14rem - 12px);
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dedede;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1051;
  padding: 0;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sidebar-collapse-btn:hover {
  background: #f0f7ea;
  border-color: #008000;
  box-shadow: 0 2px 6px rgba(143, 189, 86, 0.25);
}
.sidebar-collapse-btn:focus {
  outline: none;
}
.sidebar-collapse-btn svg {
  width: 11px;
  height: 11px;
  stroke: #626262;
  fill: none;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When sidebar is collapsed, shift button to 64px rail edge */
.sidebar.open ~ .sidebar-collapse-btn {
  left: 52px;
}
.sidebar.open ~ .sidebar-collapse-btn svg {
  transform: rotate(180deg);
}

/* In collapsed state — center logo + button together */
.sidebar.open .sidebar-title {
  justify-content: center;
  gap: 4px;
  padding: 0;
}

/* =========================================
   COLLAPSED TOOLTIPS
   ========================================= */
.sidebar.open .nav-items .sidebar-item {
  position: relative;
}

.sidebar.open .nav-items .sidebar-item::after {
  content: attr(data-tooltip);
  position: fixed;
  left: 72px;
  transform: translateY(-50%);
  background: #1a1a1a;
  color: #fff;
  font-size: 0.73rem;
  font-family: "Satoshi-Medium", sans-serif;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 9999;
}

.sidebar.open .nav-items .sidebar-item:hover::after {
  opacity: 1;
}

/* Sidebar Menu */
.sidebar-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu-icon {
  position: relative;
}

/* Sub Items Styles */
#lookupSubItems,
#MapSubItems {
  font-size: 0.75em;
  /* margin-left: .5rem; */
  padding: 0;
  list-style: none;
}

#lookupSubItems li,
#MapSubItems li {
  color: #828282;
  margin-bottom: 5px;
  transition: color 0.3s ease;
  position: relative;
  padding-left: 20px;
  opacity: 0;
  animation: fadeIn 0.3s ease-in-out forwards;
}

#lookupSubItems li a,
#MapSubItems li a {
  display: block;
  text-decoration: none;
  color: #828282;
  font-family: "Satoshi-Regular", Arial, sans-serif;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#lookupSubItems li a:hover,
#MapSubItems li a:hover,
.list-unstyled li a:hover {
  color: #6ab04c;
  /* background-color: rgba(106, 176, 76, 0.08); */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#lookupSubItems li a.active,
#MapSubItems li a.active,
.list-unstyled li a.active {
  color: #6ab04c;
  background-color: rgba(106, 176, 76, 0.12);
  font-weight: 500;
}

#lookupSubItems li a:focus,
#MapSubItems li a:focus,
.list-unstyled li a:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(106, 176, 76, 0.3);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Utility Classes */
.collapse {
  display: none;
}

.collapse.show {
  display: block;
}

.float-end.acc-angle i {
  transition: transform 0.3s ease;
  transform: rotate(0deg);
  display: inline-block;
}

.sidebar-item.active .float-end.acc-angle i {
  transform: rotate(180deg);
}

.list-unstyled {
  /* margin-top: 0.5rem; */
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.list-unstyled span[uk-icon] {
  color: #666;
  font-size: 16px !important;
  margin-right: 5px;
}

.list-unstyled li.active span[uk-icon],
.list-unstyled li a.activeSubItem span[uk-icon] {
  color: white !important;
}

.list-unstyled li {
  margin-bottom: 5px;
}

.list-unstyled li:last-child {
  margin-bottom: 0;
}

/* ─── Collapsed flyout panel ─── */
.sidebar.open .list-unstyled {
  display: block !important;
  position: fixed;
  left: 72px;
  min-width: 190px;
  background: #fff;
  border-radius: 10px;
  padding: 5px !important;
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 3px solid #008000;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: visible !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-6px) scale(0.97);
  transform-origin: left center;
  transition: opacity 0.18s cubic-bezier(0.4, 0, 0.2, 1), transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.18s;
  /* JS adds this class via mouseenter/mouseleave timer */
}
.sidebar.open .list-unstyled.flyout-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition: opacity 0.18s cubic-bezier(0.4, 0, 0.2, 1), transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}
.sidebar.open .list-unstyled {
  /* Hover bridge — invisible hitbox connecting sidebar to flyout */
}
.sidebar.open .list-unstyled::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 100%;
  width: 28px;
  height: calc(100% + 20px);
}

/* Collapsed flyout — item overrides */
.sidebar.open #MapSubItems li {
  margin-bottom: 0 !important;
}

.sidebar.open #MapSubItems li a.slide-item {
  font-family: "Satoshi-Medium", "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: #4a4a4a;
  padding: 8px 12px 8px 10px;
  border-radius: 7px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  /* Green dot indicator — appears on hover */
}
.sidebar.open #MapSubItems li a.slide-item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.sidebar.open #MapSubItems li a.slide-item:hover {
  color: #2d6b1e;
  background: rgba(143, 189, 86, 0.09);
  padding-left: 10px !important; /* no shift — stays aligned */
}
.sidebar.open #MapSubItems li a.slide-item:hover::before {
  background: #008000;
  transform: scale(1.2);
}
.sidebar.open #MapSubItems li a.slide-item.activeSubItem {
  color: #fff !important;
  background: linear-gradient(135deg, #008000, #7aab47);
  box-shadow: 0 2px 8px rgba(143, 189, 86, 0.3);
  padding-left: 10px !important;
}
.sidebar.open #MapSubItems li a.slide-item.activeSubItem::before {
  background: rgba(255, 255, 255, 0.7);
}

/* =========================================
                MEDIA QUERIES
  ========================================= */
@media (min-height: 780px) {
  .SideNavigation {
    height: 90dvh;
  }
}
@media screen and (min-width: 1920px) {
  .sidebar-logo-img {
    width: 42px;
    height: auto;
    margin: 5px 0;
  }
  .sidebar-section-title {
    font-size: 12px;
    margin: 15px 0 0 !important;
    letter-spacing: 0.5px;
    padding-left: 5px;
  }
  .sidebar-text {
    font-size: 0.8rem;
    margin-left: 3px;
    font-weight: 500;
  }
}
.sidebar.open #lookupSubItems,
.sidebar.open #MapSubItems,
.sidebar.open .list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar.open #lookupSubItems li,
.sidebar.open #MapSubItems li,
.sidebar.open .list-unstyled li {
  list-style-type: none;
  padding-left: 0;
  font-size: 0.75rem;
}

/* =========================================
   MAPS DROPDOWN — Refined submenu design
   ========================================= */
@keyframes submenuReveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Container: indented with a green left accent rail */
#MapSubItems {
  margin-left: 22px;
  border-left: 2px solid transparent;
  padding-left: 0;
  transition: border-color 0.25s ease;
}

#MapSubItems.show {
  border-left-color: #008000;
  padding-left: 8px !important;
  animation: submenuReveal 0.2s ease-out forwards;
}

/* Override the li fadeIn — container handles the reveal */
#MapSubItems li {
  opacity: 1 !important;
  animation: none !important;
  padding-left: 0 !important;
  margin-bottom: 1px;
}

/* Sub-item links */
#MapSubItems li a.slide-item {
  display: block;
  font-family: "Satoshi-Medium", "DM Sans", sans-serif;
  font-size: 0.775rem;
  color: #5e5e5e;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

#MapSubItems li a.slide-item:hover {
  color: #3a8229;
  background-color: rgba(143, 189, 86, 0.1);
  padding-left: 14px;
}

#MapSubItems li a.slide-item.activeSubItem {
  color: white !important;
  background-color: #008000;
  padding-left: 10px;
}

/* acc-angle chevron — clean flex positioning, no inline style needed */
.nav-items > a.sidebar-item .acc-angle {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  color: #aaa;
  transition: color 0.2s ease;
}

.nav-items > a.sidebar-item:hover .acc-angle {
  color: #6ab04c;
}

/* Chevron turns white when Maps parent is active */
.activeLink a.sidebar-item .acc-angle {
  color: rgba(255, 255, 255, 0.8);
}

/* In collapsed sidebar: reset expanded-mode decorations */
.sidebar.open #MapSubItems {
  border-left: none;
  margin-left: 0;
  border-radius: 10px;
}

.sidebar.open #MapSubItems.show {
  animation: none;
  border-left-color: transparent;
  padding-left: 5px !important;
}

/* =========================================
   LOOKUP LIST DROPDOWN — Same refined design as Maps
   ========================================= */
/* Container: indented with a green left accent rail */
#lookupSubItems {
  margin-left: 22px;
  border-left: 2px solid transparent;
  padding-left: 0;
  transition: border-color 0.25s ease;
}

#lookupSubItems.show {
  border-left-color: #008000;
  padding-left: 8px !important;
  animation: submenuReveal 0.2s ease-out forwards;
}

/* Override the li fadeIn — container handles the reveal */
#lookupSubItems li {
  opacity: 1 !important;
  animation: none !important;
  padding-left: 0 !important;
  margin-bottom: 1px;
}

/* Sub-item links */
#lookupSubItems li a.slide-item {
  display: block;
  font-family: "Satoshi-Medium", "DM Sans", sans-serif;
  font-size: 0.775rem;
  color: #5e5e5e;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

#lookupSubItems li a.slide-item:hover {
  color: #3a8229;
  background-color: rgba(143, 189, 86, 0.1);
  padding-left: 14px;
}

#lookupSubItems li a.slide-item.activeSubItem {
  color: white !important;
  background-color: #008000;
  padding-left: 10px;
}

/* In collapsed sidebar: reset expanded-mode decorations */
.sidebar.open #lookupSubItems {
  border-left: none;
  margin-left: 0;
  border-radius: 10px;
}

.sidebar.open #lookupSubItems.show {
  animation: none;
  border-left-color: transparent;
  padding-left: 5px !important;
}

/* Collapsed flyout — item overrides */
.sidebar.open #lookupSubItems li {
  margin-bottom: 0 !important;
}

.sidebar.open #lookupSubItems li a.slide-item {
  font-family: "Satoshi-Medium", "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: #4a4a4a;
  padding: 8px 12px 8px 10px;
  border-radius: 7px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  /* Green dot indicator — appears on hover */
}
.sidebar.open #lookupSubItems li a.slide-item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.sidebar.open #lookupSubItems li a.slide-item:hover {
  color: #2d6b1e;
  background: rgba(143, 189, 86, 0.09);
  padding-left: 10px !important;
}
.sidebar.open #lookupSubItems li a.slide-item:hover::before {
  background: #008000;
  transform: scale(1.2);
}
.sidebar.open #lookupSubItems li a.slide-item.activeSubItem {
  color: #fff !important;
  background: linear-gradient(135deg, #008000, #7aab47);
  box-shadow: 0 2px 8px rgba(143, 189, 86, 0.3);
  padding-left: 10px !important;
}
.sidebar.open #lookupSubItems li a.slide-item.activeSubItem::before {
  background: rgba(255, 255, 255, 0.7);
}

@media screen and (min-width: 1920px) {
  /* Sub Items Styles */
  #lookupSubItems,
  #MapSubItems {
    font-size: 0.78rem;
    padding: 0 0 0 0.8rem;
  }
  #lookupSubItems li a,
  #MapSubItems li a {
    padding: 6px 12px;
  }
  #lookupSubItems li a:hover,
  #MapSubItems li a:hover,
  .list-unstyled li a:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  }
  #lookupSubItems li a.active,
  #MapSubItems li a.active,
  .list-unstyled li a.active {
    background-color: rgba(106, 176, 76, 0.15);
  }
  #lookupSubItems li a:focus,
  #MapSubItems li a:focus,
  .list-unstyled li a:focus {
    box-shadow: 0 0 0 3px rgba(106, 176, 76, 0.35);
  }
  .sidebar.open #lookupSubItems li,
  .sidebar.open #MapSubItems li,
  .sidebar.open .list-unstyled li {
    font-size: 0.8rem;
    color: #828282;
  }
}
/* =========================================
   DARK THEME — Sidebar overrides
   ========================================= */
/* Sidebar collapse button */
body.dark-theme .sidebar-collapse-btn {
  background: var(--dark-bg-secondary, #1e293b);
  border-color: var(--dark-border, #334155);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
body.dark-theme .sidebar-collapse-btn:hover {
  background: rgba(0, 128, 0, 0.12);
  border-color: #008000;
  box-shadow: 0 2px 6px rgba(0, 128, 0, 0.25);
}
body.dark-theme .sidebar-collapse-btn svg {
  stroke: var(--dark-text-secondary, #e5e7eb);
}

/* Collapsed flyout in dark mode */
body.dark-theme .sidebar.open .list-unstyled {
  background: var(--dark-bg-secondary, #1e293b);
  border-color: var(--dark-border, #334155);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
}

body.dark-theme .sidebar.open #lookupSubItems li a.slide-item,
body.dark-theme .sidebar.open #MapSubItems li a.slide-item {
  color: var(--dark-text-secondary, #e5e7eb);
}
body.dark-theme .sidebar.open #lookupSubItems li a.slide-item:hover,
body.dark-theme .sidebar.open #MapSubItems li a.slide-item:hover {
  color: #4ade80;
  background: rgba(0, 128, 0, 0.1);
}

/* Sidebar title border in dark mode */
body.dark-theme .sidebar-title {
  border-bottom-color: var(--dark-border, #334155);
}

/* Collapsed tooltip in dark mode */
body.dark-theme .sidebar.open .nav-items .sidebar-item::after {
  background: var(--dark-bg-tertiary, #2d3748);
  color: var(--dark-text-primary, #f3f4f6);
}

/* Sub-item links in dark mode */
body.dark-theme #lookupSubItems li a,
body.dark-theme #MapSubItems li a {
  color: var(--dark-text-muted, #9ca3af);
}

body.dark-theme #lookupSubItems li a:hover,
body.dark-theme #MapSubItems li a:hover {
  color: #4ade80;
}

body.dark-theme #lookupSubItems li a.slide-item,
body.dark-theme #MapSubItems li a.slide-item {
  color: var(--dark-text-muted, #9ca3af);
}

body.dark-theme #lookupSubItems li a.slide-item:hover,
body.dark-theme #MapSubItems li a.slide-item:hover {
  color: #4ade80;
  background-color: rgba(0, 128, 0, 0.08);
}

/* =========================================
   MOBILE RESPONSIVE — Slide-out from right
   ========================================= */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: auto;
    right: 0;
    width: 16rem;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1060;
    border-right: none;
    border-left: 1px solid #dedede;
    box-shadow: none;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  }

  .sidebar .logoContainer,
  .sidebar.open .logoContainer {
    width: 16rem;
  }

  .sidebar-collapse-btn {
    display: none;
  }

  .sidebar.open {
    width: 16rem;
    transform: translateX(100%);
  }

  .sidebar.open.mobile-open {
    transform: translateX(0);
  }

  .sidebar.open .sidebar-title-text,
  .sidebar.open .sidebar-text,
  .sidebar.open .sidebar-section-title,
  .sidebar.open h3 {
    display: block;
  }

  .sidebar.open .sidebar-logo-img {
    width: 45px;
    height: auto;
  }

  .sidebar .SideNavigation,
  .sidebar.open .SideNavigation {
    padding: 0 20px;
  }

  .sidebar .sidebar-title,
  .sidebar.open .sidebar-title {
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0 10px 0 16px;
  }

  .sidebar.open .sidebar-icon {
    margin-right: 10px;
  }

  .sidebar.open .sidebar-item {
    justify-content: flex-start;
    padding: 10px 0;
  }

  .sidebar.open .nav-items {
    margin: 0.5rem 0 0;
  }

  .sidebar.open .nav-items .sidebar-item::after {
    display: none;
  }

  .sidebar.open .list-unstyled {
    position: static;
    left: auto;
    min-width: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0 !important;
    box-shadow: none;
  }

  .sidebar.open .acc-angle {
    position: static;
    right: auto;
    bottom: auto;
    margin-left: auto;
    font-size: inherit;
    pointer-events: auto;
  }

  .sidebar.open .acc-angle i {
    font-size: 12px;
    color: #626262;
    transform: rotate(0deg) !important;
  }

  .sidebar .sidebar-item.active .float-end.acc-angle i,
  .sidebar.open .sidebar-item.active .float-end.acc-angle i {
    transform: rotate(180deg) !important;
  }

  .main-content {
    margin-left: 0 !important;
  }

  .sidebar.open + .main-content {
    margin-left: 0 !important;
  }
}

/* Mobile overlay backdrop */
.mobile-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1055;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-sidebar-overlay.active {
  display: block;
  opacity: 1;
}

body.dark-theme .mobile-sidebar-overlay {
  background: rgba(0, 0, 0, 0.6);
}/*# sourceMappingURL=SideNavigation.css.map */
