@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;600;700&display=swap');

:root {
	--brand: #6B0E6A;
	--brand-mid: #8b2f8a;
	--brand-deep: #4f0b4f;
	--brand-soft: rgba(107, 14, 106, 0.1);
	--brand-soft-strong: rgba(107, 14, 106, 0.16);
	--surface: #f4f5f7;
	--card: #ffffff;
	--text: #273142;
	--text-strong: #101828;
	--muted: #748091;
	--border: #e8edf3;
	--border-strong: #e2e8f0;
	--danger: #ef4444;
	--success: #22c55e;
	--warning: #f59e0b;
	--offline: #64748b;
	--radius-sm: 12px;
	--radius-md: 16px;
	--radius-lg: 20px;
	--radius-xl: 24px;
	--shadow-card: 0 6px 16px rgba(15, 23, 42, 0.05);
	--shadow-elevated: 0 12px 30px rgba(15, 23, 42, 0.12);
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--header-h: 58px;
	--safe-b: 0px;
	--safe-t: 0px;
}

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: var(--surface);
}

body {
	font-family: 'Ubuntu', sans-serif;
	color: var(--text);
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body.farsi {
	font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
	font-size: 15px;
	line-height: 1.65;
}

/* Prevent iOS WebView zoom-on-focus for common controls */
input.form-control,
select.form-control,
textarea.form-control,
.form-control {
	font-size: 16px;
}

.far {
	font-weight: 900;
}

#loading_panel {
	background-color: #f8f8f8;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	width: 100%;
	height: 100%;
	z-index: 99999;
}

.loading-label {
	margin-top: 15px;
}

#loading_data_panel {
	background-color: #FFFFFF;
	opacity: 0.6;
	filter: Alpha(Opacity=30);
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: 99999;
}

.width10 {
	width: 10%;
}

.width20 {
	width: 20%;
}

.width33 {
	width: 33.33333%;
}

.width40 {
	width: 40%;
}

.width45 {
	width: 45%;
}

.width50 {
	width: 50%;
}

.width100 {
	width: 100%;
}

.clearfix {
	display: table;
	width: 100%;
}

.block1 {
	padding-right: 5px;
}

.block2 {
	padding-left: 5px;
}

/* Margin */
.mb5 {
	margin-bottom: 5px;
}

.mb10 {
	margin-bottom: 10px;
}

.mb15 {
	margin-bottom: 15px;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.realtive {
	position: relative;
}

.object-item {
	display: table;
	width: 100%;
	cursor: pointer;
}

a {
	outline: none;
}

a,
a:hover {
	text-decoration: none;
	color: #2b82d4;
}

b,
strong {
	font-weight: 600;
}

#server {
	min-height: 50px;
	border-color: #ddd;
	cursor: pointer;
}

/*#################################################*/
/* PAGES
/*#################################################*/

.page {
	display: none;
	overflow: hidden;
	position: fixed;
	inset: 0;
	width: auto;
	height: auto;
	max-height: none;
	box-sizing: border-box;
	padding: 12px 12px 12px;
	background: #f4f5f7;
	z-index: 99;
	flex-direction: column;
}

.page.active {
	display: flex;
	z-index: 999;
}

.page > .header,
.page > .close-page-button,
.page > .button.button-confirm,
.page > .mobile-page-actionbar,
.page > .places-control {
	flex: 0 0 auto;
}

.page > .content-block {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

.page > .content-block > .scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 2px 2px 20px;
}

.page .header,
.page .mobile-page-header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 0;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
	font-size: 16px;
}

.page .mobile-page-header-start {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1 1 auto;
}

.page .mobile-page-icon-button {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	color: #3f4654;
	background: transparent;
	border: 0;
	text-decoration: none;
	font-size: 17px;
}

.page .mobile-page-icon-button:active,
.page .close-page-button:active {
	background: #f3f4f6;
}

.page .header .title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	color: #6B0E6A;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.page .header .title,
.page .close-block {
	float: none;
}

.page .close-block {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 6px;
}

.page .close-page-button {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	color: #667085;
	background: transparent;
	border: 0;
	box-shadow: none;
	text-decoration: none;
	font-size: 17px;
}

.page .mobile-page-lead {
	margin: 0 0 14px;
	padding: 0 4px;
	color: #748091;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
}

.page h4 {
	margin: 18px 0 12px;
	padding: 0 4px;
	color: #273142;
	font-size: 14px;
	font-weight: 800;
}

.page h4:first-child {
	margin-top: 4px;
}

.page .form-group {
	background: #ffffff;
	border: 1px solid #e8edf3;
	border-radius: 16px;
	padding: 12px 14px;
	margin-bottom: 10px;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.page .form-group .row > [class*="col-"] {
	color: #64748b;
	font-size: 13px;
	font-weight: 600;
}

.page .list-group > a.list-group-item,
.page .list-group > .list-group-item:not(.fleet-object-card) {
	border-radius: 16px !important;
	margin-bottom: 10px;
	border: 1px solid #e8edf3 !important;
	background: #ffffff;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
	padding: 14px;
}

.page .input-group.form-group.btn-group,
.page .mobile-page-search {
	display: flex;
	align-items: center;
	gap: 0;
	padding: 0 10px;
	min-height: 48px;
	overflow: hidden;
	background: #ffffff;
}

.page .mobile-page-search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	color: #98a2b3;
	font-size: 14px;
	flex: 0 0 auto;
}

.page .input-group.form-group.btn-group .form-control,
.page .mobile-page-search .form-control {
	border: 0;
	background: transparent;
	box-shadow: none;
	min-height: 46px;
	padding: 10px 8px;
	flex: 1 1 auto;
}

.page .input-group.form-group.btn-group .clear,
.page .mobile-page-search .clear {
	position: static;
	transform: none;
	margin: 0;
	padding: 8px;
	color: #98a2b3;
	flex: 0 0 auto;
}

.page .pager {
	margin-top: 8px;
	padding: 12px 14px;
	border-radius: 16px;
	background: #ffffff;
	border: 1px solid #e8edf3;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.page > .button.button-confirm.width100 {
	margin-top: 10px;
	min-height: 48px;
	border-radius: 16px;
	font-weight: 700;
}

/*#################################################*/
/* PAGE OBJECTS / FLEET
/*#################################################*/

#page_objects {
	padding: 10px 12px 12px;
	background: #f4f5f7;
	overflow: hidden;
	flex-direction: column;
	height: auto;
	box-sizing: border-box;
	overscroll-behavior: contain;
}

#page_objects.active {
	display: flex;
}

#page_objects .fleet-simple-header {
	flex: 0 0 auto;
}

#page_objects > .content-block {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

#page_objects > .content-block > .scroll {
	display: block;
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding-bottom: 12px;
}

body.has-bottom-nav #page_objects > .content-block > .scroll {
	padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px) + 16px);
}

#page_objects .fleet-summary-card {
	position: relative;
	overflow: hidden;
	background-color: #4a0a55;
	background-image:
		radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.14), transparent 34%),
		radial-gradient(circle at 12% 80%, rgba(145, 64, 180, 0.28), transparent 42%),
		linear-gradient(145deg, #3b0845 0%, #5b0d68 48%, #2f1d7a 100%);
	border-radius: 24px;
	padding: 10px 12px 10px;
	color: #fff;
	box-shadow: 0 10px 28px rgba(74, 10, 85, 0.26);
	margin-bottom: 10px;
	animation: fleetSummaryIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

#page_objects .fleet-summary-pattern {
	position: absolute;
	inset: -20% -10% auto auto;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 68%);
	pointer-events: none;
	animation: fleetSummaryGlow 6s ease-in-out infinite;
}

#page_objects .fleet-summary-top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 4px;
}

#page_objects .fleet-summary-title {
	font-size: 13px;
	font-weight: 800;
}

#page_objects .fleet-summary-date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 11px;
	font-weight: 700;
}

#page_objects .fleet-summary-date-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
	animation: mobileDashPulseOn 2s ease-in-out infinite;
}

#page_objects .fleet-summary-total {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 8px;
	text-align: center;
	padding: 2px 0 2px;
}

#page_objects .fleet-summary-total-value {
	font-size: 28px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.03em;
	animation: fleetTotalPulse 3.2s ease-in-out infinite;
}

#page_objects .fleet-summary-total-label {
	margin-top: 0;
	opacity: 0.8;
	font-size: 12px;
	font-weight: 700;
}

#page_objects .fleet-summary-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin-top: 8px;
}

#page_objects .fleet-summary-metric {
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.16);
	border-radius: 14px;
	padding: 8px 4px 7px;
	text-align: center;
	min-width: 0;
	color: inherit;
	width: 100%;
	cursor: pointer;
	transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
	animation: fleetMetricIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#page_objects .fleet-summary-metric:nth-child(1) { animation-delay: 0.05s; }
#page_objects .fleet-summary-metric:nth-child(2) { animation-delay: 0.1s; }
#page_objects .fleet-summary-metric:nth-child(3) { animation-delay: 0.15s; }
#page_objects .fleet-summary-metric:nth-child(4) { animation-delay: 0.2s; }

#page_objects .fleet-summary-metric:active {
	transform: translateY(1px) scale(0.97);
}

#page_objects .fleet-summary-metric.is-active-filter {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.28);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

#page_objects .fleet-summary-metric-icon {
	width: 24px;
	height: 24px;
	margin: 0 auto 4px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.12);
	font-size: 12px;
	color: #fff;
}

#page_objects .fleet-summary-metric-icon .mobile-dashboard-svg-icon {
	width: 13px;
	height: 13px;
	flex: 0 0 13px;
	filter: brightness(0) invert(1);
	opacity: 0.95;
}

#page_objects .fleet-summary-metric.is-moving .fleet-summary-metric-icon { color: #7dffb0; }
#page_objects .fleet-summary-metric.is-stopped .fleet-summary-metric-icon { color: #ffd27a; }
#page_objects .fleet-summary-metric.is-warning .fleet-summary-metric-icon { color: #ff9b9b; }
#page_objects .fleet-summary-metric.is-offline .fleet-summary-metric-icon { color: #d7dbe5; }

#page_objects .fleet-summary-metric.is-moving.has-pulse .fleet-summary-metric-icon {
	animation: mobileDashPulseOn 2s ease-in-out infinite;
}

#page_objects .fleet-summary-metric-count {
	font-size: 15px;
	font-weight: 900;
	line-height: 1.1;
}

#page_objects .fleet-summary-metric-label,
#page_objects .fleet-summary-metric-pct {
	margin-top: 1px;
	font-size: 9px;
	font-weight: 700;
	opacity: 0.9;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#page_objects .fleet-summary-metric-pct {
	opacity: 0.7;
	margin-top: 1px;
}

@keyframes fleetSummaryIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes fleetMetricIn {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes fleetSummaryGlow {
	0%, 100% { opacity: 0.55; transform: scale(1); }
	50% { opacity: 0.9; transform: scale(1.08); }
}

@keyframes fleetTotalPulse {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-1px); }
}

#page_objects .fleet-toolbar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	direction: rtl;
}

#page_objects .fleet-search-wrap {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0 40px 0 36px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

#page_objects .fleet-search-icon {
	position: absolute;
	right: 14px;
	color: #98a2b3;
	font-size: 15px;
	pointer-events: none;
}

#page_objects .fleet-search-input,
#page_objects .fleet-search-input:focus {
	border: 0;
	box-shadow: none;
	background: transparent;
	min-height: 44px;
	padding: 0;
	text-align: right;
	width: 100%;
}

#page_objects .fleet-search-clear {
	position: absolute;
	left: 10px;
	color: #98a2b3;
	padding: 6px;
	cursor: pointer;
}

#page_objects .fleet-filter-btn {
	flex: 0 0 auto;
	min-height: 48px;
	padding: 0 14px;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #6B0E6A;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

#page_objects .fleet-filter-btn.is-open {
	background: rgba(107, 14, 106, 0.08);
	border-color: rgba(107, 14, 106, 0.22);
}

#page_objects .fleet-group-btn.is-active {
	background: rgba(107, 14, 106, 0.14);
	border-color: rgba(107, 14, 106, 0.32);
	color: #6B0E6A;
	box-shadow: inset 0 0 0 1px rgba(107, 14, 106, 0.12);
}

#page_objects .fleet-filter-panel {
	margin-bottom: 10px;
	padding: 12px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
}

#page_objects .fleet-status-tabs {
	display: flex;
	flex-direction: row-reverse;
	gap: 8px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0 0 12px;
	margin: 0;
}

#page_objects .fleet-status-tab {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #475467;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

#page_objects .fleet-status-tab em {
	font-style: normal;
	color: #98a2b3;
	font-weight: 800;
}

#page_objects .fleet-status-tab.is-active {
	background: #6B0E6A;
	border-color: #6B0E6A;
	color: #fff;
}

#page_objects .fleet-status-tab.is-active em {
	color: rgba(255, 255, 255, 0.9);
}

#page_objects .fleet-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
	background: #98a2b3;
}

#page_objects .fleet-dot.is-moving { background: #22c55e; }
#page_objects .fleet-dot.is-stopped { background: #f59e0b; }
#page_objects .fleet-dot.is-warning { background: #ef4444; }
#page_objects .fleet-dot.is-offline { background: #64748b; }

#page_objects .fleet-object-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow: visible;
	padding: 0;
	margin: 0;
}

#page_objects #page_object_list .list-group-item,
#page_objects #page_object_list .fleet-object-card {
	--fleet-status-color: #94a3b8;
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
	overflow: hidden;
}

#page_objects .fleet-object-card.is-moving {
	--fleet-status-color: #22c55e;
	background: linear-gradient(180deg, #f3fcf6 0%, #ffffff 55%);
	border-color: rgba(34, 197, 94, 0.18);
}

#page_objects .fleet-object-card.is-stopped {
	--fleet-status-color: #f59e0b;
	background: linear-gradient(180deg, #fffaf0 0%, #ffffff 55%);
	border-color: rgba(245, 158, 11, 0.2);
}

#page_objects .fleet-object-card.is-warning {
	--fleet-status-color: #ef4444;
	background: linear-gradient(180deg, #fff5f5 0%, #ffffff 55%);
	border-color: rgba(239, 68, 68, 0.18);
}

#page_objects .fleet-object-card.is-offline {
	--fleet-status-color: #64748b;
	background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 55%);
	border-color: rgba(100, 116, 139, 0.16);
}

#page_objects .fleet-object-card[data-ohc-color="1"] {
	background:
		linear-gradient(90deg, color-mix(in srgb, var(--fleet-status-color) 14%, #ffffff) 0%, #ffffff 42%),
		#ffffff;
}

#page_objects .fleet-object-accent {
	position: absolute;
	top: 10px;
	bottom: 10px;
	right: 0;
	width: 4px;
	border-radius: 999px 0 0 999px;
	background: var(--fleet-status-color);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--fleet-status-color) 16%, transparent);
}

#page_objects .fleet-object-body {
	padding: 12px 14px 12px 12px;
}

#page_objects .fleet-object-top {
	direction: rtl;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

#page_objects .fleet-object-status-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 900;
	white-space: nowrap;
	background: color-mix(in srgb, var(--fleet-status-color) 12%, #ffffff);
	color: color-mix(in srgb, var(--fleet-status-color) 78%, #0f172a);
	border: 1px solid color-mix(in srgb, var(--fleet-status-color) 22%, transparent);
}

#page_objects .fleet-object-status-sub {
	flex: 1 1 auto;
	min-width: 0;
	color: #667085;
	font-size: 11px;
	font-weight: 700;
	text-align: right;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#page_objects .fleet-object-more {
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 10px;
	background: #f8fafc;
	color: #98a2b3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	flex: 0 0 auto;
	margin-right: auto;
}

#page_objects .fleet-object-main {
	direction: rtl;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) 62px;
	align-items: center;
	gap: 12px;
}

#page_objects .fleet-object-media {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: #f8fafc;
	border: 1px solid #eef2f6;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

#page_objects .fleet-object-image {
	width: 42px;
	height: 34px;
	object-fit: contain;
	display: block;
}

#page_objects .fleet-object-image.is-icon {
	width: 24px;
	height: 24px;
	opacity: 0.95;
}

#page_objects .fleet-object-identity {
	min-width: 0;
	text-align: right;
}

#page_objects .fleet-object-name {
	font-size: 14px;
	font-weight: 900;
	color: #0f172a;
	line-height: 1.45;
	word-break: break-word;
	overflow-wrap: anywhere;
	white-space: normal;
}

#page_objects .fleet-object-imei {
	margin-top: 3px;
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	line-height: 1.35;
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

#page_objects .fleet-object-imei-label {
	font-size: 9px;
	font-weight: 800;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	flex: 0 0 auto;
}

#page_objects .fleet-object-imei-value {
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	word-break: break-all;
	overflow-wrap: anywhere;
	unicode-bidi: isolate;
}

#page_objects .fleet-object-plate {
	margin-top: 6px;
	transform: scale(0.78);
	transform-origin: right center;
}

#page_objects .fleet-object-plate .mobile-dashboard-plate {
	margin: 0;
}

#page_objects .fleet-object-address {
	margin-top: 5px;
	color: #667085;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

#page_objects .fleet-object-gauge-wrap {
	position: relative;
	width: 62px;
	height: 62px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

#page_objects .fleet-speed-gauge {
	width: 62px;
	height: 62px;
	transform: rotate(-90deg);
}

#page_objects .fleet-speed-gauge-bg,
#page_objects .fleet-speed-gauge-fg {
	fill: none;
	stroke-width: 3.5;
}

#page_objects .fleet-speed-gauge-bg {
	stroke: rgba(148, 163, 184, 0.24);
}

#page_objects .fleet-speed-gauge-fg {
	stroke: var(--fleet-status-color);
	stroke-linecap: round;
	transition: stroke-dasharray 0.25s ease;
}

#page_objects .fleet-object-speed {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	pointer-events: none;
}

#page_objects .fleet-object-speed strong {
	font-size: 13px;
	font-weight: 900;
	color: #0f172a;
	line-height: 1;
}

#page_objects .fleet-object-speed span {
	margin-top: 2px;
	font-size: 9px;
	font-weight: 700;
	color: #98a2b3;
}

#page_objects .fleet-object-hidden {
	display: none !important;
}

#page_objects .fleet-object-empty {
	list-style: none;
	padding: 26px 14px;
	text-align: center;
	color: #98a2b3;
	font-weight: 700;
	background: #fff;
	border-radius: 18px;
	border: 1px dashed #e2e8f0;
}

#page_objects .fleet-object-group-header {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 14px 0 8px;
	padding: 10px 14px;
	border-radius: 14px;
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid #e2e8f0;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.15s ease, border-color 0.15s ease;
}

#page_objects .fleet-object-group-header:active {
	background: linear-gradient(180deg, #eef2f7 0%, #e8edf3 100%);
}

#page_objects .fleet-object-group-header.is-collapsed {
	margin-bottom: 4px;
}

#page_objects .fleet-object-group-main {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
	min-width: 0;
}

#page_objects .fleet-object-group-chevron {
	width: 8px;
	height: 8px;
	border-right: 2px solid #64748b;
	border-bottom: 2px solid #64748b;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	flex: 0 0 auto;
	margin-top: -2px;
}

#page_objects .fleet-object-group-header.is-collapsed .fleet-object-group-chevron {
	transform: rotate(-45deg);
	margin-top: 2px;
}

#page_objects .fleet-object-group-header:first-child {
	margin-top: 0;
}

#page_objects .fleet-object-group-title {
	font-size: 13px;
	font-weight: 800;
	color: #334155;
	line-height: 1.6;
}

#page_objects .fleet-object-group-count {
	min-width: 28px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(107, 14, 106, 0.1);
	color: #6B0E6A;
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

#page_objects .fleet-object-sensor {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	min-height: 22px;
	padding: 6px 10px;
	border-radius: 12px;
	background: rgba(15, 23, 42, 0.04);
}

#page_objects .fleet-object-sensor .sensor-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.35);
	flex: 0 0 auto;
	background: #94a3b8;
}

