.consent-modal {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 450px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  z-index: 1000;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  padding: 20px;
}

.consent-modal-header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  color: #000;
}

.consent-modal-body {
  font-size: 12px;
  line-height: 1.5;
  color: #000;
  margin-bottom: 20px;
}

.consent-modal-body a {
	color: #1C3147;
}

.consent-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.consent-checkbox-group label {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  color: #000;
  width: calc(50% - 10px);
}

.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
  margin-right: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #1C3147;
}

input:checked:disabled + .slider {
  background-color: #89BDF4;
}

input:checked + .slider:before {
  transform: translateX(14px);
}

.consent-modal-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px; /* Añadir espacio entre botones */
}

.consent-btn {
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 5px 0;
  flex: 1 1 45%;
  border: 1px solid #1C3147;
}

.consent-btn.accept-all-btn {
  background-color: #1C3147;
  color: #fff;
}

.consent-btn.reject-all-btn {
  background-color: #1C3147;
  color: #fff;
}

.consent-btn.save-settings-btn {
  background-color: #1C3147;
  color: #fff;
}

.consent-btn.no-adjust-btn {
  background-color: #1C3147;
  color: #fff;
}

.consent-btn:hover, .consent-btn:active, .consent-btn:focus {
  background-color: #fff;
  border: 1px solid #89BDF4;
  color: #89BDF4;
}

@media (max-width: 768px) {
	.consent-modal {
		width: 100%;
		left: 0;
		bottom: 0;
		border-radius: 0;
		padding: 10px;
	}
	.consent-modal-header {
		font-size: 15px;
		margin-bottom: 0;
	}
	.consent-modal-footer {
	  gap: 5px;
	}
	.consent-modal-body {
		margin-bottom: 6px;
	}
	.consent-checkbox-group {
		margin-bottom: 2px;
		gap: 0px 7px;
	}

  .consent-checkbox-group label {
    width: calc(50% - 5px); /* Reducir el ancho de los checkboxes */
	margin-bottom: 4px;
  }

  .consent-modal-footer {
	gap: 3px; /* Reducir el espacio entre botones */
  }

  .consent-btn {
    padding: 8px 10px; /* Reducir padding de los botones */
    margin: 0px 0;
    flex: 1 1 48%; /* Ajustar tamaño flexible */
  }
}