/* ==========================================================================
   Budi Jobs Hero
   ========================================================================== */

.budi-jobs-hero {
	background: linear-gradient(108.69deg, #FF4540 1.04%, var(--color-main, #E30612) 94.47%);
	color: #fff;
	overflow: hidden;
	position: relative;
	padding-bottom: 60px;
}

.budi-jobs-hero.has-background::before {
	content: "";
	display: block !important;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(108.69deg, #FF4540 1.04%, var(--color-main, #E30612) 94.47%);
	opacity: 0.85;
	z-index: 0;
}

.budi-jobs-hero__inner {
	display: flex;
	align-items: center;
	min-height: 480px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 60px 40px 0;
	gap: 40px;
	position: relative;
}

/* Image column */
.budi-jobs-hero__image-col {
	flex: 0 0 auto;
	align-self: flex-end;
	width: 45%;
	max-width: 45%;
}

.budi-jobs-hero__image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: bottom;
}

/* Content column */
.budi-jobs-hero__content {
	flex: 1 1 auto;
	padding-bottom: 68px;
	text-align: center;
}

.budi-jobs-hero__content-inner {
	max-width: 619px;
	margin-right: 0;
	margin-left: auto;
}

.budi-jobs-hero__heading {
	color: #fff;
	margin: 0 0 20px;
}

.budi-jobs-hero__description {
	color: #fff;
	margin: 0 0 28px;
}

/* ==========================================================================
   Search Form — vertical stacked pill layout (matches Figma)
   ========================================================================== */

.budi-jobs-hero__form {
	display: flex;
	flex-direction: column;
	gap: 15px;
	background: transparent;
	padding: 0;
	max-width: 100%;
}

.budi-jobs-hero__field {
	width: 100%;
	position: relative;
}

.budi-jobs-hero__field--submit {
	width: 100%;
}

/* Text Input — pill shape */
.budi-jobs-hero__input {
	width: 100%;
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid #FFFFFF33 !important;
	border-radius: 999px !important;
	padding: 17px 20px;
	min-height: 52px;
	color: #fff;
	outline: none;
	box-shadow: none;
}

.budi-jobs-hero__input::placeholder {
	color: rgba(255, 255, 255, 0.75);
}

.budi-jobs-hero__input:focus {
	outline: none;
	box-shadow: none;
	border-color: rgba(255, 255, 255, 0.9) !important;
	background: rgba(255, 255, 255, 0.25);
}

/* Submit Button — white pill, red text */
.budi-jobs-hero button.budi-jobs-hero__submit,
button.budi-jobs-hero__submit {
	background: #fff !important;
	color: var(--color-main, #E30612) !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 15px 28px !important;
	font-weight: 600 !important;
	min-height: 52px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s;
	display: block;
	width: 100%;
	text-align: center;
}

.budi-jobs-hero button.budi-jobs-hero__submit:hover {
	background: #f5f5f5 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Dropdown (BJH) — pill shape
   ========================================================================== */

.budi-jobs-hero__form .bjh-dropdown {
	position: relative;
	width: 100%;
}

.budi-jobs-hero__form button.bjh-dropdown__trigger {
	width: 100%;
	background: rgba(255, 255, 255, 0.2) !important;
	border: 1px solid #FFFFFF33 !important;
	box-shadow: 0px 2px 20px 0px #0000000D;
	border-radius: 999px !important;
	padding: 17px 20px !important;
	min-height: 52px;
	color: #fff !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	text-align: left;
	transition: border-color 0.2s, background 0.2s;
}

.budi-jobs-hero__form button.bjh-dropdown__trigger:hover {
	background: rgba(255, 255, 255, 0.28) !important;
	border-color: rgba(255, 255, 255, 0.8) !important;
}

.bjh-dropdown__text {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bjh-dropdown__text.is-placeholder {
	color: rgba(255, 255, 255, 0.75);
}

.bjh-dropdown__text:not(.is-placeholder) {
	color: #fff;
}

.bjh-dropdown__arrow {
	flex-shrink: 0;
	color: rgba(255, 255, 255, 0.8);
	transition: transform 0.2s ease;
}

.bjh-dropdown.is-active .bjh-dropdown__arrow {
	transform: rotate(180deg);
}

.bjh-dropdown__menu {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 0;
	min-width: 100%;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	z-index: 200;
	display: none;
	max-height: 300px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.bjh-dropdown__menu::-webkit-scrollbar {
	width: 4px;
}

.bjh-dropdown__menu::-webkit-scrollbar-track {
	background: transparent;
	margin: 12px 0;
}

.bjh-dropdown__menu::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.15);
	border-radius: 999px;
}

.bjh-dropdown__menu::-webkit-scrollbar-thumb:hover {
	background: rgba(0, 0, 0, 0.28);
}

.bjh-dropdown.is-active .bjh-dropdown__menu {
	display: block;
}

.bjh-dropdown__item {
	display: block;
	width: 100%;
	text-align: left;
	padding: 11px 22px !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	font-size: 15px !important;
	color: #374151 !important;
	cursor: pointer;
	min-height: auto;
	transition: background 0.15s;
}

.bjh-dropdown__item:hover,
.bjh-dropdown__item:focus,
.bjh-dropdown__item.is-selected {
	background: #fef2f2 !important;
	color: var(--color-main, #E30612) !important;
	outline: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 992px) {
	.budi-jobs-hero__content-inner {
		max-width: 100%;
	}

	.budi-jobs-hero__inner {
		flex-direction: column;
		align-items: stretch;
		padding: 40px 24px 0;
		min-height: auto;
	}

	.budi-jobs-hero__image-col {
		order: 1;
		width: 100%;
		max-width: 300px;
		align-self: center;
	}

	.budi-jobs-hero__content {
		order: 0;
		padding-bottom: 32px;
	}

	.budi-jobs-hero__form {
		max-width: 100%;
	}
}