/* ═══════════════════════════════════════════
   GamerDNA Toolkit – Career Matching Styles
   ═══════════════════════════════════════════ */

/* ── Career Match Pills (Overview) ────────── */

.gdna-career-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gdna-career-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 99px;
	background: linear-gradient(135deg, #7c3aed, #6d28d9);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	cursor: default;
	transition: transform 0.15s, box-shadow 0.15s;
	box-shadow: 0 2px 8px rgba(124,58,237,0.25);
}

.gdna-career-pill:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(124,58,237,0.35);
}

.gdna-career-pill-name {
	letter-spacing: 0.01em;
}

.gdna-career-pill-score {
	background: rgba(255,255,255,0.2);
	padding: 2px 9px;
	border-radius: 99px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
}


/* ── Career Matches Full List ────────────── */

.gdna-career-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gdna-career-item {
	display: grid;
	grid-template-columns: 32px 1fr auto;
	grid-template-rows: auto auto;
	gap: 4px 12px;
	align-items: center;
	padding: 14px 16px;
	border-radius: 10px;
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.gdna-career-item:hover {
	border-color: #dee2e6;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.gdna-career-rank {
	grid-row: 1 / 3;
	font-size: 18px;
	font-weight: 700;
	color: #adb5bd;
	text-align: center;
	line-height: 1;
}

.gdna-career-item[data-rank="1"] .gdna-career-rank { color: #f59f00; }
.gdna-career-item[data-rank="2"] .gdna-career-rank { color: #868e96; }
.gdna-career-item[data-rank="3"] .gdna-career-rank { color: #cd7f32; }

.gdna-career-info {
	display: flex;
	align-items: center;
	gap: 8px;
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
}

.gdna-career-name {
	font-weight: 600;
	font-size: 14px;
	color: #212529;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gdna-career-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 99px;
	white-space: nowrap;
	line-height: 1.4;
	letter-spacing: 0.02em;
	flex-shrink: 0;
}

.gdna-career-gaming {
	background: #e8f5e9;
	color: #2e7d32;
}

.gdna-career-allgemein {
	background: #e3f2fd;
	color: #1565c0;
}

.gdna-career-bar {
	grid-column: 2;
	grid-row: 2;
	height: 6px;
	background: #e9ecef;
	border-radius: 99px;
	overflow: hidden;
}

.gdna-career-bar-fill {
	height: 100%;
	border-radius: 99px;
	background: linear-gradient(90deg, #5B9BD5, #3a7bd5);
	transition: width 0.6s ease;
}

.gdna-career-score {
	grid-column: 3;
	grid-row: 1 / 3;
	font-size: 20px;
	font-weight: 700;
	color: #212529;
	text-align: right;
	white-space: nowrap;
	min-width: 55px;
}


/* ── Career Detail Table ─────────────────── */

.gdna-career-detail {
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e9ecef;
	font-size: 14px;
}

.gdna-detail-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 16px;
	background: #f8f9fa;
	font-weight: 700;
	font-size: 16px;
	color: #212529;
	border-bottom: 1px solid #e9ecef;
}

.gdna-detail-score {
	font-size: 20px;
	color: #5B9BD5;
}

.gdna-detail-header {
	display: grid;
	grid-template-columns: 1fr 100px 110px 100px;
	gap: 8px;
	padding: 10px 16px;
	background: #f1f3f5;
	border-bottom: 1px solid #e9ecef;
	font-weight: 600;
	font-size: 12px;
	color: #868e96;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.gdna-detail-row {
	display: grid;
	grid-template-columns: 1fr 100px 110px 100px;
	gap: 8px;
	padding: 10px 16px;
	border-bottom: 1px solid #f1f3f5;
	align-items: center;
}

.gdna-detail-row:last-child {
	border-bottom: none;
}

.gdna-detail-skill {
	font-weight: 500;
	color: #212529;
}

.gdna-detail-stars {
	display: flex;
	gap: 3px;
}

.gdna-detail-weight {
	font-size: 12px;
	font-weight: 600;
	color: #495057;
}

.gdna-detail-quality {
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 99px;
	text-align: center;
	line-height: 1.4;
}

/* Quality colors */
.gdna-detail-perfekt .gdna-detail-quality {
	background: #d4edda;
	color: #155724;
}

.gdna-detail-gut .gdna-detail-quality {
	background: #fff3cd;
	color: #856404;
}

.gdna-detail-verbesserbar .gdna-detail-quality {
	background: #f8d7da;
	color: #721c24;
}

/* Subtle row tint */
.gdna-detail-perfekt { background: rgba(212,237,218,0.15); }
.gdna-detail-gut     { background: rgba(255,243,205,0.15); }
.gdna-detail-verbesserbar { background: rgba(248,215,218,0.15); }


/* ── Career Radar Overlay ────────────────── */

.gdna-career-radar-wrap {
	margin: 0 auto;
}


/* ── Responsive ──────────────────────────── */

@media (max-width: 600px) {
	.gdna-career-item {
		grid-template-columns: 28px 1fr auto;
		padding: 12px 12px;
		gap: 3px 8px;
	}

	.gdna-career-name {
		font-size: 13px;
	}

	.gdna-career-score {
		font-size: 16px;
		min-width: 44px;
	}

	.gdna-detail-header,
	.gdna-detail-row {
		grid-template-columns: 1fr 80px 90px 85px;
		gap: 4px;
		padding: 8px 12px;
		font-size: 12px;
	}

	.gdna-detail-title {
		font-size: 14px;
		padding: 12px;
	}

	.gdna-detail-score {
		font-size: 16px;
	}
}
