﻿/* Google Fonts - Space Grotesk */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
/* Tüm scroll çubuklarını gizlemek için genel stil */
/** {
    -ms-overflow-style: none;*/ /* IE and Edge */
/*scrollbar-width: none;*/ /* Firefox */
/*}*/

/* Webkit tabanlı tarayıcılar için scroll çubuğunu gizle */
/**::-webkit-scrollbar {
        display: none;
    }*/
/* Spesifik olarak menu-container için scroll çubuğunu gizle */
.menu-container {
  -ms-overflow-style: none; /*IE and Edge */
  scrollbar-width: none; /*Firefox */
}

.menu-container::-webkit-scrollbar {
  display: none;
}

/* Nacelle font ailesi tanımlamaları */
@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-UltraLight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-UltraLightItalic.otf") format("opentype");
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-Thin.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-ThinItalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-LightItalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-SemiBoldItalic.otf") format("opentype");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-Heavy.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-HeavyItalic.otf") format("opentype");
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Nacelle";
  src: url("../../fonts/Nacelle-BlackItalic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
}

:root {
  /* Spacing Values */
  --spacing-1: 4px;
  --spacing-2: 8px;
  --spacing-3: 12px;
  --spacing-4: 16px;
  --spacing-5: 20px;
  --spacing-6: 24px;
  --spacing-7: 28px;
  --spacing-8: 32px;
  --spacing-10: 40px;
  --spacing-12: 48px;
  --spacing-16: 64px;
  --spacing-20: 80px;
  --spacing-24: 96px;
  --spacing-32: 128px;
  --spacing-40: 160px;
  --spacing-48: 192px;
  /* Primary Colors */
  --primary-50: #e7fef1;
  --primary-100: #dafedf;
  --primary-200: #b6fad1;
  --primary-300: #e7fef1;
  --primary-400: #a2e5ea;
  --primary-500: #14cd65;
  --primary-600: #11bf7b;
  --primary-700: #0db5e2;
  --primary-800: #026520;
  --primary-900: #115d1d;
  --primary-950: #033d0c;
  /* Neutral Colors */
  --neutral-50: #f6f6f6;
  --neutral-100: #e7e7e7;
  --neutral-200: #d1d1d1;
  --neutral-300: #b0b0b0;
  --neutral-400: #888888;
  --neutral-500: #14cd65;
  --neutral-600: #656565;
  --neutral-700: #4f4f4f;
  --neutral-800: #454545;
  --neutral-900: #3d3d3d;
  --neutral-950: #212121;
  /* Success Colors */
  --success-50: #e795ea;
  --success-100: #dafedf;
  --success-300: #11bf2b;
  /* Warning Colors */
  --warning-50: #fff8ec;
  --warning-100: #ffd596;
  --warning-300: #f49300;
  /* Danger Colors */
  --danger-50: #fef3f2;
  --danger-100: #fde5e3;
  --danger-300: #f03d06;
  /* Typography */
  --font-family-nacelle: "Nacelle", sans-serif;
  --font-family-space: 'Space Grotesk', sans-serif;
}
/* Temel Element Stilleri */
main {
  display: block;
}

a {
  color: var(--primary-500);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-600);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

/* Form Elementleri Base Stilleri */
button,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  cursor: pointer;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

input {
  overflow: visible;
}

select {
  text-transform: none;
}

textarea {
  overflow: auto;
  resize: vertical;
  min-height: 100px;
}

/* Liste Stilleri */
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Başlık Stilleri */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: var(--spacing-4);
  font-weight: 500;
  line-height: 1.2;
}

/* Paragraf Stilleri */
p {
  margin-top: 0;
  margin-bottom: var(--spacing-4);
}

/* Small Text */
small {
  font-size: var(--font-size-small);
}

/* Code ve Pre */
code,
pre {
  font-family: monospace;
  font-size: var(--font-size-small);
  background-color: var(--neutral-50);
  padding: var(--spacing-1) var(--spacing-2);
  border-radius: var(--input-border-radius);
}

pre {
  padding: var(--spacing-4);
  overflow: auto;
  white-space: pre-wrap;
  margin-bottom: var(--spacing-4);
}

/* Blockquote */
blockquote {
  margin: 0 0 var(--spacing-4);
  padding: var(--spacing-4);
  border-left: 4px solid var(--primary-500);
  background-color: var(--neutral-50);
}

/* HR */
hr {
  border: 0;
  border-top: 1px solid var(--neutral-200);
  margin: var(--spacing-4) 0;
}

