.language-switcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2147483000;
  display: flex;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(12, 31, 45, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(12, 31, 45, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.language-switcher a {
  display: grid;
  width: 40px;
  height: 30px;
  place-items: center;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #e8edf0;
  color: inherit;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.language-switcher img {
  display: block;
  width: 32px;
  height: 21px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(12, 31, 45, 0.18);
}

.language-switcher a:hover { background: #f0f5f7; transform: translateY(-1px); }
.language-switcher a[aria-current="page"] { border-color: #168e5d; background: #eaf7f1; }
.language-switcher a:focus-visible { outline: 3px solid rgba(22, 142, 93, 0.3); outline-offset: 2px; }

@media (max-width: 760px) {
  .language-switcher {
    right: 14px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    gap: 5px;
    padding: 5px;
    border-radius: 12px;
  }
  .language-switcher a { width: 38px; height: 29px; }
  .language-switcher img { width: 30px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .language-switcher a { transition: none; }
}
