.lang-dropdown {
  position: relative;
  margin-left: 20px;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-grow: 1;
  justify-content: flex-end;
}

@media screen and (max-width: 479px) {
  .header-actions {
    gap: 8px;
  }
}

.lang-btn {
  background: transparent !important;
  border: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 50px;
  cursor: pointer;
}

.lang-btn #current-lang-flag {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  background: none !important;
  box-shadow: none !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
}

.lang-arrow {
  width: 10px;
  height: 6px;
  stroke-width: 1.5px;
}

.lang-content {
  position: absolute;
  top: 120%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  display: none;
  z-index: 1000001;
  padding: 8px;
  pointer-events: auto;
}

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

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.lang-option:hover {
  background: #f5f5f7;
}

.lang-option.active {
  font-weight: 700;
}

.lang-option img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

