.langpick.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: inherit;
  z-index: 50;
}
.langpick.language-picker .language-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  margin: 0;
  border: 1px solid #52777b;
  border-radius: 13px;
  background: rgba(5, 28, 36, 0.94);
  color: #edf8f6;
  font:
    550 14px/1.4 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 6px 20px #00131a22;
}
.langpick.language-picker .language-trigger:hover,
.langpick.language-picker .language-trigger[aria-expanded="true"] {
  background: #12363d;
  border-color: #86dfce;
  color: #edf8f6;
}
.language-trigger .language-globe {
  width: 21px;
  height: 21px;
  color: #86dfce;
}
.language-trigger .language-chevron {
  width: 15px;
  height: 15px;
  transition: transform 0.18s;
}
.language-trigger[aria-expanded="true"] .language-chevron {
  transform: rotate(180deg);
}
.langpick.language-picker svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.langpick.language-picker .language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 202px;
  display: grid;
  gap: 3px;
  padding: 6px;
  border: 1px solid #52777b;
  border-radius: 15px;
  background: rgba(5, 28, 36, 0.98);
  box-shadow: 0 16px 44px #00101680;
  z-index: 60;
}
.langpick.language-picker .language-options[hidden] {
  display: none !important;
}
.langpick.language-picker .language-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 46px;
  width: 100%;
  padding: 11px 12px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #d7e7e7;
  font:
    450 14px/1.4 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}
.langpick.language-picker .language-option:hover,
.langpick.language-picker .language-option:focus-visible {
  background: #153d43;
  color: #fff;
}
.langpick.language-picker .language-option[aria-selected="true"] {
  background: #10343a;
  color: #edf8f6;
  font-weight: 600;
}
.language-option .language-code {
  width: 26px;
  flex-shrink: 0;
  font-size: 12px;
  color: #a6bec0;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.language-option .language-check {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: #86dfce;
  visibility: hidden;
  stroke-width: 2.4;
}
.language-option[aria-selected="true"] .language-check {
  visibility: visible;
}
.langpick.language-picker button:focus-visible {
  outline: 2px solid #86dfce;
  outline-offset: 3px;
}
.menu .langpick.language-picker .language-options {
  top: auto;
  bottom: calc(100% + 8px);
}
@media (max-width: 560px) {
  .langpick.language-picker .language-trigger {
    min-height: 44px;
    padding: 9px 12px;
    gap: 8px;
    font-size: 13px;
  }
  .langpick.language-picker .language-options {
    width: 194px;
  }
  .language-trigger .language-globe {
    width: 19px;
    height: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .language-trigger .language-chevron {
    transition: none;
  }
}
