/*
 * Extracted from index.php inline styles (Header V2 + Sidebar Mobile V2)
 * Date: 2026-03-25
 */

body.header-v2-enabled {
  --header-v2-control-height: 40px;
  --header-v2-bg: #ffffff;
  --header-v2-border: #d9e2ee;
  --header-v2-border-strong: #cfd9e6;
  --header-v2-soft-bg: #f8fbff;
  --header-v2-soft-hover: #f1f6fd;
  --header-v2-text: #2f3d52;
  --header-v2-muted: #7b8798;
  --header-v2-focus: rgba(48, 104, 188, 0.22);
  --header-v2-radius: 4px;
}

body.header-v2-enabled .top-head {
  min-height: 58px;
  padding-top: 7px;
  padding-bottom: 7px;
  padding-left: 15px !important;
  padding-right: 15px !important;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--header-v2-bg);
  border-bottom: 1px solid #e7edf5;
  box-shadow: 0 1px 8px rgba(25, 35, 55, 0.06);
  position: sticky;
  top: 0;
  z-index: 1001;
}

body.header-v2-enabled .top-head,
body.header-v2-enabled .top-head a,
body.header-v2-enabled .top-head input,
body.header-v2-enabled .top-head button,
body.header-v2-enabled .top-head .dropdown-menu,
body.header-v2-enabled .top-head .dropdown-menu a {
  font-size: 13px !important;
}

body.header-v2-enabled .top-head .navbar-toggle {
  margin: 0 !important;
  padding: 7px 9px !important;
  border: 1px solid var(--header-v2-border);
  border-radius: var(--header-v2-radius);
  background: var(--header-v2-soft-bg);
}

body.header-v2-enabled .top-head .navbar-toggle .icon-bar {
  width: 18px;
}

body.header-v2-enabled .header-v2-favorites-wrap {
  padding: 0 !important;
  margin: 0;
  min-width: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  min-height: 0;
  margin-left: -17px !important;
}

body.header-v2-enabled .header-v2-favorites-wrap .navbar-nav,
body.header-v2-enabled .header-v2-favorites-wrap .nav {
  margin: 0 !important;
  padding: 0 !important;
}

body.header-v2-enabled .header-v2-favorites {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
  padding: 0 !important;
  padding-top: 0 !important;
}

body.header-v2-enabled .header-v2-favorites a {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--header-v2-border);
  border-radius: var(--header-v2-radius);
  background: var(--header-v2-soft-bg);
  color: var(--header-v2-text);
  font-size: 13px;
  padding: 0 9px;
  height: var(--header-v2-control-height);
  min-height: var(--header-v2-control-height);
  line-height: 1.2;
  margin: 0 !important;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

body.header-v2-enabled .header-v2-favorites a:hover,
body.header-v2-enabled .header-v2-favorites a:focus {
  background: var(--header-v2-soft-hover);
  border-color: var(--header-v2-border-strong);
}

body.header-v2-enabled .top-right-menu {
  float: none !important;
  margin: 0 !important;
  margin-right: -11px !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

body.header-v2-enabled .top-right-menu > li {
  float: none;
  line-height: 1.2;
  height: auto;
  order: 30;
}

body.header-v2-enabled .top-right-menu > li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--header-v2-text);
  border: 1px solid var(--header-v2-border);
  background: var(--header-v2-bg);
  border-radius: var(--header-v2-radius);
  padding: 3px 12px;
  height: var(--header-v2-control-height);
  min-height: var(--header-v2-control-height);
  font-size: 13px;
  line-height: 1.2;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

body.header-v2-enabled .top-right-menu > li > a:hover,
body.header-v2-enabled .top-right-menu > li > a:focus {
  background: var(--header-v2-soft-hover);
  border-color: var(--header-v2-border-strong);
}

body.header-v2-enabled .top-head a:focus-visible,
body.header-v2-enabled .top-head button:focus-visible,
body.header-v2-enabled .top-head input:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px var(--header-v2-focus);
}

body.header-v2-enabled .header-v2-branch-item {
  order: 10;
  margin-right: auto;
  margin-left: auto;
  min-width: 0;
}

body.header-v2-enabled .header-v2-branch-item > a {
  background: #fff2f2;
  border-color: #eabcbc;
  color: #ba3e3e;
  font-weight: 700;
  padding-left: 10px;
  padding-right: 10px;
  gap: 6px;
}

body.header-v2-enabled .header-v2-branch-item .header-v2-branch-label {
  color: #ba3e3e;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 800;
  line-height: 1.28;
  padding-top: 1px;
  display: inline-block;
}

