/* Notification dropdown */
.notifications-menu { position: absolute; top: 48px; right: 0; z-index: 2000; width: min(380px, calc(100vw - 32px)); overflow: hidden; border: 1px solid #dbe8e6; border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgba(18, 59, 69, .16); }
.notifications-menu[hidden] { display: none; }
.notifications-menu-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #edf2f1; color: var(--teal-dark); }
.notifications-menu-header button { border: 0; background: transparent; color: #71858b; cursor: pointer; font: inherit; font-size: 11px; }
.notifications-list { max-height: 360px; overflow-y: auto; }
.notification-item { display: flex; gap: 10px; padding: 13px 16px; border-bottom: 1px solid #f0f4f3; color: #38515a; }
.notification-item { width: 100%; border: 0; text-align: right; font: inherit; cursor: pointer; }
.notification-item:last-child { border-bottom: 0; }
.notification-item.is-unread { background: #f2fbf9; }
.notification-item-icon { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #e5f5f3; color: var(--teal-dark); }
.notification-item-content { min-width: 0; flex: 1; }
.notification-item:hover, .notification-item:focus-visible { background: #e8f7f4; outline: 0; }
.notification-item strong, .notification-item span, .notification-item small { display: block; }
.notification-item strong { margin-bottom: 3px; font-size: 12px; }
.notification-item span { font-size: 11px; }
.notification-item small { margin-top: 4px; color: #84979b; font-size: 10px; }
.notifications-empty { margin: 0; padding: 22px 16px; color: #84979b; font-size: 12px; text-align: center; }
.negative span { color: #d16e68; }
.notification-modal { position: fixed; z-index: 3000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(23, 43, 49, .42); }
.notification-modal[hidden] { display: none; }
.notification-modal-dialog { width: min(440px, 100%); overflow: hidden; border: 1px solid #d9ebe8; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(20, 55, 64, .24); animation: notification-modal-in .18s ease-out; }
.notification-modal-heading { display: flex; align-items: center; gap: 12px; padding: 20px; border-bottom: 1px solid #edf3f2; background: linear-gradient(135deg, #f5fbfa, #fff); }
.notification-modal-icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--teal-dark); background: #dff4f0; font-size: 20px; }
.notification-modal-heading small { display: block; margin-bottom: 4px; color: #8a9aa1; font-size: 10px; }
.notification-modal-heading h2 { margin: 0; color: var(--ink); font-size: 16px; }
.notification-modal-close { margin-right: auto; align-self: flex-start; width: 30px; height: 30px; border: 0; border-radius: 8px; color: #7c8d94; background: transparent; font-size: 25px; line-height: 1; }
.notification-modal-close:hover, .notification-modal-close:focus-visible { color: var(--teal-dark); background: #e8f7f4; outline: 0; }
.notification-modal-details { display: grid; gap: 10px; padding: 18px 20px 22px; }
.notification-detail-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 11px 12px; border: 1px solid #edf2f1; border-radius: 9px; background: #fbfdfd; }
.notification-detail-row small { flex: 0 0 auto; color: #8a9aa1; font-size: 10px; }
.notification-detail-row strong { color: var(--ink); font-size: 11px; font-weight: 700; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; }
.notification-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; }
.notification-action { flex: 1 1 110px; padding: 10px 12px; border: 0; border-radius: 8px; color: #fff; font-size: 11px; font-weight: 700; }
.notification-action.accept { background: #1a9d88; }
.notification-action.reject { background: #d16e68; }
.notification-action.support { background: #4d83cf; }
.notification-action.cancel { color: #60727c; background: #edf2f2; }
.notification-action:hover, .notification-action:focus-visible { filter: brightness(.95); outline: 2px solid rgba(8, 124, 119, .18); outline-offset: 1px; }
.notification-action:disabled { cursor: wait; opacity: .55; }
body.notification-modal-open { overflow: hidden; }
@keyframes notification-modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
:root {
	--ink: #1b2938;
	--muted: #7b8997;
	--line: #e9eef2;
	--surface: #ffffff;
	--canvas: #f6f8fa;
	--teal: #19a89b;
	--teal-dark: #087c77;
	--orange: #f3a746;
	--blue: #5b8def;
	--purple: #9271db;
	font-family: "Tajawal", Tahoma, "Segoe UI", sans-serif;
	color: var(--ink);
	background: var(--canvas);
}

* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: var(--canvas); }
button { font: inherit; cursor: pointer; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: fixed; z-index: 10; top: 0; right: 0; display: flex; flex-direction: column; width: 260px; height: 100vh; padding: 28px 18px 20px; color: #f2e9df; background: linear-gradient(165deg, #202733 0%, #16232e 62%, #9e481c 100%); transition: width .25s ease, padding .25s ease; }
.sidebar-toggle { margin: 0 0 12px auto; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; color: #fff; background: rgba(255,255,255,.08); font-size: 18px; cursor: pointer; }
.sidebar.collapsed { width: 90px; padding: 18px 10px 20px; }
.sidebar.collapsed .brand { justify-content: center; padding: 0 0 28px; }
.sidebar.collapsed .brand strong,
.sidebar.collapsed .brand span,
.sidebar.collapsed .nav-label,
.sidebar.collapsed .nav-item span:last-child,
.sidebar.collapsed .support-card,
.sidebar.collapsed .logout-button { display: none; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 12px 8px; }
.sidebar.collapsed .nav-icon { width: auto; }
body.sidebar-collapsed .main-content { width: calc(100% - 150px); margin-right: 110px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 9px 38px; }
.brand-mark { display: block; width: 40px; height: 40px; border: 2px solid rgba(239, 145, 61, .72); border-radius: 12px; object-fit: cover; background: #fff; box-shadow: 0 5px 12px rgba(0, 0, 0, .2); }
.brand strong, .brand span { display: block; }
.brand strong { color: #fff; font-size: 16px; }
.brand span { margin-top: 4px; color: #97bec0; font-size: 10px; }
.nav-label { margin: 0 12px 11px; color: #739599; font-size: 10px; font-weight: 700; }
.main-nav { display: grid; gap: 6px; }
.main-nav-dropdown { display: block; }.main-nav-dropdown summary { list-style: none; }.main-nav-dropdown summary::-webkit-details-marker { display: none; }.main-nav-dropdown summary i { margin-right: auto; color: #f5b272; font-style: normal; }.main-nav-dropdown[open] summary, .main-nav-dropdown summary:hover { color: #fff; background: rgba(224, 103, 27, .32); }.main-nav-dropdown > div { margin-right: 25px; padding-right: 14px; border-right: 1px solid rgba(245, 178, 114, .35); }.main-nav-dropdown > div a { display: block; padding: 8px 12px; border-radius: 7px; color: #e8c8ad; font-size: 11px; text-decoration: none; }.main-nav-dropdown > div a:hover { color: #fff; background: rgba(224, 103, 27, .22); }
.nav-item { display: flex; align-items: center; gap: 13px; width: 100%; padding: 13px 14px; border: 0; border-radius: 9px; color: #a8c2c3; background: transparent; text-align: right; font-size: 13px; transition: .2s ease; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-item.is-active { color: #fff; background: rgba(224, 103, 27, .32); box-shadow: inset -3px 0 #f09a43; }
.nav-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; color: #d08a55; line-height: 1; }
.nav-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.nav-item:hover .nav-icon { color: #f5b272; }.is-active .nav-icon { color: #ffbf7a; }
.sidebar-footer { margin-top: auto; }
.support-card { display: flex; align-items: center; gap: 10px; margin: 0 5px 20px; padding: 13px 10px; border: 1px solid rgba(139,194,191,.18); border-radius: 10px; background: rgba(255,255,255,.05); }
.support-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #7be0d4; background: rgba(35,183,168,.17); font-weight: 700; }
.support-card strong, .support-card span { display: block; }.support-card strong { margin-bottom: 4px; color: #deeeee; font-size: 10px; }.support-card span { color: #88acaf; font-size: 9px; }
.logout-button { width: 100%; padding: 12px; border: 0; color: #8fb5b7; background: transparent; text-align: right; font-size: 12px; }.logout-button span { margin-left: 9px; font-size: 18px; vertical-align: middle; }
.main-content { width: calc(100% - 260px); margin-right: 260px; }
.topbar { position: relative; display: flex; align-items: center; justify-content: flex-start; min-height: 118px; padding: 20px 45px; border-bottom: 1px solid var(--line); background: var(--surface); }
.mobile-brand { display: none; align-items: center; gap: 8px; }.mobile-brand .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 17px; }.mobile-brand strong { font-size: 13px; }
.topbar-actions, .user-profile { display: flex; align-items: center; }.topbar-actions { position: absolute; top: 50%; left: 45px; z-index: 2100; gap: 18px; transform: translateY(-50%); }.icon-button, .more-button { border: 0; background: transparent; }.icon-button { position: relative; color: #80909b; font-size: 25px; }.notification-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 9px; color: #61747e; background: #f2f7f7; transition: .2s ease; }.notification-button:hover { color: var(--teal-dark); background: #e5f5f3; }.bell-icon { display: block; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; font-size: 19px; line-height: 1; filter: grayscale(1); }.notification-button:hover .bell-icon { filter: none; }.notification-button i { position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #ef7067; }
.topbar-divider { width: 1px; height: 30px; background: var(--line); }.user-profile { gap: 10px; direction: ltr; cursor: pointer; border-radius: 10px; outline: 0; padding: 4px 6px; transition: .2s ease; }.user-profile:hover, .user-profile:focus-visible { background: #f2f7f7; }.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: #df9360; font-weight: 700; }.user-details { direction: rtl; text-align: right; }.user-details strong, .user-details span { display: block; }.user-details strong { margin-bottom: 4px; font-size: 12px; }.user-details span { color: var(--muted); font-size: 10px; }.chevron { margin-right: 0; margin-left: 7px; color: #93a1aa; }
.profile-menu { position: absolute; top: calc(100% + 13px); left: 0; z-index: 2200; width: 235px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 14px 30px rgba(18, 59, 69, .14); direction: rtl; }.profile-menu[hidden] { display: none; }.profile-menu-header { display: flex; align-items: center; gap: 9px; padding: 5px 6px 10px; }.profile-menu-header .avatar { width: 34px; height: 34px; font-size: 13px; }.profile-menu-header strong, .profile-menu-header span { display: block; }.profile-menu-header strong { margin-bottom: 3px; color: var(--ink); font-size: 11px; }.profile-menu-header span { color: var(--muted); font-size: 9px; }.profile-menu-divider { height: 1px; margin: 4px 0; background: #eef2f3; }.profile-menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 8px; border: 0; border-radius: 7px; color: #60727c; background: transparent; text-align: right; font-size: 10px; }.profile-menu button:hover { color: var(--teal-dark); background: #eef9f7; }.profile-menu button > span { display: inline-grid; place-items: center; width: 22px; color: var(--teal); font-size: 16px; }.profile-menu .logout-action { color: #d36f68; }.profile-menu .logout-action > span { color: #d36f68; }
.content-wrap { max-width: 1500px; margin: 0 auto; padding: 35px 45px 55px; }.page-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 27px; }.topbar .page-heading { align-items: center; width: 100%; margin: 0; padding-left: 290px; gap: 18px; }.topbar .head-actions { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; white-space: nowrap; }.breadcrumb { margin: 0 0 9px; color: #9aa7b0; font-size: 10px; }.breadcrumb span { padding: 0 7px; color: #c5cdd1; }.page-heading h1 { margin: 0 0 6px; font-size: 21px; letter-spacing: 0; }.page-heading h1 span { font-size: 19px; }.page-heading p:last-child { margin: 0; color: var(--muted); font-size: 11px; }.heading-date { display: flex; align-items: center; gap: 11px; min-width: 188px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }.calendar-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; color: var(--teal-dark); background: #e4f6f3; font-size: 20px; }.heading-date span, .heading-date strong { display: block; }.heading-date span { margin-bottom: 4px; color: var(--muted); font-size: 10px; }.heading-date strong { font-size: 11px; }.topbar .home-area-filter { min-width: 180px; }.topbar .head-actions .heading-date { min-width: 0; }.topbar .home-area-filter > div { display: flex; flex-direction: column; gap: 4px; width: 100%; }.topbar .home-area-filter select { width: 100%; min-height: 34px; padding: 8px 10px; border: 1px solid #dceceb; border-radius: 8px; background: #fff; color: #1b2938; font-size: 11px; font-family: "Tajawal", "Segoe UI", sans-serif; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }.topbar .home-area-filter select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30, 174, 155, .12); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 17px; }.stat-card { position: relative; overflow: hidden; padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }.stat-card::after { position: absolute; bottom: -28px; left: -23px; width: 105px; height: 105px; border: 1px solid currentColor; border-radius: 50%; opacity: .07; content: ""; }.accent-teal { color: var(--teal); }.accent-orange { color: var(--orange); }.accent-blue { color: var(--blue); }.accent-purple { color: var(--purple); }.stat-top { display: flex; align-items: center; justify-content: space-between; color: #778793; font-size: 11px; }.stat-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; color: currentColor; background: currentColor; background: color-mix(in srgb, currentColor 12%, white); font-size: 17px; }.stat-card strong { display: block; margin: 15px 0 12px; color: var(--ink); font-size: 27px; }.stat-change { display: flex; align-items: center; gap: 7px; font-size: 10px; }.stat-change small { color: #a0acb3; font-size: 10px; }.positive span { color: #23ad91; }.neutral span { color: #a3adb3; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .85fr); gap: 17px; margin-bottom: 17px; }.content-card { padding: 22px 23px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }.card-heading { display: flex; align-items: flex-start; justify-content: space-between; }.card-heading h2 { margin: 0 0 7px; font-size: 14px; }.card-heading p { margin: 0; color: #9aa6ae; font-size: 10px; }.select-button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 5px; color: #7f8d97; background: #fff; font-size: 10px; }.select-button span { margin-right: 10px; }.more-button { color: #97a5ad; letter-spacing: 2px; }.chart-area { display: flex; height: 218px; margin-top: 23px; }.chart-y-axis { display: flex; flex-direction: column; justify-content: space-between; width: 39px; padding-bottom: 24px; color: #aeb9c0; font-size: 9px; }.chart-content { position: relative; flex: 1; }.chart-lines { position: absolute; inset: 0 0 24px; display: flex; flex-direction: column; justify-content: space-between; }.chart-lines i { display: block; width: 100%; border-top: 1px dashed #edf1f3; }.bar-chart { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-around; height: 100%; padding: 0 5px 0; }.bar-group { display: flex; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; flex-direction: column; }.bar { display: inline-block; width: 10px; border-radius: 3px 3px 0 0; }.bar-light { background: #bde9e3; }.bar-dark { background: var(--teal); }.bar-group small { margin-top: 9px; color: #99a7af; font-size: 9px; white-space: nowrap; }.chart-legend { display: flex; gap: 22px; margin: 4px 0 0 39px; color: #8998a2; font-size: 10px; }.chart-legend span { display: flex; align-items: center; gap: 7px; }.legend-dot { width: 7px; height: 7px; border-radius: 50%; }.legend-dot.dark { background: var(--teal); }.legend-dot.light { background: #bde9e3; }
.status-card { min-height: 355px; }.donut-wrap { display: grid; place-items: center; margin: 20px 0 17px; }.donut { display: grid; place-items: center; width: 148px; height: 148px; border-radius: 50%; background: conic-gradient(var(--teal) 0 50%, var(--orange) 50% 85%, #dce8ed 85% 100%); }.donut-empty { background: conic-gradient(#e6edef 0 100%); }.donut::before { width: 108px; height: 108px; border-radius: 50%; background: #fff; content: ""; grid-area: 1 / 1; }.donut div { z-index: 1; grid-area: 1 / 1; text-align: center; }.donut strong, .donut span { display: block; }.donut strong { font-size: 23px; }.donut span { margin-top: 3px; color: #a0acb3; font-size: 10px; }.status-list { display: grid; gap: 12px; }.status-list div { display: flex; justify-content: space-between; color: #71818c; font-size: 11px; }.status-list span { display: flex; align-items: center; gap: 7px; }.status-list strong { color: var(--ink); font-size: 11px; }.status-list small { color: #a3afb6; font-size: 9px; font-weight: 400; }.status-dot { width: 7px; height: 7px; border-radius: 50%; }.online { background: var(--teal); }.delivery { background: var(--orange); }.offline { background: #dce8ed; }
.activity-card { padding-bottom: 8px; transition: box-shadow .25s ease, border-color .25s ease; }.activity-card-focused { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(25, 168, 155, .14); }.text-button { border: 0; color: var(--teal-dark); background: transparent; font-size: 10px; }.text-button span { margin-right: 8px; font-size: 16px; vertical-align: middle; }.table-wrap { overflow-x: auto; margin-top: 18px; }table { width: 100%; border-collapse: collapse; min-width: 640px; }th { padding: 0 10px 11px; color: #a1adb5; text-align: right; font-size: 10px; font-weight: 400; }td { padding: 12px 10px; border-top: 1px solid #f0f3f5; color: #687985; font-size: 10px; }td:first-child { color: var(--ink); font-weight: 700; }.table-user { display: flex; align-items: center; gap: 8px; }.mini-avatar { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #fff; font-size: 10px; }.mini-avatar.blue { background: #77a0db; }.mini-avatar.gold { background: #dca764; }.mini-avatar.purple { background: #9d86c8; }.pill { display: inline-block; padding: 5px 9px; border-radius: 4px; font-size: 9px; }.pill.success { color: #209c86; background: #e5f7f2; }.pill.info { color: #5686cf; background: #e9f0fe; }
.map-card { margin-bottom: 17px; }.map-card-actions { display: flex; align-items: center; gap: 9px; }.map-toggle { padding: 6px 10px; border: 1px solid #d6ebe7; border-radius: 5px; color: var(--teal-dark); background: #f3fbfa; font-size: 10px; }.map-toggle:hover { background: #e5f5f2; }.map-status { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 5px; color: #21a58f; background: #e8f8f4; font-size: 10px; }.map-status i { width: 6px; height: 6px; border-radius: 50%; background: #23b69e; box-shadow: 0 0 0 3px #c9eee7; }.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 20px; margin-top: 19px; }.map-layout #delivery-map { min-height: 430px; border-radius: 10px; overflow: hidden; background: #dbecee; box-shadow: inset 0 0 0 1px rgba(18,59,69,.08); }.map-layout.map-hidden { grid-template-columns: 1fr; }.map-layout.map-hidden #delivery-map { display: none; }.leaflet-container { font-family: Tahoma, "Segoe UI", sans-serif; }.leaflet-popup-content-wrapper { border-radius: 8px; }.leaflet-popup-content { margin: 12px 15px; color: var(--ink); font-size: 11px; }.map-popup strong, .map-popup span { display: block; }.map-popup span { margin-top: 4px; color: #81909a; font-size: 10px; }.driver-marker { border: 0; background: transparent; }.driver-marker-avatar { position: relative; display: grid; place-items: center; width: 44px; height: 44px; overflow: visible; border: 3px solid #fff; border-radius: 50%; background: #dbecee; box-shadow: 0 3px 10px rgba(18,59,69,.35); }.driver-marker-avatar::after { position: absolute; right: 50%; bottom: -10px; z-index: -1; width: 13px; height: 13px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; background: var(--marker-color); content: ""; transform: translateX(50%) rotate(45deg); }.driver-marker-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }.driver-marker-fallback { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--marker-color), #087c77); font-size: 17px; font-weight: 700; }.driver-marker-avatar img + .driver-marker-fallback { display: none; }.driver-marker-avatar > i { position: absolute; right: -2px; bottom: 1px; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: var(--marker-color); }.map-legend { display: flex; flex-direction: column; gap: 14px; padding: 10px 3px; }.map-legend strong { margin-bottom: 2px; font-size: 11px; }.map-legend > span { display: flex; align-items: center; gap: 8px; color: #71818c; font-size: 10px; }.map-legend b { margin-right: auto; color: var(--ink); font-size: 10px; }.legend-marker { width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.2); }.legend-marker.available { background: #1aae97; }.legend-marker.busy { background: #efa342; }.legend-marker.disconnected { background: #9baab2; }.map-action { margin-top: auto; padding: 10px 8px; border: 1px solid #d6ebe7; border-radius: 6px; color: var(--teal-dark); background: #f3fbfa; font-size: 10px; }
.leaflet-container { position: relative; overflow: hidden; outline: 0; -webkit-tap-highlight-color: transparent; background: #dbecee; }.leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-zoom-box { position: absolute; left: 0; top: 0; }.leaflet-pane { z-index: 400; }.leaflet-tile-pane { z-index: 200; }.leaflet-overlay-pane { z-index: 400; }.leaflet-shadow-pane { z-index: 500; }.leaflet-marker-pane { z-index: 600; }.leaflet-tooltip-pane { z-index: 650; }.leaflet-popup-pane { z-index: 700; }.leaflet-map-pane svg { z-index: 200; }.leaflet-map-pane canvas { z-index: 100; }.leaflet-zoom-animated { transform-origin: 0 0; }.leaflet-tile { visibility: hidden; }.leaflet-tile-loaded { visibility: inherit; }.leaflet-control { position: relative; z-index: 800; pointer-events: auto; float: left; clear: both; }.leaflet-top, .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; }.leaflet-top { top: 0; }.leaflet-bottom { bottom: 0; }.leaflet-left { left: 0; }.leaflet-right { right: 0; }.leaflet-top .leaflet-control { margin-top: 10px; }.leaflet-bottom .leaflet-control { margin-bottom: 10px; }.leaflet-left .leaflet-control { margin-left: 10px; }.leaflet-right .leaflet-control { margin-right: 10px; }.leaflet-control-zoom { border: 2px solid rgba(0,0,0,.2); border-radius: 4px; overflow: hidden; }.leaflet-control-zoom a { display: block; width: 26px; height: 26px; border-bottom: 1px solid #ccc; color: #444; background: #fff; text-align: center; text-decoration: none; font: bold 18px/26px Arial; }.leaflet-control-zoom a:last-child { border-bottom: 0; }.leaflet-control-zoom a:hover { background: #f4f4f4; }.leaflet-control-attribution { padding: 0 5px; color: #555; background: rgba(255,255,255,.8); font: 9px/18px Arial, sans-serif; }.leaflet-control-attribution a { color: #0078a8; text-decoration: none; }.leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; }.leaflet-popup-content-wrapper { min-width: 120px; padding: 1px; border-radius: 8px; box-shadow: 0 3px 14px rgba(0,0,0,.2); background: #fff; }.leaflet-popup-content { margin: 12px 15px; line-height: 1.4; }.leaflet-popup-tip-container { width: 40px; height: 20px; position: absolute; left: 50%; margin-left: -20px; overflow: hidden; pointer-events: none; }.leaflet-popup-tip { width: 17px; height: 17px; padding: 1px; margin: -10px auto 0; transform: rotate(45deg); background: #fff; box-shadow: 3px 3px 14px rgba(0,0,0,.2); }.leaflet-popup-close-button { position: absolute; top: 0; right: 0; padding: 4px 4px 0 0; border: 0; color: #999; background: transparent; font: 16px/14px Tahoma, sans-serif; text-decoration: none; }.driver-marker { display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 2px 7px rgba(18,59,69,.25); }.driver-marker span { display: block; width: 13px; height: 13px; border: 2px solid #fff; border-radius: 50%; }
.placeholder-panel { min-height: 470px; }.empty-state { display: grid; place-items: center; min-height: 420px; text-align: center; }.empty-state > span { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 20px; color: var(--teal); background: #e3f6f3; font-size: 34px; }.empty-state h2 { margin: 22px 0 8px; font-size: 21px; }.empty-state p { margin: 0 0 22px; color: var(--muted); font-size: 12px; }.primary-button { padding: 11px 18px; border: 0; border-radius: 6px; color: #fff; background: var(--teal-dark); font-size: 11px; }
.topbar .heading-date { min-width: 220px; padding: 11px 14px; border: 1px solid #dceceb; border-radius: 12px; background: linear-gradient(135deg, #ffffff 0%, #f3fbfa 100%); box-shadow: 0 7px 18px rgba(18, 59, 69, .07); }
.topbar .calendar-icon { width: 36px; height: 36px; border-radius: 10px; color: #fff; background: linear-gradient(145deg, var(--teal), var(--teal-dark)); box-shadow: 0 5px 10px rgba(8, 124, 119, .2); font-size: 18px; }
.topbar .heading-date > div { min-width: 0; }
.topbar .heading-date span:not(.calendar-icon) { margin-bottom: 3px; color: #8a9aa1; font-size: 9px; font-weight: 500; }
.topbar .heading-date strong { display: block; color: #1b2938; font-size: 11px; font-weight: 700; white-space: nowrap; }
@media (max-width: 1100px) { .sidebar { width: 220px; }.main-content { width: calc(100% - 220px); margin-right: 220px; }.topbar { padding: 20px 25px; }.topbar .page-heading { padding-left: 240px; }.topbar-actions { left: 25px; }.content-wrap { padding: 30px 25px; }.stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .sidebar { position: static; width: 74px; padding: 20px 10px; }.brand { justify-content: center; padding: 0 0 28px; }.brand > div:last-child, .nav-label, .nav-item > span:last-child, .support-card, .logout-button { display: none; }.nav-item { justify-content: center; padding: 13px 8px; }.nav-icon { width: auto; }.main-content { width: calc(100% - 74px); margin-right: 0; }.topbar { min-height: 92px; padding: 15px; }.topbar .page-heading { padding-left: 125px; }.topbar .heading-date { display: none; }.mobile-brand { display: flex; }.user-details, .chevron, .topbar-divider { display: none; }.topbar-actions { left: 15px; gap: 10px; }.content-wrap { padding: 25px 15px 40px; }.page-heading { display: block; }.dashboard-panel .heading-date { margin-top: 18px; width: fit-content; }.dashboard-grid { grid-template-columns: 1fr; }.status-card { min-height: auto; }.stats-grid { gap: 10px; }.stat-card { padding: 15px; }.stat-card strong { font-size: 23px; }.dashboard-grid, .stats-grid { margin-bottom: 10px; }.map-layout { grid-template-columns: 1fr; }.map-layout #delivery-map { min-height: 360px; }.map-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 2px; }.map-legend strong { grid-column: 1 / -1; }.map-action { grid-column: 1 / -1; margin-top: 4px; } }
@media (max-width: 430px) { .stats-grid { grid-template-columns: 1fr 1fr; }.stat-top { align-items: flex-start; gap: 5px; }.stat-top > span:first-child { font-size: 10px; }.stat-icon { width: 26px; height: 26px; }.stat-change { display: block; }.stat-change small { display: block; margin-top: 4px; }.page-heading h1 { font-size: 21px; } }
