/**
 * 👾 Maxxed – LinkedIn Jobs
 * Front-end styles. Scoped to .mlij- classes so the active theme stays in control.
 * Design system ported verbatim from the Maxxed – Lourdes Jobs (Indeed) plugin;
 * only the class prefix differs (mlj- → mlij-) and the salary field is dropped
 * because LinkedIn provides no salary data.
 */

.mlij-board {
	display: grid;
	grid-template-columns: minmax(200px, 260px) 1fr;
	gap: 28px;
	align-items: start;
}

@media (max-width: 782px) {
	.mlij-board {
		grid-template-columns: 1fr;
	}
}

/* Filters ------------------------------------------------------------------ */
.mlij-filters {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	padding: 18px 18px 22px;
	background: rgba(0, 0, 0, 0.015);
}

.mlij-filters h2 {
	font-size: 1rem;
	margin: 0 0 12px;
}

.mlij-filter-group {
	border: 0;
	margin: 0 0 16px;
	padding: 0;
}

.mlij-filter-group legend {
	font-weight: 600;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.7;
	margin-bottom: 8px;
	padding: 0;
}

.mlij-filter-option {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.92rem;
	margin-bottom: 6px;
	cursor: pointer;
}

.mlij-filters__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

/* Buttons ------------------------------------------------------------------ */
.mlij-button {
	display: inline-block;
	border-radius: 8px;
	padding: 10px 16px;
	font-weight: 600;
	font-size: 0.92rem;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: opacity 0.15s ease;
}

.mlij-button:hover {
	opacity: 0.88;
}

.mlij-button--primary {
	background: #1a1a1a;
	color: #fff;
}

.mlij-button--ghost {
	background: transparent;
	border-color: rgba(0, 0, 0, 0.2);
	color: inherit;
}

/* Results ------------------------------------------------------------------ */
.mlij-results__header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.mlij-results__header p {
	margin: 0;
	font-size: 0.95rem;
	opacity: 0.75;
}

.mlij-cards {
	display: grid;
	gap: 14px;
}

.mlij-card {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	padding: 18px 20px;
	background: #fff;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.mlij-card:hover {
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
}

.mlij-card__eyebrow {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.6;
	margin: 0 0 4px;
}

.mlij-card__title {
	font-size: 1.15rem;
	margin: 0 0 6px;
	line-height: 1.25;
}

.mlij-card__title a {
	text-decoration: none;
	color: inherit;
}

.mlij-card__title a:hover {
	text-decoration: underline;
}

.mlij-card__meta {
	margin: 0 0 12px;
	font-size: 0.92rem;
	opacity: 0.8;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
}

.mlij-card__summary {
	margin: 0 0 14px;
	font-size: 0.92rem;
	line-height: 1.5;
	opacity: 0.85;
}

.mlij-card__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.mlij-card__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	flex-shrink: 0;
}

.mlij-pill,
.mlij-chip {
	display: inline-block;
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 0.76rem;
	font-weight: 600;
	white-space: nowrap;
}

.mlij-pill--green {
	background: #e5f4ec;
	color: #10643a;
}

.mlij-chip {
	background: rgba(0, 0, 0, 0.06);
	color: inherit;
	font-weight: 500;
}

.mlij-empty {
	border: 1px dashed rgba(0, 0, 0, 0.2);
	border-radius: 12px;
	padding: 28px;
	text-align: center;
	opacity: 0.75;
}

/* Detail ------------------------------------------------------------------- */
.mlij-detail {
	max-width: 820px;
}

.mlij-breadcrumb {
	font-size: 0.88rem;
	opacity: 0.7;
	margin-bottom: 18px;
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.mlij-breadcrumb a {
	text-decoration: none;
	color: inherit;
}

.mlij-detail__hero h1 {
	margin: 0 0 10px;
	line-height: 1.2;
}

.mlij-detail__lede {
	font-size: 1.02rem;
	opacity: 0.82;
	margin: 0 0 18px;
}

.mlij-detail__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 26px;
}

.mlij-facts {
	margin: 0 0 26px;
}

.mlij-facts table {
	width: 100%;
	border-collapse: collapse;
}

.mlij-facts th,
.mlij-facts td {
	text-align: left;
	padding: 9px 12px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 0.92rem;
	vertical-align: top;
}

.mlij-facts th {
	width: 190px;
	font-weight: 600;
	opacity: 0.72;
}

.mlij-detail__section {
	margin: 0 0 26px;
	line-height: 1.6;
}

.mlij-detail__section h2 {
	font-size: 1.15rem;
	margin: 0 0 10px;
}

.mlij-summary {
	background: rgba(0, 0, 0, 0.03);
	border-radius: 10px;
	padding: 16px 18px;
	margin: 0 0 26px;
	font-size: 0.95rem;
	line-height: 1.55;
}
