.lang-switcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #1e293b;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.lang-switcher-btn:hover {
  background: #334155;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.lang-switcher-btn .lang-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-switcher-btn svg {
  transition: transform 0.2s ease;
  margin-left: 2px;
}

.lang-switcher-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.lang-switcher-dropdown {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #1e293b;
  border-radius: 12px;
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: langSwitcherSlideIn 0.15s ease;
}

.lang-switcher-dropdown.open {
  display: block;
}

@keyframes langSwitcherSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-switcher-dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #e2e8f0;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.lang-switcher-dropdown li a:hover {
  background: #334155;
  color: #fff;
}

.lang-switcher-dropdown li a.active {
  background: #2563eb;
  color: #fff;
}

.lang-switcher-dropdown li a .lang-flag {
  font-size: 18px;
  line-height: 1;
}

.lang-switcher-dropdown li a .lang-label {
  flex: 1;
}

@media (max-width: 768px) {
  .lang-switcher {
    bottom: 16px;
    right: 16px;
  }
  .lang-switcher-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  .lang-switcher-dropdown {
    min-width: 160px;
  }
}
