.nb4je-widget {
	position: relative;
}

.nb4je-widget *,
.nb4je-widget *::before,
.nb4je-widget *::after {
	box-sizing: border-box;
}

.nb4je-section-title {
	margin: 0 0 12px;
}

.nb4je-section-intro {
	margin-bottom: 24px;
}

.nb4je-section-intro > *:last-child,
.nb4je-modal-intro > *:last-child,
.nb4je-privacy-text > *:last-child,
.nb4je-job-section-content-inner > *:last-child {
	margin-bottom: 0;
}

.nb4je-jobs-grid {
	display: grid;
	gap: 24px;
}

.nb4je-jobs-grid.nb4je-layout-list {
	grid-template-columns: 1fr;
}

.nb4je-jobs-grid.nb4je-layout-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nb4je-job-card {
	display: flex;
	gap: 24px;
	height: 100%;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}

.nb4je-job-main {
	display: flex;
	flex-direction: column;
	gap: 18px;
	flex: 1 1 auto;
	min-width: 0;
}

.nb4je-job-header {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.nb4je-job-headings {
	min-width: 0;
}

.nb4je-job-title {
	margin: 0 0 12px;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.nb4je-job-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 0;
	min-width: 0;
}

.nb4je-job-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	line-height: 1.2;
	box-sizing: border-box;
	max-width: 100%;
}

.nb4je-meta-label {
	font-weight: 600;
}

.nb4je-meta-value {
	font-weight: 400;
}

.nb4je-job-description {
	min-width: 0;
}

.nb4je-job-description > *:last-child {
	margin-bottom: 0;
}

.nb4je-job-sections {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.nb4je-job-section {
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	overflow: hidden;
	background: #ffffff;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nb4je-job-section-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	background: transparent;
	border: 0;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
	min-width: 0;
}

.nb4je-job-section-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}

.nb4je-job-section-title {
	font-weight: 600;
	min-width: 0;
}

.nb4je-job-section-icon {
	flex: 0 0 auto;
	font-size: 18px;
	line-height: 1;
	transition: transform 0.22s ease, opacity 0.22s ease;
	transform-origin: center;
}

.nb4je-job-section.is-open .nb4je-job-section-icon {
	transform: rotate(45deg);
}

.nb4je-job-section-content {
	display: none;
	min-width: 0;
}

.nb4je-job-section-content-inner {
	padding: 0 18px 18px;
	min-width: 0;
	overflow-wrap: break-word;
}

.nb4je-layout-list .nb4je-job-card {
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.nb4je-layout-list .nb4je-job-main {
	flex: 1 1 auto;
}

.nb4je-layout-list .nb4je-job-actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex: 0 0 auto;
	margin-left: 20px;
	white-space: nowrap;
}

.nb4je-widget.nb4je-list-button-bottom-right .nb4je-jobs-grid.nb4je-layout-list .nb4je-job-card {
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch !important;
}

.nb4je-widget.nb4je-list-button-bottom-right .nb4je-jobs-grid.nb4je-layout-list .nb4je-job-main,
.nb4je-widget.nb4je-list-button-bottom-right .nb4je-jobs-grid.nb4je-layout-list .nb4je-job-header,
.nb4je-widget.nb4je-list-button-bottom-right .nb4je-jobs-grid.nb4je-layout-list .nb4je-job-headings,
.nb4je-widget.nb4je-list-button-bottom-right .nb4je-jobs-grid.nb4je-layout-list .nb4je-job-description {
	width: 100%;
	text-align: left;
}

.nb4je-widget.nb4je-list-button-bottom-right .nb4je-jobs-grid.nb4je-layout-list .nb4je-job-actions {
	width: 100%;
	margin-left: 0;
	justify-content: flex-end;
	align-items: center;
}

.nb4je-layout-grid .nb4je-job-card {
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
}

.nb4je-layout-grid .nb4je-job-main {
	height: 100%;
}

.nb4je-layout-grid .nb4je-job-actions {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-top: auto;
}

.nb4je-layout-grid .nb4je-job-actions-grid {
	padding-top: 8px;
}

.nb4je-widget.nb4je-grid-align-left .nb4je-jobs-grid.nb4je-layout-grid .nb4je-job-card {
	text-align: left;
}

.nb4je-widget.nb4je-grid-align-left .nb4je-jobs-grid.nb4je-layout-grid .nb4je-job-meta,
.nb4je-widget.nb4je-grid-align-left .nb4je-jobs-grid.nb4je-layout-grid .nb4je-job-actions {
	justify-content: flex-start;
}

.nb4je-widget.nb4je-grid-align-center .nb4je-jobs-grid.nb4je-layout-grid .nb4je-job-card {
	text-align: center;
}

.nb4je-widget.nb4je-grid-align-center .nb4je-jobs-grid.nb4je-layout-grid .nb4je-job-meta,
.nb4je-widget.nb4je-grid-align-center .nb4je-jobs-grid.nb4je-layout-grid .nb4je-job-actions {
	justify-content: center;
}

.nb4je-widget.nb4je-grid-align-right .nb4je-jobs-grid.nb4je-layout-grid .nb4je-job-card {
	text-align: right;
}

.nb4je-widget.nb4je-grid-align-right .nb4je-jobs-grid.nb4je-layout-grid .nb4je-job-meta,
.nb4je-widget.nb4je-grid-align-right .nb4je-jobs-grid.nb4je-layout-grid .nb4je-job-actions {
	justify-content: flex-end;
}

.nb4je-apply-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	box-sizing: border-box;
	border: 0;
	max-width: 100%;
	text-align: center;
}

