.block-editor-block-lock-modal {
	z-index: z-index(".block-editor-block-lock-modal");

	.components-modal__frame {
		@include break-small() {
			max-width: $break-mobile;
		}
	}
}

.block-editor-block-lock-modal__options legend {
	margin-bottom: $grid-unit-20;
	padding: 0;
}

.block-editor-block-lock-modal__checklist {
	margin: 0;
}

.block-editor-block-lock-modal__options-all {
	padding: $grid-unit-15 0;

	.components-checkbox-control__label {
		font-weight: 600;
	}
}

.block-editor-block-lock-modal__checklist-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: $grid-unit-15;
	margin-bottom: 0;
	padding: $grid-unit-15 0 $grid-unit-15 $grid-unit-40;

	.block-editor-block-lock-modal__lock-icon {
		flex-shrink: 0;
		margin-right: $grid-unit-15;
		fill: $gray-900;
	}

	&:hover {
		background-color: $gray-100;
		border-radius: $radius-small;
	}
}

.block-editor-block-lock-modal__template-lock {
	border-top: $border-width solid $gray-300;
	margin-top: $grid-unit-20;
	padding-top: $grid-unit-20;
}

.block-editor-block-lock-modal__actions {
	margin-top: $grid-unit-30;
}

.block-editor-block-lock-toolbar {
	.components-button.has-icon {
		min-width: $button-size-small + $grid-unit-15 !important;
	}
}

.block-editor-block-toolbar__block-controls .block-editor-block-lock-toolbar {
	margin-left: -$grid-unit-15 * 0.5 !important;
}

.show-icon-labels {
	.block-editor-block-toolbar__block-controls .block-editor-block-lock-toolbar {
		border-left: 1px solid $gray-900;
		margin-left: $grid-unit-15 * 0.5 !important;
		margin-right: -$grid-unit-15 * 0.5;
	}
}
