/* A2Z Careers — everything is scoped to .a2z-careers so the theme can't clash. */

.a2z-careers {
	--a2z-accent: #6a4cc0;          /* badge, submit button, focus */
	--a2z-accent-text: #ffffff;
	--a2z-accent-ink: #3b2875;      /* outlined "View & Apply", links, selected answers */
	--a2z-accent-soft: color-mix(in srgb, var(--a2z-accent) 10%, transparent);
	--a2z-tag-bg: #ebe6f8;
	--a2z-tag-text: #4a4560;
	--a2z-text: #111114;
	--a2z-muted: #6b6b78;
	--a2z-card: #ffffff;
	--a2z-field: #ffffff;
	--a2z-line: #e6e3ee;
	--a2z-shadow: 0 1px 2px rgba(40, 24, 90, .05), 0 4px 14px rgba(40, 24, 90, .07);
	--a2z-radius: 10px;
	--a2z-danger: #d92d20;
	--a2z-ok: #12b76a;
	--a2z-display: 'Archivo', 'Arial Black', sans-serif;
	--a2z-display-stretch: 125%;

	color: var(--a2z-text);
	line-height: 1.5;
	font-size: 14px;
}

/* Dark theme — for black / dark page backgrounds. Colors set in Elementor still override these. */
.a2z-careers[data-theme=dark] {
	--a2z-accent: #8b6cf0;
	--a2z-accent-ink: #c9b8ff;
	--a2z-accent-soft: color-mix(in srgb, var(--a2z-accent) 22%, transparent);
	--a2z-tag-bg: color-mix(in srgb, var(--a2z-accent) 22%, transparent);
	--a2z-tag-text: #e4dcff;
	--a2z-text: #f5f5f5;
	--a2z-muted: #a3a3a3;
	--a2z-card: #141414;
	--a2z-field: #0a0a0a;
	--a2z-line: #2b2b2b;
	--a2z-shadow: none;
	--a2z-danger: #f87171;
	--a2z-ok: #34d399;
	color-scheme: dark;
}
.a2z-careers *, .a2z-careers *::before, .a2z-careers *::after { box-sizing: border-box; }

/* Themes often color label / p / li / h* directly, which beats inherited color.
   Set every text element explicitly so the plugin stays readable on any theme. */
.a2z-careers[data-theme] :is(label, p, li, span, strong, b, em, i, u, h1, h2, h3, h4):not([class]) { color: var(--a2z-text); }
.a2z-careers .a2z-careers__label,
.a2z-careers .a2z-careers__choices label { color: var(--a2z-text) !important; opacity: 1; }
.a2z-careers ::placeholder { color: var(--a2z-muted); opacity: 1; }

