/* Hide Webflow search control — frees navbar space for language switcher */
.nav-menu-button-wrapper-2,
.nav-menu-button-wrapper,
.nav-functions-2,
.nav-functions,
.modal-container-2,
.modal-container {
  display: none !important;
}

.uui-navbar07_container {
  position: relative;
}

/* Reserve trailing space so menu links do not collide with the language pill */
.uui-navbar07_menu {
  padding-right: 7.25rem !important;
}

@media screen and (max-width: 991px) {
  .uui-navbar07_menu {
    padding-right: 0 !important;
  }
}

/* AGN language switcher — clearer EN | ID pill */
.uui-navbar07_container > .agn-locale-switcher {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  z-index: 60;
  margin: 0;
}

@media screen and (max-width: 991px) {
  .uui-navbar07_container > .agn-locale-switcher {
    right: 3.75rem; /* sit left of the hamburger */
  }
}

.agn-locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  flex-shrink: 0;
  padding: 0.3rem 0.4rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(10, 20, 40, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  font-family: Lato, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  white-space: nowrap;
}

.agn-locale-switcher__sep {
  color: rgba(255, 255, 255, 0.4);
  user-select: none;
  padding: 0 0.12rem;
  font-weight: 600;
}

.agn-locale-switcher__btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.42rem 0.62rem;
  margin: 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.agn-locale-switcher__btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.agn-locale-switcher__btn.is-active {
  color: #101828;
  background: #c6e063;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Inner pages: light header / dark links */
.navigation-container .agn-locale-switcher {
  border-color: rgba(16, 24, 40, 0.18);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.12);
}

.navigation-container .agn-locale-switcher__sep {
  color: rgba(16, 24, 40, 0.3);
}

.navigation-container .agn-locale-switcher__btn {
  color: rgba(16, 24, 40, 0.55);
}

.navigation-container .agn-locale-switcher__btn:hover {
  color: #101828;
  background: rgba(16, 24, 40, 0.06);
}

.navigation-container .agn-locale-switcher__btn.is-active {
  color: #101828;
  background: #c6e063;
}