body.header-v2-enabled .header-v2-branch-item > a .username.header-v2-branch-label {
  font-weight: 800 !important;
}

body.header-v2-enabled .header-v2-branch-item .username {
  max-width: 260px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 1.28;
}

body.header-v2-enabled .header-v2-branch-item .caret {
  border-top-color: #ba3e3e;
}

body.header-v2-enabled .header-v2-branch-item .dropdown-menu {
  left: 0;
  right: auto;
  min-width: 100% !important;
  width: auto;
  max-width: min(92vw, 520px);
  padding: 0;
}

body.header-v2-enabled .header-v2-system-errors-item > a {
  background: #fff8ef;
  border-color: #f3d8b4;
  color: #b45f06;
}

body.header-v2-enabled .header-v2-system-errors-item {
  order: 20;
}

body.header-v2-enabled .header-v2-warning-item > a {
  background: #fff4f4;
  border-color: #efcbcb;
  color: #cc0000 !important;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.header-v2-enabled .header-v2-warning-item {
  order: 22;
}

body.header-v2-enabled .header-v2-drawer-item > a {
  background: #f1fff2;
  border-color: #c6e9c7;
  color: #2f7d32;
}

body.header-v2-enabled .header-v2-drawer-item {
  order: 21;
}

body.header-v2-enabled .header-v2-user-item > a {
  background: #ffffff;
  border-color: var(--header-v2-border);
  max-width: 360px;
  height: var(--header-v2-control-height);
  min-height: var(--header-v2-control-height);
  padding: 4px 14px;
  gap: 10px;
}

body.header-v2-enabled .header-v2-user-item > a > i.profile-img.thumb-sm {
  width: 20px;
  height: 20px;
  margin: 0 !important;
  line-height: 20px;
  font-size: 16px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  color: #5f6d83;
  border-radius: 999px;
  background: #f2f6fc;
  align-self: center;
}

body.header-v2-enabled .header-v2-user-item > a > .caret {
  align-self: center;
  margin-left: 2px;
}

body.header-v2-enabled .header-v2-user-item {
  order: 40;
}

body.header-v2-enabled .header-v2-user-stack {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  gap: 2px;
  padding-right: 4px;
}