#page_objects .fleet-object-sensor-label {
	font-size: 13px;
	font-weight: 800;
	color: #475569;
	line-height: 1.3;
	flex: 0 0 auto;
	white-space: nowrap;
}

#page_objects .fleet-object-sensor-value {
	font-size: 14px;
	font-weight: 900;
	color: #0f172a;
	line-height: 1.3;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1 1 auto;
}

#page_objects .fleet-fab {
	position: fixed;
	left: 16px;
	right: auto;
	bottom: 16px;
	z-index: 1000;
	min-height: 48px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(145deg, #8b2f8a, #6B0E6A);
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 14px 28px rgba(107, 14, 106, 0.35);
}

#page_objects .fleet-scroll-top {
	position: fixed;
	left: 16px;
	right: auto;
	bottom: calc(88px + env(safe-area-inset-bottom, 0px));
	z-index: 1001;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	padding: 0;
	border: 1px solid rgba(107, 14, 106, 0.2);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.96);
	color: #6B0E6A;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
	-webkit-tap-highlight-color: transparent;
	cursor: pointer;
}

body.has-bottom-nav #page_objects .fleet-scroll-top {
	bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

#page_objects .fleet-scroll-top:active {
	background: rgba(107, 14, 106, 0.1);
}

#page_objects .fleet-scroll-top .svg-inline--fa,
#page_objects .fleet-scroll-top i {
	font-size: 14px;
}

#page_objects .fleet-scroll-top svg {
	display: block;
	width: 18px;
	height: 18px;
	pointer-events: none;
}

.fleet-quick-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fleet-quick-action {
	min-height: 48px;
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	color: #334155;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 14px;
	font-size: 14px;
	font-weight: 800;
}

.fleet-quick-action i {
	color: #6B0E6A;
}

#page_objects .control-block {
	margin-bottom: 0;
}

#page_objects .control-block .option-button {
	cursor: pointer;
	margin-bottom: 5px;
}

#page_objects .control-block .option-button:last-child {
	margin-bottom: 0;
}

#page_objects .control-block .label {
	color: #777;
	font-weight: normal;
}

#page_objects .control-block svg {
	color: #777;
}

#page_objects .control-block .checked svg {
	color: #4389eb;
}

@supports not (background: color-mix(in srgb, red 10%, white)) {
	#page_objects .fleet-object-card.is-moving { background: #f3fcf6; }
	#page_objects .fleet-object-card.is-stopped { background: #fffaf0; }
	#page_objects .fleet-object-card.is-warning { background: #fff5f5; }
	#page_objects .fleet-object-card.is-offline { background: #f7f8fa; }
	#page_objects .fleet-object-card[data-ohc-color="1"] { background: #ffffff; }
	#page_objects .fleet-object-status-chip { background: #f8fafc; color: #334155; border-color: #e5e7eb; }
	#page_objects .fleet-object-accent { box-shadow: none; }
}

@media (max-width: 380px) {
	#page_objects .fleet-object-main {
		grid-template-columns: 46px minmax(0, 1fr) 56px;
		gap: 10px;
	}

	#page_objects .fleet-object-media {
		width: 46px;
		height: 46px;
	}

	#page_objects .fleet-object-gauge-wrap,
	#page_objects .fleet-speed-gauge {
		width: 56px;
		height: 56px;
	}

	#page_objects .fleet-summary-metric-label {
		font-size: 9px;
	}
}

/*#################################################*/
/* PAGE EVENTS
/*#################################################*/

#page_events .event-row {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	grid-template-areas:
		"date name"
		"date imei";
	gap: 2px 12px;
	align-items: center;
}

#page_events .event-row .item {
	float: none;
	width: auto !important;
	min-width: 0;
}

#page_events .event-row .date {
	grid-area: date;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 6px 8px;
	border-radius: 12px;
	background: rgba(107, 14, 106, 0.08);
	color: #6B0E6A;
	font-weight: 700;
	font-size: 12px;
	text-align: center;
}

#page_events .event-row .imei {
	grid-area: imei;
	color: #94a3b8;
	font-size: 12px;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#page_events .event-row .name {
	grid-area: name;
	color: #273142;
	font-size: 14px;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/*#################################################*/
/* PAGE HISTORY
/*#################################################*/

#page_object_details > .content-block,
#page_events > .content-block,
#page_history > .content-block,
#page_settings > .content-block,
#page_object_control > .content-block,
#page_places > .content-block,
#page_reports > .content-block,
#page_reports_adv > .content-block,
#page_my_reports > .content-block {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

#page_object_details > .content-block > .scroll,
#page_events > .content-block > .scroll,
#page_history > .content-block > .scroll,
#page_settings > .content-block > .scroll,
#page_object_control > .content-block > .scroll,
#page_places > .content-block > .scroll,
#page_reports > .content-block > .scroll,
#page_reports_adv > .content-block > .scroll,
#page_my_reports > .content-block > .scroll {
	display: block;
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 2px 2px 20px;
}

.mobile-report-shell {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 0 0 8px;
}

.mobile-report-shell > .mobile-page-lead {
	margin-bottom: 0;
}

.mobile-report-hero {
	padding: 18px 18px 16px;
	border-radius: 24px;
	background: linear-gradient(160deg, #7d2480 0%, #6B0E6A 48%, #4f0b4f 100%);
	border: 0;
	box-shadow: 0 16px 34px rgba(107, 14, 106, 0.26);
	color: #fff;
}

.mobile-report-hero-adv {
	background: linear-gradient(160deg, #7d2480 0%, #6B0E6A 48%, #4f0b4f 100%);
}

.mobile-report-hero-my {
	background: linear-gradient(160deg, #7d2480 0%, #6B0E6A 48%, #4f0b4f 100%);
}

.mobile-report-hero-title {
	color: #ffffff;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.5;
}

.mobile-report-hero-subtitle {
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	font-weight: 600;
}

.mobile-report-section {
	padding: 16px;
	border-radius: 20px;
	background: #ffffff;
	border: 1px solid #e8edf3;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.mobile-report-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.mobile-report-section-heading h4,
.mobile-report-section-title {
	margin: 0;
	color: #273142;
	font-size: 15px;
	font-weight: 800;
}

.mobile-report-filters {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mobile-report-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mobile-report-label {
	display: block;
	color: #7b8794;
	font-size: 12px;
	font-weight: 700;
	margin: 0;
}

.mobile-report-date-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.mobile-report-filters .input-group,
#page_history .input-group,
#page_object_control .input-group,
#page_settings .input-group {
	display: flex;
	align-items: stretch;
	width: 100%;
}

.mobile-report-filters .form-control,
.mobile-report-filters .input-group .form-control,
#page_history .form-control,
#page_object_control .form-control,
#page_settings .form-control {
	min-height: 44px;
	border-radius: 14px;
	border-color: #dbe3ec;
	background: #f8fafc;
	box-shadow: none;
}

.mobile-report-filters .input-group .form-control,
#page_history .input-group .form-control,
#page_object_control .input-group .form-control,
#page_settings .input-group .form-control {
	flex: 1 1 auto;
	width: 1%;
	border-radius: 14px 0 0 14px;
}

.mobile-report-filters .input-group-addon,
#page_history .input-group-addon,
#page_object_control .input-group-addon,
#page_settings .input-group-addon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	padding: 0 14px;
	border-color: #dbe3ec;
	background: #f8fafc;
	color: #667085;
	border-radius: 0 14px 14px 0;
	border-left: 0;
}

.mobile-report-filters .input-group-addon i,
#page_history .input-group-addon i {
	font-size: 15px;
	color: #667085;
}

.mobile-report-filters .select2-container--default .select2-selection--multiple,
#page_history .select2-container--default .select2-selection--multiple,
#page_history .select2-container--default .select2-selection--single,
#page_object_control .select2-container--default .select2-selection--multiple,
#page_object_control .select2-container--default .select2-selection--single,
#page_settings .select2-container--default .select2-selection--multiple,
#page_settings .select2-container--default .select2-selection--single {
	min-height: 44px;
	border-radius: 14px;
	border: 1px solid #dbe3ec;
	background: #f8fafc;
	padding: 6px 8px;
}

#page_reports .select2-container,
#page_reports_adv .select2-container,
#page_history .select2-container,
#page_object_control .select2-container,
#page_settings .select2-container {
	width: 100% !important;
}

.select2-results__group {
	color: #6B0E6A;
	font-weight: 800;
	font-size: 12px;
	padding: 8px 10px 4px;
}

#page_history .select2-container--default .select2-selection--single .select2-selection__rendered,
#page_object_control .select2-container--default .select2-selection--single .select2-selection__rendered,
#page_settings .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 30px;
	padding-left: 12px;
	padding-right: 28px;
	color: #344054;
}

#page_history .select2-container--default .select2-selection--single .select2-selection__arrow,
#page_object_control .select2-container--default .select2-selection--single .select2-selection__arrow,
#page_settings .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 42px;
}

#page_history .scroll,
#page_object_control .scroll,
#page_settings .scroll {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

#page_history h4,
#page_object_control h4,
#page_settings h4 {
	margin: 18px 4px 10px;
	color: #273142;
	font-size: 15px;
	font-weight: 800;
}

#page_settings .mobile-page-lead + h4,
#page_history .scroll > h4:first-child,
#page_object_control .scroll > h4:first-child {
	margin-top: 6px;
}

#page_history .form-group,
#page_object_control .form-group,
#page_settings .form-group {
	margin: 0 0 12px;
	padding: 16px;
	border-radius: 20px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
	border: 1px solid #ebf0f5;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

#page_settings .scroll > div > .form-group:last-child,
#page_settings .form-group:last-of-type {
	margin-bottom: 4px;
}

#page_history .form-group .row,
#page_object_control .form-group .row,
#page_settings .form-group .row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	margin: 0;
}

#page_history .form-group [class*="col-xs-"],
#page_object_control .form-group [class*="col-xs-"],
#page_settings .form-group [class*="col-xs-"] {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

#page_history .form-group .row>[class*="col-xs-"]:first-child,
#page_object_control .form-group .row>[class*="col-xs-"]:first-child,
#page_settings .form-group .row>[class*="col-xs-"]:first-child {
	color: #7b8794;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.8;
}

#page_history .scroll>.row.vertical-align {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	margin: 0;
	padding: 16px;
	border-radius: 20px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
	border: 1px solid #ebf0f5;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

#page_history .scroll>.row.vertical-align>[class*="col-xs-"] {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

#page_history .scroll>.row.vertical-align>[class*="col-xs-"]:first-child {
	color: #7b8794;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.8;
}

#page_history .scroll>.row.vertical-align .form-group {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.mobile-report-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mobile-report-card {
	padding: 14px;
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
	border: 1px solid #ebf0f5;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.mobile-generated-card {
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.mobile-report-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.mobile-report-card-title {
	flex: 1 1 auto;
	min-width: 0;
	color: #273142;
	font-size: 14px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.mobile-report-card-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 52px;
	padding: 6px 10px;
	border-radius: 999px;
	background: #eef2ff;
	color: #4f46e5;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.mobile-report-card-meta {
	margin-top: 8px;
	color: #748091;
	font-size: 12px;
	line-height: 1.8;
}

.mobile-report-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.mobile-report-action-button {
	min-height: 38px;
	padding: 8px 12px;
	border-radius: 12px;
	border-color: #d9e2ec;
	background: #ffffff;
	color: #475467;
	font-weight: 700;
	box-shadow: none;
}

.mobile-report-action-button.mobile-report-action-primary {
	border-color: #dbe7fb;
	background: linear-gradient(180deg, #eff6ff 0%, #e0edff 100%);
	color: #1d4ed8;
}

.mobile-report-action-button:hover,
.mobile-report-action-button:focus {
	color: #273142;
	text-decoration: none;
}

.mobile-report-refresh-button {
	min-height: 44px;
	border-radius: 14px;
	border-color: #dbe3ec;
	background: #f8fafc;
	color: #344054;
	font-weight: 800;
}

.mobile-report-empty {
	padding: 22px 16px;
	border: 1px dashed #d9e2ec;
	border-radius: 16px;
	background: #f8fafc;
	color: #7b8794;
	font-size: 13px;
	text-align: center;
	line-height: 1.9;
}

#mobile_desktop_feature_overlay {
	position: fixed;
	inset: 0;
	display: none;
	background: #f4f6fa;
	z-index: 1200;
	padding-top: 0px;
	padding-bottom: 0px;
}

#mobile_desktop_feature_overlay.active {
	display: flex;
	flex-direction: column;
}

.mobile-desktop-feature-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 54px;
	padding: 10px 14px;
	background: #ffffff;
	border-bottom: 1px solid #e6ebf2;
	box-shadow: 0 2px 14px rgba(15, 23, 42, 0.08);
}

.mobile-desktop-feature-title {
	font-size: 14px;
	font-weight: 700;
	color: #273142;
}

.mobile-desktop-feature-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: #f4f6fa;
	color: #273142;
	text-decoration: none;
}

#mobile_desktop_feature_frame {
	flex: 1 1 auto;
	width: 100%;
	border: 0;
	background: #ffffff;
}

/*#################################################*/
/* REPORT VIEWER (Android WebView)
/*#################################################*/

.mobile-report-viewer {
	position: fixed;
	inset: 0;
	display: none;
	flex-direction: column;
	background: #f4f6fa;
	z-index: 1300;
	padding-top: 0px;
	padding-bottom: 0px;
}

.mobile-report-viewer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 54px;
	padding: 10px 14px;
	background: #ffffff;
	border-bottom: 1px solid #e6ebf2;
	box-shadow: 0 2px 14px rgba(15, 23, 42, 0.08);
}

.mobile-report-viewer-title {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 14px;
	font-weight: 700;
	color: #273142;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mobile-report-viewer-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.mobile-report-viewer-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	background: #f4f6fa;
	color: #273142;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
}

.mobile-report-viewer-btn.mobile-report-viewer-close {
	width: 36px;
	padding: 0;
}

.mobile-report-viewer-btn.mobile-report-viewer-close span {
	display: none;
}

.mobile-report-viewer-frame {
	flex: 1 1 auto;
	width: 100%;
	border: 0;
	background: #ffffff;
}

/*#################################################*/
/* PAGE OBJECT CONTROL
/*#################################################*/

#page_object_control .content-block {
	min-height: calc(100vh - 125px);
	flex: 1 1 auto;
	min-height: 0;
}

#page_object_control .content-block .scroll {
	overflow-x: hidden;
	overflow-y: auto;
	max-height: none;
	flex: 1 1 auto;
	min-height: 0;
}

/*#################################################*/
/* PAGE SETTINGS
/*#################################################*/

#page_settings .content-block {
	min-height: calc(100vh - 125px);
	flex: 1 1 auto;
	min-height: 0;
}

#page_settings .content-block .scroll {
	overflow-x: hidden;
	overflow-y: auto;
	max-height: none;
	flex: 1 1 auto;
	min-height: 0;
}

/*#################################################*/
/* MAP DIVS
/*#################################################*/

#page_map .header {
	position: absolute;
	z-index: 99;
	top: 0;
	right: 0;
	left: 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 15px;
	padding-top: 15px;
	padding-left: 15px;
	padding-right: 15px;
	pointer-events: none;
}

#page_map .header .menu-button,
#page_map .header .map-select-block {
	pointer-events: auto;
}

#page_map .header .menu-button a,
#page_map .header .map-select-block button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(99, 110, 123, 0.12);
	border-radius: 18px;
	color: #5d6673;
	font-size: 18px;
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	outline: none;
	-webkit-box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	touch-action: manipulation;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

#page_map .header .menu-button a:hover,
#page_map .header .menu-button a:focus,
#page_map .header .map-select-block button:hover,
#page_map .header .map-select-block button:focus {
	background: rgba(255, 255, 255, 0.96);
	color: #273142;
	text-decoration: none;
}

#page_map .header .menu-button a:active,
#page_map .header .map-select-block button:active {
	transform: scale(0.98);
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}

#page_map {
	position: absolute;
	display: block;
	padding: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	overflow: hidden;
}

#page_map:not(.active) {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

#page_map:not(.active) .leaflet-control-container {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

#map {
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	--mobile-leaflet-bottom: 12px;
}

#map_layer {
	border: none;
	color: #dddddd;
	background-color: #444444;
}

#map_layer.form-control:focus {
	box-shadow: none;
}

#history_playback {
	display: none;
	position: absolute;
	bottom: 16px;
	left: 10px;
	right: 10px;
	margin-left: auto;
	margin-right: auto;
	width: auto;
	max-width: none;
	background: var(--card);
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 18px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
	z-index: 1215;
	font-size: 12px;
	padding: 8px 10px;
	direction: rtl;
}

.history-playback-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

#history_playback a {
	color: var(--text);
	margin: 0;
}

.history-playback-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	text-decoration: none !important;
	color: var(--brand) !important;
}

.history-playback-button:active {
	background: var(--brand-soft);
}

.history-playback-stop {
	color: #dc2626 !important;
	background: rgba(239, 68, 68, 0.08);
	border-color: rgba(239, 68, 68, 0.16);
}

.history-playback-speed {
	width: 76px;
	min-height: 42px;
	border-radius: 12px;
	border-color: var(--border);
	background: var(--surface);
	color: var(--text-strong);
	font-weight: 800;
}

#history_playback select {
	height: 42px;
	padding: 0 10px;
}

.mobile-history-view-control {
	display: none;
	position: fixed;
	left: 12px;
	top: calc(64px + env(safe-area-inset-top, 0px));
	bottom: auto;
	transform: none;
	z-index: 1220;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 2px;
	padding: 6px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	direction: ltr;
	max-width: none;
	overflow: visible;
	max-height: none;
}

body.history-route-active #map .leaflet-bottom.leaflet-left,
body.history-route-active #page_map .leaflet-bottom.leaflet-left {
	bottom: auto !important;
	z-index: 1100;
}

body.history-route-active #map .leaflet-bottom.leaflet-left .leaflet-control-zoom,
body.history-route-active #page_map .leaflet-bottom.leaflet-left .leaflet-control-zoom {
	margin: 0 !important;
}

.mobile-history-view-control a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-width: 38px;
	border-radius: 11px;
	color: #6B0E6A !important;
	text-decoration: none !important;
	font-size: 15px;
}

.mobile-history-view-control a:active {
	background: rgba(107, 14, 106, 0.08);
}

.mobile-history-view-control a.disabled {
	color: #94a3b8 !important;
	opacity: 0.72;
}

.leaflet-left .leaflet-control {
	margin-top: 16px;
	margin-left: 16px;
}

.leaflet-bar {
	border-radius: 18px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(99, 110, 123, 0.12);
	-webkit-box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.leaflet-bar a,
.leaflet-bar a:hover,
.leaflet-bar a.leaflet-disabled {
	background-color: transparent;
}

.leaflet-touch .leaflet-bar a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	line-height: 50px;
	outline: none;
	color: #5d6673;
	border-bottom: 1px solid rgba(226, 232, 240, 0.9);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.leaflet-touch .leaflet-bar a:last-child {
	border-bottom: 0;
}

.leaflet-touch .leaflet-bar a:hover,
.leaflet-touch .leaflet-bar a:focus {
	background: rgba(248, 250, 252, 0.96);
	color: #273142;
}

.leaflet-control-container .control-button,
.leaflet-control-layers a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.leaflet-control-container .control-button svg {
	width: 18px;
	height: 18px;
	color: #7a1d7a;
}

.leaflet-control-container .control-button.disabled svg {
	color: #a4acb6;
}

.leaflet-control-container .control-button.disabled,
.leaflet-control-container .control-button.disabled:hover {
	background: rgba(248, 250, 252, 0.94);
	color: #a4acb6;
}

.leaflet-control-attribution {
	margin: 0 !important;
	opacity: 0.5;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

.leaflet-control-attribution:hover {
	opacity: 1;
}

.leaflet-control-zoom {
	margin-bottom: 38px !important;
}

#modal_maps .modal-dialog {
	margin: 0;
	width: 100%;
	height: 100%;
}

#modal_maps .modal-content {
	min-height: 100%;
	border-radius: 0;
	border: none;
	box-shadow: none;
	background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

#modal_maps .modal-body {
	padding: 16px 16px 16px;
}

