@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;
}

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

.replacements-completed {
	border-radius: 4px;
	border-top: 10px solid #20A76C;
	background: #F1F1F1;
}

.replacement-tracker {
	text-align: left;
	background: white;
}

.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-subtitle {
	font-size: 18px;
}

.progress-text {
	text-align: center;
	font-size: 18px;
	margin-top: 10px;
}

.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%;
	}
}

.progress-chart {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	align-self: stretch;
}

.progress-bar-container {
	height: 40.176px;
	flex: 1 0 0;
	position: relative;
}

.progress-bar {
	width: 100%;
	height: 40px;
	flex-shrink: 0;
	border-radius: 20px;
	border: 1px solid #1D4777;
	background: rgba(29, 71, 119, 0.15);
	display: flex;
	align-items: center;
}

.progress-bar-fill {
	height: 40px;
	flex-shrink: 0;
	border-radius: 20px;
	border: 5px solid #FFF;
	background: #20A76C;
	border: 0;
	transition: width 0.5s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.progress-bar-icon {
	width: 2vw;
	float: inline-end;
	align-items: center;
	flex-shrink: 0;
	margin-right: 0.5%;
}

.progress-bar-text {
	color: #000;
	text-align: right;
	font-family: "Nunito", sans-serif !important;
	font-size: 1.5vw;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	margin-right: 1vw;

}

.progress-bar-text-icon-container {
	display: flex;
	width: 100%;
	justify-content: flex-end;
	position: absolute;
	font-family: "Open Sans", sans-serif !important;

}

.progress-bar-fill-text {
	color: #FFF;
	text-align: right;
	font-family: "Nunito", sans-serif !important;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	margin-left: .5vw;

}

.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;
	}
}