the "for" should be followed by an arbitrarily long and complicated sentence like:
Thank you for waiting for me after the football match!
or
Sorry for spilling my drink on the carpet that you got for your birthday.
the "for" should be followed by an arbitrarily long and complicated sentence like:
Thank you for waiting for me after the football match!
or
Sorry for spilling my drink on the carpet that you got for your birthday.
Informally, it's usually, ~てくれてありがとう and ~てごめん(なさい).
サッカー(の[試合]{しあい})の[後]{あと}で待っていてくれてありがとう。
[絨毯]{じゅうたん}を[汚]{よご}してごめんなさい。