.map-modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.72);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.map-modal-title {
	font-size: 18px;
	font-weight: 700;
	color: #273142;
}

.map-modal-subtitle {
	font-size: 12px;
	color: #7b8794;
	margin-top: 4px;
}

.map-modal-close {
	width: 42px;
	height: 42px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #fff;
	color: #5b6775;
	box-shadow: 0 6px 18px rgba(26, 38, 52, 0.08);
}

.map-modal-section {
	margin-bottom: 18px;
}

.map-modal-section-title {
	color: #5b6775;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 10px;
}

.map-modal-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.map-layer-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	min-height: 84px;
	padding: 12px;
	border: 1px solid #dde5ef;
	border-radius: 16px;
	background: #fff;
	color: #273142;
	text-align: right;
	box-shadow: 0 4px 14px rgba(26, 38, 52, 0.05);
}

.map-layer-card.active {
	border-color: #2b82d4;
	background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
	box-shadow: 0 8px 20px rgba(43, 130, 212, 0.14);
}

.map-layer-card-provider {
	font-size: 12px;
	color: #2b82d4;
	font-weight: 700;
}

.map-layer-card-name {
	font-size: 14px;
	font-weight: 700;
	color: #273142;
	margin-top: 8px;
	line-height: 1.6;
}

.map-layer-toggles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.map-layer-toggle {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 52px;
	padding: 0 12px;
	border: 1px solid #dde5ef;
	border-radius: 14px;
	background: #fff;
	color: #4d5a68;
	text-align: right;
	box-shadow: 0 4px 14px rgba(26, 38, 52, 0.05);
}

.map-layer-toggle i {
	width: 20px;
	text-align: center;
	font-size: 16px;
}

.map-layer-toggle.active {
	border-color: #2b82d4;
	background: #eef6ff;
	color: #2b82d4;
}

.map-layer-toggle[data-hint]:not([data-hint=""])::after {
	content: attr(data-hint);
	display: block;
	width: 100%;
	font-size: 11px;
	line-height: 1.6;
	color: #9a6d00;
	margin-top: 6px;
}

/*#################################################*/
/* Leaflet
/*#################################################*/
.leaflet-right .leaflet-control {
	margin-right: 15px;
}

.leaflet-bottom {
	bottom: var(--mobile-leaflet-bottom, 12px) !important;
	transition: bottom 0.18s ease;
}

.leaflet-bottom .leaflet-control {
	margin-bottom: 15px;
}

.leaflet-container {
	font-family: 'Vazirmatn', 'Ubuntu', Tahoma, sans-serif;
}

.leaflet-tooltip {
	background: rgba(39, 49, 66, 0.92);
	color: #f8f8f8;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.28);
	border: none;
	border-radius: 12px;
	padding: 6px 10px;
	font-family: 'Vazirmatn', Tahoma, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
	white-space: nowrap;
}

.leaflet-tooltip.map-object-tooltip,
.map-object-tooltip {
	direction: rtl;
	text-align: right;
	pointer-events: none;
	margin: 0;
	top: 40px;
}

.leaflet-tooltip.map-object-tooltip::before {
	display: none !important;
}

/* Map pane stacking: labels < routes/zones < markers < popups */
.leaflet-objectLabels-pane,
.leaflet-tooltip-pane {
	z-index: 450 !important;
	pointer-events: none;
}

.leaflet-overlay-pane {
	z-index: 400 !important;
}

.leaflet-shadow-pane {
	z-index: 590 !important;
}

.leaflet-marker-pane {
	z-index: 600 !important;
}

.leaflet-popup-pane {
	z-index: 750 !important;
}

.map-object-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-direction: row-reverse;
}

.map-object-label-name {
	font-weight: 700;
	color: #fff;
}

.map-object-label-speed {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.bottom-panel-peek-imei {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #98a2b3;
	direction: ltr;
	unicode-bidi: embed;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.leaflet-tooltip-top::before {
	border-top-color: rgba(0, 0, 0, 0.6);
}

.leaflet-tooltip-right::before {
	border-right-color: rgba(0, 0, 0, 0.6);
}

.leaflet-tooltip-bottom::before {
	border-bottom-color: rgba(0, 0, 0, 0.6);
}

.leaflet-tooltip-left::before {
	border-left-color: rgba(0, 0, 0, 0.6);
}

.leaflet-popup-content-wrapper {
	border-radius: 20px;
	border: 1px solid rgba(226, 232, 240, 0.95);
}

.leaflet-popup-content-wrapper a {
	color: #4f46e5;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: rgba(255, 255, 255, 0.97);
	color: #273142;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.leaflet-popup-tip {
	width: 14px;
	height: 14px;
	padding: 0px;
	margin: -8px auto 0;
}

.leaflet-popup-content {
	font-family: 'Shabnam', 'Ubuntu', sans-serif;
	margin: 0;
	min-width: 230px;
	max-width: min(78vw, 320px);
	padding: 14px 14px 12px;
	line-height: 1.8;
}

.leaflet-popup.mobile-map-popup .leaflet-popup-content-wrapper {
	border-radius: 14px;
}

.leaflet-popup.mobile-map-popup .leaflet-popup-content {
	min-width: 150px;
	max-width: min(72vw, 250px);
	max-height: 32vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 10px 12px 8px;
	line-height: 1.45;
}

.leaflet-popup.mobile-map-popup .map-popup-card {
	gap: 6px;
}

.leaflet-popup.mobile-map-popup .map-popup-content td {
	padding: 3px 0;
	font-size: 12px;
	line-height: 1.4;
}

.leaflet-popup.mobile-map-popup .map-popup-content td:first-child {
	width: 34%;
	padding-left: 8px;
}

.leaflet-popup.mobile-map-popup .popup-view-toggle {
	margin-top: 4px;
	padding-top: 4px;
}

.leaflet-popup.mobile-map-popup .popup-view-toggle-link {
	font-size: 12px;
	font-weight: 700;
}

.leaflet-container a.leaflet-popup-close-button {
	top: 10px;
	left: 10px;
	right: auto;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	color: #94a3b8;
	font-size: 22px;
	line-height: 26px;
	background: #f8fafc;
}

.map-popup-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.map-popup-content table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

.map-popup-content td {
	padding: 6px 0;
	vertical-align: top;
	border-bottom: 1px solid #edf2f7;
	font-size: 13px;
}

.map-popup-content tr:last-child td {
	border-bottom: 0;
}

.map-popup-content td:first-child {
	width: 38%;
	padding-left: 10px;
	color: #7b8794;
	font-weight: 700;
	white-space: nowrap;
}

.popup-view-toggle {
	display: flex;
	justify-content: flex-end;
	padding-top: 2px;
}

.popup-view-toggle-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #eef2ff;
	color: #4f46e5 !important;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none !important;
}

/*#################################################*/
/* DATALIST / BOTTOM PANEL
/*#################################################*/

#bottom_panel {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: none;
	flex-direction: column;
	max-height: min(72vh, 580px);
	padding: 0 0 0px;
	z-index: 998;
	background: #f4f5f7;
	border-top-left-radius: 24px;
	border-top-right-radius: 24px;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-bottom: 0;
	box-shadow: 0 -16px 40px rgba(15, 23, 42, 0.16);
	overflow: hidden;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

#bottom_panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, rgba(107, 14, 106, 0) 0%, rgba(107, 14, 106, 0.45) 50%, rgba(107, 14, 106, 0) 100%);
	pointer-events: none;
}

.bottom-panel-grabber {
	width: 40px;
	height: 4px;
	margin: 10px auto 6px;
	border-radius: 999px;
	background: #d0d7de;
	flex: 0 0 auto;
}

.bottom-panel-peek {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 997;
	display: none;
	flex-direction: column;
	align-items: stretch;
	min-height: 0;
	padding: 10px 12px 12px;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
	color: #273142;
	text-align: right;
	direction: rtl;
	overflow: hidden;
}

.bottom-panel-peek-handle {
	width: 36px;
	height: 4px;
	border-radius: 999px;
	background: #d0d7de;
	position: absolute;
	top: 7px;
	left: 50%;
	transform: translateX(-50%);
}

.bottom-panel-peek-accent {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 4px;
	background: linear-gradient(180deg, #8b2f8a 0%, #6B0E6A 100%);
	border-radius: 0 18px 18px 0;
}

.bottom-panel-peek-inner {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	min-width: 0;
	padding-top: 4px;
	padding-right: 6px;
}

.bottom-panel-peek-main {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	flex: 1 1 auto;
}

.bottom-panel-peek-head {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	min-width: 0;
}

.bottom-panel-peek-name {
	font-size: 15px;
	font-weight: 800;
	color: #101828;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1 1 auto;
	min-width: 0;
}

.bottom-panel-peek-status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex: 0 0 auto;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
	background: rgba(15, 23, 42, 0.06);
	color: #475467;
}

.bottom-panel-peek-status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	flex: 0 0 7px;
	background: currentColor;
}

.bottom-panel-peek-status.is-moving {
	background: rgba(34, 197, 94, 0.12);
	color: #15803d;
}

.bottom-panel-peek-status.is-stopped {
	background: rgba(245, 158, 11, 0.14);
	color: #b45309;
}

.bottom-panel-peek-status.is-warning {
	background: rgba(239, 68, 68, 0.12);
	color: #b91c1c;
}

.bottom-panel-peek-status.is-offline {
	background: rgba(100, 116, 139, 0.12);
	color: #64748b;
}

.bottom-panel-peek-stats {
	min-width: 0;
}

.bottom-panel-peek-address {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
	color: #344054;
	min-height: 1.45em;
}

.bottom-panel-peek-address.is-loading {
	color: #98a2b3;
}

.bottom-panel-peek-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	flex-wrap: nowrap;
	min-width: 0;
}

.bottom-panel-peek-expand {
	margin-right: auto;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: rgba(107, 14, 106, 0.08);
	color: #6B0E6A;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
	font-size: 14px;
}

.bottom-panel-peek-history,
.bottom-panel-peek-exit-focus {
	min-width: 44px;
	height: 34px;
	border: 0;
	border-radius: 999px;
	background: #6B0E6A;
	color: #ffffff;
	display: none;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	padding: 0 12px;
	margin: 0;
	cursor: pointer;
	line-height: 1;
	gap: 5px;
	-webkit-tap-highlight-color: transparent;
}

.bottom-panel-peek-history {
	background: rgba(107, 14, 106, 0.12);
	color: #6B0E6A;
	border: 1px solid rgba(107, 14, 106, 0.22);
}

.bottom-panel-peek-history:active {
	background: rgba(107, 14, 106, 0.2);
}

.bottom-panel-peek-exit-focus:active {
	background: #561058;
	color: #ffffff;
}

.bottom-panel-peek-expand .svg-inline--fa {
	width: 14px;
	height: 14px;
}

.bottom-panel-peek-expand svg {
	display: block;
	width: 16px;
	height: 16px;
	pointer-events: none;
}

.bottom-panel-header,
.datalist-object-name {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	width: auto;
	min-height: 54px;
	margin: 0 12px 10px;
	padding: 10px 12px;
	z-index: 3;
	background: #ffffff;
	border: 0;
	border-radius: 16px;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
	font-weight: 600;
	font-size: 14px;
}

.bottom-panel-title-group {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
}

#bottom_panel_datalist_object_name {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #6B0E6A;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
}

.bottom-panel-subtitle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #748091;
	font-size: 11px;
	font-weight: 700;
}

.bottom-panel-header-actions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
}

.bottom-panel-hide-button,
.bottom-panel-close-button {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	padding: 0;
	border-radius: 12px;
	background: transparent;
	color: #667085;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.bottom-panel-hide-button:hover,
.bottom-panel-hide-button:focus,
.bottom-panel-close-button:hover,
.bottom-panel-close-button:focus {
	background: #f3f4f6;
	color: #273142;
	text-decoration: none;
}

.bottom-panel-close-button:active,
.bottom-panel-hide-button:active {
	background: rgba(107, 14, 106, 0.08);
	color: #6B0E6A;
}

.datalist {
	flex: 1 1 auto;
	min-height: 0;
	padding: 0 12px 12px;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: contain;
}

.datalist-item-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	overflow: visible;
	max-height: none;
	font-size: 12px;
	padding: 0 0 4px;
}

.data-item-text {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 20px;
	text-align: center;
	vertical-align: middle;
	color: #aaaaaa;
}

.datalist-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 12px;
	line-height: 1.5;
	border-radius: 16px;
	border: 1px solid #e8edf3;
	background: #ffffff;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	box-sizing: border-box;
}

.datalist-item:active {
	transform: scale(0.995);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.datalist-item.even,
.datalist-item.odd {
	background-color: #ffffff;
}

.datalist-item-icon {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	margin-top: 0;
	border-radius: 12px;
	background-color: rgba(107, 14, 106, 0.08);
}

.datalist-item-content {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0;
}

.datalist-item-name {
	display: block;
	margin-bottom: 4px;
	color: #94a3b8;
	font-size: 11px;
	font-weight: 700;
}

.datalist-item-value {
	display: block;
	width: 100%;
	overflow-wrap: anywhere;
	text-align: right;
	color: #101828;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.55;
}

.datalist-item-value a {
	color: #6B0E6A;
	font-weight: 800;
	text-decoration: none;
}

.datalist-item-value .dt-ltr {
	direction: ltr;
	unicode-bidi: embed;
	display: inline-block;
	text-align: left;
}

@media (max-width: 360px) {
	.datalist-item-list {
		grid-template-columns: 1fr;
	}
}

/*#################################################*/
/* MARKERS, ROUTES, ZONES
/*#################################################*/
#page_places {
	padding-bottom: 12px;
}

body.has-bottom-nav #page_places {
	padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

#page_places .places-page-heading {
	display: none;
	margin: 0 4px 14px;
	padding: 0 2px;
	color: #0f172a;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.35;
	text-align: right;
}

body.has-bottom-nav #page_places .places-page-heading {
	display: block;
}

#page_places .places-page-heading + .places-section .places-section-title,
#page_places .places-section-title {
	margin: 0 4px 10px;
	font-size: 13px;
	font-weight: 700;
	color: #64748b;
}

.places-control {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.has-bottom-nav #page_places > .places-control {
	position: relative;
	z-index: 1100;
	margin: 0;
	padding: 8px 4px 10px;
	background: transparent !important;
}

#page_places > .content-block {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

#page_places > .content-block > .scroll {
	display: block;
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 2px 2px 12px;
}

#page_places .places-section {
	display: none;
	min-height: auto;
	overflow: visible;
}

#page_places .places-section-title {
	margin: 0 0 12px;
	padding: 0 4px;
	color: #6B0E6A;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.4;
}

#page_places .places-section .list-group {
	border: 0;
	border-radius: 0;
	max-height: none;
	overflow: visible;
	background: transparent;
}

#page_places .list-group-item {
	border-radius: 16px !important;
	margin-bottom: 10px;
	border: 1px solid #e8edf3 !important;
	background: #ffffff;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

#page_places .list-group-item:last-child {
	border-bottom: 1px solid #e8edf3 !important;
}

#page_places .places-section.active {
	display: block;
}

#page_places .places-section .pager {
	margin: 0 0 15px 0;
	text-align: center;
}

#page_places .places-section .pager .label {
	font-weight: normal;
	color: #444;
	font-size: 13px;
	display: inline-block;
}

#page_places .places-section .pager select {
	width: auto !important;
	display: inline-block;
}

.places-control {
	text-align: center;
}

.places-control .button {
	display: block;
	padding: 10px;
	outline: none;
	text-decoration: none;
}

.places-control .button svg {
	width: 16px;
	height: 16px;
	color: #999;
	display: table;
	width: 100%;
	margin-bottom: 5px;
}

.places-control .button span.label {
	color: #444;
	font-size: 14px;
	font-weight: normal;
	padding: 5px 0;
	display: table;
	width: 100%;
}

.places-control .button.active svg,
.places-control .button.active span.label {
	color: #4389eb;
}

/*#################################################*/
/* HISTORY NAVBAR
/*#################################################*/

#history_navbar,
.history-navbar {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	/* Keep above graph/details panels so Close/Map/Route stay tappable */
	z-index: 1240;
	direction: rtl;
}

.history-navbar-shell {
	position: relative;
	display: flex;
	align-items: stretch;
	overflow: hidden;
	width: 100%;
	min-height: 64px;
	padding: 10px 12px 12px;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-bottom: 0;
	border-radius: 18px 18px 0 0;
	background: var(--card);
	box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.14);
	color: var(--text);
}

.history-navbar-accent {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 4px;
	border-radius: 0 18px 0 0;
	background: linear-gradient(180deg, var(--brand-mid) 0%, var(--brand) 100%);
	pointer-events: none;
}

.history-navbar-actions {
	display: flex;
	align-items: center;
	justify-content: stretch;
	gap: 8px;
	width: 100%;
	min-width: 0;
}

.history-navbar-item {
	flex: 1 1 0;
	min-width: 0;
}

#history_navbar_map {
	display: none;
}

#history_navbar_graph,
#history_navbar_details {
	display: block;
}

.history-navbar-button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 8px 6px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--text) !important;
	font-family: 'Vazirmatn', Tahoma, sans-serif;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.history-navbar-button:hover,
.history-navbar-button:focus {
	background: var(--brand-soft);
	border-color: rgba(107, 14, 106, 0.18);
	color: var(--brand) !important;
	outline: none;
}

.history-navbar-button:active {
	background: var(--brand-soft-strong);
	color: var(--brand) !important;
}

.history-navbar-button i,
.history-navbar-button svg,
.history-navbar-button .svg-inline--fa {
	color: var(--brand);
	width: 16px;
	height: 16px;
	font-size: 15px;
}

.history-navbar-button span {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.history-navbar-item-hide {
	flex: 0 0 auto;
	width: 64px;
	max-width: none;
}

.history-navbar-hide {
	background: rgba(239, 68, 68, 0.08);
	border-color: rgba(239, 68, 68, 0.16);
	color: #b91c1c !important;
}

.history-navbar-hide i,
.history-navbar-hide svg,
.history-navbar-hide .svg-inline--fa {
	color: #dc2626;
}

.history-navbar-hide:hover,
.history-navbar-hide:focus,
.history-navbar-hide:active {
	background: rgba(239, 68, 68, 0.14);
	border-color: rgba(239, 68, 68, 0.22);
	color: #991b1b !important;
}

/*#################################################*/
/* GRAPH PANEL
/*#################################################*/

.graph-panel {
	display: none;
	position: absolute;
	/* Above left history map controls (1220), below history navbar (1240) */
	z-index: 1230;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background: var(--surface);
	padding-top: 18px;
	padding-left: 14px;
	padding-right: 14px;
	padding-bottom: 14px;
	overflow: hidden;
	border-top-left-radius: 24px;
	border-top-right-radius: 24px;
	box-shadow: 0 -12px 36px rgba(15, 23, 42, 0.16);
	direction: ltr;
}

.graph-panel-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: #475467;
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
	max-width: 100%;
	overflow-wrap: anywhere;
}

.graph-panel-label:empty {
	display: none;
}

.graph-panel-plot {
	height: 100%;
	width: 100%;
	position: relative;
	box-sizing: border-box;
	padding: 10px 10px 16px;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
	box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.95), 0 10px 24px rgba(15, 23, 42, 0.08);
	min-height: 240px;
	overflow: hidden;
	cursor: grab;
	touch-action: none;
	-webkit-user-select: none;
	user-select: none;
}

.graph-panel-plot:active {
	cursor: grabbing;
}

.graph-panel-plot .flot-base,
.graph-panel-plot .flot-overlay {
	border-radius: 14px;
}

.graph-panel-plot .flot-text {
	color: #667085 !important;
	font-size: 11px;
}

