/* v11.8 — one sidebar layout on every authenticated page. */
@media (min-width: 768px) {
  body.fansflex-app[class*="ff-route-"] .main-wrapper > .col-2.col-md-3.d-none.d-md-block,
  body#ff79-workspace-route.ff-route-dashboard-workspace .main-wrapper > .col-2.col-md-3.d-none.d-md-block,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .main-wrapper > .col-2.col-md-3.d-none.d-md-block {
    box-sizing: border-box;
    width: clamp(188px, 18.36vw, 294px) !important;
    min-width: 188px !important;
    max-width: clamp(188px, 18.36vw, 294px) !important;
    flex: 0 0 clamp(188px, 18.36vw, 294px) !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.fansflex-app[class*="ff-route-"] .main-wrapper > .content-wrapper,
  body#ff79-workspace-route.ff-route-dashboard-workspace .main-wrapper > .content-wrapper,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .main-wrapper > .col-md-9 {
    box-sizing: border-box;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 0% !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .side-menu {
    box-sizing: border-box;
    width: 100% !important;
    padding: 0 16px !important;
    color: #e8f2fa !important;
    background-color: #071c30 !important;
    background-image:
      linear-gradient(147deg, transparent 35%, rgba(95, 171, 226, .19) 41%, rgba(53, 127, 187, .09) 45%, transparent 53%),
      linear-gradient(180deg, #0c2b44 0%, #0a2238 56%, #071a2c 100%) !important;
    border-right: 1px solid rgba(135, 184, 219, .22) !important;
    box-shadow: inset -1px 0 rgba(255, 255, 255, .035), 9px 0 28px rgba(0, 0, 0, .15) !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu .ff-side-brand,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu .ff-side-brand,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .side-menu .ff-side-brand {
    display: flex !important;
    width: 100%;
    height: 54px !important;
    min-height: 54px !important;
    justify-content: center !important;
    margin: 0 0 8px !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu .ff-side-brand-full,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu .ff-side-brand-full,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .side-menu .ff-side-brand-full {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 38px !important;
    margin-inline: auto !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu .ff-side-brand-mark,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu .ff-side-brand-mark,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .side-menu .ff-side-brand-mark {
    display: none !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu .ff85-command-side,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu .ff85-command-side,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .side-menu .ff85-command-side {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    margin: 0 0 10px !important;
    padding: 10px 12px !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu .ff85-command-side kbd,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu .ff85-command-side kbd,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .side-menu .ff85-command-side kbd {
    display: none !important;
  }

  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app.ff-route-dashboard:not(.ff-route-dashboard-workspace) .side-menu .ff85-command-side kbd {
    display: none !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu .ff85-command-side-label,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu .ff85-command-side-label,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .side-menu .ff85-command-side-label {
    display: inline !important;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu-account,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu-account,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .side-menu-account {
    display: flex !important;
    min-height: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin: 0 0 14px !important;
    padding: 10px 0 18px !important;
    text-align: left !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu-account-avatar-link,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu-account-avatar-link {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu-account .user-avatar,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu-account .user-avatar {
    width: 58px !important;
    height: 58px !important;
    border: 2px solid #e7edf2 !important;
    box-shadow: 0 0 0 3px rgba(52, 143, 255, .22), 0 8px 25px rgba(0, 0, 0, .25) !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu-account-copy,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu-account-copy,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .side-menu-account-copy {
    display: flex !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body.fansflex-app[class*="ff-route-"] .ff77-sidebar-name {
    display: none !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu-account-username,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu-account-username {
    display: block !important;
    max-width: 100%;
    overflow: hidden;
    padding: 0 !important;
    color: #f5f8fb !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu-account-stats,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu-account-stats,
  body.fansflex-app[class*="ff-route-"] .ff78-sidebar-counter-row {
    display: flex !important;
    width: 100% !important;
    flex-wrap: wrap;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 3px 7px !important;
    margin: 3px 0 0 !important;
    color: #afc4d5 !important;
    font-size: 11px !important;
    text-align: left !important;
  }

  body.fansflex-app[class*="ff-route-"] .ff78-sidebar-counter,
  body.fansflex-app[class*="ff-route-"] .ff78-sidebar-counter strong,
  body.fansflex-app[class*="ff-route-"] .ff78-sidebar-counter span {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    flex-direction: row !important;
    gap: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #c4d4e0 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu .user-side-menu,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu .user-side-menu {
    align-items: stretch !important;
    gap: 3px !important;
    margin-top: 0 !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu .user-side-menu .nav-link,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu .user-side-menu .nav-link,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .side-menu .user-side-menu .nav-link {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    min-height: 43px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 1px 0 !important;
    padding: 9px 10px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #e4edf5 !important;
    box-shadow: none !important;
    font-size: 12px !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu .user-side-menu .nav-link:hover,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu .user-side-menu .nav-link:hover,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .side-menu .user-side-menu .nav-link:hover {
    border-color: rgba(160, 205, 237, .38) !important;
    background: rgba(77, 143, 191, .18) !important;
    color: #fff !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu .user-side-menu .nav-link.active,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu .user-side-menu .nav-link.active,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .side-menu .user-side-menu .nav-link.active {
    border-color: rgba(168, 211, 240, .57) !important;
    background: linear-gradient(155deg, rgba(78, 137, 180, .48), rgba(24, 66, 98, .82)) !important;
    color: #57a8e5 !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .24), 0 5px 14px rgba(0, 0, 0, .18) !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu .user-side-menu .icon-wrapper,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu .user-side-menu .icon-wrapper {
    display: inline-flex !important;
    width: 24px !important;
    min-width: 24px !important;
    height: auto !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 19px !important;
    opacity: 1 !important;
  }

  body.fansflex-app[class*="ff-route-"] .side-menu .side-menu-label,
  body#ff79-workspace-route.ff-route-dashboard-workspace .side-menu .side-menu-label,
  html:is([data-bs-theme="light"], [data-theme="light"]) body.fansflex-app[class*="ff-route-"] .side-menu .side-menu-label {
    display: inline !important;
    overflow: hidden;
    color: inherit !important;
    font-size: 12px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.fansflex-app[class*="ff-route-"] .ff-side-pro-card,
  body#ff79-workspace-route.ff-route-dashboard-workspace .ff-side-pro-card {
    min-height: 178px;
    margin: 14px 0 10px !important;
    padding: 64px 14px 14px !important;
    border: 1px solid rgba(171, 205, 229, .22) !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, rgba(7, 22, 35, .06), rgba(7, 22, 35, .97)), url('/images/fansflex-premium/home-pro-lamp.jpg') top center / 100% auto no-repeat, #081827 !important;
    text-align: left !important;
  }
}

@media (max-width: 767px) {
  body.fansflex-app[class*="ff-route-"] .side-menu .ff85-command-side kbd {
    display: none !important;
  }
}
