* {
  /* margin: 0;
  padding: 0; */
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

/************* main css ********************/

html body {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
}
/* Base Theme (Fallback if system preference is unavailable) */
:root {
  --background: #f5f5f5;

  --secondBackground: #ffffff;
  --secondBackgroundDisabled: #ebebeb;
  --onSecondBackground: #2b484f;
  --secondBackgroundHover: #f1f5f9;
  --onSecondBackgroundHover: #35565d;
  --secondBackgroundShadow: rgba(0, 0, 0, 0.1);

  --primary: #3e6770;
  --onPrimary: #ffffff;
  --primaryHover: #35575f;
  --onPrimaryHover: #f1f5f9;
  --primaryDisabled: #a0b3b7;
  --onPrimaryDisabled: #e0e0e0;

  --secondary: #90b5a5;
  --onSecondary: #ffffff;
  --secondaryActive: #3e6770;
  --secondaryInactive: #ffffff;
  --secondaryHover: #6d9989;
  --onSecondaryHover: #ffffff;

  --tertiary: #e1e8ea;
  --tertiaryActive: #cfd8db;
  --onTertiary: #3e6770;
  --tertiaryHover: #eef2f3;
  --onTertiaryHover: #2e4f56;

  --light-grey: #e5e7eb;

  --accent: #3b82f6;
  --onAccent: #ffffff;

  --border: #e9e9e9;

  --error: #ff5630;
  --errorOn: #ffe8e0;

  --success: #36b37e;
  --successOn: #e3fcef;

  --footer-bg: #333;
  --footer-color: #fff;

  --placeholder: #94a3b8;
  --placeholderHover: #64748b;

  --shimmer-bg: #f6f7f8;
  --shimmer-skeleton: #e2e5e7;
  --shimmer-highlight: rgba(255, 255, 255, 0.6);

  --black: #000;

  --table-Header: #e0f2ff;
}

/* Light Theme */
:root[data-theme="light"] {
  --background: #f5f5f5;

  --secondBackground: #ffffff;
  --secondBackground-rgb: 255, 255, 255;
  --secondBackgroundDisabled: #ebebeb;
  --onSecondBackground: #2b484f;
  --secondBackgroundHover: #f1f5f9;
  --onSecondBackgroundHover: #35565d;
  --secondBackgroundShadow: rgba(0, 0, 0, 0.1);

  --primary: #3e6770;
  --onPrimary: #ffffff;
  --primaryHover: #35575f;
  --onPrimaryHover: #f1f5f9;
  --primaryDisabled: #a0b3b7;
  --onPrimaryDisabled: #e0e0e0;

  --secondary: #90b5a5;
  --onSecondary: #ffffff;
  --secondaryActive: #3e6770;
  --secondaryInactive: #ffffff;
  --secondaryHover: #6d9989;
  --onSecondaryHover: #ffffff;

  --tertiary: #e1e8ea;
  --tertiaryActive: #cfd8db;
  --onTertiary: #3e6770;
  --tertiaryHover: #eef2f3;
  --onTertiaryHover: #2e4f56;

  --light-grey: #e5e7eb;

  --accent: #3b82f6;
  --onAccent: #ffffff;

  --border: #e9e9e9;

  --error: #ff5630;
  --errorOn: #ffe8e0;
  --errorHover: #e0431e;
  --errorOnHover: #ffd6c7;

  --success: #36b37e;
  --successOn: #e3fcef;

  --warning: #f97316;
  --warningOn: #fff7ed;
  --warningHover: #ea580c;
  --warningOnHover: #fed7aa;

  --pending: #f59e0b;
  --pendingOn: #fef3c7;
  --pendingHover: #d97706;
  --pendingOnHover: #fde68a;

  --placeholder: #94a3b8;
  --placeholderHover: #64748b;

  --shimmer-bg: #f6f7f8;
  --shimmer-skeleton: #e2e5e7;
  --shimmer-highlight: rgba(255, 255, 255, 0.6);

  --black: #000;

  --empty-state-bg: #e8f2f0;
  --empty-state-border: #d4e5e1;
  --empty-state-icon: #5a8a8f;
  --empty-state-shadow: rgba(62, 103, 112, 0.08);
  --table-Header: #e0f2ff;
}

/* Dark Theme */
:root[data-theme="dark"] {
  --background: #1a1c1e;

  --secondBackground: #242729;
  --secondBackground-rgb: 36, 39, 41;
  --secondBackgroundDisabled: #2f3337;
  --onSecondBackground: #e0e5e7;
  --secondBackgroundHover: #2d3235;
  --onSecondBackgroundHover: #f1f5f9;
  --secondBackgroundShadow: rgba(0, 0, 0, 0.3);

  --primary: #5e8b95;
  --onPrimary: #f5f5f5;
  --primaryHover: #6c99a3;
  --onPrimaryHover: #ffffff;
  --primaryDisabled: #465b60;
  --onPrimaryDisabled: #9aa5a8;

  --secondary: #5d7e71;
  --onSecondary: #ffffff;
  --secondaryActive: #a7c2c8;
  --secondaryInactive: #343a3d;
  --secondaryHover: #6c8c7f;
  --onSecondaryHover: #ffffff;

  --tertiary: #2a3236;
  --tertiaryActive: #343e42;
  --onTertiary: #b4c8cd;
  --tertiaryHover: #242c30;
  --onTertiaryHover: #c5d5d9;

  --light-grey: #374151;

  --accent: #3b82f6;
  --onAccent: #ffffff;

  --border: #3a4045;

  --error: #ff7452;
  --errorOn: #663627;
  --errorHover: #ff8a6a;
  --errorOnHover: #50291f;

  --warning: #f97316;
  --warningOn: #5a2e13;
  --warningHover: #ff7f2c;
  --warningOnHover: #3f210d;

  --success: #36b37e;
  --successOn: #0e2a1e;

  --pending: #d58a0c;
  --pendingOn: #8a7211;
  --pendingHover: #d97706;
  --pendingOnHover: #fde68a;

  --placeholder: #64748b;
  --placeholderHover: #94a3b8;

  --shimmer-bg: #2c2c2e;
  --shimmer-skeleton: #48484a;
  --shimmer-highlight: rgba(255, 255, 255, 0.1);

  --black: #ffffff;

  --empty-state-bg: #1a3338;
  --empty-state-border: #2d4f56;
  --empty-state-icon: #7fb3b8;
  --empty-state-shadow: rgba(0, 0, 0, 0.3);

  --table-Header: #1e293b;
}

body {
  background-color: var(--background) !important;
}

html {
  font-size: calc(16px * var(--font-scale)); /* Optional, default is 16px */
}

@media (max-width: 1920px) {
  html {
    font-size: calc(15px * var(--font-scale));
  }
}

@media (max-width: 1600px) {
  html {
    font-size: calc(14px * var(--font-scale));
  }
}

@media (max-width: 1024px) {
  html {
    font-size: calc(13px * var(--font-scale));
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  html {
    font-size: calc(13px * var(--font-scale));
  }
}

/* Very small screens */
@media (max-width: 480px) {
  html {
    font-size: calc(11px * var(--font-scale));
  }
}

/* Global Thin Scrollbar - Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 6px; /* Vertical */
  height: 6px; /* Horizontal */
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary); /* Thumb matches primary */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--primaryHover); /* Thumb hover effect */
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