.a2z-careers__notice { padding: 12px 16px; border: 1px dashed #d63638; border-radius: 8px; color: #d63638; }
.a2z-careers .a2z-careers__icon { width: 15px; height: 15px; flex: none; }

/* ---------------------------------------------------------------- header */
.a2z-careers__header { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 48px; margin-bottom: 18px; }
.a2z-careers .a2z-careers__badge {
	display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px;
	background: var(--a2z-accent); color: var(--a2z-accent-text);
	font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5;
}
.a2z-careers .a2z-careers__title {
	margin: 0 0 4px; color: var(--a2z-text);
	font-family: var(--a2z-display); font-stretch: var(--a2z-display-stretch); font-weight: 800;
	font-size: clamp(26px, 3.4vw, 36px); line-height: 1.05; letter-spacing: .01em; text-transform: uppercase;
}
.a2z-careers .a2z-careers__subtitle { margin: 0; color: var(--a2z-muted); font-size: 14px; }
.a2z-careers .a2z-careers__tagline { margin: 0 0 2px; color: var(--a2z-text); font-size: 15px; }

/* -------------------------------------------------------- shared controls */
.a2z-careers input, .a2z-careers select, .a2z-careers textarea, .a2z-careers button { font: inherit; color: var(--a2z-text); }
.a2z-careers .a2z-careers__input,
.a2z-careers .a2z-careers__field input[type=text],
.a2z-careers .a2z-careers__field input[type=email],
.a2z-careers .a2z-careers__field input[type=tel],
.a2z-careers .a2z-careers__field input[type=number],
.a2z-careers .a2z-careers__field input[type=date],
.a2z-careers .a2z-careers__field select,
.a2z-careers .a2z-careers__field textarea {
	width: 100%; max-width: none; margin: 0; padding: 9px 12px; min-height: 42px;
	border: 1px solid var(--a2z-line); border-radius: 8px;
	background-color: var(--a2z-field); box-shadow: var(--a2z-shadow); outline: none;
}
.a2z-careers .a2z-careers__input:focus,
.a2z-careers .a2z-careers__field input:focus,
.a2z-careers .a2z-careers__field select:focus,
.a2z-careers .a2z-careers__field textarea:focus { border-color: var(--a2z-accent); box-shadow: 0 0 0 3px var(--a2z-accent-soft); }

/* dropdowns: custom chevron */
.a2z-careers .a2z-careers__select,
.a2z-careers .a2z-careers__field select {
	appearance: none; -webkit-appearance: none; padding-inline-end: 34px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-size: 16px; background-position: right 12px center;
}
.a2z-careers[dir=rtl] .a2z-careers__select,
.a2z-careers[dir=rtl] .a2z-careers__field select { background-position: left 12px center; }

/* buttons */
.a2z-careers .a2z-careers__btn {
	display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
	background: var(--a2z-accent); color: var(--a2z-accent-text); font-weight: 600;
	padding: 12px 22px; border-radius: 999px; line-height: 1.2; transition: background-color .15s, opacity .15s;
}
.a2z-careers .a2z-careers__btn:hover { background: var(--a2z-accent-ink); color: var(--a2z-accent-text); }
.a2z-careers[data-theme=dark] .a2z-careers__btn:hover { background: var(--a2z-accent); opacity: .9; }
.a2z-careers .a2z-careers__btn:disabled { opacity: .6; cursor: wait; }

/* ------------------------------------------------------------------ list */
.a2z-careers__filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-bottom: 14px; }
.a2z-careers .a2z-careers__search { position: relative; display: block; margin: 0; }
.a2z-careers .a2z-careers__search .a2z-careers__icon { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--a2z-muted); pointer-events: none; }
.a2z-careers .a2z-careers__search .a2z-careers__input { padding-inline-start: 38px; }
.a2z-careers .a2z-careers__count { color: var(--a2z-muted); font-size: 12px; margin: 0 0 8px; }

.a2z-careers .a2z-careers__card {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	background: var(--a2z-card); color: var(--a2z-text); text-decoration: none;
	border: 1px solid color-mix(in srgb, var(--a2z-line) 60%, transparent); border-radius: var(--a2z-radius);
	box-shadow: var(--a2z-shadow);
	padding: 14px 12px 14px 14px; margin-bottom: 8px; transition: box-shadow .15s, transform .15s, border-color .15s;
}
.a2z-careers[data-theme=dark] .a2z-careers__card { border-color: var(--a2z-line); }
.a2z-careers .a2z-careers__card:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(40, 24, 90, .06), 0 10px 24px rgba(40, 24, 90, .10); color: var(--a2z-text); }
.a2z-careers[data-theme=dark] .a2z-careers__card:hover { border-color: var(--a2z-accent); box-shadow: none; }
.a2z-careers .a2z-careers__card h3 { margin: 0 0 6px; font-size: 15px; font-weight: 500; line-height: 1.3; color: inherit; font-family: inherit; text-transform: none; letter-spacing: 0; }

.a2z-careers .a2z-careers__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 12px; color: var(--a2z-text); }
.a2z-careers .a2z-careers__tag { background: var(--a2z-tag-bg); color: var(--a2z-tag-text); padding: 2px 8px; border-radius: 5px; font-weight: 400; margin-inline-end: -6px; }
.a2z-careers .a2z-careers__loc { display: inline-flex; align-items: center; gap: 4px; color: var(--a2z-text); }
.a2z-careers .a2z-careers__date { color: var(--a2z-text); }

.a2z-careers .a2z-careers__more {
	flex: none; display: inline-flex; align-items: center; white-space: nowrap;
	padding: 5px 10px; border: 1.5px solid var(--a2z-accent-ink); border-radius: 999px;
	color: var(--a2z-accent-ink); background: var(--a2z-card); font-size: 12px; font-weight: 500; line-height: 1.3;
	transition: background-color .15s, color .15s;
}
.a2z-careers .a2z-careers__card:hover .a2z-careers__more { background: var(--a2z-accent-ink); color: var(--a2z-card); }
.a2z-careers .a2z-careers__state { text-align: center; color: var(--a2z-muted); padding: 40px 0; }

