/**
 * Partner directory shortcode search — aligns with legacy Elementor search-form bar
 * (.elementor-search-form__container toolbar + submit styling).
 */

.aidw-cfe-school-search {
	box-sizing: border-box;
	max-width: 100%;
}

.aidw-cfe-school-search *,
.aidw-cfe-school-search *::before,
.aidw-cfe-school-search *::after {
	box-sizing: inherit;
}

.aidw-cfe-school-search__form {
	margin: 0;
}

.aidw-cfe-school-search__row {
	display: flex;
	align-items: stretch;
	gap: 4px;
	min-height: 50px;
	padding: 12px;
	background: #f1f2f3;
	border-radius: 6px 6px 0 0;
}

.aidw-cfe-school-search__input {
	-webkit-appearance: none;
	appearance: none;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0 14px;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.3;
	color: #515962;
	background: #fff;
	border: 1px solid #1a1a1a;
	border-radius: 4px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aidw-cfe-school-search__input::placeholder {
	color: rgba(81, 89, 98, 0.75);
}

.aidw-cfe-school-search__input:focus {
	outline: none;
	border-color: #2d2d2d;
	box-shadow: 0 0 0 2px rgba(45, 45, 45, 0.12);
}

.aidw-cfe-school-search__submit {
	flex: 0 0 auto;
	margin: 0;
	padding: 0 20px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	color: #fff;
	white-space: nowrap;
	cursor: pointer;
	background: #1a1a1a;
	border: none;
	border-radius: 4px;
	transition: background 0.2s ease, color 0.2s ease;
}

.aidw-cfe-school-search__submit:hover,
.aidw-cfe-school-search__submit:focus {
	background: #0d0d0d;
	color: #fff;
}

.aidw-cfe-school-search__submit:focus {
	outline: 2px solid #2d2d2d;
	outline-offset: 2px;
}

.aidw-cfe-school-search__clear {
	display: inline-block;
	margin-top: 8px;
	margin-inline-start: 12px;
	font-size: 14px;
}
