.wb-pos-map-shell {
	position: relative;
	isolation: isolate;
	border-radius: 20px;
	overflow: hidden;
	background: linear-gradient(180deg, #e0f2fe 0%, #f8fafc 100%);
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.wb-pos-map-shell--single {
	box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
}

.wb-pos-tracking-map {
	min-height: 360px;
	background: #dbeafe;
}

.wb-pos-tracking-panel {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 500;
	padding: 12px 14px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(14px);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
	border: 1px solid rgba(148, 163, 184, 0.2);
	pointer-events: none;
}

.wb-pos-tracking-panel--single {
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: min(250px, calc(100% - 132px));
	max-width: calc(100% - 132px);
	padding: 10px 12px;
	border-radius: 16px;
}

.wb-pos-tracking-panel--external {
	position: static;
	top: auto;
	left: auto;
	transform: none;
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0 auto 8px;
	background: none;
	border: 0;
	box-shadow: none;
	backdrop-filter: none;
	pointer-events: auto;
	text-align: center;
}

.wb-pos-tracking-panel--badge {
	display: flex;
	justify-content: center;
	align-items: center;
}

.wb-pos-tracking-panel__identity {
	min-width: 0;
	flex: 1;
}

.wb-pos-tracking-panel__compact {
	display: grid;
	gap: 8px;
}

.wb-pos-tracking-panel__vehicle-row {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.wb-pos-tracking-panel__avatar {
	width: 30px;
	height: 30px;
	border-radius: 10px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(37, 99, 235, 0.12);
	color: #2563eb;
	font-size: 15px;
}

.wb-pos-tracking-panel__title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: #0f172a;
	margin-bottom: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wb-pos-tracking-panel__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.wb-pos-tracking-panel__meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
}

.wb-pos-tracking-panel__meta-chip {
	min-width: 0;
	padding: 6px 9px;
	border-radius: 11px;
	background: rgba(248, 250, 252, 0.9);
	border: 1px solid rgba(148, 163, 184, 0.16);
}

.wb-pos-tracking-panel__meta-chip-label {
	display: block;
	font-size: 10px;
	color: #64748b;
	margin-bottom: 2px;
}

.wb-pos-tracking-panel__meta-chip-value {
	font-size: 12px;
	font-weight: 700;
	color: #0f172a;
}

.wb-pos-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.wb-pos-status-pill--live {
	background: rgba(34, 197, 94, 0.14);
	color: #166534;
}

.wb-pos-status-pill--delayed {
	background: rgba(245, 158, 11, 0.16);
	color: #92400e;
}

.wb-pos-status-pill--offline {
	background: rgba(100, 116, 139, 0.14);
	color: #334155;
}

.wb-pos-tracking-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(148, 163, 184, 0.24);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.wb-pos-tracking-badge__meta {
	font-size: 12px;
	font-weight: 600;
	color: #475569;
}

.wb-pos-tracking-badge--muted {
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
}

.wb-pos-tracking-popup {
	min-width: 180px;
}

.wb-pos-tracking-popup__title {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 10px;
}

.wb-pos-tracking-popup__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 12px;
	margin-top: 6px;
	color: #475569;
}

.wb-pos-tracking-popup__row strong {
	color: #0f172a;
	text-align: right;
}

.wb-pos-tracking-tooltip {
	background: rgba(15, 23, 42, 0.9);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 6px 10px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.wb-pos-tracking-tooltip:before {
	display: none;
}

@media (max-width: 767px) {
	.wb-pos-tracking-panel {
		top: 10px;
		padding: 10px 12px;
		border-radius: 16px;
	}

	.wb-pos-tracking-panel--single {
		top: 10px;
		left: 50%;
		transform: translateX(-50%);
		width: min(232px, calc(100% - 120px));
		max-width: calc(100% - 120px);
	}

	.wb-pos-tracking-badge {
		padding: 7px 12px;
		gap: 6px;
	}

	.wb-pos-tracking-badge__meta {
		font-size: 11px;
	}

	.wb-pos-tracking-panel__title {
		font-size: 15px;
	}
}
