/* Language Switcher Styles */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.lang-switcher__toggle:hover {
  border-color: #007bff;
  background: #f8f9fa;
}

.lang-switcher__current {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switcher__name {
  font-weight: 500;
}

.lang-switcher__arrow {
  transition: transform 0.2s ease;
  color: #666;
}

.lang-switcher__toggle[aria-expanded='true'] .lang-switcher__arrow {
  transform: rotate(180deg);
}

.lang-switcher__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 160px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 8px 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.lang-switcher__dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__item {
  margin: 0;
}

.lang-switcher__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
}

.lang-switcher__link:hover {
  background: #f8f9fa;
  color: #007bff;
}

.lang-switcher__link.active {
  background: #e7f3ff;
  color: #007bff;
  font-weight: 600;
}

.lang-switcher__flag {
  font-size: 18px;
}

.lang-switcher__label {
  font-size: 14px;
}

/* Mobile adaptation */
@media (max-width: 768px) {
  .lang-switcher__toggle {
    padding: 6px 10px;
    font-size: 13px;
  }

  .lang-switcher__name {
    display: none;
  }

  .lang-switcher__dropdown {
    right: auto;
    left: 0;
  }
}
@media (max-width: 390px) {
  .lang-switcher__toggle {
    padding: 6px;
  }
  .logo-lang-switcher-wrapper {
    gap: 0.4rem;
  }
}