.graph-panel-plot .flot-x-axis .flot-tick-label,
.graph-panel-plot .flot-y-axis .flot-tick-label {
	color: #667085 !important;
	font-weight: 700;
	line-height: 1.35;
}

.graph-panel-plot .flot-x-axis .flot-tick-label {
	text-align: center;
	white-space: normal;
}

.graph-panel-plot .flot-y-axis .flot-tick-label {
	white-space: nowrap;
}

.graph-controls {
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	flex-wrap: wrap;
}

.graph-controls div {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
}

.graph-controls-left {
	float: left;
	flex: 1 1 160px;
	min-width: 0;
}

.graph-controls-right {
	float: right;
	gap: 8px;
	flex: 0 0 auto;
}

.graph-controls a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	width: 42px;
	height: 42px;
	padding: 0;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(99, 110, 123, 0.12);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
	touch-action: manipulation;
	text-decoration: none;
}

.graph-source-select {
	min-height: 42px;
	width: 100%;
	border-radius: 14px;
	border-color: #dbe3ec;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.graph-controls a:hover {
	opacity: 0.9;
}

/*#################################################*/
/* ROUTE PANEL
/*#################################################*/

.details-panel {
	display: none;
	position: absolute;
	/* Above left history map controls (1220), below history navbar (1240) */
	z-index: 1230;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background: var(--surface);
	padding-top: 18px;
	padding-left: 14px;
	padding-right: 14px;
	padding-bottom: 14px;
	overflow-x: hidden;
	overflow-y: auto;
	border-top-left-radius: 24px;
	border-top-right-radius: 24px;
	box-shadow: 0 -12px 36px rgba(15, 23, 42, 0.16);
}

#details_panel_detail_list,
#details_panel_detail_ext_list {
	margin-bottom: 12px;
}

.history-details-shell,
.mobile-details-shell {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mobile-details-section {
	padding: 16px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid #e8edf3;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.mobile-details-section-title {
	margin: 0 0 12px;
	color: #273142;
	font-size: 15px;
	font-weight: 800;
}

.mobile-details-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mobile-details-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 16px;
	background: #f8fafc;
	border: 1px solid #edf2f7;
}

.mobile-details-label {
	color: #7b8794;
	font-size: 12px;
	font-weight: 700;
}

.mobile-details-value {
	color: #273142;
	font-size: 13px;
	font-weight: 700;
	text-align: right;
	word-break: break-word;
}

.history-details-card {
	padding: 16px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid #e8edf3;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.history-details-heading {
	margin-bottom: 12px;
	color: #273142;
	font-size: 15px;
	font-weight: 800;
}

.history-general-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.history-general-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 16px;
	background: #f8fafc;
	border: 1px solid #edf2f7;
}

.history-general-label {
	color: #7b8794;
	font-size: 12px;
	font-weight: 700;
}

.history-general-value {
	color: #273142;
	font-size: 13px;
	font-weight: 800;
	text-align: left;
}

.history-detail-event-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px;
	margin-bottom: 10px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid #e8edf3;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
	text-decoration: none !important;
	color: inherit;
}

.history-detail-event-icon {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #f8fafc;
}

.history-detail-event-icon img {
	display: block;
}

.history-detail-event-body {
	flex: 1 1 auto;
	min-width: 0;
}

.history-detail-event-time {
	color: #273142;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.8;
}

.history-detail-event-info {
	margin-top: 4px;
	color: #6b7785;
	font-size: 12px;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

/*#################################################*/
/* LOGIN PAGE
/*#################################################*/

#mobile-login {
	padding: 25px;
	display: table;
	width: 100%;
	height: 100%;
}

#mobile-login .inner-content {
	display: table-cell;
	vertical-align: middle;
}

#mobile-login div.input-block {
	overflow: hidden;
	background-color: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 5px;
	box-sizing: border-box;
	position: relative;
}

#mobile-login div.input-block input {
	border: none;
	background-color: transparent;
	padding-left: 50px;
}

div.input-block svg {
	position: absolute;
	left: 15px;
	top: 50%;
	margin-top: -8px;
	color: #888888;
}

input.input-xl {
	height: 50px;
	line-height: 50px;
}

#mobile-login input.button {
	background: #4389eb;
	color: #ffffff;
	border: none;
	padding: 5px;
	height: 50px;
	width: 100%;
	border-radius: 5px;
}

#mobile-login .remember-block .label {
	color: #777777;
	font-size: 100%;
	font-weight: normal;
}

.language-selector-button {
	position: absolute;
	right: 25px;
	bottom: 25px;
}

.language-selector-button svg {
	margin-right: 5px;
}

.language-selector-block {
	column-count: 3;
}

.language-selector-block {
	padding: 0;
	margin: 0;
}

.language-selector-block li {
	list-style: none;
	margin-bottom: 3px;
}

.language-selector-block li.active a {
	color: #4389eb;
}

.language-selector-block li a {
	color: #666666;
}

.language-selector-block li a:hover {
	color: #4389eb;
}

/*#################################################*/
/* LOGO, INFORMATION, MESSAGES
/*#################################################*/

.logo {
	border: 0px;
	width: auto;
	max-height: 56px;
	margin: 15px 25px 25px 25px;
}

/*#################################################*/
/* MENU PANEL
/*#################################################*/

.navbar .menu-button {
	padding: 15px 15px 15px 0;
	font-size: 18px;
	color: #ffffff;
}

.navbar svg {
	display: block;
}

#page_menu {
	display: none;
}

#page_menu .close-menu-button {
	color: #777777;
}

#page_menu .buttons-block {
	margin: 24px 0 0;
	display: block;
}

#page_menu .buttons-block a,
#page_menu .buttons-block a .label {
	color: #334155;
	font-size: 14px;
	font-weight: 700;
}

#page_menu .buttons-block svg {
	font-size: 18px;
}

#page_menu {
	position: fixed;
	padding: 18px;
	border-right: 1px solid rgba(203, 213, 225, 0.8);
	box-sizing: border-box;
	top: 0px;
	left: 0px;
	bottom: 0px;
	width: 300px;
	color: #475569;
	z-index: 1200;
	background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding-bottom: 18px;
	box-shadow: 20px 0 48px rgba(15, 23, 42, 0.16);
}

#page_menu .inner-content {
	max-width: 100%;
}

#page_menu .menu-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.7);
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
	backdrop-filter: blur(12px);
}

#page_menu .menu-panel-title {
	color: #0f172a;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
}

#page_menu .menu-panel-subtitle {
	margin-top: 4px;
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
}

#page_menu .close-menu-button {
	position: static;
	width: 42px;
	height: 42px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #64748b;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
	outline: none;
	text-decoration: none;
}

#page_menu ul.menu {
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	list-style: none;
	min-height: auto;
	padding-bottom: 0;
}

#page_menu ul.menu li {
	width: 100%;
	margin-bottom: 0;
}

#page_menu ul.menu li a {
	color: #475569 !important;
	outline: none;
	font-size: 14px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	position: relative;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	overflow: hidden;
	min-height: 68px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

#page_menu ul.menu li.active a {
	border-color: rgba(168, 85, 247, 0.34);
	background: linear-gradient(135deg, rgba(192, 132, 252, 0.16), rgba(255, 255, 255, 0.98));
	box-shadow: 0 16px 34px rgba(168, 85, 247, 0.14);
}

#page_menu ul.menu li.active a span.label {
	color: #7e22ce;
}

#page_menu ul.menu li.active a svg,
#page_menu ul.menu li.active a i {
	color: #9333ea;
}

#page_menu ul.menu li a svg,
#page_menu ul.menu li a i {
	width: 20px;
	height: 20px;
	min-width: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	font-size: 18px;
	color: #a855f7;
	background: rgba(168, 85, 247, 0.1);
}

#page_menu ul.menu li a span.label {
	color: #334155;
	font-size: 14px;
	font-weight: 800;
	display: block;
	line-height: 1.5;
}

#page_menu ul.menu li a:hover {
	opacity: 1;
	transform: translateY(-1px);
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

#page_menu ul.menu li a.selected {}

#page_menu ul.menu li a i {
	margin-bottom: 0;
}

#page_menu .menu-desktop-link a {
	border-style: dashed;
}

#page_menu .buttons-block .logout-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 14px 16px;
	border-radius: 18px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
	text-decoration: none;
}

.navbar .close-btn {
	position: absolute;
	right: 15px;
	top: 15px;
}

.navbar .close-btn svg {
	color: #ffffff;
	opacity: 1;
}

/*#################################################*/
/* ICONS
/*#################################################*/

.leaflet-control-zoom-in,
.leaflet-control-zoom-out,
.leaflet-control a span {
	display: table;
	width: 100%;
	height: 100%;
	background-size: 12px 12px;
	background-repeat: no-repeat;
	background-position: center center;
}

.leaflet-control a span.disabled {
	opacity: 0.5;
}

.leaflet-control-zoom-in {
	background-image: url(images/plus.svg);
}

.leaflet-control-zoom-out {
	background-image: url(images/minus.svg);
}

.icon-objects {
	background-image: url(images/object-arrow.svg);
}

.icon-text {
	background-image: url(images/text.svg);
}

.icon-marker {
	background-image: url(images/marker.svg);
}

.icon-markers {
	background-image: url(images/markers.svg);
}

.icon-routes {
	background-image: url(images/routes.svg);
}

.icon-zones {
	background-image: url(images/zones.svg);
}

.icon-kml {
	background-image: url(images/kml.svg);
}

.icon-clusters {
	background-image: url(images/clusters.svg);
}

.icon-traffic {
	background-image: url(images/traffic.svg);
}

.icon-time {
	background-image: url(images/time.svg);
}

.icon-warning {
	background-image: url(images/warning.svg);
}

.icon-nearest-marker {
	background-image: url(images/nearest-marker.svg);
}

.icon-nearest-zone {
	background-image: url(images/nearest-zone.svg);
}

.icon-address {
	background-image: url(images/address.svg);
}

.icon-altitude {
	background-image: url(images/altitude.svg);
}

.icon-angle {
	background-image: url(images/angle.svg);
}

.icon-speed {
	background-image: url(images/speed.svg);
}

.icon-engine-hours {
	background-image: url(images/engine-hours.svg);
}

.icon-odometer {
	background-image: url(images/odometer.svg);
}

.icon-model {
	background-image: url(images/model.svg);
}

.icon-plate-number {
	background-image: url(images/plate-number.svg);
}

.icon-sim {
	background-image: url(images/sim.svg);
}

.icon-vin {
	background-image: url(images/vin.svg);
}

.icon-user {
	background-image: url(images/user.svg);
}

.icon-trailer {
	background-image: url(images/trailer.svg);
}

.icon-default-custom-fields {
	background-image: url(images/default-custom-fields.svg);
}

.icon-default-sensor {
	background-image: url(images/default-sensor.svg);
}

.icon-status {
	background-image: url(images/status.svg);
}

.icon-battery-lev-0 {
	background-image: url(images/battery-lev-0.svg);
}

.icon-battery-lev-1 {
	background-image: url(images/battery-lev-1.svg);
}

.icon-battery-lev-2 {
	background-image: url(images/battery-lev-2.svg);
}

.icon-battery-lev-3 {
	background-image: url(images/battery-lev-3.svg);
}

.icon-di {
	background-image: url(images/di.svg);
}

.icon-do {
	background-image: url(images/do.svg);
}

.icon-fuel {
	background-image: url(images/fuel.svg);
}

.icon-engine {
	background-image: url(images/engine.svg);
}

.icon-gsm {
	background-image: url(images/gsm.svg);
}

.icon-gps {
	background-image: url(images/gps.svg);
}

.icon-temperature {
	background-image: url(images/temperature.svg);
}

.icon-close {
	background-image: url(images/remove.svg);
}

.leaflet-control a span.disabled {
	opacity: 0.5;
}

/*#################################################*/
/* BUTTONS
/*#################################################*/
button.button {
	border: none;
	background: none;
}

button.button.blank {
	color: #777;
	padding: 0;
}

button.button.blank span.label {
	color: #777777;
	font-size: 100%;
	font-weight: normal;
	font-family: 'Ubuntu', sans-serif;
	padding: 0;
}

button.button.button-confirm {
	color: #ffffff;
	background: #6B0E6A;
	border: 1px solid #6B0E6A;
	display: block;
	width: 100%;
	min-height: 56px;
	height: 56px;
	text-align: center;
	padding: 0 18px;
	border-radius: 18px;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0;
	box-shadow: 0 14px 28px rgba(107, 14, 106, 0.24);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

button.button.button-confirm:hover,
button.button.button-confirm:focus {
	transform: translateY(-1px);
	filter: saturate(1.03);
	box-shadow: 0 18px 32px rgba(107, 14, 106, 0.28);
}

a i,
.btn i {
	margin-right: 5px;
}

.btn.btn-green {
	background-color: #9CC602;
	color: #ffffff;
	border-color: #9CC602;
}

.btn.btn-blue {
	background-color: #2b82d4;
	color: #ffffff;
	border-color: #2b82d4;
}

.btn.back-btn {
	margin-bottom: 15px;
}

.btn.login-btn {
	margin-bottom: 15px;
}

.btn.desktop-btn {
	margin-bottom: 15px;
}

/*#################################################*/
/* TABLELESS STYLING
/*#################################################*/

.table {
	display: table;
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

.table-cell {
	display: table-cell;
	margin: 0;
	padding: 0;
}

.center-middle {
	vertical-align: middle;
	text-align: center;
}

/*#################################################*/
/* BOOTSTRAP
/*#################################################*/

/*THEME*/

#modal_language .modal-title {
	font-size: 18px;
	color: #273142;
	font-weight: 800;
}

#modal_language .modal-header .close {
	margin: 0;
	font-weight: 400;
	font-size: 24px;
}

.modal-content {
	border: 0;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.2);
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.modal-body {
	padding: 22px 20px;
}

.modal-backdrop.in,
.mobile-modal-backdrop {
	opacity: 0.48;
	background: #0f172a;
	z-index: 1390 !important;
}

.modal-dialog {
	margin: 24px auto;
}

.modal-header,
.modal-footer {
	border-color: #edf1f5;
}

.modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.modal-header .modal-title {
	flex: 1 1 auto;
	margin: 0;
	color: #273142;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.45;
}

.modal-footer {
	padding: 14px 20px 20px;
}

.modal .close {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	font-size: 24px;
	line-height: 1;
	font-weight: 400;
	color: #94a3b8;
	opacity: 1;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
	background-color: #6B0E6A;
	border: 1px;
	border-color: #6B0E6A;
}

.btn-group {
	width: 100%;
}

.btn {
	border-radius: 0px;
	border-color: #e8e8e8;
	overflow: hidden;
}

.form-control {
	border-color: #e8e8e8;
}

.form-control:focus {
	border-color: #4389eb;
	box-shadow: 0 0 0 3px rgba(67, 137, 235, 0.2);
}

.input-group .clear {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	margin-top: 0;
	z-index: 99;
	color: #777777;
	padding: 10px;
	cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
	* {
		-webkit-transition: none !important;
		-moz-transition: none !important;
		-ms-transition: none !important;
		-o-transition: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

.input-group-addon {
	border-color: #e8e8e8;
}

.dropdown-menu {
	min-width: auto;
	width: 100%;
}

.dropdown-toggle {
	min-width: auto;
	width: 100%;
}

.vertical-align {
	display: flex;
	align-items: center;
}

.form-control {
	box-shadow: none;
}

@media (min-width: 768px) {

	.navbar>.container .navbar-brand,
	.navbar>.container-fluid .navbar-brand {
		margin-left: 0;
	}
}

/*SEARCH*/
.input-group .form-control:first-child {
	border-radius: 5px;
}

.search-clear {
	position: absolute;
	right: 25px;
	top: 80px;
	cursor: pointer;
	color: #ccc;
	z-index: 1;
}

/* DATEPICKER */
.dtpicker-content {
	background: #fff;
	height: 200px;
}

.dtpicker-components .dtpicker-comp {
	border: 1px solid #e8e8e8;
	margin-right: 3px;
}

.dtpicker-components .dtpicker-compValue {
	margin: 0;
	border-top: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
}

.dtpicker-buttonCont {
	margin: 10px 0;
	padding: 5px 0;
}

.dtpicker-components .dtpicker-compButton,
.dtpicker-components .dtpicker-compButton:hover {
	background: #f8f8f8;
	color: #444444;
	text-decoration: none;
}

.dtpicker-components .dtpicker-compValue,
.dtpicker-components .dtpicker-compValue:hover {
	color: #444444;
}

/*LIST GROUP*/
.list-group {
	overflow: hidden;
}

#page_object_list a {
	color: none;
}

#page_object_list .list-group-item {
	border-radius: 5px;
	margin-bottom: 5px;
	background: #f8f8f8;
}

#page_object_list_header .row,
#page_object_list .row {
	margin-left: 0px;
	margin-right: 0px;
}

#page_object_list_header {
	margin-bottom: -1px;
}

#page_object_list_header .object-group {
	margin-bottom: -1px;
}

#page_object_list_header .list-group-item {
	padding: 1px 7px;
	border: none;
}

#page_object_list_header .object-list-item .name {
	display: table-cell;
	vertical-align: middle;
	height: 30px;
	text-align: center;
	font-size: 14px;
	color: #999;
}

#page_object_list_header .object-list-item .details {
	width: 19px;
}

.list-group-btn {
	border: 0px;
}

.list-group-item {
	padding: 5px 7px;
	font-size: 12px;
}

.list-group-item .icon {
	float: left;
	margin-top: 4px;
	margin-right: 10px;
}

.object-list-item {
	width: 100%;
}

.object-list-item .left {
	float: left;
	width: 120px;
}

.object-list-item .right {
	display: table;
	height: 100%;
	float: right;
}

.object-list-item .name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.object-list-item .status {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #808080;
	font-size: 10px;
}

.object-list-item .speed,
.object-list-item .engine,
.object-list-item .connection,
.object-list-item .visible,
.object-list-item .follow,
.object-list-item .history,
.object-list-item .details {
	display: table-cell;
	vertical-align: middle;
	height: 100%;
	text-align: center;
	padding: 3px;
}

.object-list-item .speed {
	width: 60px;
	text-overflow: ellipsis;
	overflow: hidden;
}

.object-list-item .visible,
.object-list-item .follow {
	font-size: 16px;
	color: #999;
}

.object-list-item .history,
.object-list-item .details {
	font-size: 16px;
	color: #2b82d4;
}

.object-list-item .history {
	padding-right: 0px;
}

.object-list-item .details {
	padding-right: 0px;
}

.history-quick-actions {
	text-align: right;
	line-height: 1.8;
	padding: 4px 2px 0;
}

.history-quick-actions-title {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 8px;
	color: #273142;
}

.history-quick-actions-subtitle {
	color: #6b7785;
	font-size: 13px;
}

.bootbox-mobile .modal-dialog {
	width: calc(100% - 24px);
	max-width: 540px;
	margin: 18px auto;
}

.bootbox-mobile .modal-content {
	position: relative;
	border: 0;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.24);
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.bootbox-mobile .modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	border-bottom: 1px solid #edf1f5;
}

.bootbox-mobile .modal-header .modal-title {
	flex: 1 1 auto;
	color: #273142;
	font-size: 18px;
	font-weight: 700;
}

.mobile-dialog-title-wrap {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	max-width: 100%;
}

.mobile-dialog-title-icon {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	font-size: 18px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.mobile-dialog-title-text {
	display: inline-block;
	line-height: 1.5;
}

.bootbox-mobile .bootbox-close-button.close {
	flex: 0 0 auto;
	margin-top: 0;
	font-size: 24px;
	line-height: 1;
	font-weight: 400;
	color: #a0a8b3;
	opacity: 1;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: #f8fafc;
}

.bootbox-mobile .modal-body {
	padding: 22px 20px 18px;
}

.mobile-dialog-message {
	color: #475467;
	font-size: 14px;
	line-height: 2;
}

.mobile-dialog-message .form-group:last-child {
	margin-bottom: 0;
}

.bootbox-mobile .modal-footer {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	justify-content: stretch;
	flex-wrap: nowrap;
	gap: 10px;
	padding: 14px 20px 20px;
	border-top: 1px solid #edf1f5;
	text-align: initial !important;
}

.bootbox.modal,
#modal_maps.modal {
	z-index: 1400 !important;
}