body.header-v2-enabled .header-v2-user-main {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--header-v2-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

body.header-v2-enabled .header-v2-user-meta {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--header-v2-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}

body.header-v2-enabled .header-v2-lock-item > a,
body.header-v2-enabled .header-v2-logout-item > a,
body.header-v2-enabled .header-v2-more-item > a {
  width: 40px;
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

body.header-v2-enabled .top-right-menu > li.header-v2-logout-item > a {
  background: #fff4f4;
  border-color: #efc4c4;
  color: #be4a4a;
}

body.header-v2-enabled .top-right-menu > li.header-v2-logout-item > a > i {
  color: #be4a4a;
}

body.header-v2-enabled .top-right-menu > li.header-v2-logout-item > a:hover,
body.header-v2-enabled .top-right-menu > li.header-v2-logout-item > a:focus {
  background: #fbeaea;
  border-color: #e9b9b9;
  color: #b43f3f;
}

body.header-v2-enabled .top-right-menu > li.header-v2-logout-item > a:hover > i,
body.header-v2-enabled .top-right-menu > li.header-v2-logout-item > a:focus > i {
  color: #b43f3f;
}

body.header-v2-enabled .header-v2-lock-item {
  order: 41;
}

body.header-v2-enabled .header-v2-logout-item {
  order: 42;
}

body.header-v2-enabled .header-v2-more-item {
  display: none;
  order: 99;
}

body.header-v2-enabled .header-v2-mobile-favorites {
  display: none;
  order: 6;
}

body.header-v2-enabled .header-v2-mobile-favorites > a {
  width: 40px;
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

body.header-v2-enabled .header-v2-more-item .dropdown-menu,
body.header-v2-enabled .header-v2-mobile-favorites .dropdown-menu,
body.header-v2-enabled .header-v2-user-item .dropdown-menu {
  right: 0;
  left: auto;
}

body.header-v2-enabled .header-v2-more-item .dropdown-menu,
body.header-v2-enabled .header-v2-mobile-favorites .dropdown-menu {
  width: 288px !important;
  min-width: 288px;
  margin-top: 8px;
  padding: 6px 0 8px;
  border: 1px solid #d7e0ec;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 28, 45, 0.12);
  overflow: hidden;
}

body.header-v2-enabled .header-v2-more-item .dropdown-menu > li > a,
body.header-v2-enabled .header-v2-mobile-favorites .dropdown-menu > li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 1px 8px;
  padding: 7px 10px !important;
  border-radius: 4px;
  color: #445066;
  font-size: 12.5px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

body.header-v2-enabled .header-v2-more-item .dropdown-menu > li > a > i,
body.header-v2-enabled .header-v2-mobile-favorites .dropdown-menu > li > a > i {
  width: 14px;
  text-align: center;
  margin-top: 0 !important;
  color: #687891;
}

body.header-v2-enabled .header-v2-more-item .dropdown-menu > li > a:hover,
body.header-v2-enabled .header-v2-more-item .dropdown-menu > li > a:focus,
body.header-v2-enabled .header-v2-mobile-favorites .dropdown-menu > li > a:hover,
body.header-v2-enabled .header-v2-mobile-favorites .dropdown-menu > li > a:focus {
  background: #f3f7fd;
  color: #253246;
}

body.header-v2-enabled .header-v2-more-item .dropdown-menu > li > a[href*='logout=1'],
body.header-v2-enabled .header-v2-mobile-favorites .dropdown-menu > li > a[href*='logout=1'] {
  color: #a94442;
}

body.header-v2-enabled .header-v2-more-item .dropdown-menu > li > a[href*='logout=1'] > i,
body.header-v2-enabled .header-v2-mobile-favorites .dropdown-menu > li > a[href*='logout=1'] > i {
  color: #a94442;
}

body.header-v2-enabled .header-v2-more-item .dropdown-menu > li > a[href*='logout=1']:hover,
body.header-v2-enabled .header-v2-more-item .dropdown-menu > li > a[href*='logout=1']:focus,
body.header-v2-enabled .header-v2-mobile-favorites .dropdown-menu > li > a[href*='logout=1']:hover,
body.header-v2-enabled .header-v2-mobile-favorites .dropdown-menu > li > a[href*='logout=1']:focus {
  background: #f8eaea;
}

body.header-v2-enabled .header-v2-user-item .dropdown-menu {
  width: 288px !important;
  min-width: 288px;
  margin-top: 8px;
  padding: 6px 0 8px;
  border: 1px solid #d7e0ec;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 28, 45, 0.12);
  overflow: hidden;
}

body.header-v2-enabled .header-v2-user-item .dropdown-menu > li.header-v2-user-profile-card {
  display: block;
  width: calc(100% - 20px);
  max-width: calc(100% - 20px);
  box-sizing: border-box;
  margin: 0 10px 8px;
  padding: 10px 10px 9px;
  border: 1px solid #e4ebf5;
  border-radius: 8px;
  background: #f9fbff;
}

body.header-v2-enabled .header-v2-user-item .header-v2-user-profile {
  text-align: left;
  max-width: 100%;
  overflow: hidden;
}

body.header-v2-enabled .header-v2-user-item .header-v2-user-logo-wrap {
  text-align: center;
  margin-bottom: 9px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8eef6;
}

body.header-v2-enabled .header-v2-user-item .header-v2-user-company-logo {
  max-width: 130px;
  max-height: 54px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #e3eaf4;
  padding: 6px;
}

body.header-v2-enabled .header-v2-user-item .header-v2-user-id-rows {
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.header-v2-enabled .header-v2-user-item .header-v2-user-id-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 20px;
  line-height: 1.2;
}

body.header-v2-enabled .header-v2-user-item .header-v2-user-id-row > i {
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  color: #7f8ca0;
  font-size: 11px;
  flex: 0 0 18px;
  border-radius: 999px;
  background: #edf3fb;
}

body.header-v2-enabled .header-v2-user-item .header-v2-user-id-value {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  line-height: 1.24;
  color: #3d4a5f;
  font-weight: 600;
}

body.header-v2-enabled .header-v2-user-item .header-v2-user-badges {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
}

body.header-v2-enabled .header-v2-user-item .header-v2-user-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #f7f9fd;
  color: #5e6c82;
  font-size: 10.5px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.header-v2-enabled .header-v2-user-item .header-v2-user-badge.is-warn {
  border-color: #e6c3c3;
  background: #f9ecec;
  color: #9f4a48;
}

body.header-v2-enabled .header-v2-user-item .dropdown-menu > li > a.header-v2-branch-switch-link {
  font-weight: 600;
}

body.header-v2-enabled .header-v2-user-item .dropdown-menu > li > a.header-v2-branch-switch-link.is-current {
  background: #eaf1fb;
  color: #2f4f80;
}

body.header-v2-enabled .header-v2-user-item .dropdown-menu > li > a.header-v2-branch-switch-link.is-current > i {
  color: #2f4f80;
}

body.header-v2-enabled .header-v2-user-item .dropdown-menu > li.divider.header-v2-user-section-divider {
  height: 1px;
  margin: 8px 10px 7px;
  overflow: hidden;
  background: #e8eef6;
  border: 0;
}

body.header-v2-enabled .header-v2-user-item .dropdown-menu > li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 1px 8px;
  padding: 8px 10px !important;
  border-radius: 4px;
  color: #3f4d63;
  font-size: 12.5px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

body.header-v2-enabled .header-v2-user-item .dropdown-menu > li > a > i {
  width: 14px;
  text-align: center;
  margin-top: 0 !important;
  color: #687891;
}

body.header-v2-enabled .header-v2-user-item .dropdown-menu > li > a:hover,
body.header-v2-enabled .header-v2-user-item .dropdown-menu > li > a:focus {
  background: #f3f7fd;
  color: #253246;
}

body.header-v2-enabled .header-v2-user-item .dropdown-menu > li > a[href*='logout=1'] {
  color: #a94442;
}

body.header-v2-enabled .header-v2-user-item .dropdown-menu > li > a[href*='logout=1'] > i {
  color: #a94442;
}

body.header-v2-enabled .header-v2-user-item .dropdown-menu > li > a[href*='logout=1']:hover,
body.header-v2-enabled .header-v2-user-item .dropdown-menu > li > a[href*='logout=1']:focus {
  background: #f8eaea;
}

body.header-v2-enabled #loginWithPinWrap {
  margin-left: 8px !important;
}

body.header-v2-enabled ul#loginWithPinWrap.top-right-menu {
  float: none !important;
  flex: 0 0 auto;
  justify-content: flex-end;
}

body.header-v2-enabled #loginWithPinWrap li {
  float: none;
}

