.language-selector {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid rgba(23, 23, 22, 0.2);
  border-radius: 9999px;
  padding: 0.18rem;
  background: rgba(255, 255, 255, 0.72);
}

.language-selector-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  border: 0;
  border-radius: 9999px;
  padding: 0.3rem;
  background: transparent;
  color: #4a4a48;
  font: 600 0.65rem/1 Poppins, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.language-selector-option[aria-current="page"] {
  background: #171716;
  color: #fff;
}

.language-selector-option:focus-visible {
  outline: 2px solid #b8977e;
  outline-offset: 2px;
}

.language-status {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 100;
  width: max-content;
  max-width: min(20rem, calc(100vw - 2rem));
  border-radius: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: #fff;
  color: #8f2020;
  font: 400 0.7rem/1.4 Poppins, sans-serif;
  box-shadow: 0 8px 24px rgba(23, 23, 22, 0.12);
}

.language-status:empty {
  display: none;
}
