.checkboxes-list {
	position: relative;
}

.checkboxes-list__button {
	color: #303466;
    font-size: 16px;
    line-height: 19px;
    background: unset;
    width: 100%;
    text-align: left;
    border: none;
    border-bottom: 1px solid rgba(48, 52, 102, 0.61);
    padding: 6px 15px 6px 0px;
}

.checkboxes-list__button::after {
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	border-style: solid;
	border-width: 9px 5px 0 5px;
	border-color: #5E629B transparent transparent;
	float: right;
	margin-top: 8px;
}

.checkboxes-list__options {
	margin-top: 7px;
	background: #FFFFFF;
    box-shadow: 0px 0px 20px rgb(48 52 102 / 20%);
    border-radius: 13px;
    width: 100%;
    padding: 20px;
    border: none;
}

.checkboxes-list__options--roles {
    position: absolute;
    left: 0;
    z-index: 100;
    width: 700px;
    padding: 24px 28px;
    overflow: visible !important;
}

.checkboxes-list__options-title {
	font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    color: #303466;
    margin-bottom: 15px;
}

.checkboxes-list__list {
	padding-left: 0;
	list-style-type: none;
	margin-bottom: 0;
}

.checkboxes-list__list li {
	margin-bottom: 10px;
}

.checkboxes-list__list input[type="checkbox"] {
    display: none;
}

.checkboxes-list__list label {
	display: flex;
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    color: #303466;
    cursor: pointer;
}

.checkboxes-list__list label::before {
    content: '';
    display: inline-block;
    width: 16px;
    min-width: 16px;
    height: 16px;
    border: 1px solid #303A81;
    border-radius: 2px;
    margin-right: 12px;
    vertical-align: text-bottom;
}

.checkboxes-list__list input[type="checkbox"]:checked + label::before {
	background: url(../uploads/images/pink_check.svg) no-repeat center;
    background-size: 65%;
}

.editable-data-row .checkboxes-list__options {
    padding: 20px 10px 20px 20px;
}

.editable-data-row .checkboxes-list .custom-scroll.simple-bar {
    max-height: none;
    overflow: visible;
}

.checkboxes-list__list--roles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    row-gap: 2px;
}

.editable-data-row .checkboxes-list__list label::before {
    margin-right: 7px;
}

.dropdown_toolcard .dropdown-item {
    text-align: left;
    background: transparent;
    border: none;
}

.item-big-card .dropdown_toolcard {
  position: absolute;
  right: 22px;
  top: 15px;
}

.item-big-card .dropdown_toolcard .btn {
    display: inline-flex;
    background: url('../uploads/images/dots-white.svg') no-repeat center;
    border-color: #C9C9F0;
    background-color: #C9C9F0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    transform: rotate(90deg);
}

@media screen and (max-width: 1199px) {
    .item-big-card .dropdown_toolcard {
        right: 5px;
        top: 5px;
    }

    .item-big-card .dropdown_toolcard .btn {
        width: 30px;
        height: 30px;
    }

    .checkboxes-list__options--roles {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .editable-data-row .checkboxes-list .checkboxes-list__options--roles .custom-scroll.simple-bar {
        max-height: 200px;
        overflow: auto;
    }

    .checkboxes-list__list--roles {
        grid-template-columns: 1fr;
    }

    .role-info-tooltip {
        max-width: 280px;
    }
}

.role-info-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    min-width: 16px;
    height: 16px;
    border: 1.5px solid #5E629B;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    font-style: italic;
    color: #5E629B;
    cursor: pointer;
    margin-left: 6px;
    line-height: 1;
}

.role-info-icon:hover {
    background: #5E629B;
    color: #fff;
}

.role-info-tooltip {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #303466;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: normal;
    width: max-content;
    max-width: 560px;
    z-index: 1000;
    pointer-events: none;
}

.role-info-icon:hover .role-info-tooltip {
    display: block;
}
