﻿.subpage-bg .wrap-support {
  left: inherit;
  right: 12px;
  bottom: 60px;
}
.subpage-bg .wrap-support .hotline, .subpage-bg .wrap-support .zalo-chat, .subpage-bg .wrap-support .fb-messenger {
  text-align: center;
}

header.navbar-fixed-top {
  padding-left: 270px;
  transition: all 0.3s;
  background: none;
  height: 72px;
  display: flex;
  align-items: center;
  padding-right: 24px;
  border: 0;
  z-index: 1;
  position: relative;
}
header.navbar-fixed-top .logo {
  height: 36px;
  max-width: 180px;
  object-fit: contain;
}
header.navbar-fixed-top .header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
}
header.navbar-fixed-top .header-right > * {
  margin-left: 12px;
}
header.navbar-fixed-top #showMenu {
  color: var(--text-color);
  font-weight: 600;
  margin-right: 0;
}
header.navbar-fixed-top #agent-deposit {
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}
header.navbar-fixed-top #agent-deposit svg {
  margin-right: 6px;
}
header.navbar-fixed-top #agent-deposit .text {
  margin-right: 4px;
}
header.navbar-fixed-top #agent-deposit {
  position: relative;
  display: block;
  text-decoration: none;
}
header.navbar-fixed-top #agent-deposit svg {
  position: absolute;
  top: 0;
  left: 0;
  height: 16px;
  width: 16px;
}
header.navbar-fixed-top #agent-deposit svg path {
  stroke: var(--primary-color);
}
header.navbar-fixed-top #agent-deposit .text {
  padding-left: 20px;
  color: var(--text-color);
}
header.navbar-fixed-top #agent-deposit .value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}
header.navbar-fixed-top #open-config {
  border: 0;
  background: none;
  width: 38px;
  height: var(--height-form-control);
  padding: 0;
}
header.navbar-fixed-top #open-config:hover {
  background: none;
}
header.navbar-fixed-top #open-config:hover svg path {
  stroke: var(--primary-color);
}
header.navbar-fixed-top .btn-notification {
  border: 0;
  background: none;
  width: 38px;
  height: var(--height-form-control);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.subpage-bg.hide-sidebar header {
  padding-left: 15px !important;
}

#sidebarCollapseClose,
button#sidebarCollapse {
  border: 0;
  background: none;
  font-size: 20px;
  color: var(--primary-color);
  margin-right: 4px;
  padding: 0;
  width: 38px;
  box-shadow: none;
}
#sidebarCollapseClose i,
button#sidebarCollapse i {
  font-size: 27px;
}
#sidebarCollapseClose:focus,
button#sidebarCollapse:focus {
  outline: none;
  border-color: #f5821f;
}

#sidebarCollapseClose {
  top: 12px;
  right: 8px;
  position: absolute;
  margin: 0;
  z-index: 1;
  display: none;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
  display: flex;
  width: 100%;
}

#sidebar {
  width: 255px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1;
  background-color: var(--sidebar-background-color);
  color: var(--text-color);
  transition: all 0.3s;
  overflow: auto;
}
#sidebar a {
  text-decoration: none;
}
#sidebar::-webkit-scrollbar-track {
  background-color: transparent;
}
#sidebar::-webkit-scrollbar {
  width: 8px;
  background-color: transparent;
}
#sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  line-height: 50px;
  border-radius: 8px;
}
#sidebar .border-top {
  border-top: 1px solid var(--input-border-color);
}
#sidebar .border-bottom {
  border-bottom: 1px solid var(--input-border-color);
}
#sidebar .logo-agent {
  border-bottom: 1px solid var(--input-border-color);
  padding: 16px;
}
#sidebar .logo-agent img {
  height: 64px;
  width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