/* Selection */
::selection {
  background-color: var(--primary-500);
  color: white;
}

/* Placeholder */
::placeholder {
  color: var(--neutral-400);
  opacity: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
  background: var(--neutral-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neutral-500);
}

/* Print Styles */
@media print {
  body {
    background-color: white;
  }

  a {
    text-decoration: underline;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
/* Sayfa Ana Yapısı */
.page {
  display: flex;
  min-height: 100vh;
  position: relative;
  background: white;
  flex-direction: column;
}

/* Sidebar Stili */
.main-sidebar-sticky {
  width: 240px;
  min-width: 240px;
  background: white;
  border-right: 1px solid var(--neutral-100);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9;
  display: flex; /* Yeni eklenen */
  flex-direction: column; /* Yeni eklenen */
  overflow: hidden; /* overflow-y yerine */
  padding: 0; /* padding'i kaldır */
}

/* Sayfa yüklenmeden önce menü durumunu kontrol eden stiller */
html.sidebar-collapsed .main-sidebar-sticky {
  width: 60px;
  min-width: 60px;
  padding: 0;
  overflow: hidden;
}

html.sidebar-collapsed .main-content {
  margin-left: 60px;
  width: calc(100% - 60px);
}

html.sidebar-collapsed .main-footer {
  margin-left: 60px;
}

html.sidebar-collapsed .desktop-menu-toggle {
  background: transparent;
  left: 56px;
}

html.sidebar-collapsed .desktop-menu-toggle svg {
  display: none;
}

html.sidebar-collapsed .desktop-menu-toggle:hover {
  background: white;
}

html.sidebar-collapsed .desktop-menu-toggle:hover svg {
  display: block;
}

/* Collapsed menü için gerekli diğer stiller */
html.sidebar-collapsed .main-sidebar-sticky .logo-container {
  padding: 0rem 0rem;
}

html.sidebar-collapsed .main-sidebar-sticky .logo-container .logo a {
  display: flex;
  justify-content: center;
}

html.sidebar-collapsed .main-sidebar-sticky .logo-container .logo img {
  width: 18px;
  height: 18px;
  object-fit: cover;
  object-position: left center;
}

html.sidebar-collapsed .main-sidebar-sticky .logo-container .logo {
  position: relative;
  overflow: hidden;
  width: 60px;
  height: 40px;
}

html.sidebar-collapsed .main-sidebar-sticky .search-trigger {
  justify-content: flex-end;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
  min-width: 40px;
  width: 40px;
  position: relative;
  display: flex;
  align-items: center;
  border: none;
  background: transparent;
  color: var(--neutral-700);
}

html.sidebar-collapsed .main-sidebar-sticky .search-trigger span {
  display: none;
}

html.sidebar-collapsed .main-sidebar-sticky .search-trigger sg-icon {
  font-size: 18px;
  margin-right: 0;
  margin-left: auto;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 1);
  width: 18px;
  height: 18px;
}

html.sidebar-collapsed .main-sidebar-sticky .menu-container {
  padding: 0rem 0.5rem;
}

html.sidebar-collapsed .main-sidebar-sticky .menu-category {
  display: none;
}

html.sidebar-collapsed .main-sidebar-sticky .menu-item {
  justify-content: center;
  padding: 0.5rem;
  margin: 0.25rem 0;
  position: relative;
}

html.sidebar-collapsed .main-sidebar-sticky .menu-item span {
  display: none;
}

html.sidebar-collapsed .main-sidebar-sticky .menu-item img {
  margin-right: 0;
  width: 20px;
  height: 20px;
}

.list-group-item {
  padding: 10px;
  margin-bottom: -1px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.list-group-item:hover {
  background-color: var(--neutral-50);
}

.badge {
  padding: 5px 10px;
  border-radius: 20px;
  background-color: var(--primary-500);
  color: white;
}
.fund-search-image {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 4px;
  object-fit: cover;
}

.fund-search-name {
  font-size: 11px;
}

.fund-search-dropdown {
  position: fixed;
  top: 10%;
  left: 240px;
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  padding: 20px;
  width: 350px;
  display: none;
}

.fund-search-dropdown:before {
  content: "";
  position: absolute;
  left: -8px;
  top: 20px;
  width: 16px;
  height: 16px;
  background: white;
  border-left: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
  transform: rotate(45deg);
  z-index: -1;
}
.search-title {
  padding: 10px;
  color: var(--neutral-600);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--neutral-100);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  color: var(--neutral-500);
}

.empty-state i {
  font-size: 24px;
  margin-bottom: 8px;
}

.empty-state p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1200px) {
  .main-footer .footer-content span {
    font-size: 12px;
  }
}

