/* =========================================================
   SANCTEK 025 — Multilingual Foundation
   EN | VI language switcher
   ========================================================= */

.menu-item--sanctek-language {
  display: flex;
  align-items: center;
}

.sanctek-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  margin-left: .4rem;
  padding: .38rem .62rem;
  border: 1px solid rgba(17, 24, 47, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 24px rgba(17, 24, 47, .04);
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sanctek-lang-switcher__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  min-height: 1.55rem;
  padding: 0 .08rem;
  color: #697287;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .075em;
  text-decoration: none;
  transition:
    color .18s ease,
    transform .18s ease;
}

.sanctek-lang-switcher__link:hover,
.sanctek-lang-switcher__link:focus-visible {
  color: #665fe0;
  transform: translateY(-1px);
}

.sanctek-lang-switcher__link.is-current {
  color: #11182f;
}

.sanctek-lang-switcher__link.is-current::after {
  content: "";
  position: absolute;
  right: .08rem;
  bottom: -.15rem;
  left: .08rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #665fe0,
    #35b9ad
  );
}

.sanctek-lang-switcher__separator {
  color: rgba(17, 24, 47, .24);
  font-size: .64rem;
  font-weight: 700;
  pointer-events: none;
}

@media (max-width: 900px) {
  .menu-item--sanctek-language {
    width: auto;
  }

  .sanctek-lang-switcher {
    margin-top: .35rem;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sanctek-lang-switcher__link {
    transition: none;
  }
}

/* ==========================================================
   SANCTEK 025.2.5.8 HEADER LANGUAGE SWITCHER
   ========================================================== */

.sanctek-header-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 10px;
    margin-left: 10px;
    border: 1px solid rgba(69, 76, 108, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #454c6c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sanctek-header-lang__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6155df;
}

.sanctek-header-lang__link {
    color: #596078;
    text-decoration: none;
    transition: color 160ms ease, opacity 160ms ease;
}

.sanctek-header-lang__link:hover,
.sanctek-header-lang__link:focus-visible,
.sanctek-header-lang__link.is-active {
    color: #6155df;
}

.sanctek-header-lang__separator {
    color: rgba(69, 76, 108, 0.35);
    font-weight: 500;
}

@media (max-width: 900px) {
    .sanctek-header-lang {
        margin-left: 0;
        margin-top: 10px;
        min-height: 40px;
        align-self: flex-start;
    }
}

@media (max-width: 680px) {
    .sanctek-header-lang {
        padding: 0 9px;
        font-size: 12px;
    }

    .sanctek-header-lang__icon svg {
        width: 17px;
        height: 17px;
    }
}

/* ==========================================================
   SANCTEK 025.2.6 — COMPACT HEADER
   ========================================================== */

.sanctek-header-lang {
    display: none !important;
}

.sanctek-header-lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-left: 5px;
    border: 1px solid rgba(69, 76, 108, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #6155df;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(30, 34, 72, 0.05);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.sanctek-header-lang-toggle:hover,
.sanctek-header-lang-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(97, 85, 223, 0.30);
    box-shadow: 0 7px 20px rgba(30, 34, 72, 0.09);
}

.site-nav__list {
    column-gap: clamp(13px, 1.2vw, 20px);
}

@media (max-width: 1100px) {
    .site-nav__list {
        column-gap: 12px;
    }

    .sanctek-header-lang-toggle {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        margin-left: 2px;
    }
}

@media (max-width: 900px) {
    .sanctek-header-lang-toggle {
        width: 40px;
        height: 40px;
        margin: 12px 0 0;
    }
}

/* ==========================================================
   SANCTEK 025.2.6.1 MENU LANGUAGE ICON
   ========================================================== */

.sanctek-header-lang,
.sanctek-header-lang-toggle {
    display: none !important;
}

.site-nav__list {
    column-gap: clamp(12px, 1.15vw, 19px);
}

.sanctek-lang-toggle-menu-item {
    display: flex;
    align-items: center;
    margin-left: 2px;
}

.sanctek-lang-toggle-menu-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0 !important;
    border: 1px solid rgba(69, 76, 108, 0.13);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #6155df !important;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(30, 34, 72, 0.05);
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.sanctek-lang-toggle-menu-link::after {
    display: none !important;
}

.sanctek-lang-toggle-menu-link:hover,
.sanctek-lang-toggle-menu-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(97, 85, 223, 0.30);
    box-shadow: 0 7px 20px rgba(30, 34, 72, 0.09);
}

@media (max-width: 1100px) {
    .site-nav__list {
        column-gap: 11px;
    }

    .sanctek-lang-toggle-menu-link {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
}

@media (max-width: 900px) {
    .sanctek-lang-toggle-menu-item {
        margin: 8px 0 0;
    }

    .sanctek-lang-toggle-menu-link {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
}
