/* Aljamir - Cookies */

#aljamirCookiesDiv {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.8);
}

#aljamirCookiesDiv .modal-dialog {
	width: 90%;
	max-width: 960px;
	overflow: auto;
	padding: 30px;
	height: auto;
	max-height: 90%;
	border: var(--linea-bold);
	background: var(--bloque);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 999;
}

#aljamirCookiesDiv .modal-title {
	margin-top: 0;
}

#aljamirCookiesDiv .modal-body .container-fluid {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 30px 0;
}

#aljamirCookiesDiv .modal-body .container-fluid .mt-2 {
	margin: 0 !important;
}

#aljamirCookiesDiv .modal-body .container-fluid .categoriaCookieContenedor {
	border: 0;
	margin: 0;
}

#aljamirCookies {
	padding: 20px 0;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#aljamirCookies .fa {
	color: white;
}

#aljamirCookies .d-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
	background: #aaa;
	padding: 0.3em 0.5em;
	margin-bottom: 10px;
}

#aljamirCookiesDiv .modal-footer {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 1em;
}

#aljamirCookiesDiv .row.collapse,
#aljamirCookiesDiv .row.collapse .row .col {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

#aljamirCookiesDiv .row.collapse .row .col {
	gap: 0.5em;
}

#aljamirCookiesDiv .row.collapse:not(.show) {
	display: none;
}

.cookieCategoryName{
	font-weight: 800;
}

.categoriaCookieContenedor{
	border-bottom: 1px solid #ddd;
	margin: 10px 0;
}

.switch input {
	display: none;
}

.switch {
	position: relative;
	display: inline-block;
	width: 40px;  /* Ajusta el ancho */
	height: 20px; /* Ajusta la altura */
	vertical-align: middle;
}

.switch input + .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 20px; /* Ajusta el borde para que sea un círculo */
}

.switch input + .slider:before {
	position: absolute;
	content: "";
	height: 14px;  /* Ajusta el tamaño del círculo */
	width: 14px;   /* Ajusta el tamaño del círculo */
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

.switch input:checked + .slider {
	background-color: #2196F3;
}

.switch input:checked + .slider:before {
	transform: translateX(20px); /* Ajusta según el nuevo tamaño */
}

.toggle-button {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.2em;
	margin-left: 10px;
	vertical-align: middle;
	display: inline;
	align-items: center;
	padding: 0;
}

.toggle-button .fa-chevron-down {
	transition: transform 0.3s ease;
}

.toggle-button.active .fa-chevron-down {
	transform: rotate(-180deg);
}