.lang-wrap {
  position: relative;
  display: inline-block;
  margin-right: 15px;
}

.lang-btn {
  background: #fff;
  border: 1px solid #f8f8f8;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-btn .caret {
  font-size: 10px;
  margin-top: 1px;
}

.lang-list {
  position: absolute;
  top: 35px;
  right: 0;
  background: #fff;
  border: 1px solid #f8f8f8;
  border-radius: 10px;
  display: none;
  width: 90px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lang-list.open {
  display: block;
}

.lang-item {
  padding: 8px 10px;
  cursor: pointer;
  font-size: 14px;
}
.lang-item img{
  padding-left: 5px;
}

.lang-item:hover {
  background: #8a8a8a;
  color: #fff;
  border-radius: 10px ;
}

.lang-item.active {
  background: #3d3dff;
  font-weight: bold;
  border-radius: 10px;
  color: #fff;
}
