:host {
	height: 100%;
	width: calc(100% - 8px);
	display: flex;
	align-items: center;
	margin-left: 4px;
	margin-right: 4px;
}

:host(.invalid) .btn2::after {
	content: '';
    width: 16px;
    height: 16px;
	border: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" style="fill: none; stroke-width: 2px; stroke: darkgoldenrod;" viewBox="0 0 16 16"><path d="m8 1 7 14H1L8 1z"></path><path d="M7.99 12H8v.01h-.01zM8 6v4"></path></svg>');
}

:host:hover {
	--border-color: #28a745;
	--box-shadow: 0 0 0 .2rem rgba(40, 167, 69, 0.25);
	border-color: unset;
	box-shadow: unset;
}

button {
	outline: none;
}
button:hover {
	filter: brightness(95%);
}
button:focus {
	--border-color: transparent;
	--outline: 0;
}
button:disabled {
	filter: brightness(95%);
}

button.btn1 {
	width: 100%;
	height: 26px;
	margin-left: unset;
	border: 1px solid #eee;
	border-right: none;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
	text-align: left;
	background-color: white;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font: inherit;
}
button.btn2 {
	padding: 3px;
	width: 24px;
	height: 26px;
	margin-right: unset;
	border: 1px solid #eee;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	background-color: #f9f9f9;
}

button.btn2:after {
	display: inline-flex;
	content: "";
	border-top: 0.3em solid;
	border-right: 0.3em solid transparent;
	border-bottom: 0;
	border-left: 0.3em solid transparent;
}
