.dark-mode body {
  color: #fff;
}

.lines {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 100%;
}

.lines:hover,
.lines:active {
  background: var(--button-disable-color);
}

.lines svg {
  width: 100%;
  height: 100%;
}

.lines span {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--text-primary-color);
  margin-bottom: 4px;
}

.lines span:last-child {
  margin-bottom: 0;
}

.dark-mode .lines span {
  background-color: var(--primary-blue-color);
}

.header {
  padding: 7px 28px 7px 28px;
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
}

.topbar-logo {
  /* width: 220px; */
  flex: 0 0 auto;
  min-width: 220px;
}

.logo-topbar {
  /* margin-left: -6px; */
  gap: 12px;
}

.header .logo-light {
  /* width: 143px; */
}

.header .logo {
  height: auto;
  display: block;
  max-width: 143px;
}

.header .logo img {
  width: auto;
  height: 42px;
}

.topbar-menu {
  column-gap: 16px;
  padding: 0;
  margin: 0;
  flex: 0 0 208px;
  flex: 0 0 394px;
}

.header-infor {
  width: 300px;
}

.search-loading {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 110px;
}

.topbar-menu > li {
  display: inline-block;
}

.topbar-menu > li > .dropdowm-button {
  display: inline-flex;
  font-size: 24px;
  border-radius: 100%;
  background: var(--button-disable-color);
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
}

.topbar-menu > li:not(:last-child) > .dropdowm-button:hover,
.topbar-menu > li:not(:last-child) > .dropdowm-button.show {
  /* box-shadow: 0px 0px 4px 4px #0000000f; */
  background-color: var(--primary-blue-color);
}

.topbar-menu > li > .dropdowm-button:hover .icon-color-default path,
.topbar-menu > li > .dropdowm-button.show .icon-color-default path {
  stroke: #fff;
  fill: #fff;
}

