.rwmb-button-input-list {
	--color: var(--wp-admin-theme-color, #3858e9);
	--radius: 2px;
}

.rwmb-button-input-list .rwmb-button_group {
	display: none;
}
.rwmb-button-input-list label {
	display: block;
	border: 1px solid #949494;
	position: relative;
	z-index: 1;
	padding: 0 16px;
	min-height: 40px;
	font-size: 13px;
	font-weight: 500;
	line-height: calc(38px / 13px);
	background: #fff;
	cursor: pointer;
	box-sizing: border-box;
}
.rwmb-button-input-list .selected {
	border-color: var(--color);
	background: var(--color);
	color: #fff;
	z-index: 2;
}

/* Layout not inline */
.rwmb-button-input-list:not(.rwmb-inline) label:not(:first-child) {
	 border-top-width: 0;
}
.rwmb-button-input-list:not(.rwmb-inline) .selected:not(:last-child) {
	border-bottom-color: rgba(255, 255, 255, .25);
}
.rwmb-button-input-list:not(.rwmb-inline) > label:first-child:not(:last-child) {
	border-top-left-radius: var(--radius);
	border-top-right-radius: var(--radius);
}
.rwmb-button-input-list:not(.rwmb-inline)  > label:last-child:not(:first-child) {
	border-bottom-right-radius: var(--radius);
	border-bottom-left-radius: var(--radius);
}

/*  Layout inline */
.rwmb-button-input-list.rwmb-inline {
	display: flex;
}
.rwmb-button-input-list.rwmb-inline label:not(:first-child) {
	border-left-width: 0;
}
.rwmb-button-input-list.rwmb-inline .selected:not(:last-child) {
	border-right-color: rgba(255, 255, 255, .25);
}
.rwmb-button-input-list.rwmb-inline > label:first-child:not(:last-child) {
	border-top-left-radius: var(--radius);
	border-bottom-left-radius: var(--radius);
}
.rwmb-button-input-list.rwmb-inline > label:last-child:not(:first-child) {
	border-top-right-radius: var(--radius);
	border-bottom-right-radius: var(--radius);
}