/* ---------------------------------------------------------------- detail */
.a2z-careers .a2z-careers__back { display: inline-block; margin-bottom: 14px; color: var(--a2z-muted); text-decoration: none; font-size: 13px; }
.a2z-careers .a2z-careers__back:hover { color: var(--a2z-accent-ink); }
.a2z-careers .a2z-careers__job-title {
	margin: 0 0 10px; color: var(--a2z-text);
	font-family: var(--a2z-display); font-stretch: var(--a2z-display-stretch); font-weight: 800;
	font-size: clamp(22px, 2.8vw, 30px); line-height: 1.15; text-transform: uppercase;
}
.a2z-careers__detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; margin-top: 20px; }
.a2z-careers__panel {
	background: var(--a2z-card); border: 1px solid color-mix(in srgb, var(--a2z-line) 60%, transparent);
	border-radius: var(--a2z-radius); box-shadow: var(--a2z-shadow); padding: 24px;
}
.a2z-careers[data-theme=dark] .a2z-careers__panel { border-color: var(--a2z-line); }
.a2z-careers__desc { font-size: 14.5px; }
.a2z-careers__desc ul, .a2z-careers__desc ol { padding-inline-start: 20px; margin: 0 0 1em; }
.a2z-careers__desc li { margin-bottom: 4px; }
.a2z-careers .a2z-careers__desc a { color: var(--a2z-accent-ink); }
.a2z-careers .a2z-careers__desc strong, .a2z-careers .a2z-careers__desc b { color: var(--a2z-text); }
.a2z-careers__desc p { margin: 0 0 .8em; }
.a2z-careers__apply { position: sticky; top: 24px; }
.a2z-careers .a2z-careers__apply h3 { margin: 0 0 16px; font-size: 18px; font-weight: 600; color: var(--a2z-text); }

/* ------------------------------------------------------------------ form */
.a2z-careers__field { margin-bottom: 14px; }
.a2z-careers__label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.a2z-careers .a2z-careers__req { color: var(--a2z-danger); }
.a2z-careers__phone { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; }
.a2z-careers[dir=rtl] .a2z-careers__phone input { direction: ltr; text-align: right; }
.a2z-careers__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.a2z-careers .a2z-careers__choices label {
	display: flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; font-size: 13px;
	border: 1px solid var(--a2z-line); border-radius: 999px; padding: 7px 14px; background: var(--a2z-field);
}
.a2z-careers .a2z-careers__choices label:has(input:checked) { border-color: var(--a2z-accent-ink); background: var(--a2z-tag-bg); }
.a2z-careers__choices input { accent-color: var(--a2z-accent); margin: 0; }
.a2z-careers .a2z-careers__drop {
	display: block; margin: 0; cursor: pointer; text-align: center; font-size: 13px; color: var(--a2z-muted);
	border: 1.5px dashed var(--a2z-line); border-radius: 8px; padding: 18px; background: var(--a2z-field);
}
.a2z-careers .a2z-careers__drop:hover, .a2z-careers .a2z-careers__drop.is-over { border-color: var(--a2z-accent); background: var(--a2z-accent-soft); }
.a2z-careers .a2z-careers__drop span { color: var(--a2z-muted); }
.a2z-careers .a2z-careers__drop strong { display: block; color: var(--a2z-text); word-break: break-all; }
.a2z-careers .a2z-careers__hint { font-size: 12px; color: var(--a2z-muted); margin-top: 4px; }
.a2z-careers__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.a2z-careers .a2z-careers__errors { background: color-mix(in srgb, var(--a2z-danger) 8%, transparent); color: var(--a2z-danger); border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
.a2z-careers .a2z-careers__errors li { color: var(--a2z-danger); }
.a2z-careers__errors ul { margin: 0; padding-inline-start: 18px; }
.a2z-careers__success { text-align: center; padding: 20px 4px; }
.a2z-careers__tick { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: var(--a2z-ok); background: color-mix(in srgb, var(--a2z-ok) 12%, transparent); }
.a2z-careers .a2z-careers__success p { color: var(--a2z-muted); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 900px) {
	.a2z-careers__detail { grid-template-columns: 1fr; }
	.a2z-careers__apply { position: static; }
}
@media (max-width: 640px) {
	.a2z-careers__header { gap: 8px; }
	.a2z-careers__filters { grid-template-columns: 1fr; }
	.a2z-careers .a2z-careers__card { flex-direction: column; align-items: stretch; }
	.a2z-careers .a2z-careers__more { align-self: flex-start; }
	.a2z-careers__panel { padding: 18px; }
}