/* outlet  */
.outlet-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: auto;
  /* padding: 0px 0px 16px 16px; */
}

/* @media (max-width: 767px) {
  .outlet-container {
    padding: 8px 0px;
  }
} */

/* footer  */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-color);
  text-align: center;
  display: flex;
  font-size: 12px;
  justify-content: center;
  padding: 10px;
  position: sticky;
  bottom: 0;
  width: 100%;
  height: 3%;
  align-items: center;
  letter-spacing: 1px;
  z-index: 1000;
}

.footer p {
  margin: 0;
  font-weight: 500;
  font-family: Arial;
}

/* full screen loader */
.fullscreen-loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullscreen-loader::after {
  content: "";
  width: 48px;
  height: 48px;
  border: 4px solid #fff;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  animation: dualRingSpin 1s linear infinite;
}

@keyframes dualRingSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/************* header css ********************/

.header {
  /* background-color: var(--secondBackground); */
  height: 3.75rem;
  width: 100%;
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  /* box-shadow: 0 2px 4px var(--secondBackgroundShadow); */
  /* border-bottom: 1px solid var(--border); */
  background: linear-gradient(
    135deg,
    var(--secondBackground) 0%,
    var(--tertiary) 100%
  );
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px var(--secondBackgroundShadow);
}

.header-toogle-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 50px;
  cursor: pointer;
}

/* .header-toogle-button {
  padding: 6px;
  display: flex;
  align-items: center; */
/* background-color: var(--tertiary); */
/* }
.header-toogle-button svg {
  height: 1.2rem;
  width: 1.2rem;
  stroke: var(--primary);
}
.header-toogle-button:hover {
  background-color: var(--tertiary);
  border-radius: 12px;
} */

.header-profile {
  display: flex;
  height: auto;
  align-items: center;
  /* width: 50px; */
  border-radius: 50%;
  border: 0.25rem solid var(--border);
}

.header-profile span {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--secondaryHover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--onSecondary);
  text-transform: uppercase;
}

.header-profile img {
  height: 2rem;
  min-height: 2rem;
  width: 2rem;
  min-width: 2rem;
  border-radius: 50%;
  object-fit: cover;
  -webkit-user-select: none;
  user-select: none;
}

.header-user-name {
  display: flex;
}

.header-user-name span {
  margin: auto 0;
  margin-left: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  -webkit-user-select: none;
  user-select: none;
}

.header .icone {
  height: 100%;
  display: flex;
  align-items: center;
  margin-right: 8px;
  justify-content: center;
  /* cursor: pointer; */
  color: var(--onSecondBackground);
  stroke: var(--primary);
  -webkit-user-select: none;
  user-select: none;
}

.header-dropdown-container {
  position: relative;
}

.header-dropdown-menu-sec {
  display: none;
  position: absolute;
  top: 100%;
  right: 0px;
  padding: 0.4rem;
  z-index: 999;
  background-color: var(--secondBackground);
  min-width: 200px;
  box-shadow: var(--secondBackgroundShadow) 0px 1px 4px;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.header-dropdown-menu-sec svg {
  height: 1rem;
  width: 1rem;
}

.header-dropdown-container:hover .header-dropdown-menu-sec {
  display: block;
}

.header-dropdown-menu-sec div {
  font-size: 0.875rem;
  padding: 0.2rem 0.4rem;
  font-weight: 400;
  color: var(--onSecondBackground);
  fill: var(--onSecondBackground);
  transition:
    color 0.3s ease,
    fill 0.3s ease;
  -webkit-user-select: none;
  user-select: none;
}
.header-dropdown-menu-sec div:hover {
  color: var(--onSecondBackgroundHover);
  fill: var(--onSecondBackgroundHover);
}

.header-dropdown-menu-sec div::after {
  content: "";
  display: block;
  border-bottom: 1px solid var(--onSecondBackgroundHover);
  width: 0%;
  transition: width 0.3s ease;
}

.header-dropdown-menu-sec div:hover::after {
  width: 100%;
}

.header-dropdown-menu-sec svg {
  margin-right: 4px;
}

/* @media (max-height: 800px) {
  .header-profile img {
    height: 35px;
    width: 35px;
  }
} */

@media (max-height: 768px) {
  .header-logo img {
    height: 30px;
    width: auto;
  }
}

/* dark mode swich  */
.theme-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 24px;
  margin: auto;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--secondBackground);
  transition: 0.4s;
  border-radius: 30px;
  border: 2px solid var(--border);
}

.theme-slider:before {
  position: absolute;
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  height: 17px;
  width: 17px;
  left: 2px;
  bottom: 2px;
  background-color: var(--primary);
  transition: 0.4s;
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23FFFFFF'><path d='M480-120q-150 0-255-105T120-480q0-150 105-255t255-105q14 0 27.5 1t26.5 3q-41 29-65.5 75.5T444-660q0 90 63 153t153 63q55 0 101-24.5t75-65.5q2 13 3 26.5t1 27.5q0 150-105 255T480-120Zm0-80q88 0 158-48.5T740-375q-20 5-40 8t-40 3q-123 0-209.5-86.5T364-660q0-20 3-40t8-40q-78 32-126.5 102T200-480q0 116 82 198t198 82Zm-10-270Z'/></svg>");
  background-repeat: no-repeat;
  background-size: 13px;
  background-position: center;
}

input:checked + .theme-slider {
  background-color: var(--secondBackground);
}

