<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>620</ContextCount>
  <ElementCount>734</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>144</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>000002 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>000003 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>000004 - Statement - UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/UnauditedCondensedConsolidatedStatementsOfOperationsAndComprehensiveLoss</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>000005 - Statement - UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY AND MEZZANINE EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/UnauditedCondensedConsolidatedStatementsOfChangesInStockholdersEquityAndMezzanineEquity</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY AND MEZZANINE EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>000006 - Statement - UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/UnauditedCondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>000007 - Disclosure - BASIS OF PRESENTATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/BasisOfPresentation</Role>
      <ShortName>BASIS OF PRESENTATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>000008 - Disclosure - ORGANIZATION AND NATURE OF BUSINESS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/OrganizationAndNatureOfBusiness</Role>
      <ShortName>ORGANIZATION AND NATURE OF BUSINESS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>000009 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>000010 - Disclosure - EQUITY METHOD INVESTMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/EquityMethodInvestments</Role>
      <ShortName>EQUITY METHOD INVESTMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>000011 - Disclosure - PROPERTY AND EQUIPMENT, NET</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/PropertyAndEquipmentNet</Role>
      <ShortName>PROPERTY AND EQUIPMENT, NET</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>000012 - Disclosure - INTANGIBLE ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/IntangibleAssets</Role>
      <ShortName>INTANGIBLE ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>000013 - Disclosure - LOAN RECEIVABLE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/LoanReceivable</Role>
      <ShortName>LOAN RECEIVABLE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>000014 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/IncomeTaxes</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>000015 - Disclosure - CAPITAL STRUCTURE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/CapitalStructure</Role>
      <ShortName>CAPITAL STRUCTURE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>000016 - Disclosure - RELATED PARTY TRANSACTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/RelatedPartyTransactions</Role>
      <ShortName>RELATED PARTY TRANSACTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>000017 - Disclosure - LINES OF CREDIT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/LinesOfCredit</Role>
      <ShortName>LINES OF CREDIT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>000018 - Disclosure - CONVERTIBLE DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/ConvertibleDebt</Role>
      <ShortName>CONVERTIBLE DEBT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>000019 - Disclosure - NOTES PAYABLE</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://cosm.com/role/NotesPayable</Role>
      <ShortName>NOTES PAYABLE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>000020 - Disclosure - LEASES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/LEASES</Role>
      <ShortName>LEASES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>000021 - Disclosure - OTHER LIABILITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/OtherLiabilities</Role>
      <ShortName>OTHER LIABILITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>000022 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/CommitmentsAndContingencies</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>000023 - Disclosure - EARNINGS PER SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/EarningsPerShare</Role>
      <ShortName>EARNINGS PER SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>000024 - Disclosure - STOCK OPTIONS AND WARRANTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/StockOptionsAndWarrants</Role>
      <ShortName>STOCK OPTIONS AND WARRANTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>000025 - Disclosure - DISAGGREGATION OF REVENUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/DisaggregationOfRevenue</Role>
      <ShortName>DISAGGREGATION OF REVENUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>000026 - Disclosure - SEGMENT REPORTING</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SegmentReporting</Role>
      <ShortName>SEGMENT REPORTING</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>000027 - Disclosure - SUBSEQUENT EVENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SubsequentEvents</Role>
      <ShortName>SUBSEQUENT EVENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>000028 - Disclosure - ORGANIZATION AND NATURE OF BUSINESS (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/OrganizationAndNatureOfBusinessPolicies</Role>
      <ShortName>ORGANIZATION AND NATURE OF BUSINESS (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>000029 - Disclosure - ORGANIZATION AND NATURE OF BUSINESS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/OrganizationAndNatureOfBusinessTables</Role>
      <ShortName>ORGANIZATION AND NATURE OF BUSINESS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/OrganizationAndNatureOfBusiness</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>000030 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>000031 - Disclosure - PROPERTY AND EQUIPMENT, NET (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/PropertyAndEquipmentNetTables</Role>
      <ShortName>PROPERTY AND EQUIPMENT, NET (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/PropertyAndEquipmentNet</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>000032 - Disclosure - INTANGIBLE ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/IntangibleAssetsTables</Role>
      <ShortName>INTANGIBLE ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/IntangibleAssets</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>000033 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/IncomeTaxesTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/IncomeTaxes</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>000034 - Disclosure - RELATED PARTY TRANSACTIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/RelatedPartyTransactionsTables</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/RelatedPartyTransactions</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>000035 - Disclosure - LINES OF CREDIT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/LinesOfCreditTables</Role>
      <ShortName>LINES OF CREDIT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/LinesOfCredit</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>000036 - Disclosure - CONVERTIBLE DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/ConvertibleDebtTables</Role>
      <ShortName>CONVERTIBLE DEBT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/ConvertibleDebt</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>000037 - Disclosure - NOTES PAYABLE (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://cosm.com/role/NotesPayableTables</Role>
      <ShortName>NOTES PAYABLE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/NotesPayable</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>000038 - Disclosure - LEASES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/LeasesTables</Role>
      <ShortName>LEASES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/LEASES</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>000039 - Disclosure - EARNINGS PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/EarningsPerShareTables</Role>
      <ShortName>EARNINGS PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/EarningsPerShare</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>000040 - Disclosure - STOCK OPTIONS AND WARRANTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/StockOptionsAndWarrantsTables</Role>
      <ShortName>STOCK OPTIONS AND WARRANTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/StockOptionsAndWarrants</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>000041 - Disclosure - DISAGGREGATION OF REVENUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/DisaggregationOfRevenueTables</Role>
      <ShortName>DISAGGREGATION OF REVENUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/DisaggregationOfRevenue</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>000042 - Disclosure - SEGMENT REPORTING (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SegmentReportingTables</Role>
      <ShortName>SEGMENT REPORTING (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://cosm.com/role/SegmentReporting</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>000043 - Disclosure - BASIS OF PRESENTATION (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/BasisOfPresentationDetailsNarrative</Role>
      <ShortName>BASIS OF PRESENTATION (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/BasisOfPresentation</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>000044 - Disclosure - ORGANIZATION AND NATURE OF BUSINESS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/OrganizationAndNatureOfBusinessDetails</Role>
      <ShortName>ORGANIZATION AND NATURE OF BUSINESS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/OrganizationAndNatureOfBusinessTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>000045 - Disclosure - ORGANIZATION AND NATURE OF BUSINESS (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/OrganizationAndNatureOfBusinessDetails1</Role>
      <ShortName>ORGANIZATION AND NATURE OF BUSINESS (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/OrganizationAndNatureOfBusinessTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>000046 - Disclosure - ORGANIZATION AND NATURE OF BUSINESS (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/OrganizationAndNatureOfBusinessDetails2</Role>
      <ShortName>ORGANIZATION AND NATURE OF BUSINESS (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/OrganizationAndNatureOfBusinessTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>000047 - Disclosure - ORGANIZATION AND NATURE OF BUSINESS (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/OrganizationAndNatureOfBusinessDetails3</Role>
      <ShortName>ORGANIZATION AND NATURE OF BUSINESS (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/OrganizationAndNatureOfBusinessTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>000048 - Disclosure - ORGANIZATION AND NATURE OF BUSINESS (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/OrganizationAndNatureOfBusinessDetails4</Role>
      <ShortName>ORGANIZATION AND NATURE OF BUSINESS (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/OrganizationAndNatureOfBusinessTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>000049 - Disclosure - ORGANIZATION AND NATURE OF BUSINESS (Details 5)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/OrganizationAndNatureOfBusinessDetails5</Role>
      <ShortName>ORGANIZATION AND NATURE OF BUSINESS (Details 5)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/OrganizationAndNatureOfBusinessTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>000050 - Disclosure - ORGANIZATION AND NATURE OF BUSINESS (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/OrganizationAndNatureOfBusinessDetailsNarrative</Role>
      <ShortName>ORGANIZATION AND NATURE OF BUSINESS (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/OrganizationAndNatureOfBusinessTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>000051 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>000052 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesDetails1</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>000053 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesDetails2</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>000054 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesDetails3</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>000055 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesDetails4</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>000056 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details 5)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesDetails5</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details 5)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>000057 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>000058 - Disclosure - EQUITY METHOD INVESTMENTS (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/EquityMethodInvestmentsDetailsNarrative</Role>
      <ShortName>EQUITY METHOD INVESTMENTS (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/EquityMethodInvestments</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>000059 - Disclosure - PROPERTY PLANT AND EQUIPMENT (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/PropertyPlantAndEquipmentDetails</Role>
      <ShortName>PROPERTY PLANT AND EQUIPMENT (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>000060 - Disclosure - INTANGIBLE ASSETS NET (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/IntangibleAssetsNetDetails</Role>
      <ShortName>INTANGIBLE ASSETS NET (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/IntangibleAssetsTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>000061 - Disclosure - INTANGIBLE ASSETS NET (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/IntangibleAssetsNetDetails1</Role>
      <ShortName>INTANGIBLE ASSETS NET (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/IntangibleAssetsTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>000062 - Disclosure - LOAN RECEIVABLE (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/LoanReceivableDetailsNarrative</Role>
      <ShortName>LOAN RECEIVABLE (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/LoanReceivable</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>000063 - Disclosure - CAPITAL STRUCTURE (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/CapitalStructureDetailsNarrative</Role>
      <ShortName>CAPITAL STRUCTURE (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/CapitalStructure</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>000064 - Disclosure - INCOME TAXES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/IncomeTaxesDetails</Role>
      <ShortName>INCOME TAXES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/IncomeTaxesTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>000065 - Disclosure - INCOME TAXES (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/IncomeTaxesDetails1</Role>
      <ShortName>INCOME TAXES (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/IncomeTaxesTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>000066 - Disclosure - INCOME TAXES (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/IncomeTaxesDetails2</Role>
      <ShortName>INCOME TAXES (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/IncomeTaxesTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>000067 - Disclosure - INCOME TAXES (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/IncomeTaxesDetails3</Role>
      <ShortName>INCOME TAXES (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/IncomeTaxesTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>000068 - Disclosure - INCOME TAXES (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/IncomeTaxesDetailsNarrative</Role>
      <ShortName>INCOME TAXES (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/IncomeTaxesTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>000069 - Disclosure - RELATED PARTY TRANSACTIONS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/RelatedPartyTransactionsTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>000070 - Disclosure - RELATED PARTY TRANSACTIONS (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/RelatedPartyTransactionsDetails1</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/RelatedPartyTransactionsTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>000071 - Disclosure - RELATED PARTY TRANSACTIONS (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/RelatedPartyTransactionsDetailsNarrative</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/RelatedPartyTransactionsTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>000072 - Disclosure - LINES OF CREDIT (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/LinesOfCreditDetails</Role>
      <ShortName>LINES OF CREDIT (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/LinesOfCreditTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>000073 - Disclosure - LINES OF CREDIT (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/LinesOfCreditDetailsNarrative</Role>
      <ShortName>LINES OF CREDIT (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/LinesOfCreditTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>000074 - Disclosure - CONVERTIBLE DEBT (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/ConvertibleDebtDetails</Role>
      <ShortName>CONVERTIBLE DEBT (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/ConvertibleDebtTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>000075 - Disclosure - CONVERTIBLE DEBT (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/ConvertibleDebtDetails1</Role>
      <ShortName>CONVERTIBLE DEBT (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/ConvertibleDebtTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>000076 - Disclosure - CONVERTIBLE DEBT (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/ConvertibleDebtDetails2</Role>
      <ShortName>CONVERTIBLE DEBT (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/ConvertibleDebtTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>000077 - Disclosure - CONVERTIBLE DEBT (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/ConvertibleDebtDetailsNarrative</Role>
      <ShortName>CONVERTIBLE DEBT (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/ConvertibleDebtTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>000078 - Disclosure - NOTES PAYABLE (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://cosm.com/role/NotesPayableDetails</Role>
      <ShortName>NOTES PAYABLE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/NotesPayableTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>000079 - Disclosure - NOTES PAYABLE (Details 1)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://cosm.com/role/NotesPayableDetails1</Role>
      <ShortName>NOTES PAYABLE (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/NotesPayableTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>000080 - Disclosure - NOTES PAYABLE (Details Narrative)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://cosm.com/role/NotesPayableDetailsNarrative</Role>
      <ShortName>NOTES PAYABLE (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/NotesPayableTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>000081 - Disclosure - LEASES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/LeasesDetails</Role>
      <ShortName>LEASES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/LeasesTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>000082 - Disclosure - LEASES (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/LeasesDetails1</Role>
      <ShortName>LEASES (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/LeasesTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>000083 - Disclosure - LEASES (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/LeasesDetailsNarrative</Role>
      <ShortName>LEASES (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/LeasesTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>000084 - Disclosure - OTHER LIABILITIES (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/OtherLiabilitiesDetailsNarrative</Role>
      <ShortName>OTHER LIABILITIES (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/OtherLiabilities</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>000085 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/CommitmentsAndContingenciesDetailsNarrative</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>000086 - Disclosure - EARNINGS PER SHARE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/EarningsPerShareDetails</Role>
      <ShortName>EARNINGS PER SHARE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/EarningsPerShareTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>000087 - Disclosure - EARNINGS PER SHARE (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/EarningsPerShareDetails1</Role>
      <ShortName>EARNINGS PER SHARE (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/EarningsPerShareTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>000088 - Disclosure - STOCK OPTIONS AND WARRANTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/StockOptionsAndWarrantsDetails</Role>
      <ShortName>STOCK OPTIONS AND WARRANTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/StockOptionsAndWarrantsTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>000089 - Disclosure - STOCK OPTIONS AND WARRANTS (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/StockOptionsAndWarrantsDetails1</Role>
      <ShortName>STOCK OPTIONS AND WARRANTS (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/StockOptionsAndWarrantsTables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>000090 - Disclosure - STOCK OPTIONS AND WARRANTS (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/StockOptionsAndWarrantsDetailsNarrative</Role>
      <ShortName>STOCK OPTIONS AND WARRANTS (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/StockOptionsAndWarrantsTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>000091 - Disclosure - DISAGGREGATION OF REVENUE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/DisaggregationOfRevenueDetails</Role>
      <ShortName>DISAGGREGATION OF REVENUE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/DisaggregationOfRevenueTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>000092 - Disclosure - SEGMENT REPORTING (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SegmentReportingDetails</Role>
      <ShortName>SEGMENT REPORTING (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/SegmentReportingTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="cosm_s1a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>000093 - Disclosure - SUBSEQUENT EVENTS (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://cosm.com/role/SubsequentEventsDetailsNarrative</Role>
      <ShortName>SUBSEQUENT EVENTS (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://cosm.com/role/SubsequentEvents</ParentRole>
      <Position>93</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>cosm-20240630.xsd</File>
    <File>cosm-20240630_cal.xml</File>
    <File>cosm-20240630_def.xml</File>
    <File>cosm-20240630_lab.xml</File>
    <File>cosm-20240630_pre.xml</File>
    <File doctype="S-1/A" isDefinitelyFs="true" isUsgaap="true" original="cosm_s1a.htm">cosm_s1a.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>cosm_s1img3.jpg</File>
    <File>cosm_s1img4.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1709">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="16">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
