#modal-metas {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0s 0.3s;
}

#modal-metas.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

#modal-graficos {
	position: relative;
	background-color: #fff;
	padding: 2rem;
	padding-top: 60px;
	width: 90%;
	max-width: 1000px;
	max-height: 90vh;
	min-height: 400px;
	overflow-y: auto;
	border-radius: 10px;
}

#boton-cerrar-modal {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 2rem;
	cursor: pointer;
	color: black;
	transition: 0.3s;
	transform-origin: center;
}

#boton-cerrar-modal:hover {
	scale: 1.2;
	font-weight: bold;
	color: rgb(188, 7, 45);
}

#modal-titulo {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 1.5rem;
	text-align: center;
	color: rgb(188, 7, 45);
}

.mensaje-no-metas {
	text-align: center;
	font-weight: bold;
	font-size: 1.5rem;
	color: #ccc;
	margin-top: 15%;
}

.modal-meta-bloque {
	margin-bottom: 2rem;
}

.modal-meta-texto {
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
	align-items: center;
	gap: 10px;
	font-size: 1rem;
	margin-bottom: 0.5rem;
	padding: 8px;
}

.modal-meta-texto p, .modal-meta-texto h4 {
	margin: 0 0 0 0;
}

.modal-meta-nombre>span {
	color: rgb(188, 7, 45);
}

.modal-meta-container {
	background-color: #ccc;
	height: clamp(40px, 120%, 120%);
	/* position: relative; */
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	padding: 10px 0;
	overflow: hidden;
}

.modal-meta-barra {
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}

.modal-indicador-container {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
	gap: 2px;
	width: 100%;
	padding-right: 10px;
}

.modal-indicador-barra {
	height: 20px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	padding: 4px 10px;
	padding-right: 10px;
	margin-top: 8px;
	display: flex;
	justify-content: end;
	box-sizing: border-box;
	display: flex;
}

.modal-indicador-barra>p {
	margin: 0;
	font-size: 0.8rem;
	height: 100%;
	display: flex;
	align-items: center;
	font-weight: bold;
	color: white;
}

.modal-indicador-texto {
	margin-left: 0.5rem;
	font-size: 0.9rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
	gap: 10px;
}

.modal-indicador-texto p:first-child {
	font-weight: bold;
}

.modal-indicador-texto p {
	margin: 0;
}

.modal-eje-x-container {
	margin-top: 0.5rem;
	position: relative;
}

.modal-eje-x-linea-horizontal {
	height: 2px;
	background-color: #000;
	width: 100%;
}

.modal-eje-x-valores {
	display: flex;
	justify-content: space-between;
	font-size: 0.8rem;
	margin-top: 0.25rem;
}

.texto-negro {
	color: black !important;
}

.modal-meta-valor {
	line-height: 25px;
	font-size: 0.9rem;
}

.texto-con-pastilla-gris-oscuro {
	background-color: #aaa !important;
	padding: 4px 8px !important;
	border-radius: 50px !important;
}

.texto-con-pastilla-gris-claro {
	background-color: #ddd !important;
	padding: 4px 8px !important;
	border-radius: 50px !important;
}