/*
 * Compatibilidad Bootstrap 4 -> 5 para clases eliminadas en BS5
 * que se siguen usando en vistas y selectores JS.
 */
.form-group {
	margin-bottom: 1rem;
}

.btn-block {
	display: block;
	width: 100%;
}
.btn-block + .btn-block {
	margin-top: 0.5rem;
}

.jumbotron {
	padding: 2rem 1rem;
	margin-bottom: 2rem;
	background-color: var(--bs-secondary-bg);
	border-radius: 0.3rem;
}
@media (min-width: 576px) {
	.jumbotron {
		padding: 4rem 2rem;
	}
}

.form-inline {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
}
.form-inline .form-control,
.form-inline .form-select {
	display: inline-block;
	width: auto;
	vertical-align: middle;
}

.text-justify {
	text-align: justify !important;
}

/*
 * BS4 daba margen inferior a todos los <label>; BS5 solo a .form-label.
 * Se excluyen los labels que forman parte de un control (prefijos de
 * input-group, botones, checks) para no desalinearlos.
 */
label:not(.input-group-text):not(.btn):not(.form-check-label):not(.form-label) {
	margin-bottom: 0.5rem;
}

/* .btn-group-toggle (BS4): radios/checkbox dentro de <label class="btn"> ocultos */
.btn-group-toggle > .btn input[type='radio'],
.btn-group-toggle > .btn input[type='checkbox'] {
	position: absolute;
	clip: rect(0, 0, 0, 0);
	pointer-events: none;
}