#sidebar .sidebar-header {
  padding: 16px 15px;
  border-bottom: 1px solid rgba(167, 196, 214, 0.3);
}
#sidebar .sidebar-header h3 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
  margin: 0;
  text-align: center;
}
#sidebar .dropdown-toggle:after {
  display: none;
}
#sidebar .caret {
  margin-left: auto;
  transform: rotate(90deg);
}
#sidebar a[aria-expanded=true] .caret {
  transform: rotate(0deg);
}
#sidebar .collapse.in {
  display: block;
}
#sidebar .icon-menu-item {
  height: 22px;
  width: 32px;
  object-fit: contain;
  margin-right: 10px;
}
#sidebar .icon-menu-new {
  position: absolute;
}
#sidebar .icon-menu-new.icon-menu-new-top-left {
  left: 6px;
  right: unset;
  width: 14px;
  height: auto;
  top: 0;
}
#sidebar .icon-menu {
  width: 22px;
  height: 22px;
  margin-right: 20px;
}
#sidebar ul li a {
  color: var(--color-sidebar-menu);
  padding: 12px 16px;
  font-weight: 500;
  line-height: 22px;
  text-transform: capitalize;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  position: relative;
}
#sidebar ul li a:focus, #sidebar ul li a:focus-visible {
  outline: none;
  box-shadow: none;
}
#sidebar ul li a .flag-menu-new {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: red;
  padding: 0;
  border-radius: 3rem;
  font-size: 0.7rem;
  font-weight: bold;
  line-height: 15px;
  margin-left: 6px;
  width: 42px;
  min-width: 42px;
  justify-content: center;
}
#sidebar ul li a .flag-menu-new img {
  width: 8px;
  height: 8px;
}
#sidebar ul li a:hover {
  text-decoration: none;
  color: var(--color-sidebar-menu-hover);
  background-color: var(--bg-sidebar-menu-hover);
}
#sidebar ul li a:focus {
  text-decoration: none;
}
#sidebar ul li.active {
  font-weight: normal;
}
#sidebar ul li.active a {
  background: var(--bg-sidebar-menu-active);
  color: var(--color-sidebar-menu-active);
}
#sidebar ul li.active a:hover {
  background: var(--bg-sidebar-menu-active);
  color: var(--color-sidebar-menu-active);
}
#sidebar ul li.has-tag-new:has(.flag-menu-new) .dropdown-toggle:after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: #ff0000;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
#sidebar ul ul li a {
  padding-left: 58px;
  padding-top: 8px;
  padding-bottom: 8px;
}
#sidebar ul ul#subMenuFlyone > li > a {
  padding: 12px 16px;
}
#sidebar ul ul.not-dropdown-menu .icon-menu {
  display: inline-block !important;
}
#sidebar ul ul.not-dropdown-menu li a {
  padding-left: 16px;
}
#sidebar ul.components {
  padding: 0 0 32px;
  margin-top: -1px;
}
#sidebar ul.components > li {
  padding: 2px 0;
}
#sidebar ul.components > li.divider {
  padding: 0;
}
#sidebar .not-sub-menu-flyone #subMenuFlyone > li > a {
  padding-left: 15px;
}
#sidebar li.divider {
  height: 1px;
  background: rgba(167, 196, 214, 0.3);
}
#sidebar #operProfile {
  position: relative;
  top: 0;
  z-index: 999;
}
#sidebar #account-info {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--input-border-color);
  padding-bottom: 4px;
}
@media (max-width: 1024px) {
  #sidebar #account-info #showMenu {
    margin-right: 48px;
  }
}
#sidebar #account-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: inherit;
}
#sidebar #account-info ul a {
  padding-left: 16px;
}
#sidebar #account-info .dropdown ul {
  display: none;
  width: inherit;
  margin-bottom: 10px;
}
#sidebar #account-info .dropdown.open ul {
  display: block;
}
#sidebar .feature-menu-mode-wrap {
    margin: 8px 12px 12px;
    padding: 12px;
    border: 1px solid #000;
    border-radius: 8px;
}

#sidebar .feature-menu-mode-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--color-sidebar-menu);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

#sidebar .feature-menu-mode-info {
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    #sidebar .feature-menu-mode-info:hover,
    #sidebar .feature-menu-mode-info:focus {
        background: transparent;
        outline: none;
        box-shadow: none;
    }

    #sidebar .feature-menu-mode-info img {
        width: 16px;
        height: 16px;
        display: block;
    }

#sidebar .feature-menu-mode {
    display: flex;
    width: 100%;
    border: 1px solid var(--input-border-color);
    border-radius: 6px;
    overflow: hidden;
}

    #sidebar .feature-menu-mode #feature-menu-toggle {
        display: none;
    }

#sidebar .feature-menu-mode-item {
    flex: 1 1 50%;
    min-width: 0;
    height: 38px;
    padding: 0 8px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-sidebar-menu);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 38px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

    #sidebar .feature-menu-mode-item + .feature-menu-mode-item {
        border-left: 1px solid var(--input-border-color);
    }

    #sidebar .feature-menu-mode-item:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    #sidebar .feature-menu-mode-item:focus {
        outline: none;
        box-shadow: none;
    }

    #sidebar .feature-menu-mode-item.active {
        background: var(--primary-color);
        color: #fff;
        font-weight: 600;
    }

        #sidebar .feature-menu-mode-item.active:hover {
            background: var(--bg-sidebar-menu-active);
            color: var(--color-sidebar-menu-active);
        }
#sidebar.active {
  margin-left: -280px;
}

ul#operProfile {
  padding: var(--pacing-lr-modal);
  border: 0;
  border-radius: var(--border-radius-card);
}
ul#operProfile li a {
  display: flex;
  align-items: center;
  padding: 6px 0;
  font-weight: 500;
}
ul#operProfile li a .mdi {
  font-size: 20px;
  margin-right: 20px;
}
ul#operProfile li a:hover {
  background: none;
  color: var(--primary-color);
}

