div:has(> button[data-bs-toggle="modal"]), .modal-footer:has(> button[data-bs-dismiss="modal"]) {
  display: flex;
  justify-content: center;
}

.modal-dialog{
	max-width:848px !important;
	height:836px !important;
}

.modal-content{
	border-radius: 2rem !important;
}

.modal-header .btn-close{
	display: none !important;
}

.modal-body{
	padding: 2rem !important;
}
.modal-body div.field {
	padding: 1.5rem;
  border-radius: 1.5rem;
  background-color: #F9F7FC;
  max-height: 588px;
  height: 588px;
  overflow: scroll;
  overflow-x: hidden;
  overflow-y: scroll;
}

/* Scrollbar para navegadores WebKit (Chrome, Edge, Safari) */
.modal-body div.field::-webkit-scrollbar {
  width: 6px; /* ancho del scroll */
}

.modal-body div.field::-webkit-scrollbar-track {
  background: #E6E1F5; /* fondo del track */
}

/* Ocultar flechas (botones de scroll) */
.modal-body div.field::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

.modal-body div.field::-webkit-scrollbar-thumb {
  background-color: #8367CE;
  border-radius: 4px; /* esquinas redondeadas */
}

/* Mantener color al hacer hover sobre la barra */
.modal-body div.field::-webkit-scrollbar-thumb:hover {
  background-color: #8367CE;
}

/* Scrollbar para Firefox */
.modal-body div.field {
  scrollbar-width: thin; /* scrollbar fino */
  scrollbar-color: #8367CE transparent; /* color de la barra y fondo */
}

/*.modal-footer div:has(> a.btn-compensar-primary){
	display: none !important;
}*/

.modal-footer .btn-secondary {
	display: none !important;
}

.modal-last-paragraph, .modal-last-unordered-list {
	border-bottom: dashed 1px #B2B2B2;
	padding-bottom: 1rem;
}