/* Impact Web Search styles. Brand: navy #1A4EA2, navy dark #0F1E3D, orange #E8620A, orange light #FFA000. */

/* ---------- Search widget ---------- */
.iws-search-widget {
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 6px 24px rgba(15, 30, 61, 0.08), 0 1px 2px rgba(15, 30, 61, 0.06);
	padding: 28px 32px;
	width: 100%;
	max-width: 100%;
	margin: 0;
	box-sizing: border-box;
}

.iws-search-widget * {
	box-sizing: border-box;
}

.iws-search-widget .iws-search-heading {
	font-family: "Oswald", "Raleway", sans-serif;
	color: #1A4EA2;
	font-weight: 600;
	font-size: 28px;
	letter-spacing: 0.5px;
	margin: 0 0 20px 0;
	text-transform: none;
}

.iws-search-form {
	margin: 0;
}

.iws-search-widget .iws-search-row {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 18px;
	align-items: flex-end !important;
	width: 100%;
}

.iws-search-widget .iws-input-group {
	display: flex !important;
	flex-direction: column !important;
	min-width: 0;
}

.iws-search-widget .iws-input-keyword {
	flex: 1 1 240px !important;
	max-width: 675px !important;
}

.iws-search-widget .iws-input-state {
	flex: 0 0 auto !important;
	width: 140px;
}

.iws-label {
	font-family: "Raleway", sans-serif;
	color: #0F1E3D;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
	display: block;
}

.iws-search-widget input.iws-keyword-input,
.iws-search-widget select.iws-state-select {
	font-family: "Raleway", sans-serif;
	font-size: 15px;
	color: #0F1E3D;
	border: 1px solid #ccc !important;
	border-radius: 999px !important;
	padding: 10px 16px !important;
	height: 44px !important;
	width: 100%;
	background-color: #ffffff;
	outline: none;
	transition: border-color 120ms ease, box-shadow 120ms ease;
	box-sizing: border-box;
	line-height: 1.4;
	max-width: 100%;
}

.iws-search-widget select.iws-state-select {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' width='12' height='8' fill='none' stroke='%230F1E3D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1 6 7 11 1'/></svg>") !important;
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	padding-right: 36px !important;
	cursor: pointer;
}

.iws-search-widget select.iws-state-select::-ms-expand {
	display: none !important;
}

.iws-search-widget input.iws-keyword-input:focus,
.iws-search-widget select.iws-state-select:focus {
	border-color: #1A4EA2 !important;
	box-shadow: 0 0 0 3px rgba(26, 78, 162, 0.12);
}

.iws-autocomplete-wrap {
	position: relative;
}

.iws-autocomplete-list {
	position: absolute;
	z-index: 50;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	margin: 0;
	padding: 4px 0;
	background: #ffffff;
	border: 1px solid #d6dce6;
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(15, 30, 61, 0.12);
	list-style: none;
	max-height: 280px;
	overflow-y: auto;
}

.iws-autocomplete-list[hidden] {
	display: none;
}

.iws-autocomplete-list li {
	padding: 8px 14px;
	font-family: "Raleway", sans-serif;
	font-size: 14px;
	color: #0F1E3D;
	cursor: pointer;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.iws-autocomplete-list li:hover,
.iws-autocomplete-list li.iws-active {
	background: #f3f6fb;
	color: #1A4EA2;
}

.iws-autocomplete-list .iws-ac-location {
	color: #6b7280;
}

.iws-search-widget .iws-submit-group {
	display: inline-flex !important;
	align-items: center !important;
	flex: 0 0 auto !important;
	align-self: flex-end !important;
	padding-bottom: 0;
}

.iws-search-widget .iws-search-button {
	position: relative !important;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #1A4EA2 !important;
	border: none;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transform: translateY(0) scale(1) !important;
	transform-origin: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
	transition: all 0.25s ease !important;
}

.iws-search-widget .iws-search-button::before,
.iws-search-widget .iws-search-button::after {
	display: none !important;
}

.iws-search-widget .iws-search-button:hover {
	background-color: #2563EB !important;
	transform: translateY(-2px) scale(1.05) !important;
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4), 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.iws-search-widget .iws-search-button:focus {
	background-color: #2563EB !important;
	outline: 2px solid rgba(37, 99, 235, 0.5);
	outline-offset: 2px;
}

.iws-search-widget .iws-search-button:active {
	transform: translateY(0) scale(0.97) !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.iws-search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
}

@media (max-width: 768px) {
	.iws-search-widget .iws-input-keyword {
		flex: 1 1 100% !important;
		max-width: 100% !important;
	}
	.iws-search-widget .iws-input-state {
		flex: 0 0 auto !important;
	}
	.iws-search-widget .iws-submit-group {
		flex: 0 0 auto !important;
	}
}

@media (max-width: 640px) {
	.iws-search-widget {
		padding: 20px;
	}
}

/* ---------- Recent jobs ---------- */
.iws-recent-jobs {
	font-family: "Raleway", sans-serif;
	color: #0F1E3D;
}

.iws-recent-job {
	padding: 12px 0;
	border-bottom: 1px solid #e6e9ef;
}

.iws-recent-job:last-child {
	border-bottom: none;
}

.iws-recent-job-title {
	font-family: "Oswald", "Raleway", sans-serif;
	color: #1A4EA2;
	font-size: 18px;
	font-weight: 500;
	text-decoration: none;
	display: inline-block;
	margin-bottom: 4px;
}

.iws-recent-job-title:hover,
.iws-recent-job-title:focus {
	color: #0F1E3D;
	text-decoration: underline;
}

.iws-recent-job-meta {
	font-size: 13px;
	color: #6b7280;
	font-family: "Raleway", sans-serif;
}