@media (max-width: 992px) {
  .fund-search-dropdown {
    position: fixed;
    top: 27%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    margin-left: 0;
    width: 90%;
    max-width: 320px;
  }

  .fund-search-dropdown:before {
    display: none;
  }

  .search-container:hover .fund-search-dropdown {
    transform: translate(-50%, -50%) scale(1);
  }
  .main-footer .footer-content {
    flex-direction: column;
    align-items: center;
  }
}

/* Ana İçerik Alanı */
.main-content {
  flex: 1;
  margin-left: 240px;
  min-height: 100vh;
  transition: all 0.3s ease;
  width: calc(100% - 240px);
  display: flex;
  flex-direction: column;
}

.container {
  padding: 56px 40px !important;
  max-width: 100% !important;
  flex: 1;
}

.logo-container {
  padding: 1rem;
  padding-bottom: 0;
  background: white;
  flex-shrink: 0; /* Sabit kalmasını sağlar */
}
.menu-container {
  flex: 1;
  padding: 1rem;
  min-height: 0; /* Önemli - flex container içinde scroll için gerekli */
  overflow-y: auto;
}

/*    .menu-container::-webkit-scrollbar {
        width: 6px;
    }

    .menu-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .menu-container::-webkit-scrollbar-thumb {
        background-color: var(--neutral-200);
        border-radius: 3px;
    }*/

/* User profile container için yeni stil */
.user-profile-container {
  padding: 0rem 1rem 1rem 1rem;
  background: white;
  flex-shrink: 0; /* Sabit kalmasını sağlar */
}
/* Footer Stili */
.main-footer {
  margin-top: auto;
  background: white;
  padding: 2rem;
  border-top: 1px solid var(--neutral-100);
  position: relative;
  transition: all 0.3s ease;
}

.main-footer .footer-content {
  display: flex;
  justify-content: space-between;
}

.main-footer .footer-content span {
  flex: 1 1;
  font-size: 14px;
}

.main-footer .footer-content .faq-link {
  text-align: end;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  background: white;
  border: 1px solid var(--neutral-100);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn {
  padding: 10px 16px;
  border-radius: 24px;
  background: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.btn-primary {
  background: var(--success-300);
  color: white;
}

.btn-secondary {
  border: 1px solid #e5e7eb;
  color: #333;
}
/* Sidebar toggle button for desktop */
.desktop-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 203px; /* Sidebar genişliği kadar */
  top: 21px;
  z-index: 997;
  background: white;
  cursor: pointer;
  width: 13px;
  height: 13px;
}

.main-sidebar-sticky.collapsed {
  width: 60px;
  min-width: 60px;
  padding: 0;
  overflow: hidden;
}

.main-sidebar-sticky.collapsed .logo-container {
  padding: 0rem 0rem;
}

.main-sidebar-sticky.collapsed .search-trigger {
  justify-content: flex-end;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
  min-width: 40px;
  width: 40px;
  position: relative;
  display: flex;
  align-items: center;
  border: none;
  background: transparent;
  color: var(--neutral-700);
}

.main-sidebar-sticky.collapsed .search-trigger span {
  display: none;
}

.main-sidebar-sticky.collapsed .search-trigger sg-icon {
  font-size: 18px;
  margin-right: 0;
  margin-left: auto;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 1);
  width: 18px;
  height: 18px;
}

.main-sidebar-sticky.collapsed .search-trigger::after {
  content: attr(data-title);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  margin-left: 8px;
  pointer-events: none;
}

.main-sidebar-sticky.collapsed .search-trigger:hover {
  background: var(--neutral-50);
}

.main-sidebar-sticky.collapsed .search-trigger:hover::after {
  opacity: 1;
  visibility: visible;
}

.main-sidebar-sticky.collapsed .search-bottom-border {
  display: block;
}

.main-sidebar-sticky.collapsed .menu-container {
  padding: 0rem 0.5rem;
}

.main-sidebar-sticky.collapsed .menu-category {
  display: none;
}

.main-sidebar-sticky.collapsed .menu-item {
  justify-content: center;
  padding: 0.5rem;
  margin: 0.25rem 0;
  position: relative;
}

.main-sidebar-sticky.collapsed .menu-item span {
  display: none;
}

.main-sidebar-sticky.collapsed .menu-item::after {
  content: attr(data-title);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  margin-left: 8px;
  pointer-events: none;
}

