| LEASES - Additional Information (Details) - USD ($) $ in Millions | 3 Months Ended | ||
|---|---|---|---|
| Sep. 30, 2024 | Sep. 30, 2023 | Jun. 30, 2024 | |
| Lessee, Lease, Description [Line Items] | |||
| Total lease expense | $ 13.1 | $ 12.4 | |
| Operating leases, weighted average remaining lease term | 6 years 6 months | 6 years 8 months 12 days | |
| Operating leases, weighted average discount rate | 4.22% | 4.30% | |
| Minimum | |||
| Lessee, Lease, Description [Line Items] | |||
| Remaining lease terms | 1 year | ||
| Maximum | |||
| Lessee, Lease, Description [Line Items] | |||
| Remaining lease terms | 28 years | ||
| X | ||||||||||
| 
- Definition Lessee, Operating Lease, Remaining Term Of Contract No definition available. 
 | 
| 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. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of operating lease expense. Excludes sublease income. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- Definition Weighted average discount rate for operating lease calculated at point in time. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 | 
| X | ||||||||||
| 
- Definition Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |