/**
 * @copyright Stevie-Ray
 * Sidebar Component - ChatGPT/App style
 */
/**
 * @copyright Stevie-Ray
 * Global Color System - Neutral Palette
 * CSS Custom Properties for consistent theming
 */
/* ===========================================
   CSS CUSTOM PROPERTIES - ROOT
   =========================================== */
:root {
  /* Neutral Color Palette */
  --neutral: #ffffff;
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --neutral-950: #0a0a0a;
  /* Semantic Color Mappings */
  --background: var(--neutral-50);
  --foreground: var(--neutral-900);
  --muted: var(--neutral-100);
  --muted-foreground: var(--neutral-600);
  --border: var(--neutral-200);
  --input: var(--neutral-100);
  --ring: var(--neutral-400);
  /* Brand Colors */
  --primary: hsl(221.2 83.2% 53.3%);
  --primary-foreground: hsl(210 40% 98%);
  --secondary: var(--neutral-100);
  --secondary-foreground: var(--neutral-900);
  --accent: var(--neutral-100);
  --accent-foreground: var(--neutral-900);
  /* Status Colors */
  --destructive: #FF80AB;
  --destructive-foreground: #000000;
  --success: #CCFF90;
  --success-foreground: #000000;
  --warning: #FFAB40;
  --warning-foreground: #000000;
  --info: #82B1FF;
  --info-foreground: #000000;
  /* Sidebar Specific Colors */
  --sidebar-bg: var(--neutral-50);
  --sidebar-border: var(--neutral-200);
  --sidebar-foreground: var(--neutral-900);
  --sidebar-muted: var(--neutral-600);
  --sidebar-accent: var(--neutral-100);
  --sidebar-accent-foreground: var(--neutral-900);
  --sidebar-hover: var(--neutral-100);
  --sidebar-active-bg: var(--neutral-100);
  --sidebar-active-foreground: var(--neutral-900);
}

/* ===========================================
   SCSS VARIABLES FOR BACKWARDS COMPATIBILITY
   =========================================== */
.sidebar {
  display: flex;
  flex-direction: column;
  width: 16rem;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar.sidebar-collapsed {
  width: 4rem;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem;
}
.sidebar-header .sidebar-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #171717;
}
.sidebar-header .sidebar-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sidebar-header .sidebar-logo .logo-icon {
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}
.sidebar-header .sidebar-logo .logo-text {
  font-size: 1.125rem;
  font-weight: 600;
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-header .sidebar-collapse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  border-radius: 0.375rem;
  color: #525252;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-header .sidebar-collapse-btn:hover {
  background-color: #f5f5f5;
  color: #171717;
}
.sidebar-header .sidebar-collapse-btn:focus {
  outline: none;
}
.sidebar-header .sidebar-language-btn img {
  width: 24px;
  height: 24px;
  border-radius: 100px;
  object-fit: cover;
}
.sidebar-header .sidebar-language-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  border-radius: 0.375rem;
  color: #525252;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-header .sidebar-language-btn:hover {
  background-color: #f5f5f5;
  color: #171717;
}
.sidebar-header .sidebar-language-btn:focus {
  outline: none;
}

.sidebar-collapsed .sidebar-header {
  padding: 1rem 0.5rem;
  justify-content: center;
}
.sidebar-collapsed .sidebar-header .sidebar-logo .logo-text {
  opacity: 0;
  width: 0;
  overflow: hidden;
}
.sidebar-collapsed .sidebar-header .sidebar-collapse-btn {
  display: none;
}

.sidebar-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-footer-menu-copyright {
  display: flex;
  padding: 1rem;
  color: var(--neutral-500);
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.sidebar-footer-menu {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sidebar-nav .nav-section {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.sidebar-nav .nav-section .nav-section-title {
  font-size: 0.75rem;
  font-weight: 400;
  color: #525252;
  margin-top: 0.5rem;
  padding: 0 0.75rem;
  opacity: 0.5;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #171717;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.sidebar-nav .nav-item:hover {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  color: #171717;
}
.sidebar-nav .nav-item:focus {
  outline: none;
}
.sidebar-nav .nav-item.nav-item-active {
  background-color: white;
  color: #171717;
}
.sidebar-nav .nav-item .nav-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-nav .nav-item .nav-icon svg {
  width: 1.4rem !important;
  height: 1.4rem !important;
}
.sidebar-nav .nav-item .nav-label {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
}

.sidebar-collapsed .sidebar-content {
  padding: 0.5rem 0.5rem;
  align-items: center;
}
.sidebar-collapsed .sidebar-nav {
  gap: 0.125rem;
  width: 100%;
}
.sidebar-collapsed .sidebar-nav .nav-section {
  margin-bottom: 1rem;
}
.sidebar-collapsed .sidebar-nav .nav-section .nav-section-title {
  opacity: 0;
  padding: 0;
}
.sidebar-collapsed .sidebar-nav .nav-item {
  justify-content: center;
  width: 100%;
  padding: 0.5rem;
}
.sidebar-collapsed .sidebar-nav .nav-item .nav-label {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.sidebar-search {
  display: flex;
  width: 100%;
  padding: 0.5rem;
}
.sidebar-search input {
  width: 100%;
  border-radius: 100px;
  height: 40px;
  padding: 0 1rem;
}

.sidebar-bank-account {
  display: flex;
  width: 100%;
  padding: 0.5rem;
}
.sidebar-bank-account .sidebar-account .ButtonViolet {
  margin-top: 1rem;
}
.sidebar-bank-account .sidebar-account {
  display: flex;
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 1.2rem;
  flex-direction: column;
  gap: 0.5rem;
}
.sidebar-bank-account .sidebar-account span:nth-child(1) {
  color: var(--neutral-500);
  font-weight: 300;
  font-size: 16px;
}
.sidebar-bank-account .sidebar-account span:nth-child(2) {
  font-size: 36px;
  font-weight: 800;
}

.sidebar-footer {
  padding: 0.5rem;
  margin-top: auto;
}
.sidebar-footer .sidebar-profile .SideBarMenu .SideBarMenuItems {
  display: flex;
  flex-direction: column;
  padding: 0.3rem;
  width: 100%;
}
.sidebar-footer .sidebar-profile .SideBarMenu .SideBarMenuItems .MenuItemProfile.WithMargin {
  margin-bottom: 0.5rem;
}
.sidebar-footer .sidebar-profile .SideBarMenu .SideBarMenuItems .MenuItemProfile {
  display: flex;
  width: 100%;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  border-bottom: 1px solid var(--neutral-100);
}
.sidebar-footer .sidebar-profile .SideBarMenu .SideBarMenuItems a {
  color: #000;
  text-decoration: none;
}
.sidebar-footer .sidebar-profile .SideBarMenu .SideBarMenuItems .MenuItem.ShowLanguage {
  display: none;
}
.sidebar-footer .sidebar-profile .SideBarMenu .SideBarMenuItems .MenuItem {
  color: #000;
}
.sidebar-footer .sidebar-profile .SideBarMenu .SideBarMenuItems .MenuItem.Split span {
  font-size: 11px;
}
.sidebar-footer .sidebar-profile .SideBarMenu .SideBarMenuItems .MenuItem.Split {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-footer .sidebar-profile .SideBarMenu .SideBarMenuItems .MenuItem {
  width: 100%;
}
.sidebar-footer .sidebar-profile .SideBarMenu .SideBarMenuItems .MenuItem:hover {
  background: var(--neutral-100);
}
.sidebar-footer .sidebar-profile .SideBarMenu .SideBarMenuItems .MenuItem {
  border-radius: 12px;
  padding: 0.5rem 0.8rem;
  font-size: 14px;
  font-weight: 500;
}
.sidebar-footer .sidebar-profile .SideBarMenu.Hide {
  display: none;
}
.sidebar-footer .sidebar-profile .SideBarMenu {
  display: flex;
  position: absolute;
  bottom: 0px;
  left: 0px;
  background: #fff;
  min-height: 200px;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}
.sidebar-footer .sidebar-profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #171717;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.sidebar-footer .sidebar-profile:hover {
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}
.sidebar-footer .sidebar-profile .profile-avatar.Big {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  background: #fff;
}
.sidebar-footer .sidebar-profile .profile-avatar.Big img {
  border-radius: 10px;
  object-fit: cover;
}
.sidebar-footer .sidebar-profile .profile-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neutral-100), var(--neutral-300));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.sidebar-footer .sidebar-profile .profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.sidebar-footer .sidebar-profile .profile-info.Sticked .profile-email {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
}
.sidebar-footer .sidebar-profile .profile-info.Sticked .profile-name {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}
.sidebar-footer .sidebar-profile .profile-info.Sticked {
  position: absolute;
  bottom: 0;
  gap: 0.2rem;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1rem;
  color: #fff;
}
.sidebar-footer .sidebar-profile .profile-info {
  flex: 1;
  min-width: 0;
}
.sidebar-footer .sidebar-profile .profile-info .profile-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #171717;
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-footer .sidebar-profile .profile-info .profile-email {
  font-size: 0.75rem;
  color: #525252;
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-footer .sidebar-profile .profile-action {
  width: 34px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #525252;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-footer .sidebar-profile .profile-action:hover {
  background-color: #f5f5f5;
  color: #171717;
}
.sidebar-footer .sidebar-profile .profile-action:focus {
  outline: none;
}
.sidebar-footer .sidebar-profile .profile-action svg {
  width: 0.875rem;
  height: 0.875rem;
}

.sidebar-collapsed .sidebar-footer {
  padding: 0.5rem 0.5rem;
}
.sidebar-collapsed .sidebar-footer .sidebar-profile {
  justify-content: center;
}
.sidebar-collapsed .sidebar-footer .sidebar-profile .profile-info {
  display: none;
}
.sidebar-collapsed .sidebar-footer .sidebar-profile .profile-action {
  display: none;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-overlay.sidebar-overlay-open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.sidebar-mobile-open {
    transform: translateX(0);
  }
  .sidebar-overlay {
    display: block;
  }
}
.sidebar-content::-webkit-scrollbar {
  width: 4px;
}

.sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-content::-webkit-scrollbar-thumb {
  background: #e5e5e5;
  border-radius: 2px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
  background: #525252;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.375rem;
  background-color: rgba(255, 255, 255, 0.5);
  color: #000000;
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-left: auto;
}
.sidebar-collapsed .nav-badge {
  margin: 0;
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
}

.nav-submenu {
  margin-left: 2.5rem;
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.sidebar-collapsed .nav-submenu {
  display: none;
}
.nav-submenu .nav-submenu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  color: #525252;
  font-size: 0.875rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-submenu .nav-submenu-item:hover {
  background-color: #f5f5f5;
  color: #171717;
}
.nav-submenu .nav-submenu-item.nav-submenu-active {
  background-color: #f5f5f5;
  color: #171717;
}

/*# sourceMappingURL=sidebar.css.map */