input:checked + .theme-slider:before {
  content: "";
  transform: translateX(28px);
  background-color: var(--primary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%230f172a'><path d='M480-360q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Zm0 80q-83 0-141.5-58.5T280-480q0-83 58.5-141.5T480-680q83 0 141.5 58.5T680-480q0 83-58.5 141.5T480-280ZM200-440H40v-80h160v80Zm720 0H760v-80h160v80ZM440-760v-160h80v160h-80Zm0 720v-160h80v160h-80ZM256-650l-101-97 57-59 96 100-52 56Zm492 496-97-101 53-55 101 97-57 59Zm-98-550 97-101 59 57-100 96-56-52ZM154-212l101-97 55 53-97 101-59-57Zm326-268Z'/></svg>");
  background-repeat: no-repeat;
  background-size: 13px;
  background-position: center;
}

/* .header-profile svg {
  height: 1.3rem;
  width: 1.3rem;
  fill: var(--primary);
}

.header-profile {
  padding: 0.375rem;
  display: flex;
  align-items: center;
}
.header-profile:hover {
  background-color: var(--tertiaryActive);
  border-radius: 12px;
} */

.header-toogle-button {
  padding: 4px;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}
.header-toogle-button:hover {
  background-color: var(--tertiary);
  /* border-radius: 12px; */
}
.header-toogle-button .hamburger-menu {
  height: 2.2rem;
  width: 2.2rem;
}
.header-toogle-button .hamburger-line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  --length: 24;
  --offset: -38;
  stroke-dasharray: var(--length) var(--total-length);
  stroke-dashoffset: var(--offset);
  transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.header-toogle-button .line-1,
.header-toogle-button .line-3 {
  --total-length: 126.64183044433594;
}
.header-toogle-button .line-2 {
  --total-length: 70;
}
.header-toogle-button .line-1.checked,
.header-toogle-button .line-3.checked {
  --length: 22.627416998;
  --offset: -94.1149185097;
}
.header-toogle-button .line-2.checked {
  --length: 0;
  --offset: -50;
}

/************* sidebar css ********************/

.side-nav {
  z-index: 20;
  transition: width 0.3s ease;
}

.side-nav .sidebar-container {
  width: 230px;
  height: 100%;
  background: var(--secondBackground);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: width 0.3s ease;
  box-shadow: 0 2px 10px var(--secondBackgroundShadow);
}

.side-nav.collapsed .sidebar-container {
  width: 75px; /* Collapsed width */
}

.side-nav .sidebar-header {
  padding: 20px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease;
}

.side-nav.collapsed .sidebar-header {
  padding: 20px 12px;
}

.side-nav .sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.side-nav .sidebar-logo:focus-visible {
  outline: none;
}

.side-nav .sidebar-logo img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  -webkit-user-select: none;
  user-select: none;
}

.side-nav.collapsed .sidebar-logo img {
  margin-left: 0;
}

.side-nav .sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
  /* overflow-x: hidden; */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.side-nav .sidebar-content:hover {
  scrollbar-color: var(--primary) transparent;
}

.side-nav .sidebar-content::-webkit-scrollbar {
  width: 4px;
}

.side-nav .sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}

.side-nav .sidebar-content::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}

.side-nav .sidebar-content::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.side-nav .menu-section {
  padding: 0 16px;
  transition: padding 0.3s ease;
}

.side-nav.collapsed .menu-section {
  padding: 0 14px;
}

.side-nav .menu-item-container {
  margin-bottom: 8px;
}

.side-nav .menu-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px 8px;
  border-radius: 8px;
  background-color: var(--secondBackground);
  color: var(--onSecondBackground);
  text-decoration: none;
  text-align: start;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
  border: none;
}

.side-nav.collapsed .menu-item {
  padding: 12px;
  justify-content: center;
}

.side-nav .menu-item:hover,
.side-nav .menu-item:focus-visible {
  background-color: var(--tertiary);
  color: var(--onTertiary);
  text-decoration: none;
  transform: translateX(1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  outline: none;
}

.side-nav .menu-item.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--onPrimary);
  box-shadow: 0 4px 12px rgba(62, 103, 112, 0.3);
  font-weight: 600;
}

.side-nav .menu-item.active .menu-icon svg {
  stroke: var(--onPrimary);
}

.side-nav .menu-item.active:hover .menu-icon svg,
.side-nav .menu-item.active:focus-visible .menu-icon svg {
  stroke: var(--onPrimary);
}

.side-nav .menu-item.has-submenu {
  cursor: pointer;
}

