/* FindSeaJobs Search form */
.fsj-search {
	--fsj-accent: #0a6ed1;
	--fsj-accent-hover: #085bb0;
	--fsj-border: #d3d8e0;
	--fsj-text: #1c2733;
	box-sizing: border-box;
	font-size: 15px;
	color: var(--fsj-text);
}
.fsj-search *,
.fsj-search *::before,
.fsj-search *::after {
	box-sizing: border-box;
}

.fsj-search__title {
	margin: 0 0 .6em;
	font-size: 1.05em;
}

.fsj-search__form {
	display: flex;
	gap: 10px;
	align-items: flex-end;
}

.fsj-search__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 auto;
	min-width: 0;
}

.fsj-search__label {
	font-size: .8em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	opacity: .75;
}

.fsj-search__select {
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--fsj-border);
	border-radius: 8px;
	background: #fff;
	color: var(--fsj-text);
	font-size: 1em;
	line-height: 1.2;
	cursor: pointer;
	max-width: 100%;
}
.fsj-search__select:focus {
	outline: none;
	border-color: var(--fsj-accent);
	box-shadow: 0 0 0 3px rgba(10, 110, 209, .15);
}

.fsj-search__actions {
	flex: 0 0 auto;
}

.fsj-search__button {
	height: 44px;
	padding: 0 28px;
	border: 0;
	border-radius: 8px;
	background: var(--fsj-accent);
	color: #fff;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s ease;
}
.fsj-search__button:hover,
.fsj-search__button:focus {
	background: var(--fsj-accent-hover);
}

/* Horizontal layout (header bar) */
.fsj-search--horizontal .fsj-search__form {
	flex-wrap: wrap;
}

/* Vertical layout (sidebar widget) */
.fsj-search--vertical .fsj-search__form {
	flex-direction: column;
	align-items: stretch;
}
.fsj-search--vertical .fsj-search__actions,
.fsj-search--vertical .fsj-search__button {
	width: 100%;
}

/* Optional full-width header bar wrapper (auto-inject) */
.fsj-search-bar-wrap {
	width: 100%;
	background: #f4f6f9;
	border-bottom: 1px solid var(--fsj-border, #d3d8e0);
	padding: 12px 16px;
}
.fsj-search-bar-wrap .fsj-search {
	max-width: 1140px;
	margin: 0 auto;
}

/* Responsive: stack the horizontal bar on small screens */
@media (max-width: 600px) {
	.fsj-search--horizontal .fsj-search__form {
		flex-direction: column;
		align-items: stretch;
	}
	.fsj-search--horizontal .fsj-search__actions,
	.fsj-search--horizontal .fsj-search__button {
		width: 100%;
	}
}
