XML 75 R53.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Nature of Operations (Details) | Dec. 31, 2024 operation
--- | ---
Continuing and discontinued operations [Abstract] |
Number of operations | 3

X
- Definition Continuing and discontinued operations [Abstract] + References No definition available. + Details
Name: | agi_ContinuinganddiscontinuedoperationsAbstract
Namespace Prefix: | agi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Operating Segments + References No definition available. + Details
Name: | agi_NumberOfOperatingSegments
Namespace Prefix: | agi_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant