@import url('https://fonts.googleapis.com/css2?family=Inter&family=Nunito&family=Open+Sans&display=swap');

/* assets/style.css */
body,
html {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

#root {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.content {
	flex: 1;
	/* Makes the content flex container fill the available space */
	display: flex;
	flex-direction: column;
}

.main-container {
	font-family: 'Nunito', sans-serif;
	padding: 20px;
	background: #F1F1F1;
}

.section {
	margin-bottom: 20px;
	padding: 20px;
	border-radius: 4px;
	background: #FFF;
	box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.12), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.20);

}

.inventory-status section {
	background: white;
}

.container-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	/* Make a horizontal flexbox (the default) */
	flex-direction: row;
	/* The important part: vertically center the items */
	align-items: center;
}

.data-container {
	background-color: #f2f2f2;
	border-radius: 15px;
	padding: 20px;
	text-align: center;
	flex-grow: 1;
	/*display: grid;
	align-items: center;*/
}

.pie-chart {
	width: 100px;
	height: 100px;
	flex-basis: 100px;
	/* Fixed size for pie chart container */
}

.non-lead {
	border-radius: 4px;
	justify-content: space-evenly;
	border-top: 10px solid #20A76C;
	background: #F1F1F1;
}

.lead {
	border-radius: 4px;
	border-top: 10px solid #F44336;
	background: #F1F1F1;
}

.galv-replacement {
	border-radius: 4px;
	border-top: 10px solid #f06c00;
	background: #F1F1F1;
}

.lead-unknown {
	border-radius: 4px;
	border-top: 10px solid #1d4777;
	background: #F1F1F1;
}

.data-title {
	color: #666;
	font-size: 18px;
}

.data-value {
	font-size: 36px;
	font-weight: bold;
	margin: 10px 0;
}

.data-value-green {
	color: #20A76C;
	font-size: 36px;
	font-weight: bold;
	margin: 10px 0;
}

.data-value-red {
	color: #F44336;
	font-size: 36px;
	font-weight: bold;
	margin: 10px 0;
}

.data-value-orange {
	color: #f06c00;
	font-size: 36px;
	font-weight: bold;
	margin: 10px 0;
}

.data-value-blue {
	color: #1d4777;
	font-size: 36px;
	font-weight: bold;
	margin: 10px 0;
}


.data-subtitle {
	font-size: 18px;
}

.banner {
	text-align: left;
	margin-bottom: 20px;
}

/* Adjust the flex settings for responsiveness */
@media (max-width: 768px) {
	.container-row {
		flex-direction: column;
	}

	.data-container,
	.pie-chart {
		flex-basis: auto;
		width: 100%;
	}
}
.footer {
	margin-top: 2vh;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	align-self: stretch;
}

.footer-text {
	color: #000;
	font-family: "Inter" !important;
	font-size: 8px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

body,
html {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#root,
.main-container {
	display: flex;
	flex-direction: column;
	height: 100vh;
	overflow: hidden;
}

@media (max-width: 768px) {
	.container-row {
		flex-direction: column;
	}
}

@media (max-height: 850px) {

	#root,
	.main-container {
		overflow: auto;
	}
}