/* Frontend translations do not render their own switcher. This helper is scoped
 * for optional live-status text used by Zegger Core modules. */
.zegger-core-translations-status {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* The configurator renders this label from a CSS pseudo-element, so the DOM
 * translator cannot replace it as a text node. Keep overrides locale-scoped. */
html[lang="en"] .acc-kit-choice-desc::before {
	content: "Included: " !important;
}

html[lang="de"] .acc-kit-choice-desc::before {
	content: "Enthalten: " !important;
}

/*
 * Career uploads use a real native file input for validation and form
 * submission. Its browser-provided caption is hidden below this scoped,
 * localised visual representation.
 */
.zegger-core-file-input {
	position: relative;
	display: block;
	width: 100%;
	min-width: 0;
}

.zegger-core-file-input > input.zjobs-input[type="file"] {
	position: absolute !important;
	inset: 0 !important;
	z-index: 2 !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	opacity: 0 !important;
	cursor: pointer !important;
}

.zegger-core-file-input__visual {
	display: flex;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 4px 12px 4px 4px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 12px;
	background: #fff;
	color: #1c1c1c;
	overflow: hidden;
	pointer-events: none;
}

.zegger-core-file-input__button {
	flex: 0 0 auto;
	padding: 4px 10px;
	border: 1px solid rgba(0, 0, 0, 0.48);
	border-radius: 6px;
	background: #f7f7f7;
	color: inherit;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	white-space: nowrap;
}

.zegger-core-file-input__filename {
	min-width: 0;
	overflow: hidden;
	color: inherit;
	font: inherit;
	font-size: 16px;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.zegger-core-file-input > input.zjobs-input[type="file"]:focus-visible + .zegger-core-file-input__visual {
	outline: 2px solid #1b6ac9;
	outline-offset: 2px;
}

@media (max-width: 480px) {
	.zegger-core-file-input__visual {
		gap: 8px;
		padding-right: 9px;
	}

	.zegger-core-file-input__button {
		padding: 4px 8px;
		font-size: 13px;
	}

	.zegger-core-file-input__filename {
		font-size: 14px;
	}
}
