/**
 * CoreD Search
 */

.cored-search {
	width: 100%;
}

.cored-search-align-left .cored-search__form {
	justify-content: flex-start;
}

.cored-search-align-center .cored-search__form {
	justify-content: center;
}

.cored-search-align-right .cored-search__form {
	justify-content: flex-end;
}

.cored-search__form {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
	gap: 8px;
	position: relative;
}

.cored-search__input {
	flex: 1 1 200px;
	min-width: 0;
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	padding: 12px 16px;
	font: inherit;
	line-height: 1.4;
	background-color: #ffffff;
	color: inherit;
}

.cored-search__input:focus {
	outline: none;
	border-color: #2563eb;
}

.cored-search__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	box-sizing: border-box;
	margin: 0;
	padding: 12px 24px;
	border: none;
	border-radius: 4px;
	background-color: #2563eb;
	color: #ffffff;
	font: inherit;
	line-height: 1.4;
	cursor: pointer;
	fill: currentColor;
	transition-property: color, background, background-color, border-color, box-shadow, opacity, transform, fill;
	transition-timing-function: ease;
	transition-duration: 300ms;
}

.cored-search__button:hover,
.cored-search__button:focus {
	background-color: #1d4ed8;
	color: #ffffff;
}

.cored-search__button-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.cored-search__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.cored-search__button-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.cored-search__button-text {
	display: inline-block;
}

.cored-search__hp-wrap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}
