/* Pearl Project v17.8.75: kichik oyna uchun chap menyu tuzatishi.
   Baza, API va navigatsiya funksiyalariga tegmaydi. */
@media (min-width: 721px) {
  html body #app .sidebar {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    overscroll-behavior: contain;
  }
  html body #app .sidebar > .brand,
  html body #app .sidebar > .tiny,
  html body #app .sidebar > .language-picker {
    flex: 0 0 auto !important;
  }
  html body #app .sidebar > nav {
    display: grid !important;
    grid-auto-rows: max-content;
    align-content: start;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(167,195,214,.45) transparent;
    overscroll-behavior: contain;
    padding-right: 3px;
    padding-bottom: 8px;
  }
  html body #app .sidebar > nav::-webkit-scrollbar {width: 5px;}
  html body #app .sidebar > nav::-webkit-scrollbar-thumb {background:rgba(167,195,214,.42);border-radius:8px;}
  html body #app .sidebar > .sidebar-footer {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    margin-top: 0 !important;
    flex: 0 0 auto !important;
    min-width: 0;
    z-index: 1;
    display: grid !important;
    align-content: start;
  }
  html body #app .sidebar > .sidebar-footer #who {
    overflow-wrap: anywhere;
    min-width: 0;
  }
  html body #app .sidebar > .sidebar-footer .navsmall {
    min-height: 24px;
    overflow-wrap: anywhere;
  }
}
@media (min-width: 721px) and (max-height: 720px) {
  html body #app .sidebar .tiny { padding-bottom: 8px !important; }
  html body #app .sidebar .language-picker { margin-top: 5px !important; margin-bottom: 8px !important; }
  html body #app .sidebar > .sidebar-footer { padding-top: 6px !important; padding-bottom: 6px !important; gap: 3px !important; }
}
@media (min-width: 721px) and (max-height: 520px) {
  html body #app .sidebar { padding-top: 7px !important; padding-bottom: 7px !important; }
  html body #app .sidebar .sath-logo-motion { max-height: 28px; overflow: hidden; }
  html body #app .sidebar .tiny { padding-bottom: 3px !important; }
  html body #app .sidebar .language-picker { margin-top: 2px !important; margin-bottom: 4px !important; }
  html body #app .sidebar > .sidebar-footer { font-size: 11px; }
}
/* Telefonda hamburger menyu o'zining mavjud scroll tartibida ishlaydi. */
@media (max-width: 720px) {
  html body #app .sidebar > .sidebar-footer { position: static !important; }
}
