XML 55 R44.htm IDEA: XBRL DOCUMENT
v3.25.2

Separation and Distribution (Details) | 1 Months Ended | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
Dec. 31, 2022 shares | Jun. 30, 2025 shares | Jun. 30, 2025 USD ($) shares | Jun. 30, 2024 USD ($) | Dec. 31, 2024 USD ($)
Separation and Distribution [Line Items] |  |  |  |  |
Shares withheld, percentage of issued and outstanding securities | 70.00% |  |  |  |
Deconsolidation gain amount (in Dollars) |  |  |  | $ 4,728,348 |
SG DevCorp [Member] |  |  |  |  |
Separation and Distribution [Line Items] |  |  |  |  |
Ownership interest, percentage of issued and outstanding shares | 100.00% |  |  |  |
Distribution date | Sep. 27, 2023 |  |  |  |
Stockholder received shares | 0.930886 |  |  |  |
Ownership percentage |  |  |  |  | 50.00%
Deconsolidation gain amount (in Dollars) |  |  | $ 4,728,348 |  | $ 4,637,013
Fair value of deconsolidation (in Dollars) |  |  |  |  | $ 8,126,350
Common Stock [Member] |  |  |  |  |
Separation and Distribution [Line Items] |  |  |  |  |
Shares held as close of business (in Shares) | shares | 5 | 1,216,000 | 1,216,000 |  |
Common Stock [Member] | SG DevCorp [Member] |  |  |  |  |
Separation and Distribution [Line Items] |  |  |  |  |
Percentage of outstanding common stock under distribution | 30.00% |  |  |  |

X
- Definition Distribution date. + References No definition available. + Details
Name: | sgbx_DistributionDate
Namespace Prefix: | sgbx_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of deconsolidation amount. + References No definition available. + Details
Name: | sgbx_FairValueOfDeconsolidation
Namespace Prefix: | sgbx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Ownership interest, percentage of issued and outstanding shares. + References No definition available. + Details
Name: | sgbx_OwnershipInterestPercentageOfIssuedAndOutstandingShares
Namespace Prefix: | sgbx_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of outstanding common stock under distribution. + References No definition available. + Details
Name: | sgbx_PercentageOfOutstandingCommonStockUnderDistribution
Namespace Prefix: | sgbx_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The nominal number of subsidiary's shares to be distributed to each stockholder of the parent company on a stock transaction. + References No definition available. + Details
Name: | sgbx_SaleOfStockNumberOfSharesToBeDistributedToEachStockholderOfParent
Namespace Prefix: | sgbx_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Shares withheld, percentage of issued and outstanding securities. + References No definition available. + Details
Name: | sgbx_SharesWithheldPercentageOfIssuedAndOutstandingSecurities
Namespace Prefix: | sgbx_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of gain (loss) from deconsolidation of subsidiary and derecognition of group of assets constituting transfer of business or nonprofit activity, excluding conveyance of oil and gas mineral rights and transfer of good or service in contract with customer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481203/810-10-50-1B Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 21 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-21 + Details
Name: | us-gaap_DeconsolidationGainOrLossAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DistributionMadeToLimitedPartnerLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of subsidiary's or equity investee's stock owned by parent company after stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockPercentageOfOwnershipAfterTransaction
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of stock issued attributable to transactions classified as other. + References No definition available. + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | dei_LegalEntityAxis=sgbx_SGDevCorpMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |