/**
 * COA Centers - Footer Search Styles
 *
 * Styles for the [coa_footer_search] shortcode
 * ZIP code input that redirects to Find a Center page
 */

.coaFooterSearch {
	display: flex;
	gap: 12px;
	align-items: center;
}

.coaFooterSearchInput,
.elementor-shortcode .coaFooterSearchInput,
input.coaFooterSearchInput[type="text"] {
	flex: 1;
	padding: 14px 24px !important;
	border: 1px solid rgba(255, 255, 255, 0.5) !important;
	border-radius: 50px !important;
	font-family: inherit;
	font-size: 16px !important;
	color: #FFFFFF !important;
	background: rgba(255, 255, 255, 0.15) !important;
	transition: background-color 0.2s ease;
	-webkit-text-fill-color: #FFFFFF !important;
}

.coaFooterSearchInput::placeholder {
	color: rgba(255, 255, 255, 0.7) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.7) !important;
}

.coaFooterSearchInput:focus,
input.coaFooterSearchInput[type="text"]:focus {
	outline: none !important;
	background: rgba(255, 255, 255, 0.25) !important;
	color: #FFFFFF !important;
	-webkit-text-fill-color: #FFFFFF !important;
}

/* Override autofill styles */
.coaFooterSearchInput:-webkit-autofill,
.coaFooterSearchInput:-webkit-autofill:hover,
.coaFooterSearchInput:-webkit-autofill:focus {
	-webkit-text-fill-color: #FFFFFF !important;
	caret-color: #FFFFFF !important;
}

.coaFooterSearchBtn {
	padding: 14px 32px;
	border: 2px solid #FFFFFF;
	border-radius: 50px;
	background: transparent;
	color: #FFFFFF;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.coaFooterSearchBtn:hover {
	background: rgba(255, 255, 255, 0.1);
}

.coaFooterSearchSrOnly {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Responsive */
@media screen and (max-width: 480px) {
	.coaFooterSearchInput {
		padding: 12px 20px;
		font-size: 14px;
	}

	.coaFooterSearchBtn {
		padding: 12px 24px;
		font-size: 14px;
	}
}