.main-sidebar-sticky.collapsed .menu-item:hover::after {
  opacity: 1;
  visibility: visible;
}

.main-sidebar-sticky.collapsed .menu-item img {
  margin-right: 0;
  width: 20px;
  height: 20px;
}

.main-sidebar-sticky.collapsed .menu-item.subscription-button {
  padding: 0.5rem;
  justify-content: center;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  border-radius: 8px;
  border: none;
  margin: 25px 0 8px 0;
  width: 40px;
  height: 40px;
}

.main-sidebar-sticky.collapsed .menu-item.subscription-button.freemium {
  background: linear-gradient(135deg, #90D8D0 0%, #7BC4BC 100%);
}

.main-sidebar-sticky.collapsed .menu-item.subscription-button.premium {
  background: linear-gradient(135deg, #11BF2B 0%, #0EA825 100%);
}

.main-sidebar-sticky.collapsed .menu-item.subscription-button .subscription-text {
  display: none;
}

.main-sidebar-sticky.collapsed .menu-item.subscription-button .subscription-upgrade-section {
  display: none;
}

.main-sidebar-sticky.collapsed .menu-item.subscription-button .subscription-icon {
  margin-right: 0;
  width: 26px;
  height: 26px;
  display: block;
  opacity: 1;
}

.main-sidebar-sticky.collapsed .menu-item.subscription-button.freemium .subscription-icon {
  display: none;
}

.main-sidebar-sticky.collapsed .rocket-icon {
  width: 26px;
  height: 26px;
  margin-right: 0;
  display: block;
}

.main-sidebar-sticky.collapsed .menu-item.subscription-button.premium .rocket-icon {
  display: block;
}

.main-sidebar-sticky.collapsed .menu-item.subscription-button.freemium .rocket-icon {
  display: none;
}

.main-sidebar-sticky.collapsed .basket-container {
  padding: 0 0.5rem;
}

.main-sidebar-sticky.collapsed .basket-compact-header {
  justify-content: center;
  padding: 0.5rem;
  position: relative;
}

.main-sidebar-sticky.collapsed .basket-info span {
  display: none;
}

.main-sidebar-sticky.collapsed .basket-compact {
  position: relative;
  margin: 0.5rem 0;
}

.main-sidebar-sticky.collapsed .basket-compact::after {
  content: attr(data-title);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  margin-left: 8px;
  pointer-events: none;
}

.main-sidebar-sticky.collapsed .basket-compact:hover::after {
  opacity: 1;
  visibility: visible;
}

.main-sidebar-sticky.collapsed .basket-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary-500);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.main-sidebar-sticky.collapsed .user-profile-container {
  padding: 0 0.5rem 1rem 0.5rem;
}

.main-sidebar-sticky.collapsed .user-profile {
  justify-content: center;
  padding: 0.5rem;
  position: relative;
}

.main-sidebar-sticky.collapsed .user-profile .profile-info,
.main-sidebar-sticky.collapsed .user-profile .arrow-icon {
  display: none;
}

.main-sidebar-sticky.collapsed .user-profile .user-avatar {
  width: 27px;
  height: 27px;
  margin: 0;
}

.main-sidebar-sticky.collapsed .user-profile::after {
  content: attr(data-title);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  margin-left: 8px;
  pointer-events: none;
}

.main-sidebar-sticky.collapsed .user-profile:hover::after {
  opacity: 1;
  visibility: visible;
}

.main-content.expanded {
  margin-left: 60px;
  width: calc(100% - 60px);
}

.main-footer.expanded {
  margin-left: 60px;
}


@media (max-width: 992px) {
  .container {
    padding: 1rem;
  }
  .desktop-menu-toggle {
    display: none;
  }
}
/* Overlay for mobile */
.sidebar-overlay {
  display: none; /* Başlangıçta gizli */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 8;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Başlangıçta tıklanamaz */
}

/* Search Bar */
.search-container {
  position: relative;
}

.search-bottom-border {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 0.75rem 0;
  width: 100%;
  display: none;
}

.search-input {
  width: 100%;
  padding: 8px 35px 8px 15px;
  border: 1px solid var(--neutral-100);
  border-radius: 8px;
  font-size: 14px;
  background-color: var(--neutral-50);
}

.search-input:focus {
  border-color: var(--neutral-200);
  background-color: white;
}

.keyboard-shortcut {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--neutral-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--neutral-600);
}