.bootbox-mobile .modal-dialog,
#modal_maps .modal-dialog {
	position: relative;
	z-index: 1401 !important;
}

.bootbox-mobile .modal-footer .btn,
.bootbox-mobile .modal-footer .btn + .btn {
	float: none !important;
	width: auto;
	flex: 1 1 0;
	min-width: 0;
	min-height: 44px;
	height: 44px;
	margin: 0 !important;
	padding: 0 12px;
	border-radius: 14px;
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	vertical-align: middle;
	line-height: 1.2;
}

.bootbox-mobile .modal-footer .btn:only-child {
	flex: 1 1 100%;
}

.bootbox-mobile.bootbox-alert .modal-footer {
	display: flex !important;
}

.farsi .bootbox-mobile .modal-footer {
	flex-direction: row-reverse;
	text-align: initial !important;
}

.bootbox-mobile .btn-mobile-cancel {
	border-color: #e4e9ef;
	background: #f8fafc;
	color: #344054;
}

.bootbox-mobile .btn-mobile-confirm {
	border: 0;
	color: #ffffff;
	background: #6B0E6A;
	box-shadow: 0 10px 24px rgba(107, 14, 106, 0.24);
}

.bootbox-mobile.bootbox-tone-info .mobile-dialog-title-icon {
	background: #e0f2fe;
	color: #0369a1;
}

.bootbox-mobile.bootbox-tone-info .btn-mobile-confirm,
.bootbox-mobile.bootbox-tone-info .modal-footer .btn-primary {
	background: #6B0E6A;
	border-color: #6B0E6A;
}

.bootbox-mobile.bootbox-tone-success .mobile-dialog-title-icon {
	background: #dcfce7;
	color: #15803d;
}

.bootbox-mobile.bootbox-tone-success .btn-mobile-confirm,
.bootbox-mobile.bootbox-tone-success .modal-footer .btn-primary {
	background: #6B0E6A;
	border-color: #6B0E6A;
}

.bootbox-mobile.bootbox-tone-warning .mobile-dialog-title-icon {
	background: #ffedd5;
	color: #c2410c;
}

.bootbox-mobile.bootbox-tone-warning .btn-mobile-confirm,
.bootbox-mobile.bootbox-tone-warning .modal-footer .btn-primary {
	background: #6B0E6A;
	border-color: #6B0E6A;
}

.bootbox-mobile.bootbox-tone-error .mobile-dialog-title-icon {
	background: #fee2e2;
	color: #dc2626;
}

.bootbox-mobile.bootbox-tone-error .btn-mobile-confirm,
.bootbox-mobile.bootbox-tone-error .modal-footer .btn-primary {
	background: #6B0E6A;
	border-color: #6B0E6A;
}

.bootbox-mobile.bootbox-tone-info .modal-content {
	box-shadow: 0 18px 44px rgba(14, 165, 233, 0.16);
}

.bootbox-mobile.bootbox-tone-success .modal-content {
	box-shadow: 0 18px 44px rgba(16, 185, 129, 0.16);
}

.bootbox-mobile.bootbox-tone-warning .modal-content {
	box-shadow: 0 18px 44px rgba(249, 115, 22, 0.18);
}

.bootbox-mobile.bootbox-tone-error .modal-content {
	box-shadow: 0 18px 44px rgba(239, 68, 68, 0.18);
}

.bootbox-history-quick .modal-footer {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.farsi .bootbox-history-quick .modal-footer {
	flex-direction: row-reverse;
}

.bootbox-history-quick .modal-footer .btn-default {
	border-color: #e4e9ef;
	background: #f8fafc;
	color: #334155;
}

.bootbox-history-quick .modal-footer .btn-primary {
	border-color: #6B0E6A;
	background: #6B0E6A;
	box-shadow: 0 8px 20px rgba(107, 14, 106, 0.24);
}

.history-quick-chip-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 14px;
}

.history-quick-chip {
	min-height: 44px;
	padding: 8px 10px;
	border-radius: 12px;
	border: 1px solid #e4e9ef;
	background: #f8fafc;
	color: #334155;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	white-space: normal;
	text-align: center;
	-webkit-tap-highlight-color: transparent;
}

.history-quick-chip.is-primary {
	border-color: #6B0E6A;
	background: #6B0E6A;
	color: #fff;
	box-shadow: 0 8px 20px rgba(107, 14, 106, 0.24);
}

.history-quick-chip:active {
	transform: scale(0.98);
}

@media (max-width: 360px) {
	.history-quick-chip-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 360px) {
	.bootbox-mobile .modal-dialog {
		width: calc(100% - 16px);
		margin: 12px auto;
	}

	.bootbox-mobile .modal-header,
	.bootbox-mobile .modal-body,
	.bootbox-mobile .modal-footer {
		padding-left: 14px;
		padding-right: 14px;
	}

	.bootbox-mobile .modal-footer {
		grid-template-columns: 1fr;
	}
}

.object-list-item .checked {
	color: #4389eb;
}

/*CHECKBOX*/

.form-group input[type="checkbox"] {
	display: none;
}

.form-group input[type="checkbox"]+.btn-group>label span {
	width: 20px;
}

.form-group input[type="checkbox"]+.btn-group>label span:first-child {
	display: none;
}

.form-group input[type="checkbox"]+.btn-group>label span:last-child {
	display: inline-block;
}

.form-group input[type="checkbox"]:checked+.btn-group>label span:first-child {
	display: inline-block;
}

.form-group input[type="checkbox"]:checked+.btn-group>label span:last-child {
	display: none;
}

/*NAVBAR*/

.navbar {
	border-radius: 0px;
}

.navbar-default {
	background: #444444;
	border: none;
}

.navbar-default .navbar-brand,
.navbar-default .navbar-brand:hover {
	color: #ffffff;
}

.container>.navbar-header,
.container-fluid>.navbar-header,
.container>.navbar-collapse,
.container-fluid>.navbar-collapse {
	margin-right: auto;
	margin-left: auto;
}

/*#################################################*/
/* LOADER
/*#################################################*/

.loader,
.loader:after {
	border-radius: 50%;
	width: 30px;
	height: 30px;
}

.loader {
	margin: 0 auto;
	font-size: 3px;
	position: relative;
	text-indent: -9999em;
	border-top: 1.1em solid rgba(115, 115, 115, 0.2);
	border-right: 1.1em solid rgba(115, 115, 115, 0.2);
	border-bottom: 1.1em solid rgba(115, 115, 115, 0.2);
	border-left: 1.1em solid #4389eb;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation: load8 1.1s infinite linear;
	animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

/*#################################################*/
/* Checkbox
/*#################################################*/

/* The container */
.checkbox-block {
	display: block;
	position: relative;
	line-height: 18px;
	padding-left: 25px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Add transition effect */
.checkbox-block .checkmark,
.checkbox-block .checkmark:after {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

/* Hide the browser's default checkbox */
.checkbox-block input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

/* Create a custom checkbox */
.checkbox-block .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 16px;
	width: 16px;
	background-color: #ffffff;
	border-radius: 3px;
	border: 1px solid #dddddd;
}

.checkbox-block.xl .checkmark {
	height: 24px;
	width: 24px;
}

.checkbox-block.xl span.label {
	line-height: 24px;
}

/* On mouse-over, add a grey background color */
.checkbox-block:hover input~.checkmark {
	background-color: #f8f8f8;
}

/* When the checkbox is checked, add a blue background */
.checkbox-block input:checked~.checkmark {
	background-color: #ffffff;
	border-color: #4389eb;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkbox-block .checkmark:after {
	content: "";
	position: absolute;
	opacity: 0;
}

/* Show the checkmark when checked */
.checkbox-block input:checked~.checkmark:after {
	opacity: 1;
}

/* Style the checkmark/indicator */
.checkbox-block .checkmark:after {
	left: 6px;
	top: 3px;
	width: 3px;
	height: 7px;
	border: solid #4389eb;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.checkbox-block.xl .checkmark:after {
	left: 8px;
	width: 6px;
	height: 13px;
}

/*#################################################*/
/* NO DATA
/*#################################################*/

.no-data {
	position: absolute;
	z-index: 99;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #ffffff;
	text-align: center;
	display: table;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

.no-data a {
	color: #949494;
	display: table-cell;
	vertical-align: middle;
}

.no-data .icon {
	margin-bottom: 15px;
}

.no-data .icon svg {
	width: 48px;
	height: 48px;
}

.no-data .label {
	font-weight: normal;
	padding: 0;
}

.no-data .label .line1 {
	color: #444444 !important;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
}

.no-data .label .line2 {
	color: #949494;
	font-size: 14px;
	line-height: 18px;
}

body#mobile-login {
	background-image: url(../../img/login-background.jpg);
	background-position: center center;
	background-size: cover;
	background-color: #f8f8f8;
	overflow: auto;
	width: 100%;
	height: 100%;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.login-form {

	background-color: rgba(255, 255, 255, 0.14);
	border-radius: 20px;
	backdrop-filter: blur(15px);
	transition: all 0.9s;
	zoom: 0.9;
	box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: rgba(255, 255, 255, 0.5);
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: rgba(255, 255, 255, 0.5);
	border-right: 1px solid rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	padding: 15px;
	min-height: 400px;
	min-width: 350px;
}

#mobile-login input.button {
	background: #923A91;
	width: 40%;
}

#mobile-login input.button :hover {
	background: #6B0E6A;
	width: 40%;
}

button.button.button-confirm {
	color: #ffffff;
	background: #6B0E6A;
	border-color: #6B0E6A;
	box-shadow: 0 14px 28px rgba(107, 14, 106, 0.24);
}

#page_menu ul.menu li.active a {
	border-color: #923A91;
}

#page_menu ul.menu li.active a svg {
	color: #923A91;
}

#page_menu ul.menu li.active a span.label {
	font-weight: 700;
	color: #6B0E6A;
}

#page_menu ul.menu li a {
	color: #923A91 !important;

}

#page_menu ul.menu li a span.label {
	color: #923A91;

}

#page_objects .control-block .label {
	color: #6B0E6A;
}

#mobile-login .submit-btn {
	text-align: center;
}

.page .close-page-button {
	color: #6B0E6A;
}

.leaflet-control-container .control-button svg {
	color: #6B0E6A;
}

#page_map .header .menu-button a,
#page_map .header .map-select-block button {
	color: #6B0E6A;

}

.leaflet-touch .leaflet-bar a {

	color: #6B0E6A;
}

.language-selector-block li.active a {
	color: #6B0E6A;
}

.language-selector-block li a:hover {
	color: #6B0E6A;
}

#page_objects .control-block {
	direction: rtl;
	display: unset !important;

}

#page_objects #page_object_list_header {
	margin-bottom: 10px;

}

#page_events form,
#page_places form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
}

#page_events .input-group.form-group.btn-group,
#page_places .input-group.form-group.btn-group {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0 12px;
	min-height: 56px;
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
	border: 1px solid #e2e8f0;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

#page_events .input-group.form-group.btn-group .form-control,
#page_places .input-group.form-group.btn-group .form-control {
	min-height: 46px;
	padding: 12px 40px 12px 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

#page_events .input-group.form-group.btn-group .clear,
#page_places .input-group.form-group.btn-group .clear {
	position: static;
	transform: none;
	margin-right: 0;
	margin-left: 8px;
	padding: 8px;
	color: #98a2b3;
}

#page_objects #page_object_list_header {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 0;
}

#page_objects #page_object_list_group,
#page_events .pager .form-control,
#page_places .places-section .pager select {
	min-height: 48px;
	border-radius: 16px;
	border: 1px solid #dbe3ec;
	background: #f8fafc;
	box-shadow: none;
}

#page_objects .control-block {
	display: flex !important;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

#page_objects .control-block .option-button {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 16px;
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
	border: 1px solid #e2e8f0;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

#page_objects .control-block .option-button .label {
	color: #334155;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.8;
}

#page_objects .control-block .option-button span:first-child {
	width: 36px;
	height: 36px;
	min-width: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(107, 14, 106, 0.1);
	color: #6B0E6A;
}

#page_events .pager,
#page_places .places-section .pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 14px 0 0;
	padding: 14px 16px;
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
	border: 1px solid #e2e8f0;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

#page_events .pager span,
#page_places .places-section .pager .label {
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
}

#page_events #page_event_list,
#page_places .places-section .list-group {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
	max-height: none;
}

#page_places .list-group-item,
#page_events .list-group-item {
	border-radius: 16px !important;
	margin-bottom: 10px;
	border: 1px solid #e8edf3 !important;
	background: #ffffff;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

#page_places .list-group-item:last-child,
#page_events .list-group-item:last-child {
	border-bottom: 1px solid #e8edf3 !important;
	margin-bottom: 0;
}

.places-control {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: nowrap;
	padding: 12px 0 12px;
}

.places-control .width33 {
	width: calc(33.33333% - 7px);
	max-width: calc(33.33333% - 7px);
	float: none !important;
	flex: 0 0 calc(33.33333% - 7px);
	display: flex;
}

.places-control .button {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 68px;
	padding: 12px 10px;
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
	border: 1px solid #e2e8f0;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.places-control .button.active {
	border-color: rgba(107, 14, 106, 0.28);
	background: linear-gradient(135deg, rgba(107, 14, 106, 0.1), rgba(255, 255, 255, 0.98));
	color: #6B0E6A;
}

.places-control .button.active .label,
.places-control .button.active i {
	color: #6B0E6A;
}

.places-control .button .label {
	display: block;
	margin-top: 8px;
	color: #334155;
	font-size: 12px;
	font-weight: 800;
}

.checkbox-block .checkmark::after {
	left: 6px;
	top: 3px;
	width: 3px;
	height: 7px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.checkbox-block input:checked~.checkmark {
	background-color: #6B0E6A;
	border-color: #6B0E6A;
}

div.input-block svg {
	color: #6B0E6A;
}

.width100 {
	width: 100%;
}

.select2-container {
	width: 100% !important;

}

.select2-container--default .select2-selection--single {
	background-color: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	height: 34px;

}

.leaflet-control-layers {
	right: 50px;
}

.leaflet-right .leaflet-control {
	margin-top: 16px;
}

.leaflet-right {
	z-index: 120;
}

.img-layer {
	width: 124px;
	height: 101px;
	border-radius: 14px;
	border: solid #923A91 2px;
}

.leaflet-bar {
	border-radius: 18px;
	overflow: hidden;
}

.leaflet-control-layers {
	border-radius: 18px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(99, 110, 123, 0.12);
	-webkit-box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);

}

.leaflet-control-layers a {
	vertical-align: middle;
	background-color: transparent;
	border-radius: 18px;
	color: #5d6673;
	font-size: 18px;
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	outline: none;
}

.leaflet-control-layers-base {
	background-color: unset;
	direction: rtl;
	padding-right: 10px;
}

.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;

}

.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
}

.leaflet-control-layers-expanded {
	padding: 10px 12px 10px 10px;
	color: #6B0E6A;
	background: rgba(255, 255, 255, 0.96);
	z-index: 130;
}

.leaflet-touch .leaflet-control-layers-toggle {
	width: 50px;
	height: 50px;
}

.leaflet-control-layers-selector {
	top: 12px;
}

.leaflet-control-layers-scrollbar {

	padding-left: 15px;
	padding-right: 15px;
}

label {
	font-family: 'Shabnam';
}

.leaflet-container .leaflet-control-attribution {
	display: none;
}

.desktop-block {
	color: #6B0E6A;
	padding: 5px;
	font-size: 100%;
}

.desktop-block a,
a:hover {
	text-decoration: none;
	color: #6B0E6A;
}

.desktop-block .label {
	color: #777777;
}

#page_dashboard_custom {
	overflow: hidden;
	flex-direction: column;
	padding: 6px 10px 8px;
	overscroll-behavior: contain;
	height: auto;
	box-sizing: border-box;
	background: #F3F4F8;
}

#page_dashboard_custom.active {
	display: flex;
}

#page_dashboard_custom > .mobile-dashboard-brand-header {
	flex: 0 0 auto;
}

#page_dashboard_custom > .content-block,
#page_dashboard_custom > .content-block > .scroll {
	flex: 1 1 auto;
	min-height: 0;
}

#page_dashboard_custom > .content-block {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

#page_dashboard_custom .content-block .scroll {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	max-height: none;
	flex: 1 1 auto;
	min-height: 0;
	padding: 0;
	-webkit-overflow-scrolling: auto;
}

#page_dashboard_custom .mobile-dashboard-shell {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: 100%;
	width: 100%;
	gap: 12px;
}

#page_dashboard_custom .mobile-dashboard-selection-summary,
#page_dashboard_custom .mobile-dashboard-limit-notice,
#page_dashboard_custom .mobile-dashboard-empty,
#page_dashboard_custom .mobile-dashboard-dots {
	flex: 0 0 auto;
}

#page_dashboard_custom .mobile-dashboard-carousel {
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	display: block;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 0;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
}

#page_dashboard_custom .mobile-dashboard-track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	height: 100%;
	width: max-content;
	min-width: 100%;
	gap: 0;
}

#page_dashboard_custom .mobile-dashboard-card {
	box-sizing: border-box;
	flex: 0 0 var(--dash-slide-w, 100%);
	width: var(--dash-slide-w, 100%);
	min-width: var(--dash-slide-w, 100%);
	max-width: var(--dash-slide-w, 100%);
	height: 100%;
	max-height: 100%;
	min-height: 0;
	justify-content: flex-start;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: contain;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	padding-bottom: 16px;
	scrollbar-width: thin;
}

#page_dashboard_custom .mobile-dashboard-card::-webkit-scrollbar {
	width: 3px;
}

#page_dashboard_custom .mobile-dashboard-card::-webkit-scrollbar-thumb {
	background: rgba(100, 116, 139, 0.35);
	border-radius: 999px;
}

#page_dashboard_custom .mobile-dashboard-hero {
	flex: 0 0 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

#page_dashboard_custom .mobile-dashboard-hero-main {
	flex: 0 0 auto;
	min-height: 0;
}

#page_dashboard_custom .mobile-dashboard-vehicle-stage {
	min-height: 0;
	height: 100%;
	align-self: stretch;
}

#page_dashboard_custom .mobile-dashboard-mid,
#page_dashboard_custom .mobile-dashboard-metrics,
#page_dashboard_custom .mobile-dashboard-quick,
#page_dashboard_custom .mobile-dashboard-event-card {
	flex: 0 0 auto;
}

#page_dashboard_custom .mobile-dashboard-event-card {
	margin-top: auto;
	margin-bottom: 10px;
}

#page_dashboard_custom.is-fit-compact .mobile-dashboard-shell,
#page_dashboard_custom.is-fit-compact .mobile-dashboard-card {
	gap: 10px;
}

#page_dashboard_custom.is-fit-compact .mobile-dashboard-hero {
	padding: 8px 10px 10px;
	border-radius: 26px;
}

#page_dashboard_custom.is-fit-compact .mobile-dashboard-quick {
	padding: 6px 8px;
	gap: 6px;
}

#page_dashboard_custom.is-fit-compact .mobile-dashboard-gauge-card.is-wide {
	padding: 3px 10px;
	min-height: 0;
	gap: 8px;
}

#page_dashboard_custom.is-fit-compact .mobile-dashboard-gauge-card.is-wide .mobile-dashboard-gauge {
	max-width: 64px;
	flex-basis: 64px;
}

#page_dashboard_custom.is-fit-compact .mobile-dashboard-object-name {
	font-size: 16px;
}

#page_dashboard_custom.is-fit-compact .mobile-dashboard-vehicle-stage {
	min-height: 84px;
}

#page_dashboard_custom.is-fit-compact .mobile-dashboard-vehicle-image {
	max-width: 100px;
	max-height: 76px;
}

