.header-container {
  width: 100%;
  /* height: 4.875rem; */
  height: 6rem;
}

.nav-container {
  width: 100%;
  height: 6rem;
  margin: 0 auto;
  border-bottom: 1px solid #e6e6e6;
  border-radius: 0;
  margin-bottom: 0;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  transition: transform 0.5s ease-out;
}

.nav-hidden {
  transform: translateY(-100%);
}

.navbar {
  width: 93%;
  height: 100%;
  margin: auto;
  position: relative;
  line-height: 5.5rem;
}

.navbar .logo {
  /* width: 2.25rem; */
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  flex-direction: column;
}

.navbar .logo div {
  /* width: auto; */
  display: flex;
  align-items: center;
}

.navbar .logo img {
  float: left;
}

.navbar .logo .logo-img {
  width: 4rem;
  height: 4rem;
}

.navbar .logo .name-en {
  /* margin-left: 0.75rem; */
  height: 1.8rem;
}

.navbar .logo .name-en img {
  height: 1.8rem;
}

.navbar .logo .logo-text {
  display: inline;
  line-height: 0;
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.625rem;
}

.navbar .logo .logo-text span {
  padding: 0 0.625rem;
}

.navbar-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.navbar-container li {
  float: left;
  padding: 0 1.5%;
  font-size: 1rem;
  color: #666;
}

.navbar-container .active {
  font-weight: 700;
  color: #333;
}

.sidebar-icon {
  display: none;
}

.sidebar-container {
  width: 100%;
  height: calc(100vh - 5.5rem);
  background-color: #f8f8f8;
  padding: 1rem 2rem;
  z-index: 999;
  position: fixed;
  top: 5.5rem;
  left: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
}

.sidebar-container-is-ready {
  transition: transform 0.3s ease-out;
}

.sidebar-container-is-visible {
  transform: translateX(0);
}

.sidebar-item {
  margin: 0.125rem 0;
  padding: 0.9375rem 0;
  border-bottom: 1px solid #d4d4d4;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
}

.sidebar-item a {
  display: block;
  width: 100%;
}

.sidebar-item .icon-arrow-right {
  font-size: 1.2rem;
  vertical-align: middle;
}

#toast-container {
  display: none;
  width: max-content;
  max-width: 90%;
  padding: 10px 22px;
  font-size: 14px;
  color: white;
  text-align: center;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  position: fixed;
  bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

/* Mobile */
@media screen and (max-width: 1024px) {
  .container {
    max-width: 100%;
    height: 4.125rem;
    margin: 0;
    padding: 0 1rem;
  }

  .navbar {
    line-height: 4.125rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .navbar-container {
    display: none;
  }

  .sidebar-icon {
    display: block;
  }

  .sidebar-icon .icon-menu,
  .sidebar-icon .icon-close {
    font-size: 1.625rem;
    font-weight: 600;
  }

  .no-scroll {
    overflow: hidden;
    height: 100vh;
  }
}