/* Menu Categories */
.menu-category {
  margin: 0.75rem 0 0.75rem 0;
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--font-family-space);
  font-size: 12px;
  font-weight: 400;
  line-height: 23.87px;
  letter-spacing: 0px;
  vertical-align: middle;
  padding-left: 0.5rem;
}

/* Menu Items */
.menu-item {
  display: flex;
  align-items: center;
  padding: 0.35rem 1rem;
  margin: 0.25rem 0;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  color: #131313;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: regular;
  line-height: 14px;
  letter-spacing: -0.25px;
}

.menu-item:hover {
  background: var(--neutral-50);
  text-decoration: none;
}

.menu-item.active {
  background: var(--primary-50);
  color: var(--primary-500);
}

.menu-item img {
  margin-right: 12px;
  width: 16px;
  height: 16px;
}

/* User Profile */
/* Base profile styles */
.user-profile {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-top: auto;
  gap: 12px;
}


.user-profile .user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.user-profile .profile-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.user-profile .user-name {
  color: #333;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 2px;
}

.user-profile .membership-badge {
  font-size: 12px;
  color: #666;
}

.user-profile .arrow-icon {
  color: #666;
  font-size: 16px;
}

/* Premium specific styles */
.user-profile.premium {
  background: linear-gradient(135deg, #00ba34 0%, #11bf7b 100%);
}

.user-profile.premium:hover {
  background: linear-gradient(135deg, #00a52e 0%, #10ab6e 100%);
}

.user-profile.premium .user-avatar {
  border-color: rgba(255, 255, 255, 0.3);
}

.user-profile.premium .user-name {
  color: white;
}

.user-profile.premium .membership-badge {
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.user-profile.premium .crown-icon {
  color: #ffd700;
  font-size: 16px;
}

.user-profile.premium .arrow-icon {
  color: rgba(255, 255, 255, 0.7);
}

.user-profile a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

/* Fon Sepeti - Ana Container */
.basket-container {
  padding: 0rem 1rem;
  background: white;
  flex-shrink: 0; /* Sabit kalmasını sağlar */
}
.basket-compact {
  position: relative;
  margin: 1rem 0;
  cursor: pointer;
  z-index: 9999;
}

/* Sepet Header - Compact Görünüm */
.basket-compact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--neutral-100);
  border-radius: 12px;
  transition: all 0.2s ease;
  margin: 0; /* Margin'i kaldır */
}

.basket-compact:hover .basket-compact-header {
  border-color: var(--primary-500);
  background: var(--primary-50);
}

/* Basket Info Section */
.basket-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--neutral-900);
  font-weight: 500;
  font-size: 14px;
}

/* Sepet Count Badge */
.basket-count {
  background: var(--primary-500);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 12px;
  min-width: 24px;
  text-align: center;
}

/* Sepet Dropdown Panel */
.basket-dropdown {
  position: fixed;
  top: auto;
  bottom: -15%;
  left: 235px; /* sidebar genişliği */
  transform: translateY(-50%);
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  padding: 20px;
  width: 320px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.basket-compact:hover .basket-dropdown {
  visibility: visible;
  opacity: 1;
}
.basket-hover-bridge {
  position: absolute;
  top: 0;
  left: 100%;
  width: 30px; /* Köprü genişliği */
  height: 100%;
  background: transparent;
}

/* Dropdown için güvenli hover alanı */
.basket-safe-area {
  position: absolute;
  top: -50px;
  left: 100%;
  width: 340px; /* dropdown width + margin */
  height: calc(100% + 100px);
  pointer-events: none;
}

.basket-dropdown:hover,
.basket-compact:hover .basket-safe-area {
  pointer-events: auto;
}

/* Sol taraftaki üçgen işaretçi */
.basket-dropdown:before {
  content: "";
  position: absolute;
  left: -8px;
  top: 68%;
  width: 16px;
  height: 16px;
  background: white;
  border-left: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
  transform: rotate(45deg);
  z-index: -1;
}

/* Header */
.basket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--neutral-100);
}

.basket-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0;
}

.basket-total {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-500);
  padding: 4px 12px;
  background: var(--primary-50);
  border-radius: 20px;
}

/* Action Buttons */
.basket-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.basket-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--neutral-100);
  border-radius: 8px;
  color: var(--neutral-700);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.basket-action-btn svg {
  flex-shrink: 0;
}

/* Buton Hover Stilleri */
.watchlist-btn:hover {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #16a34a;
}

.compare-btn:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #2563eb;
}