.side-nav .menu-icon {
  margin-right: 12px;
  display: flex;
  align-items: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.side-nav.collapsed .menu-icon {
  margin-right: 0;
}

.side-nav .menu-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--placeholder);
}

.side-nav .menu-item:hover .menu-icon svg,
.side-nav .menu-item:focus-visible .menu-icon svg {
  stroke: var(--primary);
}

.side-nav .menu-text {
  flex: 1;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.side-nav.collapsed .menu-text {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.side-nav .chevron {
  margin-left: auto;
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.side-nav.collapsed .chevron {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.side-nav .chevron svg {
  width: 16px;
  height: 16px;
  fill: var(--placeholder);
  transition: transform 0.2s ease;
}

.side-nav .menu-item.active .chevron svg {
  width: 16px;
  height: 16px;
  fill: var(--onTertiaryHover) !important;
  transition: transform 0.2s ease;
}

.side-nav .chevron.rotate svg {
  transform: rotate(90deg);
}

.side-nav .submenu {
  margin-left: 16px;
  margin-top: 4px;
  margin-bottom: 8px;
  padding-left: 8px;
}

.side-nav.collapsed .submenu {
  display: none;
}

.side-nav .submenu-item {
  position: relative;
  display: block;
  padding: 8px 12px;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.688rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.side-nav .submenu-item:hover,
.side-nav .submenu-item:focus-visible {
  background-color: var(--tertiary);
  color: var(--onTertiary);
  text-decoration: none;
  outline: none;
}

.side-nav .submenu-item.active {
  background-color: var(--tertiary);
  color: var(--onTertiary);
  font-weight: 500;
  padding-left: 10px;
}
.side-nav .submenu-item-container {
  padding: 6px 0;
}

.side-nav .submenu-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--border);
}

.side-nav .submenu-item.active::before {
  background: var(--onTertiary);
}

.side-nav .submenu-item:hover::before,
.side-nav .submenu-item:focus-visible::before {
  border: 1px solid var(--onTertiary);
  background: var(--onTertiary);
}

.submenu-heading {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--placeholder);
  letter-spacing: 0.05em;
  padding: 8px 0px;
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 4px;
}

/* First heading doesn't need top border */
.submenu-heading:first-child {
  border-top: none;
  margin-top: 0;
}

.submenu-heading + .submenu-item-container .submenu-item {
  margin-top: 0;
}

.side-bar-search-container {
  padding: 16px 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* sidebar search */

.side-bar-search-container .search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--tertiary);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
  overflow: hidden;
}

.side-bar-search-container .search-input-wrapper .search-icon {
  position: absolute;
  left: 10px;
  color: var(--placeholder);
  pointer-events: none;
  z-index: 1;
}

.side-bar-search-container .search-input-wrapper .search-icon svg {
  stroke: var(--primary);
  width: 18px;
  height: 18px;
}

/* Search Input */
.side-bar-search-container .search-input-wrapper .search-input {
  width: 100%;
  padding: 10px 32px 10px 36px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.75rem;
  color: var(--onSecondBackground);
  transition: all 0.2s ease;
}

/* Clear Button */
.side-bar-search-container .search-input-wrapper .search-clear {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: var(--placeholder);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: all 0.2s ease;
  z-index: 1;
}

.side-bar-search-container .search-input-wrapper .search-clear svg {
  width: 16px;
  height: 16px;
  stroke: var(--tertiary);
}

.side-bar-search-container .search-input-wrapper .search-clear svg:hover,
.side-bar-search-container .search-input-wrapper .search-clear:focus-visible {
  color: var(--onSecondBackground);
  outline: none;
}

.sidebar-no-result {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  color: var(--primary);
  user-select: none;
}

/* Sidebar Footer */
.side-nav .sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  background: var(--secondBackground);
}

.side-nav.collapsed .sidebar-footer {
  padding: 16px 14px;
}

.side-nav .logout-item {
  width: 100%;
  margin-bottom: 0;
  color: var(--error, #ef4444);
}

.side-nav .logout-item .menu-icon svg {
  stroke: var(--error, #ef4444);
}

.side-nav .logout-item:hover,
.side-nav .logout-item:focus-visible {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--error, #ef4444);
}

.side-nav .logout-item:hover .menu-icon svg,
.side-nav .logout-item:focus-visible .menu-icon svg {
  stroke: var(--error, #ef4444);
}
