.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 20px;
  vertical-align: middle;
  flex-shrink: 0;
}

.rd-navbar-main-element {
  display: flex !important;
  align-items: center !important;
}

.lang-switcher-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.lang-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.lang-switcher-btn::after {
  content: ' ▾';
  font-size: 10px;
  margin-left: 4px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  min-width: 140px;
  z-index: 9999;
  overflow: hidden;
}

.lang-dropdown.show {
  display: block;
}

.lang-dropdown-item {
  display: block;
  padding: 10px 18px;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s ease;
  cursor: pointer;
}

.lang-dropdown-item:hover {
  background: #f5f5f5;
}

.lang-dropdown-item.active {
  color: #19b5fe;
  font-weight: 600;
  background: #f0f9ff;
}

@media (max-width: 991px) {
  .lang-switcher {
    margin-left: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    justify-content: center;
  }

  .rd-navbar-main-element {
    flex-wrap: wrap !important;
  }

  .lang-dropdown {
    right: 50%;
    transform: translateX(50%);
  }
}