#page_dashboard_custom.is-fit-compact .mobile-dashboard-vehicle-rings {
	width: 80px;
	height: 80px;
}

#page_dashboard_custom.is-fit-compact .mobile-dashboard-metric {
	min-height: 0;
	padding: 8px 10px 8px 8px;
	gap: 8px;
}

#page_dashboard_custom.is-fit-compact .mobile-dashboard-metric.is-featured,
#page_dashboard_custom.is-fit-compact .mobile-dashboard-metric.is-full {
	min-height: 0;
	padding: 8px 12px;
}

#page_dashboard_custom.is-fit-compact .mobile-dashboard-gauge-value {
	font-size: 20px;
}

#page_dashboard_custom.is-fit-compact .mobile-dashboard-status-chip {
	padding: 8px 10px 8px 8px;
}

#page_dashboard_custom.is-fit-tight .mobile-dashboard-status-chip {
	padding: 7px 9px 7px 7px;
}

#page_dashboard_custom.is-fit-tight .mobile-dashboard-brand-header {
	margin-bottom: 4px;
	padding: 4px 8px;
	min-height: 36px;
}

#page_dashboard_custom.is-fit-tight .mobile-dashboard-shell,
#page_dashboard_custom.is-fit-tight .mobile-dashboard-card {
	gap: 8px;
}

#page_dashboard_custom.is-fit-tight .mobile-dashboard-hero {
	padding: 6px 8px 8px;
	border-radius: 24px;
	gap: 6px;
}

#page_dashboard_custom.is-fit-tight .mobile-dashboard-quick {
	display: none;
}

#page_dashboard_custom.is-fit-tight .mobile-dashboard-glance {
	gap: 3px;
}

#page_dashboard_custom.is-fit-tight .mobile-dashboard-glance .mobile-dashboard-glance-item,
#page_dashboard_custom.is-fit-tight .mobile-dashboard-glance .mobile-dashboard-status-pill {
	padding: 2px 4px;
	font-size: 8px;
	gap: 2px;
}

#page_dashboard_custom.is-fit-tight .mobile-dashboard-map-btn,
#page_dashboard_custom.is-fit-tight .mobile-dashboard-history-btn,
#page_dashboard_custom.is-fit-tight .mobile-dashboard-image-button {
	width: 38px;
	height: 38px;
	min-height: 38px;
	min-width: 38px;
	max-width: 38px;
	flex-basis: 38px;
	font-size: 15px;
	padding: 0;
}

#page_dashboard_custom.is-fit-tight .mobile-dashboard-metric {
	min-height: 0;
	padding: 7px 9px 7px 7px;
	gap: 8px;
}

#page_dashboard_custom.is-fit-tight .mobile-dashboard-metric.is-featured,
#page_dashboard_custom.is-fit-tight .mobile-dashboard-metric.is-full {
	min-height: 0;
	padding: 8px 12px;
}

#page_dashboard_custom.is-fit-tight .mobile-dashboard-gauge-value {
	font-size: 24px;
}

#page_dashboard_custom.is-fit-tight .mobile-dashboard-event-card {
	padding: 8px 10px;
}

#page_dashboard_custom.is-measuring .mobile-dashboard-shell,
#page_dashboard_custom.is-measuring .mobile-dashboard-carousel,
#page_dashboard_custom.is-measuring .mobile-dashboard-track,
#page_dashboard_custom.is-measuring .mobile-dashboard-card,
#page_dashboard_custom.is-measuring .mobile-dashboard-hero,
#page_dashboard_custom.is-measuring .mobile-dashboard-hero-main,
#page_dashboard_custom.is-measuring .mobile-dashboard-vehicle-stage {
	height: auto !important;
	min-height: 0 !important;
	flex: 0 0 auto !important;
}

#page_dashboard_custom .mobile-dashboard-brand-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	background: #ffffff;
	border: 0;
	border-radius: 12px;
	padding: 6px 10px;
	margin: 0 0 6px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
	float: none;
	width: 100%;
	min-height: 40px;
}

#page_dashboard_custom .mobile-dashboard-brand-header > #mobile_dashboard_selection_summary {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	order: 1;
}

#page_dashboard_custom .mobile-dashboard-brand-copy {
	display: none !important;
}

#page_dashboard_custom .mobile-dashboard-brand-actions {
	order: 2;
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
	margin-inline-start: auto;
}

#page_dashboard_custom .mobile-dashboard-brand-header .title,
#page_dashboard_custom .mobile-dashboard-brand-header .close-block {
	display: none;
}

.mobile-dashboard-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.mobile-dashboard-brand-logo,
.mobile-dashboard-brand-tagline {
	display: none;
}

.mobile-dashboard-brand-copy {
	min-width: 0;
	flex: 1 1 auto;
}

.mobile-dashboard-brand-name {
	color: #6B0E6A;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.2;
}

.mobile-dashboard-brand-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
}

.mobile-dashboard-slide-nav {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
	direction: ltr;
}

.mobile-dashboard-nav-btn svg {
	display: block;
}

.mobile-dashboard-nav-btn.is-disabled,
.mobile-dashboard-nav-btn:disabled {
	opacity: 0.35;
	pointer-events: none;
}

.mobile-dashboard-icon-button {
	position: relative;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #3f4654;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	text-decoration: none;
	padding: 0;
}

.mobile-dashboard-icon-button.is-disabled {
	opacity: 0.4;
	pointer-events: none;
}

.mobile-dashboard-icon-dot {
	position: absolute;
	top: 8px;
	inset-inline-end: 9px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #6B0E6A;
	border: 2px solid #ffffff;
}

.mobile-dashboard-selection-summary {
	color: #667085;
	font-size: 11px;
	font-weight: 700;
	text-align: start;
	padding: 0 4px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	justify-content: flex-start;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mobile-dashboard-selection-summary::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
	flex: 0 0 auto;
	animation: mobileDashPulseOn 2s ease-in-out infinite;
}

.mobile-dashboard-limit-notice {
	display: none !important;
}

.mobile-dashboard-empty {
	background: #ffffff;
	border: 1px solid #ebeef3;
	border-radius: 16px;
	padding: 16px 14px;
	color: #4f5b6c;
	text-align: center;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.mobile-dashboard-image-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 42px;
	height: 42px;
	min-height: 42px;
	padding: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	border: 1px solid rgba(255, 255, 255, 0.22);
	text-decoration: none;
	white-space: nowrap;
	flex: 0 0 42px;
	min-width: 42px;
	max-width: 42px;
	box-sizing: border-box;
}

.mobile-dashboard-image-button-icon {
	display: inline-block;
	width: 10px;
	height: 8px;
	border: 1.5px solid currentColor;
	border-radius: 2px;
	position: relative;
	box-sizing: border-box;
	opacity: 0.95;
	flex: 0 0 auto;
}

.mobile-dashboard-image-button-icon::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 50%;
	width: 4px;
	height: 2px;
	margin-left: -2px;
	border-radius: 1px 1px 0 0;
	background: currentColor;
}

.mobile-dashboard-image-button-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 3px;
	height: 3px;
	margin: -1.5px 0 0 -1.5px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	box-sizing: border-box;
}

.mobile-dashboard-empty-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 10px;
	border-radius: 50%;
	background: rgba(107, 14, 106, 0.08);
	color: #6B0E6A;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.mobile-dashboard-empty-title {
	color: #101828;
	font-size: 15px;
	font-weight: 800;
}

.mobile-dashboard-empty-subtitle {
	margin-top: 4px;
	color: #667085;
	font-size: 12px;
}

.mobile-dashboard-carousel {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	height: auto;
}

.mobile-dashboard-carousel::-webkit-scrollbar {
	display: none;
}

.mobile-dashboard-track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 0;
	align-items: stretch;
	width: max-content;
	min-width: 100%;
}

.mobile-dashboard-card {
	flex: 0 0 var(--dash-slide-w, 100%);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: var(--dash-slide-w, 100%);
	min-width: var(--dash-slide-w, 100%);
	width: var(--dash-slide-w, 100%);
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: contain;
}

.mobile-dashboard-hero {
	position: relative;
	overflow: hidden;
	border-radius: 30px;
	padding: 8px 12px 10px;
	background-color: #4a0a55;
	background-image:
		radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 38%),
		radial-gradient(circle at 18% 18%, rgba(145, 64, 180, 0.28), transparent 42%),
		linear-gradient(145deg, #3b0845 0%, #5b0d68 48%, #2f1d7a 100%);
	box-shadow: 0 10px 30px rgba(74, 10, 85, 0.26);
	color: #ffffff;
	display: flex;
	flex-direction: column;
	gap: 6px;
	justify-content: flex-start;
}

.mobile-dashboard-hero-pattern {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.18;
	background-image:
		linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
		radial-gradient(circle at 70% 55%, rgba(255,255,255,0.12), transparent 35%);
	background-size: 22px 22px, 22px 22px, auto;
	mask-image: radial-gradient(circle at 72% 48%, #000 18%, transparent 68%);
}

.mobile-dashboard-hero.is-active {
	box-shadow: 0 16px 32px rgba(74, 10, 85, 0.34);
}

.mobile-dashboard-glance {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: nowrap;
	gap: 4px;
	direction: rtl;
	justify-content: center;
	align-items: center;
	width: 100%;
	overflow: hidden;
}

.mobile-dashboard-glance .mobile-dashboard-status-pill,
.mobile-dashboard-glance .mobile-dashboard-glance-item {
	margin: 0;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	gap: 3px;
	padding: 2px 5px;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.15;
	white-space: nowrap;
	letter-spacing: -0.01em;
}

.mobile-dashboard-glance .mobile-dashboard-status-dot,
.mobile-dashboard-glance .mobile-dashboard-glance-dot {
	width: 5px;
	height: 5px;
	box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.16);
}

.mobile-dashboard-glance .mobile-dashboard-status-pill.is-on .mobile-dashboard-status-dot,
.mobile-dashboard-glance .mobile-dashboard-status-pill.is-moving .mobile-dashboard-status-dot,
.mobile-dashboard-glance .mobile-dashboard-glance-item.is-ok .mobile-dashboard-glance-dot,
.mobile-dashboard-glance .mobile-dashboard-glance-item.is-on .mobile-dashboard-glance-dot,
.mobile-dashboard-glance .mobile-dashboard-glance-item.is-moving .mobile-dashboard-glance-dot {
	box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.mobile-dashboard-glance .mobile-dashboard-status-pill.is-idle .mobile-dashboard-status-dot,
.mobile-dashboard-glance .mobile-dashboard-glance-item.is-idle .mobile-dashboard-glance-dot {
	box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.mobile-dashboard-glance-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.92);
}

.mobile-dashboard-glance-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #94a3b8;
	flex: 0 0 auto;
}

.mobile-dashboard-glance-item.is-ok .mobile-dashboard-glance-dot,
.mobile-dashboard-glance-item.is-on .mobile-dashboard-glance-dot,
.mobile-dashboard-glance-item.is-moving .mobile-dashboard-glance-dot {
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
	animation: mobileDashPulseOn 2s ease-in-out infinite;
}

.mobile-dashboard-glance-item.is-live .mobile-dashboard-glance-dot {
	animation: mobileDashPulseOn 2s ease-in-out infinite;
}

.mobile-dashboard-glance-item.is-quiet {
	opacity: 0.78;
	font-weight: 600;
}

.mobile-dashboard-glance-item.is-alert-priority {
	background: rgba(225, 29, 72, 0.28);
	border-color: rgba(255, 255, 255, 0.28);
	font-weight: 800;
	box-shadow: 0 4px 12px rgba(225, 29, 72, 0.18);
}

.mobile-dashboard-glance-item.is-idle .mobile-dashboard-glance-dot {
	background: #f59e0b;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
}

.mobile-dashboard-glance-item.is-bad .mobile-dashboard-glance-dot,
.mobile-dashboard-glance-item.is-off .mobile-dashboard-glance-dot {
	background: #e11d48;
	box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2);
	animation: mobileDashPulseOff 2s ease-in-out infinite;
}

.mobile-dashboard-hero-main {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(100px, 0.72fr);
	gap: 6px;
	align-items: center;
	direction: ltr;
	min-height: 0;
	flex: 0 0 auto;
}

.mobile-dashboard-object-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	min-width: 0;
	direction: rtl;
	text-align: right;
	justify-content: center;
}

.mobile-dashboard-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	padding: 4px 10px 4px 8px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	color: #ffffff;
}

.mobile-dashboard-status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #f43f5e;
	box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.18);
	animation: mobileDashPulseOff 2s ease-in-out infinite;
}

.mobile-dashboard-status-pill.is-on .mobile-dashboard-status-dot,
.mobile-dashboard-status-pill.is-moving .mobile-dashboard-status-dot {
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
	animation: mobileDashPulseOn 2s ease-in-out infinite;
}

.mobile-dashboard-status-pill.is-idle .mobile-dashboard-status-dot {
	background: #f59e0b;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
	animation: none;
}

.mobile-dashboard-status-pill.is-off .mobile-dashboard-status-dot {
	background: #f43f5e;
}

@keyframes mobileDashPulseOn {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.15); opacity: 0.85; }
}

@keyframes mobileDashPulseOff {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.65; }
}

@keyframes mobileDashCarFloat {
	0%, 100% { filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.28)); transform: translateY(0); }
	50% { filter: drop-shadow(0 16px 22px rgba(15, 23, 42, 0.34)); transform: translateY(-2px); }
}

@keyframes mobileDashRingPulse {
	0% { transform: scale(0.82); opacity: 0.55; }
	70% { transform: scale(1.2); opacity: 0; }
	100% { transform: scale(1.2); opacity: 0; }
}

.mobile-dashboard-object-name {
	font-size: 17px;
	font-weight: 900;
	line-height: 1.15;
	color: #ffffff;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-decoration: none;
}

.mobile-dashboard-hero-updated {
	color: rgba(255, 255, 255, 0.72);
	font-size: 10px;
	font-weight: 500;
}

.mobile-dashboard-hero-updated-label {
	font-weight: 400;
	opacity: 0.85;
}

.mobile-dashboard-hero-updated-value {
	font-weight: 700;
	color: rgba(255, 255, 255, 0.95);
}

.mobile-dashboard-plate {
	display: inline-flex;
	align-items: stretch;
	overflow: hidden;
	background: #ffffff;
	color: #111827;
	border-radius: 5px;
	border: 1px solid #d1d5db;
	min-height: 24px;
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
	direction: ltr;
}

.mobile-dashboard-plate-simple {
	padding: 3px 8px;
	border-radius: 6px;
}

.mobile-dashboard-plate-text {
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.2px;
}

.mobile-dashboard-plate-iran {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	background: #1d4ed8;
	color: #ffffff;
	padding: 2px 5px;
	font-size: 6px;
	font-weight: 800;
	line-height: 1.1;
	min-width: 22px;
}

.mobile-dashboard-plate-main {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 2px 6px;
	font-size: 12px;
	font-weight: 900;
	min-width: 78px;
}

.mobile-dashboard-plate-letter {
	font-size: 12px;
}

.mobile-dashboard-plate-region {
	display: flex;
	align-items: center;
	justify-content: center;
	border-inline-start: 1px solid #d1d5db;
	padding: 2px 6px;
	font-size: 12px;
	font-weight: 900;
	min-width: 26px;
}

.mobile-dashboard-hero-location {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	min-width: 0;
	color: rgba(255, 255, 255, 0.9);
	background: transparent;
	border: 0;
	padding: 0;
	text-align: right;
	cursor: pointer;
}

.mobile-dashboard-hero-location-icon {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 20px;
}

.mobile-dashboard-hero-location-icon .mobile-dashboard-svg-icon {
	width: 12px;
	height: 12px;
	flex: 0 0 12px;
	filter: brightness(0) invert(1);
	opacity: 0.95;
}

.mobile-dashboard-address-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	width: 100%;
}

.mobile-dashboard-address-primary {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.95);
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	white-space: normal;
	word-break: break-word;
}

.mobile-dashboard-address-secondary {
	font-size: 10px;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.68);
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	white-space: normal;
	word-break: break-word;
}

.mobile-dashboard-hero-location .mobile-dashboard-address-value {
	flex: 1 1 auto;
	min-width: 0;
	display: block;
	direction: rtl;
	unicode-bidi: plaintext;
}

.mobile-dashboard-hero-location-chevron {
	display: inline-block;
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	border-top: 2px solid rgba(255, 255, 255, 0.92);
	border-right: 2px solid rgba(255, 255, 255, 0.92);
	transform: rotate(-135deg);
	opacity: 0.9;
	box-sizing: border-box;
	margin-inline-start: 2px;
}

.mobile-dashboard-map-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 42px;
	height: 42px;
	min-height: 42px;
	padding: 0;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	box-shadow: none;
	margin-top: 0;
	flex: 0 0 42px;
	min-width: 42px;
	max-width: 42px;
	box-sizing: border-box;
	white-space: nowrap;
	line-height: 1;
}

.mobile-dashboard-history-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 42px;
	height: 42px;
	min-height: 42px;
	padding: 0;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	flex: 0 0 42px;
	min-width: 42px;
	max-width: 42px;
	box-sizing: border-box;
	white-space: nowrap;
	line-height: 1;
}

.mobile-dashboard-hero-actions {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
	flex-direction: row;
	gap: 8px;
	width: auto;
	margin-top: 6px;
}

.mobile-dashboard-hero-stat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1px;
	padding: 5px 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	min-width: 0;
}

.mobile-dashboard-hero-stat-label {
	font-size: 9px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.7);
}

.mobile-dashboard-hero-stat-value {
	font-size: 12px;
	font-weight: 900;
	color: #ffffff;
	line-height: 1.2;
}

.mobile-dashboard-vehicle-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 96px;
	height: 100%;
	padding: 2px 12px 2px 2px;
	margin: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.mobile-dashboard-vehicle-upload-badge {
	position: absolute;
	right: 6px;
	bottom: 6px;
	z-index: 2;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.42);
	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: 0 6px 14px rgba(15, 23, 42, 0.22);
	pointer-events: none;
}

.mobile-dashboard-vehicle-upload-badge::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 10px;
	margin: -5px 0 0 -6px;
	border: 1.5px solid #fff;
	border-radius: 2px;
	box-sizing: border-box;
}

.mobile-dashboard-vehicle-upload-badge::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 4px;
	height: 4px;
	margin: -1px 0 0 -2px;
	border: 1.5px solid #fff;
	border-radius: 50%;
	box-sizing: border-box;
}

.mobile-dashboard-hero-divider {
	position: absolute;
	top: 18%;
	bottom: 14%;
	left: 48%;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(255,255,255,0.22), transparent);
	z-index: 1;
	pointer-events: none;
}

.mobile-dashboard-vehicle-glow {
	position: absolute;
	left: 50%;
	bottom: 6px;
	width: 84px;
	height: 20px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(ellipse, rgba(192, 132, 252, 0.55) 0%, rgba(107, 14, 106, 0.08) 70%, transparent 100%);
	filter: blur(4px);
	pointer-events: none;
	z-index: 0;
}

.mobile-dashboard-vehicle-rings {
	position: absolute;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(192, 132, 252, 0.34) 0%, rgba(168, 85, 247, 0.1) 42%, transparent 68%);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
	pointer-events: none;
	animation: mobileDashRingSpin 18s linear infinite;
}

@keyframes mobileDashRingSpin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.mobile-dashboard-vehicle-rings span {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.42);
	animation: mobileDashRingPulse 2.6s ease-out infinite;
}

.mobile-dashboard-vehicle-rings span:nth-child(2) {
	animation-delay: 0.85s;
}

.mobile-dashboard-vehicle-rings span:nth-child(3) {
	animation-delay: 1.7s;
}

.mobile-dashboard-vehicle-image {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 118px;
	max-height: 88px;
	object-fit: contain;
	background: transparent;
	animation: mobileDashCarFloat 3.2s ease-in-out infinite;
}

.mobile-dashboard-vehicle-fallback {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	color: rgba(255, 255, 255, 0.92);
}