.account-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-tooltip {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-search {
  width: 100%;
  max-width: 900px;
}

.form-search .input-group-text {
  border-color: #dbdbdb;
  background: unset;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  padding: 8px 8px 8px 24px;
  position: absolute;
  border: unset;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
}

.form-search .input-group-text img {
}

.form-search input {
  border-color: #dbdbdb;
  height: 40px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-radius: 20px;
  border-top-left-radius: 20px !important;
  border-bottom-left-radius: 20px !important;
  padding-left: 54px;
}

.header .topbar {
  gap: 20px;
}

.form-search input::placeholder {
  color: #999999;
}

.form-search input {
  font-size: 14px;
  line-height: 18px;
  color: inherit;
}

.form-search input:focus {
  color: inherit;
}

.content-main {
  display: flex;
}

.main-left {
  padding: 20px 20px 68px;
  width: 260px;
  height: calc(100vh - 56px);
  height: calc(100dvh - 56px);
  overflow: auto;
  position: fixed;
  top: 56px;
  transition-duration: 100ms;
  left: 0;
  z-index: 3;
  box-shadow: 0px 2px 4px 0px #0000000f;
}

.main-right-webview {
  padding: 20px 20px 68px;
  width: 260px;
  height: calc(100vh);
  overflow: auto;
  position: fixed;
  top: 0px;
  transition-duration: 100ms;
  right: 0;
  z-index: 3;
  box-shadow: 0px 2px 4px 0px #0000000f;
}

.leftside-menu {
}

.leftside-menu-footer {
  position: fixed;
  bottom: 0;
  width: 260px;
  left: 0;
  padding-left: 20px;
  padding-bottom: 20px;
  padding-top: 12px;
  background-color: #fff;
}

.leftside-menu > ul {
  padding: 0;
  list-style: none;
  margin: 0;
  height: 100%;
}

.leftside-menu > ul > li {
}

.leftside-menu > ul > li > a {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding: 8px;
  text-decoration: unset;
  color: var(--text-primary-color);
}

.leftside-menu > ul > li > a br {
  display: none;
}

.full-menu .main-left .leftside-menu > ul > li > a br {
  display: block;
}

.leftside-menu > ul > li > a.active,
.leftside-menu > ul > li > a:hover {
  background-color: var(--background-color);
  color: var(--text-primary-color) !important;
}

.full-menu .leftside-menu > ul > li > a.active,
.full-menu .leftside-menu > ul > li > a:hover {
  border-radius: 0 !important;
}

.leftside-menu > ul > li .icon-menu {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
}

.leftside-menu > ul > li .icon-menu img {
  width: 100%;
  height: auto;
}

.leftside-menu > ul > li:not(:last-child) {
  margin-bottom: 12px;
}

.full-menu .main-left {
  width: 80px;
  padding: 15px 0px;
}

.full-menu .main-left .leftside-menu-footer {
  display: none;
}

.full-menu .main-left .leftside-menu > ul > li > a {
  flex-direction: column;
  text-align: center;
  border-radius: 4px;
  padding: 8px 6px;
}

.full-menu .main-left .leftside-menu > ul > li:not(:last-child) {
  margin-bottom: 8px;
}

.main-left::-webkit-scrollbar {
  width: 5px;
  border-radius: 2px;
  display: none;
  position: absolute;
  right: 0;
}

.main-left:hover::-webkit-scrollbar {
  /* display: unset; */
}
/* Track */
.main-left::-webkit-scrollbar-track {
  background: #fff;
}

/* Handle */
.main-left::-webkit-scrollbar-thumb {
  background: #ccc;
}

/* Handle on hover */
.main-left::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.main-right {
  width: 100%;
  margin-top: 56px;
  padding-left: 260px;
  transition-duration: 300ms;
  height: calc(100vh - 56px);
  height: calc(100dvh - 56px);
  overflow-y: auto;
}

.full-menu .main-right {
  padding-left: 80px;
}

.box-shadow-main {
  width: 100%;
  /* box-shadow: 0px -2px 4px 0px #0000000f; */
  padding: 20px;
}

.dropdowm-profile a:hover {
}

.dropdowm-profile a:last-child:hover {
  color: var(--primary-red-color);
}

.dropdowm-profile a:not(:last-child):hover path {
  stroke: var(--status-link-color);
}

.dropdowm-profile a:nth-child(2):hover path {
  fill: var(--status-link-color);
}

.list-dropdown-icon {
  padding: 24px;
  display: grid;
  grid-template-columns: auto auto auto;
  text-align: center;
  gap: 8px;
}

.col-dropdown-icon-item {
  position: relative;
  width: 106px;
  height: 106px;
}

.dropdown-icon-item {
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  border-radius: 12px;
  min-height: 100%;
  height: 100%;
}

.dropdown-icon-item:hover {
  background-color: var(--status-disable-color);
}

.dropdown-icon-item .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 100%;
  margin-bottom: 0;
}

.dropdown-icon-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.name-tien-ich {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 72px;
}

.dropdown-icon-item:hover .name-tien-ich {
  white-space: normal;
}

.dropdown-icon-item:hover {
  height: auto;
}

.dropdown-tien-ich {
  border-radius: 12px;
  width: 100vw;
  max-width: 400px;
}

.topbar-menu {
  position: relative;
}

.topbar-menu .dropdown {
  position: unset;
}

.topbar-menu .dropdown-custom {
  right: 0;
  top: calc(100% + 4px) !important;
  transform: unset !important;
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
  left: unset;
  z-index: 9999;
  /* min-width: 200px; */
}

.number-notification {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-red-color);
  color: #fff;
  position: absolute;
  top: -5px;
  right: -4px;
  font-size: 12px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  line-height: 20px;
  padding: 0 4px;
}

.title-topbar-notify {
  padding: 16px 16px 12px 16px;
}

.list-dropdown-notify .nav-tabs {
  border: unset;
  display: flex;
  gap: 12px;
  padding: 0 16px;
  margin-bottom: 12px;
}

.list-dropdown-notify .nav-tabs .nav-item {
}

.list-dropdown-notify .nav-tabs button {
  border: unset;
  padding: 4px 12px;
  border-radius: 13px;
  color: var(--text-primary-color);
  background-color: #fff;
}

.list-dropdown-notify .nav-tabs button:hover {
  background-color: var(--background-color);
}

.list-dropdown-notify .nav-tabs button.active {
  color: var(--text-primary-color);
  background-color: var(--background-color);
}

.dark-mode .list-dropdown-notify .nav-tabs button {
  color: #fff;
}

.dark-mode .list-dropdown-notify .nav-tabs button.active {
  background-color: var(--secondary-3-color);
}

.list-dropdown-notify {
  width: 350px;
}

.notify-content-header {
  padding: 0 16px;
}

.list-notify-header {
  list-style: unset;
  padding: 8px 0 8px;
  height: calc(100vh - 170px);
  height: calc(100dvh - 170px);
  overflow-y: auto;
  /* height: 85px; */
}

.notify-item-header {
  /* color: var(--text-secondary-color); */
}

.notify-item-header.active {
  /* color: var(--text-primary-color); */
}

.notify-item-header.active a {
}

.notify-item-header.active a .notify-right:before {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translate(0, -50%);
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background-color: var(--status-danger-color);
}

.notify-item-header.active a .notify-right {
  padding-right: 40px;
}

.notify-item-header.active .btn-circle span {
  background-color: var(--text-primary-color);
}

.dark-mode .notify-item-header:not(:nth-last-child(3)) .notify-right {
  border-bottom-color: var(--text-secondary-color);
}

.box-notify-item-header {
  display: flex;
  padding: 12px 0 12px 16px;
  gap: 12px;
  position: relative;
}

.box-notify-item-header .image {
  width: 48px;
  flex: 0 0 48px;
}

.box-notify-item-header .image img {
  border: 1px solid #eeeeee;
  border-radius: 12px;
  /* padding: 8px; */
  object-fit: cover;
  background-color: #fff;
  width: 100%;
}

.box-notify-item-header .notify-right {
  display: flex;
  width: 100%;
  padding-right: 16px;
  gap: 16px;
}

.box-notify-item-header .notify-content {
  width: 100%;
  flex: 1 1 auto;
}

.box-notify-item-header .info-sub {
  margin-bottom: 4px;
}

.box-notify-item-header .info-main {
}

.action-notify {
  width: 20px;
  position: relative;
}

.item-notify-no-data {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.box-notify-no-data {
  max-width: 236px;
}

.btn-circle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 100%;
  padding: 5px;
}

.box-notify-no-data .icon-notify {
  width: 80px;
  height: 80px;
}

.box-notify-no-data .icon-notify path {
  fill: var(--text-secondary-color);
  stroke: var(--text-secondary-color);
}

.btn-circle span {
  width: 3.75px;
  height: 3.75px;
  display: inline-block;
  border-radius: 100%;
  background-color: var(--text-secondary-color);
}

.btn-circle.active span {
}

.dropdown-action-notify {
  position: absolute;
  right: 0;
  list-style: unset;
  width: 115px;
  background-color: #ffffff;
  border-radius: 4px;
  padding: 12px;
  box-shadow: 0px 2px 4px 0px #0000000f;
  border: 1px solid #eee;
  display: none;
}

.dark-mode .dropdown-action-notify {
  color: var(--text-primary-color);
}

.dropdown-action-notify {
}

.dropdown-action-notify li {
}

.dropdown-action-notify li a {
}

.box-action:hover ul {
  display: block;
}

.box-action {
  position: relative;
}

.notify-item-header a:hover {
  color: var(--text-secondary-color);
  background-color: #f2f2f2;
}

.notify-item-header.active a:hover {
  color: inherit;
}

.box-notify-item-header:hover .btn-circle {
  box-shadow: 0px 2px 4px 0px #0000000f;
}

.dropdown-menu {
  color: inherit;
}

.wrap-search-suggest {
  position: fixed;
  width: 100vw;
  height: calc(100vh - 56px);
  height: calc(100dvh - 56px);
  left: 0;
  top: 56px;
  background-color: rgba(36, 54, 72, 0.95);
  display: none;
  padding: 0 20px 20px;
}

.wrap-search-suggest.active {
  display: block;
}

.box-search-suggest {
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  padding: 24px;
  max-height: 100%;
  overflow-y: auto;
  width: 90%;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.title-form-search {
  margin-bottom: 16px;
}

.list-search-gan-day {
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  justify-content: center;
}

.list-search-gan-day li {
  /* display: inline-block; */
}

.list-search-gan-day a {
  padding: 12px 16px;
  background-color: var(--background-color);
  display: inline-block;
  border-radius: 22px;
}

.wrap-doc-nhieu {
}

.wrap-doc-nhieu > .row {
  row-gap: 12px;
}

.col-item-suggest {
  flex: 0 0 20%;
}

.item-suggest {
}

.box-suggest .image {
  border-radius: 4px;
  overflow: hidden;
  display: block;
  padding-bottom: 137%;
  position: relative;
}

.box-suggest .image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition-duration: 300ms;
}

.box-suggest .image:hover img {
  transform: scale(1.1);
}

.box-suggest .text-h4 {
  text-align: center;
  margin-top: 12px;
}

.button-toggle-menu:active {
  border: unset;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.search-item .image {
  width: 80px;
  flex: 0 0 70px;
}

.search-popup-content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 24px;
}

.wrap-page-search {
}

@media (max-width: 992px) {
  .main-left {
    width: 86px;
    padding: 15px 0px;
  }

  .leftside-menu-footer {
    display: none;
  }

  .main-left .leftside-menu > ul > li > a {
    flex-direction: column;
    text-align: center;
    border-radius: 0px !important;
  }

  .full-menu .main-left .leftside-menu > ul > li > a br {
    display: block;
  }

  .leftside-menu > ul > li:not(:last-child) {
    margin-bottom: 8px;
  }

  .main-right {
    padding-left: 80px;
  }

  .topbar-menu {
    flex: 0 0 208px;
  }
  .main-right-webview {
    width: 90%;
    transform: translateX(100%);
  }
  .main-right-webview .rightside-menu > ul > li > a,
  .full-menu .main-right-webview .rightside-menu > ul > li > a {
    flex-direction: row;
    text-align: center;
    border-radius: 8px !important;
    padding: 8px;
  }
  .main-right-webview .rightside-menu > ul > li > a br,
  .full-menu .main-right-webview .rightside-menu > ul > li > a br {
    display: none;
  }

  .full-menu .main-right-webview {
    width: 90%;
    transform: translateX(-0);
    padding: 24px 20px 54px;
  }

  .full-menu .main-right-webview .rightside-menu-footer {
    display: block;
  }

  .full-menu .main-right-webview .rightside-menu > ul > li:not(:last-child) {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .topbar-logo {
    flex: 0 0 auto;
    width: auto;
    min-width: unset;
  }

  .topbar-menu {
    gap: 4px;
    flex: 0 0 auto;
  }

  .header {
    padding-left: 10px;
    padding-right: 10px;
  }

  .header .topbar {
    gap: 10px;
  }

  .button-toggle-menu {
    padding-left: 5px;
    padding-right: 5px;
  }

  .logo-topbar {
    margin-left: 0;
  }

  .main-left {
    width: 260px;
    transform: translateX(-260px);
  }


  .main-left .leftside-menu > ul > li > a,
  .full-menu .main-left .leftside-menu > ul > li > a {
    flex-direction: row;
    text-align: center;
    border-radius: 8px !important;
    padding: 8px;
  }

  .main-left .leftside-menu > ul > li > a br,
  .full-menu .main-left .leftside-menu > ul > li > a br{
    display: none;
  }

  .main-right,
  .full-menu .main-right {
    padding-left: 0;
  }

  .full-menu .main-left {
    width: 90%;
    transform: translateX(-0);
    padding: 24px 20px 54px;
  }

  .full-menu .main-left .leftside-menu-footer{
    display: block;
  }

  .full-menu .main-left .leftside-menu > ul > li:not(:last-child) {
    margin-bottom: 20px;
  }

  .col-item-suggest {
    flex: 0 0 calc(100% / 3);
  }
}

@media (max-width: 576px) {
  .topbar-menu > li > a:not(.btn-qi) {
    width: 30px;
    height: 30px;
  }

  .main-right,
  .full-menu .main-right {
    margin-top: 54px;
  }

  .wrap-search-suggest {
    top: 54px;
  }

  .full-menu .main-left {
    height: calc(100vh - 54px);
    height: calc(100dvh - 54px);
    top: 54px;
  }

  .full-menu .main-right-webview {
    height: calc(100vh);
    top: 0px;
  }
}