.nb4je-apply-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.nb4je-empty-state {
	padding: 16px 0;
}

/* MODAL */

.nb4je-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	padding: 24px 16px;
	overflow-x: hidden;
	overflow-y: auto;
}

.nb4je-modal.is-open {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.nb4je-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 1;
}

.nb4je-modal-panel {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 720px;
	margin: auto;
	max-height: none;
	overflow: visible;
	padding: 32px;
	box-sizing: border-box;
	background: #ffffff;
	border-radius: 16px;
	min-width: 0;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.nb4je-modal-header {
	margin-bottom: 20px;
	padding-right: 44px;
}

.nb4je-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: rgba(0, 0, 0, 0.05);
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	z-index: 10;
	transition: all 0.2s ease;
	color: inherit;
}

.nb4je-modal-close:hover {
	background: rgba(0, 0, 0, 0.12);
}

.nb4je-modal-close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.nb4je-modal-title {
	margin: 0 0 8px;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.nb4je-current-job {
	margin: 0 0 10px;
	font-weight: 700;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.nb4je-modal-intro {
	margin-bottom: 0;
}

/* FORM */

.nb4je-application-form {
	display: block;
	width: 100%;
	min-width: 0;
}

.nb4je-form-fields {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.nb4je-form-row {
	margin-bottom: 0;
	min-width: 0;
}

.nb4je-form-row-two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	min-width: 0;
}

.nb4je-form-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	width: 100%;
	font-weight: 400;
}

.nb4je-form-label {
	display: block;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
}

.nb4je-application-form label {
	max-width: 100%;
}

.nb4je-application-form input[type="text"],
.nb4je-application-form input[type="email"],
.nb4je-application-form input[type="file"],
.nb4je-application-form textarea,
.nb4je-application-form select {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 14px 16px;
	box-sizing: border-box;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 10px;
	background: #ffffff;
	color: inherit;
	font: inherit;
	line-height: 1.4;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}

.nb4je-application-form textarea {
	min-height: 140px;
	resize: vertical;
}

.nb4je-application-form input[type="file"] {
	padding: 12px 14px;
	line-height: 1.2;
	cursor: pointer;
	appearance: auto;
	-webkit-appearance: auto;
}

.nb4je-application-form input[type="text"]:focus,
.nb4je-application-form input[type="email"]:focus,
.nb4je-application-form input[type="file"]:focus,
.nb4je-application-form textarea:focus,
.nb4je-application-form select:focus {
	outline: none;
	border-color: rgba(0, 0, 0, 0.45);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.nb4je-application-form ::placeholder {
	color: rgba(0, 0, 0, 0.5);
	opacity: 1;
}

.nb4je-privacy-text {
	margin-top: 16px;
	margin-bottom: 16px;
	font-size: 0.95em;
	line-height: 1.6;
}

.nb4je-form-row-consent {
	margin-top: -4px;
}

.nb4je-consent-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400;
	line-height: 1.5;
	cursor: pointer;
}

.nb4je-consent-label input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	flex: 0 0 auto;
	padding: 0;
	border-radius: 4px;
	appearance: auto;
	-webkit-appearance: auto;
}

.nb4je-consent-label span {
	display: block;
	line-height: 1.5;
}

.nb4je-consent-label a {
	text-decoration: underline;
	word-break: break-word;
}

.nb4je-form-feedback {
	display: none;
	margin-top: 16px;
	margin-bottom: 0;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 0.95em;
	line-height: 1.5;
}

.nb4je-form-feedback.is-success {
	display: block;
	background: rgba(31, 173, 98, 0.12);
	color: #167a48;
}

.nb4je-form-feedback.is-error {
	display: block;
	background: rgba(202, 32, 32, 0.12);
	color: #a32020;
}

.nb4je-form-actions {
	margin-top: 20px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.nb4je-submit-button.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

/* THEME CONFLICT HARDENING */

.nb4je-modal-panel .elementor-field,
.nb4je-modal-panel .elementor-field-group,
.nb4je-modal-panel form p {
	margin: 0;
}

.nb4je-modal-panel input,
.nb4je-modal-panel textarea,
.nb4je-modal-panel button,
.nb4je-modal-panel a {
	font: inherit;
}

.nb4je-modal-panel img,
.nb4je-modal-panel iframe,
.nb4je-modal-panel video {
	max-width: 100%;
	height: auto;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
	.nb4je-jobs-grid.nb4je-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.nb4je-jobs-grid.nb4je-layout-grid {
		grid-template-columns: 1fr;
	}

	.nb4je-layout-list .nb4je-job-card {
		flex-direction: column;
		align-items: stretch;
	}

	.nb4je-layout-list .nb4je-job-actions,
	.nb4je-widget.nb4je-list-button-bottom-right .nb4je-jobs-grid.nb4je-layout-list .nb4je-job-actions {
		width: 100%;
		margin-left: 0;
		justify-content: flex-start;
	}

	.nb4je-form-row-two {
		grid-template-columns: 1fr;
	}

	.nb4je-modal {
		padding: 10px;
	}

	.nb4je-modal.is-open {
		align-items: flex-start;
	}

	.nb4je-modal-panel {
		width: 100%;
		max-width: none;
		padding: 24px 20px;
		margin: 0;
		border-radius: 14px;
	}

	.nb4je-modal-header {
		padding-right: 40px;
	}

	.nb4je-modal-close {
		top: 12px;
		right: 12px;
		width: 36px;
		height: 36px;
		font-size: 20px;
	}

	.nb4je-form-actions {
		width: 100%;
	}

	.nb4je-form-actions .nb4je-apply-button,
	.nb4je-submit-button {
		width: 100%;
	}
}