.mobile-dashboard-vehicle-fallback .mobile-dashboard-svg-icon {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	filter: brightness(0) invert(1);
	opacity: 0.92;
}

.mobile-dashboard-address-sheet {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	direction: rtl;
	text-align: right;
	color: #334155;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.7;
}

.mobile-dashboard-address-sheet i {
	color: #6B0E6A;
	margin-top: 3px;
}


.mobile-dashboard-quick {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 10px;
	padding: 10px 12px;
	border-radius: 20px;
	background: #ffffff;
	border: 1px solid #e8ebf0;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
	direction: rtl;
}

.mobile-dashboard-quick-item {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	color: #475569;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
}

.mobile-dashboard-quick-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}

.mobile-dashboard-quick-icon .mobile-dashboard-svg-icon {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	filter: invert(14%) sepia(62%) saturate(3200%) hue-rotate(286deg) brightness(85%) contrast(98%);
}

.mobile-dashboard-quick-item > span:not(.mobile-dashboard-quick-icon) {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mobile-dashboard-quick-item.is-alert {
	color: #e11d48;
}

.mobile-dashboard-quick-item.is-alert .mobile-dashboard-quick-icon .mobile-dashboard-svg-icon {
	filter: invert(22%) sepia(90%) saturate(2800%) hue-rotate(330deg) brightness(95%) contrast(95%);
}

.mobile-dashboard-mid {
	display: grid;
	grid-template-columns: minmax(116px, 0.85fr) minmax(0, 1.15fr);
	gap: 10px;
	align-items: stretch;
}

.mobile-dashboard-mid.is-stacked {
	grid-template-columns: 1fr;
	gap: 10px;
}

.mobile-dashboard-gauge-card {
	background: #ffffff;
	border-radius: 20px;
	border: 1px solid #e8ebf0;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
	padding: 12px 8px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.mobile-dashboard-gauge-card.is-wide {
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding: 4px 12px;
	direction: ltr;
	box-sizing: border-box;
	min-height: 0;
}

.mobile-dashboard-gauge-card.is-wide .mobile-dashboard-gauge {
	max-width: 70px;
	flex: 0 0 70px;
}

.mobile-dashboard-gauge-card.is-wide .mobile-dashboard-gauge-meta {
	margin-top: 0;
	text-align: right;
	direction: rtl;
	flex: 1 1 auto;
	min-width: 0;
	padding-inline-end: 4px;
}

.mobile-dashboard-gauge-card.is-wide .mobile-dashboard-gauge-center {
	top: 74%;
	padding: 0 5px;
	border-radius: 8px;
}

.mobile-dashboard-gauge-card.is-wide .mobile-dashboard-gauge-value {
	font-size: 18px;
}

.mobile-dashboard-gauge-card.is-wide .mobile-dashboard-gauge-unit {
	font-size: 9px;
	margin-top: 0;
}

.mobile-dashboard-gauge-card.is-wide .mobile-dashboard-gauge-label {
	font-size: 10px;
	line-height: 1.2;
}

.mobile-dashboard-gauge-card.is-wide .mobile-dashboard-gauge-state {
	font-size: 12px;
	margin-top: 0;
}

.mobile-dashboard-gauge {
	position: relative;
	width: 100%;
	max-width: 154px;
}

.mobile-dashboard-gauge-svg {
	width: 100%;
	height: auto;
	display: block;
	overflow: visible;
	position: relative;
	z-index: 0;
}

.mobile-dashboard-gauge-track {
	stroke: #efe6f5;
}

.mobile-dashboard-gauge-progress {
	transition: stroke-dashoffset 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-dashboard-gauge-tick {
	stroke: #6B0E6A;
	stroke-width: 1.6;
	stroke-linecap: round;
	opacity: 0.42;
}

.mobile-dashboard-gauge-tick.is-minor {
	stroke-width: 1.2;
	opacity: 0.22;
}

.mobile-dashboard-gauge-needle {
	stroke: #4a0a55;
	stroke-width: 2;
	stroke-linecap: round;
	filter: drop-shadow(0 1px 2px rgba(74, 10, 85, 0.2));
	transition: x2 0.55s cubic-bezier(0.22, 1, 0.36, 1), y2 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-dashboard-gauge-hub {
	fill: #6B0E6A;
}

.mobile-dashboard-gauge-hub-dot {
	fill: #ffffff;
}

.mobile-dashboard-gauge-center {
	position: absolute;
	left: 50%;
	top: 76%;
	transform: translate(-50%, -50%);
	text-align: center;
	pointer-events: none;
	z-index: 2;
	padding: 1px 7px 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.mobile-dashboard-gauge-value {
	font-size: 32px;
	font-weight: 900;
	color: #0f172a;
	line-height: 1;
	letter-spacing: -0.02em;
}

.mobile-dashboard-gauge-unit {
	font-size: 11px;
	font-weight: 600;
	color: #94a3b8;
	margin-top: 2px;
}

.mobile-dashboard-gauge-meta {
	margin-top: 0;
	text-align: center;
}

.mobile-dashboard-gauge-label {
	font-size: 10px;
	font-weight: 500;
	color: #94a3b8;
}

.mobile-dashboard-gauge-state {
	font-size: 12px;
	font-weight: 800;
	color: #0f172a;
	margin-top: 1px;
}

.mobile-dashboard-gauge-card.is-moving .mobile-dashboard-gauge-state {
	color: #059669;
}

.mobile-dashboard-status-rail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	min-width: 0;
}

.mobile-dashboard-status-chip {
	position: relative;
	background: #ffffff;
	border: 1px solid #e8ebf0;
	border-radius: 20px;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
	padding: 10px 12px 10px 10px;
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 10px;
	row-gap: 0;
	align-items: center;
	min-width: 0;
	min-height: 0;
	box-sizing: border-box;
}

.mobile-dashboard-status-chip-icon {
	grid-row: 1 / span 2;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: rgba(107, 14, 106, 0.08);
	color: #6B0E6A;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mobile-dashboard-status-chip-icon .mobile-dashboard-svg-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	filter: invert(14%) sepia(62%) saturate(3200%) hue-rotate(286deg) brightness(85%) contrast(98%);
}

.mobile-dashboard-status-chip-copy {
	min-width: 0;
	padding-inline-end: 10px;
	display: flex;
	flex-direction: column;
	gap: 1px;
	justify-content: center;
}

.mobile-dashboard-status-chip-value {
	font-size: 15px;
	font-weight: 900;
	color: #0f172a;
	line-height: 1.15;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mobile-dashboard-status-chip-label {
	font-size: 10px;
	font-weight: 500;
	color: #94a3b8;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	order: -1;
	line-height: 1.2;
}

.mobile-dashboard-status-chip-note {
	display: none;
}

.mobile-dashboard-status-chip.is-bad .mobile-dashboard-status-chip-note {
	color: #e11d48;
}

.mobile-dashboard-status-chip-dot {
	position: absolute;
	top: 8px;
	inset-inline-end: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
}

.mobile-dashboard-status-chip.is-ok .mobile-dashboard-status-chip-dot {
	animation: mobileDashPulseOn 2s ease-in-out infinite;
}

.mobile-dashboard-status-chip.is-bad .mobile-dashboard-status-chip-dot {
	background: #e11d48;
}

.mobile-dashboard-metrics {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.mobile-dashboard-metrics-secondary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	width: 100%;
}

@media (min-width: 400px) {
	.mobile-dashboard-metrics-secondary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.mobile-dashboard-metrics-extra {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-dashboard-metric {
	background: #ffffff;
	border: 1px solid #e8ebf0;
	border-radius: 20px;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
	padding: 10px 12px 10px 10px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	text-align: right;
	gap: 10px;
	min-width: 0;
	min-height: 0;
	box-sizing: border-box;
	direction: rtl;
	position: relative;
}

.mobile-dashboard-metric:not(.is-featured):not(.is-full) .mobile-dashboard-metric-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	min-width: 0;
	flex: 1 1 auto;
	width: auto;
	text-align: right;
	padding-inline-end: 2px;
}

.mobile-dashboard-metric:not(.is-featured):not(.is-full) .mobile-dashboard-metric-label {
	order: -1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

.mobile-dashboard-metric:not(.is-featured):not(.is-full) .mobile-dashboard-metric-value {
	font-size: 15px;
	font-weight: 900;
	color: #0f172a;
	line-height: 1.15;
	max-width: 100%;
}

.mobile-dashboard-metric.is-featured,
.mobile-dashboard-metric.is-full {
	width: 100%;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	text-align: right;
	gap: 12px;
	padding: 10px 14px;
	min-height: 52px;
	background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
	border-color: rgba(107, 14, 106, 0.12);
	direction: rtl;
	box-sizing: border-box;
}

.mobile-dashboard-metric.is-featured .mobile-dashboard-metric-body {
	min-width: 0;
	flex: 1 1 auto;
	text-align: right;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.mobile-dashboard-metric-value-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
	min-width: 0;
	max-width: 100%;
}

.mobile-dashboard-metric.is-featured .mobile-dashboard-metric-value {
	font-size: 22px;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #6B0E6A;
	line-height: 1;
}

.mobile-dashboard-metric-unit {
	font-size: 12px;
	font-weight: 700;
	color: #94a3b8;
	line-height: 1;
	flex: 0 0 auto;
}

.mobile-dashboard-metric.is-featured .mobile-dashboard-metric-label {
	font-size: 11px;
	font-weight: 600;
	color: #94a3b8;
}

.mobile-dashboard-metric.is-featured .mobile-dashboard-metric-icon {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border-radius: 14px;
	background: rgba(107, 14, 106, 0.08);
	opacity: 1;
}

.mobile-dashboard-metric.is-featured .mobile-dashboard-metric-icon .mobile-dashboard-svg-icon {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
}

.mobile-dashboard-metric-icon {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: rgba(107, 14, 106, 0.07);
	color: #6B0E6A;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
}

.mobile-dashboard-metric-icon .mobile-dashboard-svg-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	filter: invert(14%) sepia(62%) saturate(3200%) hue-rotate(286deg) brightness(85%) contrast(98%);
}

.mobile-dashboard-metric-value {
	font-size: 14px;
	font-weight: 900;
	color: #6B0E6A;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

.mobile-dashboard-tile-move .mobile-dashboard-metric-value,
.mobile-dashboard-tile-distance .mobile-dashboard-metric-value {
	direction: ltr;
	unicode-bidi: isolate;
	font-variant-numeric: tabular-nums;
	font-size: 15px;
}

.mobile-dashboard-metric.is-featured.mobile-dashboard-tile-distance .mobile-dashboard-metric-value {
	font-size: 26px;
	font-weight: 900;
	letter-spacing: -0.03em;
}

.mobile-dashboard-metric-label {
	font-size: 10px;
	font-weight: 500;
	color: #94a3b8;
	line-height: 1.2;
}

.mobile-dashboard-svg-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	flex: 0 0 16px;
}

.mobile-dashboard-event-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: #ffffff;
	border-radius: 20px;
	border: 1px solid #e8ebf0;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.mobile-dashboard-event-card.is-normal {
	background: #ecfdf5;
	border-color: #a7f3d0;
}

.mobile-dashboard-event-card.is-alert {
	background: #fff5f5;
	border-color: #fecdd3;
}

.mobile-dashboard-event-card.is-slide-in {
	animation: mobileDashAlertSlide 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes mobileDashAlertSlide {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.mobile-dashboard-event-badge {
	border-radius: 50%;
	background: #10b981;
	color: #ffffff;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mobile-dashboard-event-card.is-alert .mobile-dashboard-event-badge {
	background: #e11d48;
}

.mobile-dashboard-event-logo {
	display: none;
}

.mobile-dashboard-event-content {
	min-width: 0;
	flex: 1 1 auto;
}

.mobile-dashboard-event-title {
	font-size: 10px;
	font-weight: 500;
	color: #94a3b8;
}

.mobile-dashboard-event-value {
	margin-top: 0;
	font-size: 13px;
	font-weight: 800;
	color: #0f172a;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mobile-dashboard-event-meta {
	margin-top: 4px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.mobile-dashboard-event-time {
	margin-top: 0;
	color: #94a3b8;
	font-size: 10px;
	font-weight: 500;
}

.mobile-dashboard-event-link {
	color: #6B0E6A;
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.mobile-dashboard-event-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0 12px;
	border-radius: 10px;
	background: linear-gradient(135deg, #7A1FA2 0%, #9C27B0 100%);
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 6px 14px rgba(122, 31, 162, 0.22);
	border: 0;
}

.mobile-dashboard-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding-top: 0;
}

.mobile-dashboard-dot {
	width: 6px;
	height: 6px;
	border: 0;
	border-radius: 50%;
	background: rgba(107, 14, 106, 0.18);
	padding: 0;
}

.mobile-dashboard-dot.is-active {
	width: 14px;
	border-radius: 999px;
	background: #6B0E6A;
}


.mobile-dashboard-picker {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: min(62vh, 520px);
}

.mobile-dashboard-picker-hint {
	margin: 0;
	color: #667085;
	font-size: 13px;
	line-height: 1.7;
	font-weight: 600;
}

.mobile-dashboard-picker-toolbar {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mobile-dashboard-picker-search {
	width: 100%;
	min-height: 42px;
	border: 1px solid #e4e7ec;
	border-radius: 12px;
	padding: 0 12px;
	background: #f8fafc;
	color: #101828;
	font-size: 14px;
	font-weight: 600;
	outline: none;
}

.mobile-dashboard-picker-search:focus {
	border-color: rgba(107, 14, 106, 0.35);
	box-shadow: 0 0 0 3px rgba(107, 14, 106, 0.08);
	background: #ffffff;
}

.mobile-dashboard-picker-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.mobile-dashboard-picker-meta > span {
	color: #6B0E6A;
	font-size: 12px;
	font-weight: 800;
}

.mobile-dashboard-picker-quick {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mobile-dashboard-picker-quick a {
	color: #475467;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.mobile-dashboard-picker-quick a:active {
	color: #6B0E6A;
}

.mobile-dashboard-picker-list {
	flex: 1 1 auto;
	min-height: 0;
	max-height: min(42vh, 360px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #eef1f5;
	border-radius: 14px;
	background: #ffffff;
	padding: 4px;
}

.mobile-dashboard-picker-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 12px;
	margin: 0;
	border-radius: 12px;
	border-bottom: 0;
	color: #101828;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	user-select: none;
}

.mobile-dashboard-picker-row + .mobile-dashboard-picker-row {
	margin-top: 2px;
}

.mobile-dashboard-picker-group-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 12px 0 6px;
	padding: 8px 10px;
	border-radius: 12px;
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid #e2e8f0;
}

.mobile-dashboard-picker-group-header.is-full {
	background: linear-gradient(180deg, rgba(107, 14, 106, 0.08) 0%, rgba(107, 14, 106, 0.04) 100%);
	border-color: rgba(107, 14, 106, 0.18);
}

.mobile-dashboard-picker-group-header.is-partial {
	border-color: rgba(107, 14, 106, 0.22);
}

.mobile-dashboard-picker-group-select {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	cursor: pointer;
	user-select: none;
}

.mobile-dashboard-picker-group-check {
	width: 20px;
	height: 20px;
	margin: 0;
	flex: 0 0 20px;
	accent-color: #6B0E6A;
	cursor: pointer;
}

.mobile-dashboard-picker-group-header:first-child {
	margin-top: 0;
}

.mobile-dashboard-picker-group-title {
	font-size: 13px;
	font-weight: 800;
	color: #334155;
}

.mobile-dashboard-picker-group-count {
	min-width: 24px;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(107, 14, 106, 0.1);
	color: #6B0E6A;
	font-size: 11px;
	font-weight: 800;
	text-align: center;
}

.mobile-dashboard-picker-row.is-checked {
	background: rgba(107, 14, 106, 0.06);
}

.mobile-dashboard-picker-row:active {
	background: rgba(107, 14, 106, 0.1);
}

.mobile-dashboard-picker-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 22px;
}

.mobile-dashboard-picker-row input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #6B0E6A;
}

.mobile-dashboard-picker-name {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mobile-dashboard-picker-dialog .modal-body {
	padding-top: 14px;
	padding-bottom: 10px;
}

.mobile-dashboard-picker-dialog .modal-footer {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.farsi .mobile-dashboard-picker-dialog .modal-footer {
	flex-direction: row-reverse;
}

.mobile-dashboard-picker-dialog .modal-footer .btn,
.mobile-dashboard-picker-dialog .modal-footer .btn + .btn {
	float: none !important;
	margin: 0 !important;
	flex: 1 1 0;
	height: 44px;
	min-height: 44px;
}

.mobile-dashboard-picker-dialog .modal-footer .btn-mobile-confirm,
.mobile-dashboard-picker-dialog .modal-footer .btn-primary {
	background: #6B0E6A;
	border-color: #6B0E6A;
}

.mobile-dashboard-limit-notice {
	display: none !important;
}

@media (max-width: 420px) {
	.mobile-dashboard-hero-main {
		grid-template-columns: minmax(0, 1fr) minmax(96px, 0.78fr);
	}

	.mobile-dashboard-vehicle-stage {
		min-height: 90px;
		padding-inline-end: 10px;
	}

	.mobile-dashboard-vehicle-image {
		max-width: 108px;
		max-height: 80px;
	}

	.mobile-dashboard-vehicle-rings {
		width: 86px;
		height: 86px;
	}

	.mobile-dashboard-gauge-value {
		font-size: 28px;
	}

	.mobile-dashboard-mid {
		grid-template-columns: minmax(108px, 0.82fr) minmax(0, 1.18fr);
		gap: 8px;
	}

	.mobile-dashboard-mid.is-stacked {
		grid-template-columns: 1fr;
	}

	.mobile-dashboard-metric {
		min-height: 0;
	}

	.mobile-dashboard-metric.is-featured .mobile-dashboard-metric-value,
	.mobile-dashboard-metric.is-featured.mobile-dashboard-tile-distance .mobile-dashboard-metric-value {
		font-size: 24px;
	}

	.mobile-dashboard-gauge-card.is-wide .mobile-dashboard-gauge {
		max-width: 78px;
		flex-basis: 78px;
	}

	.mobile-dashboard-quick {
		gap: 6px 8px;
		padding: 8px 10px;
	}
}

@media (min-width: 421px) {
	.mobile-dashboard-metrics-extra {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/*#################################################*/
/* PRO APP SHELL (map header, forms, events, motion)
/*#################################################*/

.page.active {
	animation: mobilePageIn 0.22s var(--ease-out);
}

@keyframes mobilePageIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.page > .mobile-page-actionbar {
	flex: 0 0 auto;
	margin-top: 8px;
	padding: 10px 0 2px;
	background: linear-gradient(180deg, rgba(244, 245, 247, 0) 0%, var(--surface) 28%, var(--surface) 100%);
}

.page > .mobile-page-actionbar .button.button-confirm {
	min-height: 42px;
	height: 42px;
	border-radius: 14px;
	font-size: 14px;
	font-weight: 800;
	box-shadow: 0 8px 18px rgba(107, 14, 106, 0.22);
}

#page_share_position_list_actionbar .button.button-confirm,
#page_share_position_form_actionbar .button {
	min-height: 42px;
	height: 42px;
	border-radius: 14px;
	font-size: 14px;
	font-weight: 800;
	padding: 0 12px;
}

#page_share_position_form_actionbar {
	display: block;
}

#page_share_position_form_actionbar .mobile-share-action-row {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 8px;
	width: 100%;
}

#page_share_position_form_actionbar .button {
	flex: 1 1 0;
	float: none !important;
	width: auto !important;
	display: block;
	text-align: center;
}

#page_share_position_form_actionbar .mobile-share-btn-save {
	box-shadow: 0 8px 18px rgba(107, 14, 106, 0.22);
}

#page_share_position_form_actionbar .mobile-share-btn-cancel {
	color: #6B0E6A;
	background: #ffffff;
	border: 1px solid #6B0E6A;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

#page_share_position_form_actionbar .mobile-share-btn-cancel:active {
	background: rgba(107, 14, 106, 0.06);
}

.mobile-share-card .mobile-report-card-badge i {
	color: var(--brand);
}

.mobile-form-section {
	margin-bottom: 14px;
	padding: 14px;
	border-radius: var(--radius-lg);
	background: var(--card);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}

.mobile-form-section-title {
	margin: 0 0 12px;
	padding: 0 2px;
	color: var(--brand);
	font-size: 13px;
	font-weight: 800;
}

.mobile-form-section .form-group {
	background: var(--surface);
	border: 1px solid transparent;
	box-shadow: none;
	margin-bottom: 8px;
}

.mobile-form-section .form-group:last-child {
	margin-bottom: 0;
}

.mobile-empty-state {
	padding: 28px 16px;
	border-radius: var(--radius-md);
	background: var(--card);
	border: 1px dashed var(--border-strong);
	color: var(--muted);
	text-align: center;
	font-weight: 700;
}

/* Map header bar */
#page_map .header.mobile-map-header {
	align-items: center;
	padding: 10px 12px 0;
	pointer-events: none;
}

#page_map .mobile-map-header-bar {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 54px;
	padding: 8px 10px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: var(--shadow-elevated);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

#page_map .mobile-map-header-title {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--brand);
	font-size: 16px;
	font-weight: 800;
	text-align: center;
	line-height: 1.3;
}

#page_map .mobile-map-header-btn,
#page_map .header .menu-button.mobile-map-header-btn,
#page_map .header .map-select-block .mobile-map-header-btn {
	width: 40px;
	height: 40px;
	min-width: 40px;
	border-radius: var(--radius-sm);
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #3f4654;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	padding: 0;
	line-height: 1;
}

#page_map .mobile-map-header-btn:active {
	background: #f3f4f6;
	transform: scale(0.98);
}

#page_map .map-select-block {
	flex: 0 0 auto;
	float: none;
	margin: 0;
}