.portfolio-btn:hover {
  background: #faf5ff;
  border-color: #a855f7;
  color: #9333ea;
}

.clear-btn:hover {
  background: #fef2f2;
  border-color: #ef4444;
  color: #dc2626;
}

/* Sidebar collapsed durumu */
.main-sidebar-sticky.collapsed + .main-content .basket-dropdown {
  left: 65px;
  bottom: -5%;
  transform: translateY(-50%);
}

.main-sidebar-sticky.collapsed .basket-compact:hover .basket-dropdown {
  left: 65px;
  bottom: -17%;
  transform: translateY(-50%);
}

.main-sidebar-sticky.collapsed .basket-safe-area {
  left: 100%;
  width: 360px;
  top: -25px;
}

.main-sidebar-sticky.collapsed .basket-hover-bridge {
  left: 100%;
  width: 25px;
  top: 0;
}

.main-sidebar-sticky.collapsed .basket-dropdown:before {
  left: -8px;
  top: 75%;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
  .basket-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: 0;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 320px;
  }

  .basket-hover-bridge,
  .basket-safe-area {
    display: none; /* Mobile'da köprüye gerek yok */
  }

  .basket-dropdown:before {
    display: none;
  }

  .basket-compact:hover .basket-dropdown {
    transform: translate(-50%, -50%) scale(1);
  }

  /* Mobile overlay */
  .basket-compact:hover:after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1005;
  }
}