.form-open-booking {
  align-items: center;
  display: flex;
}
.form-open-booking #recordlocation-to-open {
  border-color: var(--input-border-color);
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
body:has(#sidebar) #content {
  width: calc(100% - 255px);
  padding: 15px 15px 0;
  min-height: 100vh;
  transition: all 0.3s;
  position: absolute;
  top: 0;
  right: 0;
  padding-top: 72px;
}
body:has(#sidebar) #content.active {
  width: 100%;
}
body:has(#sidebar) #content > .module-content, body:has(#sidebar) #content .container-fluid {
  max-width: inherit;
}

.layout-change-pass #content {
  width: inherit;
  left: 0;
}
.layout-change-pass header.navbar-fixed-top {
  padding-left: 20px;
}

@media screen and (max-width: 1024px) {
  header.navbar-fixed-top {
    position: fixed;
    z-index: 9;
    background: #fff;
    height: 54px;
    box-shadow: 0 1px 6px #ccc;
    padding: 0 12px;
    margin: 0;
  }
  header.navbar-fixed-top .header-right > * {
    margin-left: 4px;
  }
  header.navbar-fixed-top .logo {
    max-width: 90px;
  }
  header.navbar-fixed-top .country-select.inside input, header.navbar-fixed-top .country-select.inside input[type=text] {
    border: 1px solid var(--input-border-color);
    padding: 0;
    font-size: 0;
    width: 34px;
    height: 28px;
  }
  header.navbar-fixed-top .country-select.inside .country-list {
    width: 100px !important;
    left: unset;
    right: 0;
    top: 36px;
  }
  header.navbar-fixed-top .country-select .selected-flag {
    padding-left: 6px;
  }
  header.navbar-fixed-top .country-select .selected-flag .arrow {
    display: none;
  }
  #sidebar {
    position: absolute;
    bottom: 0;
    margin-left: -280px;
    box-shadow: 0 1px 8px #c5ccda;
  }
  #sidebar #account-info {
    display: block !important;
  }
  #sidebar #account-info ul {
    padding: 0;
    margin: 0;
    width: inherit;
    margin-top: 10px !important;
  }
  #sidebar #account-info ul li {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
  }
  #sidebar #account-info ul li a {
    padding: 7px 15px;
    padding-left: 15px;
  }
  #sidebar.active {
    margin-left: 0;
  }
  #content {
    width: initial !important;
    position: unset !important;
    padding: 0 !important;
    padding-top: 64px !important;
  }
  #content .module-content {
    padding: 0;
  }
  body.no-header #content {
    padding-top: 8px !important;
  }
  button#sidebarCollapse:focus {
    outline: none;
    box-shadow: none;
  }
  #sidebarCollapseClose {
    display: block !important;
  }
  #sidebar ul.components {
    padding-bottom: 95px;
  }
    #sidebar .feature-menu-mode-wrap {
        margin: 10px 12px 14px;
        padding: 10px;
        border-radius: 10px;
    }

    #sidebar .feature-menu-mode-header {
        margin-bottom: 8px;
        font-size: 12px;
    }

    #sidebar .feature-menu-mode {
        gap: 6px;
        border: 0;
        overflow: visible;
    }

    #sidebar .feature-menu-mode-item {
        flex: 1 1 50%;
        min-width: 0;
        height: 38px;
        line-height: normal;
        padding: 0 10px;
        border: 1px solid var(--input-border-color);
        border-radius: 6px;
        font-size: 13px;
    }

        #sidebar .feature-menu-mode-item + .feature-menu-mode-item {
            border-left: 1px solid var(--input-border-color);
        }

    #sidebar .feature-menu-mode-info {
        width: 16px;
        height: 16px;
    }

        #sidebar .feature-menu-mode-info img {
            width: 14px;
            height: 14px;
        }
}
@media screen and (max-width: 576px) {
  #sidebar {
    margin-left: calc(-100% - 10px);
    width: 100%;
  }
   #sidebar .feature-menu-mode-wrap {
        margin: 8px 20px 12px;
        padding: 0;
        border: 0;
        border-radius: 0;
    }

    #sidebar .feature-menu-mode {
        display: flex;
        gap: 6px;
        padding: 4px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 8px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.08);
    }

    #sidebar .feature-menu-mode-item {
        height: 36px;
        min-height: 36px;
        padding: 0 10px;
        border: 0;
        border-radius: 6px;
        font-size: 13px;
        line-height: normal;
    }

    #sidebar .feature-menu-mode-item + .feature-menu-mode-item {
        border-left: 0;
    }
}