body.header-v2-enabled #loginWithPinWrap form {
  display: flex;
  align-items: center;
  gap: 0;
}

body.header-v2-enabled #loginWithPinWrap input {
  width: 76px;
  height: var(--header-v2-control-height);
  border-radius: 4px 0 0 4px;
  border: 1px solid var(--header-v2-border);
  background: #fff;
  color: var(--header-v2-text);
  padding-left: 10px;
  padding-right: 8px;
}

body.header-v2-enabled #loginWithPinWrap button {
  height: var(--header-v2-control-height);
  min-height: var(--header-v2-control-height);
  border-radius: 0 4px 4px 0 !important;
  border-color: var(--header-v2-border-strong);
  margin-left: -1px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 0;
  padding-bottom: 0;
}

body.header-v2-enabled #loginWithPinWrap button.btn-warning {
  background: linear-gradient(180deg, #5f72f6 0%, #4b5be2 100%) !important;
  border: 1px solid #4452cf !important;
  color: #ffffff !important;
  box-shadow: 0 1px 2px rgba(30, 38, 95, 0.18);
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

body.header-v2-enabled #loginWithPinWrap button.btn-warning:hover,
body.header-v2-enabled #loginWithPinWrap button.btn-warning:focus {
  background: linear-gradient(180deg, #5468ef 0%, #4455d8 100%) !important;
  border-color: #3d4dc8 !important;
  color: #ffffff !important;
}

body.header-v2-enabled #loginWithPinWrap button.btn-warning:active {
  box-shadow: 0 1px 2px rgba(30, 38, 95, 0.18);
}

body.header-v2-enabled #loginWithPinWrap button.btn-warning > .ion-person-stalker {
  font-size: 14px;
  line-height: 1;
}

body.header-v2-enabled .breadcrumbs_wrap {
  box-shadow: none;
  border-bottom: 1px solid #edf1f7;
}