@media (max-width: 768px) {
  .basket-actions {
    gap: 8px;
  }

  .basket-action-btn {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
  .main-sidebar-sticky {
    transform: translateX(-100%);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    width: 240px !important;
    min-width: 240px !important;
  }

  .main-sidebar-sticky.active {
    transform: translateX(0);
  }

  .main-sidebar-sticky.collapsed {
    width: 240px !important;
    min-width: 240px !important;
  }

  .main-content {
    margin-left: 0;
    width: 100%;
    padding-top: 60px; /* For hamburger menu */
  }

  .main-content.expanded {
    margin-left: 0;
    width: 100%;
  }

  .main-footer {
    margin-left: 0;
  }

  .main-footer.expanded {
    margin-left: 0;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .desktop-menu-toggle {
    display: none;
  }

  .sidebar-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto; /* Aktif olduğunda tıklanabilir */
  }

  .sidebar-overlay.active {
    opacity: 1;
  }
}
.loading-spinner {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  color: #6b7280;
}

.loading-spinner.active {
  display: flex;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-radius: 50%;
  border-top-color: #11bf2b;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}

.loading-spinner span {
  color: #6b7280;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Scrollbar Customization */
.main-sidebar-sticky {
  scrollbar-width: thin;
  scrollbar-color: var(--neutral-200) transparent;
}

.main-sidebar-sticky::-webkit-scrollbar {
  width: 6px;
}

.main-sidebar-sticky::-webkit-scrollbar-track {
  background: transparent;
}

.main-sidebar-sticky::-webkit-scrollbar-thumb {
  background-color: var(--neutral-200);
  border-radius: 3px;
}

/* Modal Styles */
.modal-backdrop-confirm,
.modal-backdrop-success,
.modal-backdrop-error {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000000;
}

.modal-content-confirm,
.modal-content-success,
.modal-content-error {
  background: white;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  overflow: hidden;
}

.modal-body-confirm,
.modal-body-success,
.modal-body-error {
  padding: 24px;
}

.modal-title-confirm {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 24px;
}

.modal-buttons-confirm {
  display: flex;
  gap: 16px;
}

.btn-no-confirm,
.btn-yes-confirm {
  flex: 1;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-no-confirm {
  background: #f8f9fa;
  color: #666;
}

.btn-no-confirm:hover {
  background: #e9ecef;
}

.btn-yes-confirm {
  background: #00ba34;
  color: white;
}

.btn-yes-confirm:hover {
  background: #009e2c;
}

.success-icon,
.error-icon {
  margin-bottom: 16px;
}

.modal-title-success,
.modal-title-error {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.success-message,
.error-message {
  color: #666;
  font-size: 14px;
  margin-bottom: 24px;
}

.btn-ok-success,
.btn-ok-error {
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s;
  width: 100%;
}

.btn-ok-success {
  background: #00ba34;
  color: white;
}

.btn-ok-success:hover {
  background: #009e2c;
}

.btn-ok-error {
  background: #dc3545;
  color: white;
}

.btn-ok-error:hover {
  background: #c82333;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.pt-0 {
  padding-top: 0;
}

.float-right {
  float: right;
}

.mr-4 {
  margin-right: 1rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.form-group input:focus {
  border-color: #11bf2b;
}
/* Watch List Modal Styles */
/* Basket Modal Styles */
.basket-watch-list-modal,
.basket-create-list-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.basket-watch-list-modal.active,
.basket-create-list-modal.active {
  display: flex;
}

.watch-list-modal-content,
.create-list-modal-content {
  background: white;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  padding: 24px;
}

.watch-list-container {
  margin: 20px 0;
}
#fundExistingWatchlists {
  max-height: 400px;
  overflow-y: auto;
}
#basketExistingWatchlists {
  max-height: 400px;
  overflow-y: auto;
}
.watchlist-item {
    display: flex;
    align-items: center;
    padding: 12px; 
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px  solid #e5e7eb;
}

.watchlist-item:hover {
  background: #f3f4f6;
}

.watchlist-item.selected {
  border-color: #11bf2b;
  background: #dcfce7;
}

.watchlist-info {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    flex: 1;
}

.watchlist-name {
  font-weight: 500;
  color: #111827;
  margin-bottom: 4px;
  font-family: Space Grotesk;
  font-size:14px;
}

.watchlist-count {
  color: #6b7280;
  font-family: Nacelle;
  font-size:14px;
  font-weight: 400;

}

.basket-create-new-list-btn {
  width: 100%;
  padding: 12px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
}

.basket-create-new-list-btn:hover {
  background: #f9fafb;
}

.basket-watch-list-submit-btn,
.basket-create-list-submit-btn {
  width: 100%;
  padding: 12px;
  background: #11bf2b;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.basket-watch-list-submit-btn:disabled,
.basket-create-list-submit-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
}
.logo {
  padding: 0 11px;
}

.logo a {
  text-decoration: none;
  display: inline-block;
  color: transparent;
  width: 80px;
  height: 31px;
  background: url('../../images/iyiGelirLogo.svg')
}

.collapsed .logo a {
  width: 100%;
  height: 100%;
  background: url('../../images/iyiGelirLogoComp.svg') bottom center / 30px no-repeat;
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.menu-category.open .toggle-icon {
  transform: rotate(90deg);
}

.positive {
  color: var(--success-300) !important;
}
.negative {
  color: var(--danger-300) !important;
}
.neutral {
  color: dimgrey;
}

.select2-fund-result {
  display: flex;
  align-items: center;
  padding: 4px 0;
}

.select2-fund-result .fund-image {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  margin-right: 12px;
}

.select2-fund-result .fund-info {
  display: flex;
  flex-direction: column;
}

.select2-fund-result .fund-code {
  font-weight: 500;
  color: #111;
}

.select2-fund-result .fund-name {
  font-size: 13px;
  color: #6b7280;
}

.main-sidebar-sticky.collapsed .menu-item::after,
.main-sidebar-sticky.collapsed .search-trigger::after,
.main-sidebar-sticky.collapsed .basket-compact::after,
.main-sidebar-sticky.collapsed .user-profile::after {
  content: attr(data-title);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 10000;
  margin-left: 10px;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.main-sidebar-sticky.collapsed .menu-item:hover::after,
.main-sidebar-sticky.collapsed .search-trigger:hover::after,
.main-sidebar-sticky.collapsed .basket-compact:hover::after,
.main-sidebar-sticky.collapsed .user-profile:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(2px);
}

/* Tooltip ok işareti */
.main-sidebar-sticky.collapsed .menu-item::before,
.main-sidebar-sticky.collapsed .search-trigger::before,
.main-sidebar-sticky.collapsed .basket-compact::before,
.main-sidebar-sticky.collapsed .user-profile::before {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 4px solid rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 10001;
  margin-left: 6px;
  pointer-events: none;
}

.main-sidebar-sticky.collapsed .menu-item:hover::before,
.main-sidebar-sticky.collapsed .search-trigger:hover::before,
.main-sidebar-sticky.collapsed .basket-compact:hover::before,
.main-sidebar-sticky.collapsed .user-profile:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(2px);
}

.custom-tooltip {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  z-index: 10000;
  margin-left: 10px;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease;
}

.custom-tooltip::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 4px solid rgba(0, 0, 0, 0.9);
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.main-sidebar-sticky.collapsed .menu-item:hover::after,
.main-sidebar-sticky.collapsed .search-trigger:hover::after,
.main-sidebar-sticky.collapsed .basket-compact:hover::after,
.main-sidebar-sticky.collapsed .user-profile:hover::after {
  animation: tooltipFadeIn 0.2s ease forwards;
}

@media (max-width: 768px) {
  .main-sidebar-sticky.collapsed .menu-item::after,
  .main-sidebar-sticky.collapsed .search-trigger::after,
  .main-sidebar-sticky.collapsed .basket-compact::after,
  .main-sidebar-sticky.collapsed .user-profile::after {
    font-size: 11px;
    padding: 5px 8px;
    margin-left: 8px;
  }
}

@media (max-width: 768px) {
  .menu-item.subscription-button {
    margin: 25px 0 8px 0;
    outline: none;
  }

  .menu-item.subscription-button.freemium {
    background: linear-gradient(135deg, #90D8D0 0%, #7BC4BC 100%);
    border: 2px solid #90D8D0;
    outline: none;
  }

  .menu-item.subscription-button.premium {
    background: linear-gradient(135deg, #11BF2B 0%, #0EA825 100%);
    border: 2px solid #11BF2B;
    outline: none;
  }

  /* Mobilde collapsed sidebar durumunda subscription button boyutu */
  .main-sidebar-sticky.collapsed .menu-item.subscription-button {
    width: 40px;
    height: 40px;
  }

  .upgrade-button {
    width: 60px;
    height: 24px;
    font-size: 11px;
    line-height: 13px;
    padding: 4px 8px;
    outline: none;
  }

  .menu-item.subscription-button.freemium .subscription-icon {
    display: none;
  }

  .main-sidebar-sticky.collapsed .menu-item.subscription-button.freemium .subscription-icon {
    display: none;
  }

  .main-sidebar-sticky.collapsed .menu-item.subscription-button.freemium .subscription-upgrade-section {
    display: none;
  }

  .subscription-icon {
    width: 24px;
    height: 24px;
  }
}

.subscription-upgrade-section {
  display: flex;
  align-items: center;
}

.upgrade-button {
  background: #11BF2B;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: -0.25px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 67px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.upgrade-button:hover {
  background: #0EA825;
  transform: translateY(-1px);
}

.upgrade-text {
  white-space: nowrap;
  font-size: 12px;
  line-height: 14px;
}

.menu-item.subscription-button.freemium .subscription-title {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: -0.25px;
  color: #FFFFFF;
}

.menu-item.subscription-button.freemium .upgrade-button {
  background: #11BF2B;
  width: 67px;
  height: 27px;
  border-radius: 4px;
}

.menu-item.subscription-button.freemium {
  outline: none;
}

.menu-item.subscription-button.premium .subscription-upgrade-section {
  display: none;
}

.menu-item.subscription-button.premium {
  outline: none;
}

.main-sidebar-sticky.collapsed .menu-item.subscription-button.freemium .subscription-upgrade-section {
  display: none;
}

.main-sidebar-sticky.collapsed .subscription-icon {
  width: 26px;
  height: 26px;
  margin-right: 0;
  display: block;
}

.main-sidebar-sticky.collapsed .menu-item.subscription-button.premium .subscription-icon {
  display: block;
}

.tooltip {
  z-index: 99999 !important;
}

.tooltip-inner {
  z-index: 99999 !important;
}

.bs-tooltip-auto[x-placement^="right"],
.bs-tooltip-right {
  z-index: 99999 !important;
}

.bs-tooltip-auto[x-placement^="left"],
.bs-tooltip-left {
  z-index: 99999 !important;
}

.bs-tooltip-auto[x-placement^="top"],
.bs-tooltip-top {
  z-index: 99999 !important;
}

.bs-tooltip-auto[x-placement^="bottom"],
.bs-tooltip-bottom {
  z-index: 99999 !important;
}

[data-popper-placement] {
  z-index: 99999 !important;
}

.main-sidebar-sticky.collapsed .menu-item::after,
.main-sidebar-sticky.collapsed .search-trigger::after,
.main-sidebar-sticky.collapsed .basket-compact::after,
.main-sidebar-sticky.collapsed .user-profile::after {
  z-index: 100000 !important;
}

.main-sidebar-sticky.collapsed .menu-item::before,
.main-sidebar-sticky.collapsed .search-trigger::before,
.main-sidebar-sticky.collapsed .basket-compact::before,
.main-sidebar-sticky.collapsed .user-profile::before {
  z-index: 100001 !important;
}

body > .tooltip {
  position: fixed !important;
  z-index: 99999 !important;
}

.tooltip .tooltip-arrow,
.tooltip .arrow {
  z-index: 99999 !important;
}