/* Events cards */
#page_events .event-card,
.event-card {
	display: flex !important;
	align-items: center;
	gap: 12px;
	padding: 12px 12px !important;
}

.event-card-icon {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--brand-soft);
	color: var(--brand);
	font-size: 16px;
}

.event-card-icon .mobile-dashboard-svg-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	filter: invert(14%) sepia(62%) saturate(3200%) hue-rotate(286deg) brightness(85%) contrast(98%);
}

.event-card-body {
	flex: 1 1 auto;
	min-width: 0;
}

.event-card-title {
	color: var(--text-strong);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.event-card-meta {
	margin-top: 4px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
}

.event-card-imei {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.event-card-time {
	flex: 0 0 auto;
	color: var(--brand);
	background: var(--brand-soft);
	border-radius: 999px;
	padding: 3px 8px;
	font-size: 11px;
}

.event-card-chevron {
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	color: #cbd5e1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.event-card-chevron::before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(-135deg);
	box-sizing: border-box;
}

#page_events .event-row {
	display: none;
}

/* Bottom panel peek meta */
.bottom-panel-peek-meta {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #667085;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bottom-panel-peek {
	transition: transform 0.2s var(--ease-out), opacity 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.bottom-panel-peek.is-open {
	animation: mobilePeekIn 0.22s var(--ease-out);
}

#bottom_panel {
	transition: transform 0.24s var(--ease-out), opacity 0.2s ease;
}

#bottom_panel.is-open {
	animation: mobileSheetIn 0.24s var(--ease-out);
}

@keyframes mobilePeekIn {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

@keyframes mobileSheetIn {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

/* Fleet quick actions in toolbar */
#page_objects .fleet-quick-btn {
	padding: 0;
	width: 48px;
	min-width: 48px;
	justify-content: center;
}

#page_objects .fleet-fab {
	display: none !important;
}

#page_objects .fleet-object-list {
	padding-bottom: 8px;
}

/* Menu brand active state */
#page_menu.is-open {
	animation: mobileMenuIn 0.22s var(--ease-out);
}

@keyframes mobileMenuIn {
	from { opacity: 0; transform: translateX(-16px); }
	to { opacity: 1; transform: none; }
}

#page_menu ul.menu li.active a {
	border-color: rgba(107, 14, 106, 0.28);
	background: linear-gradient(135deg, rgba(107, 14, 106, 0.1), rgba(255, 255, 255, 0.98));
	box-shadow: 0 14px 28px rgba(107, 14, 106, 0.12);
}

#page_menu ul.menu li.active a span.label {
	color: var(--brand);
}

#page_menu ul.menu li.active a svg,
#page_menu ul.menu li.active a i,
#page_menu ul.menu li a svg,
#page_menu ul.menu li a i {
	color: var(--brand);
	background: var(--brand-soft);
}

#page_menu .menu-panel-title {
	color: var(--brand);
}

/* Bootbox pro polish */
.bootbox-mobile .modal-content {
	border-radius: var(--radius-xl) !important;
	border: 1px solid var(--border);
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
	overflow: hidden;
}

.bootbox-mobile .modal-header {
	background: var(--card);
	border-bottom: 1px solid var(--border);
}

.bootbox-mobile .modal-header .modal-title {
	color: var(--brand);
	font-weight: 800;
}

.bootbox-mobile .modal-footer .btn-mobile-confirm,
.bootbox-mobile .btn-mobile-confirm {
	background: var(--brand) !important;
	border-color: var(--brand) !important;
	color: #fff !important;
	border-radius: var(--radius-md) !important;
	font-weight: 800;
}

.bootbox-mobile .modal-footer .btn-mobile-cancel,
.bootbox-mobile .btn-mobile-cancel {
	border-radius: var(--radius-md) !important;
	font-weight: 700;
}

.fleet-quick-action {
	transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.fleet-quick-action:active {
	transform: scale(0.99);
	border-color: rgba(107, 14, 106, 0.25);
	background: var(--brand-soft);
}

button.button.button-confirm {
	background: linear-gradient(145deg, var(--brand-mid), var(--brand));
	border-color: var(--brand);
}

/*#################################################*/
/* FEATURE: card actions, events badge, network, fleet pages
/*#################################################*/

.mobile-network-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10050;
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 8px 14px 8px;
	background: #273142;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.mobile-network-banner.is-offline {
	background: linear-gradient(135deg, #7f1d1d, #b91c1c);
}

.mobile-network-banner.is-error {
	background: linear-gradient(135deg, #9a3412, #c2410c);
}

.mobile-network-banner.is-warn {
	background: linear-gradient(135deg, #166534, #15803d);
}

.mobile-network-banner-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.has-network-banner .page,
body.has-network-banner #page_map .mobile-map-header {
	padding-top: 46px;
}

#page_objects .fleet-object-actions {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 6px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #edf2f7;
}

#page_objects .fleet-object-actions.has-history,
#page_objects .fleet-object-actions.has-alerts,
#page_objects .fleet-object-actions.has-alerts.has-history,
#page_objects .fleet-object-actions.has-share {
	display: flex;
	grid-template-columns: none;
}

#page_objects .fleet-object-action {
	flex: 1 1 0;
	min-width: 0;
	min-height: 34px;
	height: 34px;
	border: 1px solid #e8edf3;
	border-radius: 10px;
	background: #f8fafc;
	color: #334155;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 0;
	font-size: 11px;
	font-weight: 800;
}

#page_objects .fleet-object-action span {
	display: none;
}

#page_objects .fleet-object-action i {
	color: var(--brand);
	font-size: 14px;
	line-height: 1;
}

#page_objects .fleet-object-action.is-alerts {
	background: rgba(239, 68, 68, 0.08);
	border-color: rgba(239, 68, 68, 0.18);
	color: #b91c1c;
}

#page_objects .fleet-object-action.is-alerts i {
	color: #dc2626;
}

#page_objects .fleet-object-action.is-history {
	background: rgba(107, 14, 106, 0.06);
	border-color: rgba(107, 14, 106, 0.16);
	color: var(--brand);
}

#page_objects .fleet-object-action.is-share {
	background: rgba(14, 165, 233, 0.08);
	border-color: rgba(14, 165, 233, 0.2);
	color: #0369a1;
}

#page_objects .fleet-object-action.is-share i {
	color: #0284c7;
}

#page_objects .fleet-object-action:active {
	transform: scale(0.96);
	background: rgba(107, 14, 106, 0.1);
}

#page_objects .fleet-object-actions:has(.fleet-object-action:nth-child(2):last-child) {
	display: flex;
}

.fleet-list-more {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.fleet-list-more-btn {
	width: 100%;
	min-height: 46px;
	border: 1px dashed rgba(107, 14, 106, 0.28);
	border-radius: 16px;
	background: rgba(107, 14, 106, 0.06);
	color: var(--brand);
	font-size: 13px;
	font-weight: 800;
}

.mobile-dashboard-events-badge {
	position: absolute;
	top: 4px;
	inset-inline-end: 4px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	border: 2px solid #ffffff;
	font-size: 10px;
	font-weight: 800;
	line-height: 14px;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(107, 14, 106, 0.35);
}

.mobile-dashboard-icon-button.has-events {
	color: var(--brand);
}

@media (max-width: 380px) {
	#page_objects .fleet-object-action {
		min-height: 32px;
		height: 32px;
	}
}

#page_objects .fleet-object-actions,
#page_objects .fleet-object-actions.has-history,
#page_objects .fleet-object-actions.has-alerts,
#page_objects .fleet-object-actions.has-alerts.has-history,
#page_objects .fleet-object-actions.has-share {
	display: flex;
	flex-wrap: nowrap;
	grid-template-columns: none;
}

.mobile-settings-widgets {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 18px;
	padding: 12px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #e8edf3;
}

.mobile-settings-widget-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #edf2f7;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	line-height: 1.45;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.mobile-settings-widget-row.is-checked,
.mobile-settings-widget-row:has(input:checked) {
	border-color: rgba(107, 14, 106, 0.28);
	background: rgba(107, 14, 106, 0.06);
	color: #4a0b49;
}

.mobile-settings-widget-row input {
	margin-top: 2px;
	flex: 0 0 auto;
	accent-color: #6B0E6A;
}

.mobile-settings-widget-row span {
	flex: 1 1 auto;
	min-width: 0;
}

.mobile-form-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 12px;
}

.mobile-form-field:last-child {
	margin-bottom: 0;
}

.mobile-form-label {
	display: block;
	margin: 0;
	color: #748091;
	font-size: 12px;
	font-weight: 700;
}

.mobile-form-date-grid,
.mobile-form-field-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.mobile-form-section .mobile-form-field .form-control,
.mobile-form-section .mobile-form-field .select2-container {
	width: 100% !important;
}

.mobile-form-section .input-group {
	display: flex;
	width: 100%;
}

.mobile-form-section .form-group {
	display: none;
}

#page_share_position .mobile-form-field-inline {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

#page_share_position .mobile-form-field-inline .mobile-form-label {
	margin: 0;
	flex: 1 1 auto;
}

#page_share_position .mobile-form-field-inline input[type="checkbox"] {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

#page_share_position .mobile-form-field .form-control,
#page_share_position .mobile-form-field .select2-container {
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
}

#page_share_position .mobile-form-field,
#page_share_position .mobile-share-url-group {
	max-width: 100%;
	min-width: 0;
}

#page_share_position .mobile-share-url-group {
	display: flex;
	align-items: stretch;
	width: 100%;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid #dbe3ec;
	background: #f8fafc;
}

#page_share_position .mobile-share-url-group .form-control {
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	direction: ltr;
	text-align: left;
}

#page_share_position .mobile-share-url-group .input-group-addon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;
	min-width: 48px;
	width: 48px;
	padding: 0;
	border: 0;
	border-inline-start: 1px solid #dbe3ec;
	border-radius: 0;
	background: #ffffff;
	color: var(--brand);
	cursor: pointer;
}

#page_share_position .mobile-share-url-group .input-group-addon i {
	margin: 0;
	font-size: 14px;
}

#page_objects .fleet-object-name.is-imei {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.01em;
	direction: ltr;
	unicode-bidi: embed;
}

@media (min-width: 420px) {
	.mobile-form-field-row {
		grid-template-columns: 1fr 1fr;
	}
}

/*#################################################*/
/* MOBILE BOTTOM NAV
/*#################################################*/

.mobile-bottom-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1200;
	display: none;
	align-items: stretch;
	justify-content: space-between;
	gap: 0;
	min-height: 64px;
	padding: 8px 2px calc(8px + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, 0.98);
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-bottom: 0;
	box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	direction: rtl;
}

body.has-bottom-nav .mobile-bottom-nav {
	display: flex !important;
}

.mobile-bottom-nav-item {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 5px;
	margin: 0;
	padding: 4px 1px 2px;
	border: 0;
	background: transparent;
	color: #94a3b8;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	text-decoration: none;
}

.mobile-bottom-nav-icon {
	position: relative;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.mobile-bottom-nav-icon svg {
	display: block;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
}

.mobile-bottom-nav-label {
	display: block;
	width: 100%;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
	padding: 0 1px;
}

.mobile-bottom-nav-badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(6px);
	min-width: 15px;
	height: 15px;
	padding: 0 4px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 9px;
	font-weight: 800;
	line-height: 15px;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
	z-index: 1;
}

.mobile-bottom-nav-item.is-active {
	color: #6B0E6A;
}

.mobile-bottom-nav-item.is-active .mobile-bottom-nav-label {
	position: relative;
}

.mobile-bottom-nav-item.is-active .mobile-bottom-nav-label::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -5px;
	width: 16px;
	height: 2.5px;
	margin-left: -8px;
	border-radius: 999px;
	background: #6B0E6A;
}

.mobile-bottom-nav-item.is-hidden {
	display: none !important;
}

/* Bottom-nav mode: hide redundant top chrome; keep filters as floating/tool actions */
body.has-bottom-nav .page,
body.has-bottom-nav #page_map {
	padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	box-sizing: border-box;
}

body.has-bottom-nav #page_dashboard_custom {
	padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}

body.has-bottom-nav #page_dashboard_custom .mobile-dashboard-card {
	padding-bottom: 20px;
}

body.has-bottom-nav #page_dashboard_custom .mobile-dashboard-event-card {
	margin-bottom: 12px;
}

body.has-bottom-nav #bottom_panel {
	bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

body.has-bottom-nav #history_navbar,
body.has-bottom-nav .history-navbar {
	bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

body.has-bottom-nav #history_playback {
	bottom: calc(138px + env(safe-area-inset-bottom, 0px));
}

body.has-bottom-nav #map .leaflet-bottom {
	bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
}

body.has-bottom-nav #page_menu {
	z-index: 1300;
}

body.has-bottom-nav .page > .header.mobile-page-header,
body.has-bottom-nav #page_objects > .header.mobile-page-header {
	display: none !important;
}

body.has-bottom-nav #page_object_details > .header.mobile-page-header {
	display: flex !important;
}

body.has-bottom-nav #page_object_details .mobile-page-header-start .mobile-page-icon-button {
	display: none !important;
}

body.has-bottom-nav #page_dashboard_custom > .mobile-dashboard-brand-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 8px;
	width: 100%;
	max-width: none;
	min-height: 44px;
	padding: 8px 10px;
	margin: 0 0 8px;
	background: #ffffff;
	border: 0;
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
	float: none;
}

body.has-bottom-nav #page_dashboard_custom .mobile-dashboard-brand-copy {
	display: none !important;
}

body.has-bottom-nav #page_dashboard_custom .mobile-dashboard-menu-btn {
	display: none !important;
}

body.has-bottom-nav #page_dashboard_custom #mobile_dashboard_dots {
	display: none !important;
}

body.has-bottom-nav #page_dashboard_custom #mobile_dashboard_events_btn {
	display: inline-flex !important;
}

body.has-bottom-nav #page_dashboard_custom .mobile-dashboard-brand-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	order: 3;
}

body.has-bottom-nav #page_dashboard_custom .mobile-dashboard-nav-btn,
body.has-bottom-nav #page_dashboard_custom #mobile_dashboard_select_button,
body.has-bottom-nav #page_dashboard_custom #mobile_dashboard_events_btn {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: none;
}

body.has-bottom-nav #page_dashboard_custom > .mobile-dashboard-brand-header > #mobile_dashboard_selection_summary {
	display: inline-flex !important;
	order: 1;
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 9px 12px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid rgba(15, 23, 42, 0.05);
	box-shadow: none;
	font-size: 11px;
	justify-content: flex-start;
}

body.has-bottom-nav #page_map .header.mobile-map-header {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	pointer-events: none;
	padding: 10px 12px 0 !important;
	height: auto !important;
	min-height: 0 !important;
}

body.has-bottom-nav #page_map .mobile-map-header-bar {
	display: flex !important;
	justify-content: flex-start;
	align-items: center;
	width: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	pointer-events: none;
}

body.has-bottom-nav #page_map .header.mobile-map-header .menu-button,
body.has-bottom-nav #page_map .mobile-map-header-title {
	display: none !important;
}

body.has-bottom-nav #page_map .header.mobile-map-header .map-select-block {
	pointer-events: auto;
	margin: 0;
	float: none;
}

body.has-bottom-nav #page_map .header.mobile-map-header .mobile-map-header-btn.map-select-button {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.96) !important;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
	border: 1px solid rgba(15, 23, 42, 0.06);
}

body.has-bottom-nav #bottom_panel_peek {
	bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

body.has-bottom-nav .mobile-bottom-nav {
	min-height: 60px;
	padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
}

body.has-bottom-nav .mobile-bottom-nav-label {
	font-size: 9px;
	letter-spacing: -0.01em;
}

body.has-bottom-nav .mobile-bottom-nav-icon {
	width: 22px;
	height: 22px;
	flex-basis: 22px;
}

body.has-bottom-nav .mobile-bottom-nav-icon svg {
	width: 20px;
	height: 20px;
	flex-basis: 20px;
}

/*#################################################*/
/* FLUTTER WEBVIEW: avoid double safe-area gap
/*#################################################*/

html.in-flutter-webview .mobile-bottom-nav,
body.in-flutter-webview .mobile-bottom-nav,
html.in-flutter-webview.has-bottom-nav .mobile-bottom-nav,
body.in-flutter-webview.has-bottom-nav .mobile-bottom-nav {
	/* Flutter SafeArea clears system inset; float nav slightly above WebView bottom. */
	left: 10px !important;
	right: 10px !important;
	bottom: 14px !important;
	width: auto !important;
	padding-bottom: 8px !important;
	border-radius: 20px !important;
	border: 1px solid rgba(15, 23, 42, 0.06) !important;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
}

html.in-flutter-webview.has-bottom-nav .page,
body.in-flutter-webview.has-bottom-nav .page,
html.in-flutter-webview.has-bottom-nav #page_map,
body.in-flutter-webview.has-bottom-nav #page_map {
	padding-bottom: 90px;
}

html.in-flutter-webview.has-bottom-nav #page_dashboard_custom,
body.in-flutter-webview.has-bottom-nav #page_dashboard_custom {
	padding-bottom: 84px;
}

html.in-flutter-webview.has-bottom-nav #bottom_panel,
body.in-flutter-webview.has-bottom-nav #bottom_panel,
html.in-flutter-webview.has-bottom-nav #history_navbar,
body.in-flutter-webview.has-bottom-nav #history_navbar,
html.in-flutter-webview.has-bottom-nav .history-navbar,
body.in-flutter-webview.has-bottom-nav .history-navbar {
	bottom: 86px;
}

#page_settings .mobile-form-section {
	margin: 8px 0 18px;
}

#page_settings .mobile-form-field input[type="color"] {
	height: 42px;
	padding: 4px 6px;
}

html.in-flutter-webview.has-bottom-nav #history_playback,
body.in-flutter-webview.has-bottom-nav #history_playback {
	bottom: 150px;
}

html.in-flutter-webview.has-bottom-nav #bottom_panel_peek,
body.in-flutter-webview.has-bottom-nav #bottom_panel_peek {
	bottom: 94px;
}

html.in-flutter-webview.has-bottom-nav #map .leaflet-bottom,
body.in-flutter-webview.has-bottom-nav #map .leaflet-bottom {
	bottom: 100px !important;
}
