Thin-film solar panels