@media (min-width: 1200px) {
  #server_info_our {
    position: fixed !important;
    z-index: 100000 !important;
    left: 6px !important;
    bottom: 108px !important;
    width: 62px !important;
    padding: 4px 4px 6px !important;
    border-radius: 10px !important;
    background: rgba(35, 30, 72, 0.86) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    box-shadow: 0 8px 20px rgba(10, 12, 25, 0.32) !important;
    backdrop-filter: blur(2px);
    color: #e9f0ff !important;
    text-align: center !important;
    line-height: 1.22 !important;
    font-size: 9px !important;
    letter-spacing: 0.01em;
  }

  #server_info_our > div.server-info-env {
    margin: 0 0 4px 0 !important;
    padding: 1px 4px !important;
    border-radius: 6px !important;
    width: 100% !important;
    font-size: 12px !important;
    font-weight: 800;
    line-height: 1.25 !important;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.16);
  }

  #server_info_our .server-info-meta {
    display: block;
    color: rgba(233, 240, 255, 0.92);
    font-weight: 600;
  }

  #server_info_our .server-info-time {
    display: block;
    margin-top: 1px;
    color: rgba(233, 240, 255, 0.82);
    font-weight: 500;
  }

  #server_info_our .server-info-safety {
    display: block;
    margin-top: 1px;
    color: #cfd6ff;
    font-weight: 700;
  }
}

@media (max-width: 1450px) {
  body.header-v2-enabled .header-v2-favorites-wrap {
    display: none;
  }
  body.header-v2-enabled .header-v2-mobile-favorites {
    display: block;
  }
  body.header-v2-enabled .header-v2-more-item {
    display: block;
  }
}

@media (max-width: 1250px) {
  body.header-v2-enabled .header-v2-warning-item,
  body.header-v2-enabled .header-v2-drawer-item {
    display: none;
  }
  body.header-v2-enabled .header-v2-user-main,
  body.header-v2-enabled .header-v2-user-meta {
    max-width: 160px;
  }
}

@media (max-width: 1080px) {
  body.header-v2-enabled .header-v2-system-errors-item {
    display: none;
  }
  body.header-v2-enabled .header-v2-user-meta {
    display: none;
  }
  body.header-v2-enabled .header-v2-branch-item .username {
    max-width: 170px;
  }
}

@media (max-width: 900px) {
  body.header-v2-enabled #loginWithPinWrap {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body.header-v2-enabled .top-head {
    min-height: 56px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    gap: 6px;
  }
  body.header-v2-enabled .header-v2-branch-item {
    margin-right: auto;
    margin-left: 0;
  }
  body.header-v2-enabled .header-v2-branch-item > a {
    max-width: 52vw;
    padding: 0 8px;
  }
  body.header-v2-enabled .header-v2-branch-item .username {
    max-width: 30vw;
    font-size: 13px;
  }
  body.header-v2-enabled .header-v2-lock-item,
  body.header-v2-enabled .header-v2-logout-item,
  body.header-v2-enabled .header-v2-mobile-favorites {
    display: none;
  }
  body.header-v2-enabled .header-v2-more-item {
    display: block;
  }
}

/* Sidebar Mobile V2 */

body.sidebar-mobile-v2-enabled .sidebar-mobile-v2-overlay {
  display: none;
}

