/* Main Container Styling */
.suburb-profile__demographics {
	display: flex;
	justify-content: space-between;
	padding: 20px;
	gap: 20px;
	flex-wrap: wrap;
	
}

/* Counter Box Styling */
.suburb-profile__demographics-counters {
	display: flex;
	flex: 1 1 40%;
	gap: 20px;
	align-items: center;
}
.demographic_wrap{
	width: 100%;
}

.suburb-profile__demographics-container {
	background: #ffffff;
	padding: 20px;
	text-align: center;
	border: 1px solid #eb5342;
	flex: 1;
}

.suburb-profile__demographics-label {
	font-size: 12px;
	color: #333;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.suburb-profile__demographics-value {
	font-size: 32px;
	color: #333;
	font-weight: 400;
	padding: 20px 5px;
}

/* Percentage Graph Section */
.suburb-profile__demographics-percentage {
	display: flex;
	flex-direction: column;
	flex: 1 1 50%;
	gap: 20px;
	justify-content: space-around;
}

.suburb-profile__demographics-headers {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #999;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.suburb-profile__demographics-graph {
	display: flex;
	width: 100%;
	height: 40px;
	background-color: #ccc; /* Light gray background for the full bar */
	overflow: hidden;
	position: relative;
}

/* Bar Sections for Owner/Renter and Family/Single */
.suburb-profile__demographics-graph-left {
	background-color: #333;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: width 1s ease; /* Smooth transition for animation */
	width: 0; /* Initial width for animation */
}

.suburb-profile__demographics-graph-right {
	background-color: #999;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: width 1s ease; /* Smooth transition for animation */
	width: 0; /* Initial width for animation */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.suburb-profile__demographics {
		flex-direction: column;
	}

	.suburb-profile__demographics-counters,
	.suburb-profile__demographics-percentage {
		flex: 1 1 100%;
	}
}

.percent::after {
	content: '%';
	margin-left: 2px; /* Optional: adds a small space between the number and % symbol */
}