@media (min-width: 1200px) {
  body.sidebar-mobile-v2-enabled .left_panel_new_my {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh !important;
    z-index: 1202;
    overflow: visible !important;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.08);
  }

  body.sidebar-mobile-v2-enabled .content_my_new {
    position: relative;
    z-index: 1;
  }

  body.sidebar-mobile-v2-enabled .left_panel_new_my .logo {
    height: 58px;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  body.sidebar-mobile-v2-enabled .left_panel_new_my .logo a.logo-expanded {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my {
    margin-top: 10px;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my > ul > li {
    position: relative;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my > ul > li > a {
    padding-top: 12px;
    padding-bottom: 12px;
    transition: background-color 0.18s ease, color 0.18s ease;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my > ul > li > a > i {
    width: 28px;
    height: 28px;
    line-height: 28px;
    margin: 0 auto;
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
    font-size: 16px;
    transition: background-color 0.18s ease;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my > ul > li:hover {
    background: rgba(0, 0, 0, 0.10);
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my > ul > li:hover > a > i,
  body.sidebar-mobile-v2-enabled .navigation_new_my > ul > li.active > a > i {
    background: transparent;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my > ul > li.active:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.85);
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my ul li ul {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 10px 10px 0;
    overflow: hidden;
    z-index: 1203;
    box-shadow: 0 10px 24px rgba(20, 24, 45, 0.28);
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my ul li ul li a {
    font-size: 13px;
  }
}

@media (min-width: 1200px) and (max-height: 760px) {
  body.sidebar-mobile-v2-enabled .left_panel_new_my {
    position: absolute !important;
    top: 0;
    bottom: auto;
    height: 100% !important;
  }

  body.sidebar-mobile-v2-enabled .left_panel_new_my .logo {
    position: static;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my {
    margin-top: 6px;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my > ul > li > a {
    padding-top: 9px;
    padding-bottom: 9px;
  }
}

@media (min-width: 1200px) and (max-height: 640px) {
  body.sidebar-mobile-v2-enabled .navigation_new_my > ul > li > a {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my > ul > li > a > i {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  body.sidebar-mobile-v2-enabled {
    --sidebar-mobile-v2-width: min(340px, 88vw);
  }

  body.sidebar-mobile-v2-enabled .top-head .navbar-toggle {
    display: block !important;
  }

  body.sidebar-mobile-v2-enabled .left_panel_new_my {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-mobile-v2-width) !important;
    max-width: 88vw;
    height: 100vh !important;
    z-index: 1102;
    transform: translateX(-100%);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    box-shadow: none;
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
  }

  body.sidebar-mobile-v2-enabled.sidebar-mobile-v2-open .left_panel_new_my {
    transform: translateX(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }

  body.sidebar-mobile-v2-enabled .content_my_new {
    margin-left: 0 !important;
    width: 100% !important;
  }

  body.sidebar-mobile-v2-enabled .left_panel_new_my .logo {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    position: sticky;
    top: 0;
    z-index: 2;
  }

  body.sidebar-mobile-v2-enabled .left_panel_new_my .logo a.logo-expanded {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }

  body.sidebar-mobile-v2-enabled .left_panel_new_my .logo .nav-label {
    display: block !important;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none !important;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my {
    margin-top: 8px;
    flex: 1 1 auto;
    overflow-y: auto;
    padding-bottom: 6px;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my ul li a {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    font-size: 15px;
    line-height: 1.25;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my ul li a > i {
    width: 18px;
    min-width: 18px;
    text-align: center;
    font-size: 16px;
  }

  body.sidebar-mobile-v2-enabled .left_panel_new_my .nav-label,
  body.sidebar-mobile-v2-enabled .navigation_new_my ul li .nav-label {
    display: inline-block !important;
    flex: 1 1 auto;
    white-space: normal;
    color: inherit;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my ul li ul,
  body.sidebar-mobile-v2-enabled .navigation_new_my ul li:hover ul {
    position: static;
    width: 100%;
    margin-left: 0;
    z-index: auto;
    display: none;
    padding-top: 4px;
    padding-bottom: 6px;
    background: rgba(0, 0, 0, 0.12);
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my ul li.drawer-open > ul {
    display: block;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my ul li ul li a {
    font-size: 14px;
    padding: 8px 14px 8px 43px;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my ul li ul li a:hover {
    padding-left: 49px;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my > ul > li.has-submenu > a {
    position: relative;
    padding-right: 34px;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my > ul > li.has-submenu > a:after {
    content: "";
    position: absolute;
    right: 13px;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid rgba(255, 255, 255, 0.9);
    transform: translateY(-50%);
    opacity: 0.95;
  }

  body.sidebar-mobile-v2-enabled .navigation_new_my > ul > li.has-submenu.drawer-open > a:after {
    border-top: 6px solid rgba(255, 255, 255, 0.95);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-bottom: 0;
    transform: translateY(-35%);
  }

  body.sidebar-mobile-v2-enabled .sidebar-mobile-v2-footer {
    margin-top: auto;
    padding: 10px 10px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.14);
  }

  body.sidebar-mobile-v2-enabled #server_info_our {
    display: none !important;
  }

  body.sidebar-mobile-v2-enabled .left_panel_new_my .sidebar-mobile-v2-footer #server_info_our {
    display: block !important;
    position: static !important;
    z-index: auto !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 10px !important;
    color: #fff !important;
  }

  body.sidebar-mobile-v2-enabled .left_panel_new_my .sidebar-mobile-v2-footer #server_info_our > div {
    border-radius: 4px;
    margin-bottom: 4px;
  }

  body.sidebar-mobile-v2-enabled .quidget__left {
    z-index: 1103 !important;
    left: 12px !important;
    bottom: 12px !important;
  }

  body.sidebar-mobile-v2-enabled:not(.sidebar-mobile-v2-open) .quidget__left {
    display: none !important;
  }

  body.sidebar-mobile-v2-enabled .sidebar-mobile-v2-overlay {
    display: block;
    position: fixed;
    z-index: 1101;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.44);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  body.sidebar-mobile-v2-enabled.sidebar-mobile-v2-open .sidebar-mobile-v2-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.sidebar-mobile-v2-enabled.sidebar-mobile-v2-open {
    overflow: hidden;
  }
}
