﻿html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    background-image: url(../images/Logo.svg);
    width: 180px !important;
    height: 44px;
    /* ... */
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

@font-face {
    font-family: 'Dana';
    src: url('/fonts/Dana-Regular.woff2') format('woff2'), url('/fonts/Dana-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Dana';
    src: url('/fonts/Dana-Bold.woff2') format('woff2'), url('/fonts/Dana-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Dana';
    src: url('/fonts/Dana-Medium.woff2') format('woff2'), url('/fonts/Dana-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Dana';
    src: url('/fonts/Dana-Heavy.woff2') format('woff2'), url('/fonts/Dana-Heavy.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}

.multi-line-cell {
    white-space: pre-wrap;
}

/* ????? ???? ??????? ???? ?? ????? */
body {
    font-family: 'Dana', sans-serif;
}

.dxbl-grid .dxbl-grid-table > tbody > tr.dxbl-grid-group-footer-row > td > div[dxbl-grid-summary-item], .dxbl-grid .dxbl-grid-table > tbody > tr > td, .dxbl-grid .dxbl-grid-table > tfoot > tr > td, .dxbl-grid .dxbl-grid-table > tfoot > tr > td > div[dxbl-grid-summary-item], .dxbl-grid .dxbl-grid-table > thead > tr > th > .dxbl-grid-header-content > span {
    text-align: right;
}

.ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.account-main {
    left: 2rem !important;
    right: inherit !important;
}

.settings-bar {
    right: auto !important;
    left: 0;
}

.xaf-caption-icon-container + .xaf-caption-container {
    padding-right: 10px;
}

.xaf-tabbed-mdi .xaf-tab-header-template .xaf-close-tab-button {
    margin-left: 0;
    margin-right: var(--dxbl-tabs-image-spacing);
}

.xaf-tabbed-mdi .xaf-tab-header-template .xaf-layout-tab-icon {
    margin-right: 0;
    margin-left: var(--dxbl-tabs-image-spacing);
}

.dxbl-accordion .dxbl-accordion-group {
    direction: ltr;
}

.dxbl-group > .dxbl-group-header .dxbl-btn.dxbl-group-expand-btn + * {
    direction: rtl;
}

.dxbl-accordion .dxbl-accordion-group .dxbl-accordion-item-content > .dxbl-image:not(:last-child) {
    margin-right: 0;
    margin-left: var(--dxbl-accordion-group-item-spacing);
}

.dxbl-accordion .dxbl-accordion-group .dxbl-accordion-item:not(.dxbl-accordion-group) > .dxbl-accordion-item-content {
    direction: rtl;
}

dxbl-btn dxbl-btn-primary dxbl-toolbar-layout-block-item dxbl-toolbar-btn dxbl-toolbar-item xaf-action dxbl-btn-last dxbl-btn-first {
    direction: ltr;
}

.dxbl-toolbar > .dxbl-btn-toolbar {
    direction: rtl !important;
}

.dxbl-modal > .dxbl-modal-root {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    overflow: visible; /* ?? ???? ???? */
}

.header {
    z-index: 1030;
    min-height: 3.1rem;
    word-wrap: inherit;
    background-color: #13629a;
    color: white;
}

.dxbl-accordion .dxbl-accordion-filter > .dxbl-accordion-group-header .dxbl-navigation-filter.dxbl-text-edit > input {
    text-align: right;
}

.dxbl-accordion-group-header .xaf-nav-link {
    font-weight: 100;
}

.dx-field-chooser-header-container {
    direction: ltr;
}

.xaf-loading-content {
    direction: ltr;
}

.dxbrv-wrapper .dxbrv-viewbox {
    direction: ltr;
}

.dxbl-toolbar.dxbl-toolbar-adaptive .dxbl-virtual-toolbar, .dxbl-toolbar.dxbl-toolbar-adaptive > .dxbl-btn-toolbar {
    flex-direction: row-reverse;
}

dxbl-btn-toolbar {
    flex-direction: row;
}

.dxbl-tabs > .dxbl-tabs-tablist.dxbl-tabs-tablist-scrollable {
    flex-direction: row-reverse;
}

.xaf-tabbed-mdi .xaf-tab-header-template .xaf-layout-tab-icon {
    margin-left: 0;
    margin-right: var(--dxbl-tabs-image-spacing);
}

.dxbl-toolbar.dxbl-toolbar-adaptive .dxbl-virtual-toolbar, .dxbl-toolbar.dxbl-toolbar-adaptive > .dxbl-btn-toolbar {
}

    .dxbl-toolbar.dxbl-toolbar-adaptive .dxbl-virtual-toolbar > div, .dxbl-toolbar.dxbl-toolbar-adaptive .dxbl-virtual-toolbar > div > .dxbl-btn, .dxbl-toolbar.dxbl-toolbar-adaptive .dxbl-virtual-toolbar > div > .dxbl-btn-group, .dxbl-toolbar.dxbl-toolbar-adaptive .dxbl-virtual-toolbar > div > .dxbl-toolbar-item, .dxbl-toolbar.dxbl-toolbar-adaptive .dxbl-virtual-toolbar > div > .dxbl-toolbar-item > .dxbl-btn, .dxbl-toolbar.dxbl-toolbar-adaptive .dxbl-virtual-toolbar > div > .dxbl-toolbar-item > .dxbl-btn-group, .dxbl-toolbar.dxbl-toolbar-adaptive > .dxbl-btn-toolbar > div, .dxbl-toolbar.dxbl-toolbar-adaptive > .dxbl-btn-toolbar > div > .dxbl-btn, .dxbl-toolbar.dxbl-toolbar-adaptive > .dxbl-btn-toolbar > div > .dxbl-btn-group, .dxbl-toolbar.dxbl-toolbar-adaptive > .dxbl-btn-toolbar > div > .dxbl-toolbar-item, .dxbl-toolbar.dxbl-toolbar-adaptive > .dxbl-btn-toolbar > div > .dxbl-toolbar-item > .dxbl-btn, .dxbl-toolbar.dxbl-toolbar-adaptive > .dxbl-btn-toolbar > div > .dxbl-toolbar-item > .dxbl-btn-group {
        flex-direction: row-reverse;
    }

.xaf-combobox-item {
    float: right;
    text-align: right;
}

.dxbl-text-edit > .dxbl-text-edit-template .dxbl-text-edit-input {
    text-align: right;
}

.xaf-grid-item-icon, .xaf-combobox-icon {
    margin-left: 0.5rem !important;
    margin-right: 0.0remv !important;
}

.dxbl-treeview .dxbl-treeview-item > .dxbl-treeview-item-content > .dxbl-btn > svg.dxbl-image {
    transform: rotate(180deg);
}

.card-header {
    color: white;
    background-color: #13629a;
}

.dxbl-treeview-container {
    transition: width 0.5s ease;
}

    .dxbl-treeview-container.hidden {
        width: 0;
    }

    .dxbl-treeview-container.show {
        width: 250px;
    }

.dxbl-toolbar.dxbl-toolbar-adaptive .dxbl-virtual-toolbar, .dxbl-toolbar.dxbl-toolbar-adaptive > .dxbl-btn-toolbar {
    flex-direction: row;
    left: 2rem !important;
    right: 0;
}

.dxbl-btn-toolbar {
    flex-direction: row-reverse !important;
}

.loading-floated-circle {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #87CEEB, #ADD8E6); /* ??????? ??? ?????? */
    -webkit-mask: radial-gradient(farthest-side, transparent 92%, white 93%);
    mask: radial-gradient(farthest-side, transparent 92%, white 93%);
    animation: spin-pulse 1.5s ease-in-out infinite;
}

@keyframes spin-pulse {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.loading-caption {
    font-size: 1.2rem; /* ?????? ???? */
    font-weight: 400; /* ??? ???? */
    font-family: 'Vazir', sans-serif; /* ???? ????? */
    color: #333; /* ??? ??????? ???? */
    text-align: center; /* ??????? */
    margin-top: 15px; /* ????? ?? ???? */
    animation: gentle-fade 2.5s ease-in-out infinite; /* ??????? ????? */
}

@keyframes gentle-fade {
    0%, 100% {
        opacity: 0.6; /* ?????? ?? */
    }

    50% {
        opacity: 1; /* ?????? ???? */
    }
}

.loading-caption {
    font-size: 1.2rem; /* ?????? ???? */
    font-weight: 400; /* ??? ???? */
    font-family: 'Vazir', sans-serif; /* ???? ????? */
    color: #333; /* ??? ??????? ???? */
    text-align: center; /* ??????? */
    margin-top: 15px; /* ????? ?? ???? */
    animation: gentle-fade 2.5s ease-in-out infinite; /* ??????? ????? */
}

@keyframes gentle-fade {
    0%, 100% {
        opacity: 0.6; /* ?????? ?? */
    }

    50% {
        opacity: 1; /* ?????? ???? */
    }
}

.loading-caption {
    font-size: 1.2rem; /* ?????? ???? */
    font-weight: 400; /* ??? ???? */
    font-family: 'Vazir', sans-serif; /* ???? ????? */
    color: #333; /* ??? ??????? ???? */
    text-align: center; /* ??????? */
    margin-top: 15px; /* ????? ?? ???? */
    animation: gentle-fade 2.5s ease-in-out infinite; /* ??????? ????? */
}

@keyframes gentle-fade {
    0%, 100% {
        opacity: 0.6; /* ?????? ?? */
    }

    50% {
        opacity: 1; /* ?????? ???? */
    }
}
/* This file should be placed in the wwwroot/css/ folder */
.map-container {
    height: 400px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
}

.leaflet-container {
    height: 100%;
    width: 100%;
}

/* Ensure popups are visible */
.leaflet-popup-content {
    direction: rtl;
    text-align: right;
}

/* Fix for RTL interface */
.leaflet-control-container .leaflet-right {
    left: 10px;
    right: auto;
}

.leaflet-control-container .leaflet-left {
    right: 10px;
    left: auto;
}

.dxbl-grid-table tr:nth-child(even) {
    background-color: #ebebeb;
}


.dxbl-grid-table tr:nth-child(even) {
    background-color: #ebebeb;
}

.dxbl-grid-selected-row {
    background-color: #d0d0d0 !important;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.1);
    font-weight: bold;
}

.dxbl-grid-table tr {
    transition: background-color 0.3s ease-in-out;
}

    .dxbl-grid-table tr:hover {
        background-color: #e6e6f9;
        cursor: pointer;
    }

.dxbl-grid-table td {
    border-bottom: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}
/* استایل‌های داشبورد BI */
.area-label {
    z-index: 650 !important;
}

.technician-marker {
    z-index: 700 !important;
}

.request-marker {
    z-index: 690 !important;
}

    /* انیمیشن برای مارکرها */
    .technician-marker > div,
    .request-marker > div {
        transition: transform 0.2s ease;
    }

    .technician-marker:hover > div,
    .request-marker:hover > div {
        transform: scale(1.2);
    }

/* استایل برای popup های نقشه */
.leaflet-popup-content {
    margin: 10px;
    line-height: 1.6;
}

    .leaflet-popup-content table {
        border-collapse: collapse;
    }

        .leaflet-popup-content table td {
            padding: 3px 8px;
            border-bottom: 1px solid #eee;
        }

        .leaflet-popup-content table tr:last-child td {
            border-bottom: none;
        }

/* کارت‌های KPI */
.card.text-white h6 {
    opacity: 0.9;
    font-size: 0.9rem;
}

.card.text-white small {
    opacity: 0.8;
}

/* دکمه‌های تغییر لایه نقشه */
.btn-group .btn {
    transition: all 0.3s ease;
}


/* استایل‌های نقشه داشبورد */
#dashboardMapContainer {
    height: 600px !important;
    min-height: 600px !important;
    width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

/* اطمینان از نمایش صحیح Leaflet */
.leaflet-container {
    height: 100% !important;
    width: 100% !important;
    position: relative !important;
    outline: 0;
}

    /* رفع مشکل تصاویر Leaflet */
    .leaflet-container img {
        max-width: none !important;
        max-height: none !important;
    }

/* استایل‌های مارکرها */
.area-label {
    z-index: 650 !important;
}

.technician-marker {
    z-index: 700 !important;
}

.request-marker {
    z-index: 690 !important;
}

    /* انیمیشن برای مارکرها */
    .technician-marker > div,
    .request-marker > div {
        transition: transform 0.2s ease;
    }

    .technician-marker:hover > div,
    .request-marker:hover > div {
        transform: scale(1.2);
    }

/* استایل برای popup های نقشه */
.leaflet-popup-content {
    margin: 10px;
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    font-family: 'Dana', 'Tahoma', Arial, sans-serif;
}

    .leaflet-popup-content table {
        border-collapse: collapse;
        width: 100%;
    }

        .leaflet-popup-content table td {
            padding: 3px 8px;
            border-bottom: 1px solid #eee;
            font-size: 12px;
        }

        .leaflet-popup-content table tr:last-child td {
            border-bottom: none;
        }

/* رفع مشکل موقعیت کنترل‌ها در RTL */
.leaflet-control-container .leaflet-right {
    left: 10px;
    right: auto;
}

.leaflet-control-container .leaflet-left {
    right: 10px;
    left: auto;
}

/* کارت‌های KPI */
.card.text-white h6 {
    opacity: 0.9;
    font-size: 0.9rem;
}

.card.text-white small {
    opacity: 0.8;
}

/* دکمه‌های تغییر لایه نقشه */
.btn-group .btn {
    transition: all 0.3s ease;
}

/* رفع مشکل ارتفاع کارت نقشه */
.card-body.p-0 {
    padding: 0 !important;
    height: 600px;
    overflow: hidden;
}

/* اطمینان از نمایش صحیح zoom controls */
.leaflet-control-zoom {
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
}

    .leaflet-control-zoom a {
        background-color: #fff;
        border-bottom: 1px solid #ccc;
        width: 26px;
        height: 26px;
        line-height: 26px;
        display: block;
        text-align: center;
        text-decoration: none;
        color: black;
    }

        .leaflet-control-zoom a:hover {
            background-color: #f4f4f4;
        }

/* استایل loading state برای نقشه */
.map-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
}

/* تضمین نمایش صحیح attribution */
.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    direction: ltr;
    text-align: left;
}

/* رفع مشکل‌های احتمالی در responsive design */
@media (max-width: 768px) {
    #dashboardMapContainer {
        height: 400px !important;
        min-height: 400px !important;
    }

    .card-body.p-0 {
        height: 400px;
    }
}

:root {
    --card-b: #fff;
    --card-br: #e5e7eb;
    --muted: #6b7280;
    --brand: #2563eb;
    --brand-weak: #dbeafe;
}

.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04)
}

.card-header {
    font-weight: 600;
    padding: 10px 14px;
    border-bottom: 1px solid #eee
}

.card-body {
    padding: 12px
}

.kpi {
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff
}

    .kpi strong {
        font-weight: 700
    }

.backlog-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 280px);
    overflow: auto
}

.backlog-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    cursor: grab;
    transition: box-shadow .2s,transform .05s
}

    .backlog-item:hover {
        box-shadow: 0 8px 22px rgba(0,0,0,.08)
    }

    .backlog-item:active {
        cursor: grabbing;
        transform: scale(.995)
    }

    .backlog-item .title {
        font-weight: 600;
        margin-bottom: 4px
    }

    .backlog-item .meta {
        color: #6b7280;
        font-size: 12px
    }

.scheduler-host {
    position: relative;
    border-radius: 12px
}

.drop-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37,99,235,.08);
    border: 2px dashed #60a5fa;
    border-radius: 12px;
    font-weight: 700;
    color: #1e3a8a;
    pointer-events: auto;
    z-index: 4000; /* بالاتر از Scheduler */
}

.helper-hint {
    color: #6b7280;
    font-size: 12px;
    margin-top: 6px
}

.map-host {
    height: 100%;
    min-height: 340px;
    border-radius: 12px;
    overflow: hidden
}

.dispatch-shell {
    padding: 12px;
}

.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    padding: 12px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 12px;
}

.dispatch-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.toolbar-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-primary {
    background: #1976D2;
    color: #fff;
    border: none;
}

.scheduler-host {
    min-height: 560px;
}

.backlog .title {
    font-weight: 700;
    margin-bottom: 8px;
}

.backlog .list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.backlog-item {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px dashed #DDD;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: grab;
}

    .backlog-item .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }

    .backlog-item .t1 {
        font-weight: 600;
    }

    .backlog-item .t2 {
        opacity: .7;
        font-size: .9em;
    }

.dispatch-map {
    width: 100%;
    height: 420px;
    border-radius: 14px;
    overflow: hidden;
}

/* کارت‌های رویداد */
.apt-card {
    border: 2px solid var(--c, #1976D2);
    padding: 4px 6px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.35;
}

.apt-subj {
    font-weight: 700;
}

.apt-time {
    opacity: .8;
}

.apt-tech {
    opacity: .8;
    font-size: 11px;
}

/* Leaflet markers */
.nxpax-tech .pulse {
    width: 14px;
    height: 14px;
    background: #00ACC1;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0,172,193,.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0,172,193,.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0,172,193,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0,172,193,0);
    }
}

.nxpax-req .pin {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 18px solid #E53935;
    transform: translateY(-2px);
}







/* Dispatch Console Modern Styles */
:root {
    --primary: #0D3B66;
    --primary-light: #1E5A8D;
    --primary-dark: #0A2E4F;
    --secondary: #00ACC1;
    --secondary-light: #4DD0E1;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    --dark: #1F2937;
    --gray: #6B7280;
    --light: #F3F4F6;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.95);
    --glass-dark: rgba(31, 41, 55, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(0, 172, 193, 0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* Dark Mode */
[data-theme="dark"] {
    --glass: rgba(31, 41, 55, 0.95);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Dispatch Shell */
.dispatch-shell {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

    .dispatch-shell::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: rotate-bg 30s linear infinite;
    }

@keyframes rotate-bg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Header */
.dispatch-header {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    position: relative;
}

.header-stats {
    display: flex;
    gap: 2rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
}

    .stat-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

.stat-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    border-radius: 3px 3px 0 0;
}

    .stat-indicator.success {
        background: var(--success);
    }

    .stat-indicator.warning {
        background: var(--warning);
    }

    .stat-indicator.info {
        background: var(--info);
    }

    .stat-indicator.primary {
        background: var(--primary);
    }

.header-actions {
    display: flex;
    gap: 1rem;
}

/* Glass Button */
.btn-glass {
    padding: 0.75rem 1.5rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-glass:hover {
        background: var(--white);
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

    .btn-glass .icon {
        font-size: 1.2rem;
    }

/* Tabs */
.dispatch-tabs {
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 0.5rem 2rem;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 99;
}

.tab-group {
    display: flex;
    gap: 0.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--gray);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

    .tab-btn::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .tab-btn.active::before {
        transform: scaleX(1);
    }

    .tab-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .tab-btn.active {
        color: var(--primary);
        background: rgba(13, 59, 102, 0.1);
    }

.tab-icon {
    font-size: 1.2rem;
}

/* Content Area */
.dispatch-content {
    flex: 1;
    padding: 1.5rem;
    overflow: auto;
    position: relative;
    z-index: 10;
}

/* Glass Card */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

    .glass-card:hover {
        box-shadow: var(--shadow-lg);
    }

/* Command Layout */
.command-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 1.5rem;
    height: 100%;
}

.main-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: auto;
    padding-left: 0.5rem;
}

/* Map Container */
.map-container {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.map-view {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
}

/* Floating Panel */
.floating-panel {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: 400px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    overflow: hidden;
}

    .floating-panel.hidden {
        height: 50px;
    }

    .floating-panel.visible {
        height: 300px;
    }

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid var(--glass-border);
}

    .panel-header h3 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--primary);
    }

.btn-minimize {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

    .btn-minimize:hover {
        transform: scale(1.2);
    }

.mini-scheduler {
    padding: 1rem;
    height: calc(100% - 50px);
    overflow: auto;
}

/* Backlog Panel */
.backlog-panel {
    max-height: 50vh;
    display: flex;
    flex-direction: column;
}

.backlog-filters {
    padding: 1rem 0;
}

.filter-combo {
    width: 100%;
}

.backlog-list {
    flex: 1;
    overflow-y: auto;
    padding-left: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Backlog Item */
.backlog-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 1rem;
    cursor: grab;
    transition: var(--transition);
    border-right: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

    .backlog-item::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 4px;
        transition: width 0.3s ease;
    }

    .backlog-item.priority-urgent::before {
        background: var(--danger);
    }

    .backlog-item.priority-high::before {
        background: var(--warning);
    }

    .backlog-item.priority-medium::before {
        background: var(--info);
    }

    .backlog-item.priority-low::before {
        background: var(--success);
    }

    .backlog-item:hover {
        transform: translateX(-8px);
        box-shadow: var(--shadow);
    }

        .backlog-item:hover::before {
            width: 8px;
        }

    .backlog-item:active {
        cursor: grabbing;
        transform: scale(0.98);
    }

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.item-number {
    font-weight: 700;
    color: var(--primary);
}

.item-priority-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white);
}

.backlog-item.priority-urgent .item-priority-badge {
    background: var(--danger);
}

.backlog-item.priority-high .item-priority-badge {
    background: var(--warning);
}

.backlog-item.priority-medium .item-priority-badge {
    background: var(--info);
}

.backlog-item.priority-low .item-priority-badge {
    background: var(--success);
}

.item-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.item-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.item-customer {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
    padding-top: 0.5rem;
    border-top: 1px solid var(--light);
}

/* Tech Panel */
.tech-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tech-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Tech Card */
.tech-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

    .tech-card:hover {
        transform: translateX(-4px);
        box-shadow: var(--shadow);
    }

.tech-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.tech-info {
    flex: 1;
}

.tech-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.tech-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

    .status-dot.available {
        background: var(--success);
    }

    .status-dot.busy {
        background: var(--warning);
    }

    .status-dot.onroute {
        background: var(--info);
    }

    .status-dot.break {
        background: var(--gray);
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.tech-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray);
}

.tech-location {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.distance {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Calendar Layout */
.calendar-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
    height: 100%;
}

.calendar-main {
    display: flex;
    flex-direction: column;
}

.calendar-toolbar {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light);
    margin-bottom: 1rem;
}

.toolbar-actions {
    margin-right: auto;
}

.calendar-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Filter Panel */
.filter-panel {
    display: flex;
    flex-direction: column;
}

    .filter-panel h3 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 1rem;
    }

.filter-group {
    margin-bottom: 1.5rem;
}

    .filter-group label {
        display: block;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--dark);
        margin-bottom: 0.5rem;
    }

/* Map Layout */
.map-layout {
    height: 100%;
}

.map-main {
    height: 100%;
    position: relative;
}

.map-controls {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
}

.control-group {
    display: flex;
    gap: 0.5rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.btn-map {
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--light);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

    .btn-map:hover {
        background: var(--primary);
        color: var(--white);
    }

.map-legend {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

    .legend-item:last-child {
        margin-bottom: 0;
    }

.legend-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

    .legend-icon.tech-active {
        background: var(--success);
    }

    .legend-icon.tech-busy {
        background: var(--warning);
    }

    .legend-icon.order-urgent {
        background: var(--danger);
    }

    .legend-icon.order-normal {
        background: var(--info);
    }

/* Analytics Layout */
.analytics-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.metric-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

    .metric-icon.success {
        background: rgba(16, 185, 129, 0.1);
        color: var(--success);
    }

    .metric-icon.warning {
        background: rgba(245, 158, 11, 0.1);
        color: var(--warning);
    }

    .metric-icon.info {
        background: rgba(59, 130, 246, 0.1);
        color: var(--info);
    }

    .metric-icon.primary {
        background: rgba(13, 59, 102, 0.1);
        color: var(--primary);
    }

.metric-content {
    flex: 1;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.metric-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

.metric-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

    .metric-trend.positive {
        color: var(--success);
    }

    .metric-trend.negative {
        color: var(--danger);
    }

.charts-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.chart-card {
    padding: 1.5rem;
}

    .chart-card h3 {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 1.5rem;
    }

.table-card {
    padding: 1.5rem;
}

    .table-card h3 {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 1.5rem;
    }

.performance-grid {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.rating {
    color: var(--warning);
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

    .btn-secondary:hover {
        background: var(--primary);
        color: var(--white);
    }

.btn-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

    .btn-icon:hover {
        transform: scale(1.1);
    }

.badge {
    padding: 0.25rem 0.5rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Drop Overlay */
.drop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 59, 102, 0.1);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    .drop-overlay.active {
        display: flex;
    }

.drop-message {
    padding: 2rem 4rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 2px dashed var(--primary);
    border-radius: var(--radius);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

/* Custom Appointment */
.apt-custom {
    padding: 0.5rem;
    border-radius: 8px;
    color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.apt-title {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.apt-tech {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.glass-card {
    animation: slideIn 0.5s ease;
}

/* Responsive */
@media (max-width: 1400px) {
    .command-layout {
        grid-template-columns: 1fr;
    }

    .side-area {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    .header-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .calendar-layout {
        grid-template-columns: 1fr;
    }

    .calendar-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dispatch-header {
        flex-direction: column;
        gap: 1rem;
    }

    .dispatch-tabs {
        overflow-x: auto;
    }

    .tab-group {
        min-width: max-content;
    }

    .dispatch-content {
        padding: 1rem;
    }

    .side-area {
        grid-template-columns: 1fr;
    }

    .floating-panel {
        width: calc(100% - 2rem);
        left: 1rem;
        right: 1rem;
    }

    .metrics-row {
        grid-template-columns: 1fr;
    }

    .charts-row {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .dispatch-header,
    .dispatch-tabs,
    .btn-glass,
    .btn-primary,
    .btn-secondary,
    .map-controls {
        display: none !important;
    }

    .glass-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Loading States */
.loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

    .loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        border: 4px solid var(--light);
        border-top-color: var(--primary);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--light) 25%, rgba(255,255,255,0.5) 50%, var(--light) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Tooltips */
[data-tooltip] {
    position: relative;
}

    [data-tooltip]:hover::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.5rem 1rem;
        background: var(--dark);
        color: var(--white);
        border-radius: 8px;
        font-size: 0.85rem;
        white-space: nowrap;
        z-index: 10000;
        pointer-events: none;
    }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary);
    }
/* استایل‌های اضافی برای dispatch console */

/* Empty state for backlog */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: #6B7280;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.empty-message {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.empty-submessage {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Map controls active state */
.btn-map.active {
    background: var(--primary) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(13, 59, 102, 0.3);
}

/* Drop overlay improvements */
.drop-overlay-global {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 59, 102, 0.1);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

.drop-message {
    padding: 3rem 4rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 3px dashed var(--primary);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    animation: pulse 1.5s ease-in-out infinite alternate;
}

.drop-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.drop-text {
    font-size: 1.4rem;
    font-weight: 600;
}

/* Calendar layout improvements */
.calendar-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 1.5rem;
    height: 100%;
}

.calendar-sidebar {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* Calendar toolbar spacing */
.calendar-toolbar {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.toolbar-actions {
    margin-right: auto;
}

/* Metrics grid for analytics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-sm);
    border-right: 4px solid var(--primary);
}

    .metric-item span {
        font-size: 0.9rem;
        color: var(--gray);
    }

    .metric-item strong {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary);
    }

/* Tech card improvements */
.tech-card.available {
    border-right: 3px solid var(--success);
}

.tech-card.busy {
    border-right: 3px solid var(--warning);
}

.tech-card.onroute {
    border-right: 3px solid var(--info);
}

.tech-card.break {
    border-right: 3px solid var(--gray);
}

/* Scheduler improvements */
.main-scheduler {
    height: 100%;
    min-height: 400px;
}

.mini-scheduler {
    height: calc(100% - 50px);
    overflow: auto;
}

    .mini-scheduler .main-scheduler {
        min-height: 200px;
    }

/* Loading states */
.dispatch-content.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

    .dispatch-content.loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        border: 4px solid var(--light);
        border-top-color: var(--primary);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

/* Responsive improvements */
@media (max-width: 1200px) {
    .command-layout {
        grid-template-columns: 1fr;
    }

    .side-area {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-height: 400px;
    }

    .calendar-layout {
        grid-template-columns: 1fr;
    }

    .calendar-sidebar {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .side-area {
        grid-template-columns: 1fr;
    }

    .header-stats {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .stat-card {
        min-width: 120px;
    }

    .dispatch-tabs {
        overflow-x: auto;
        padding: 0.5rem 1rem;
    }

    .tab-group {
        min-width: max-content;
        gap: 0.25rem;
    }

    .tab-text {
        display: none;
    }

    .floating-panel {
        width: calc(100% - 1rem);
        left: 0.5rem;
        right: 0.5rem;
    }
}

/* Animation improvements */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Smooth transitions */
.glass-card,
.backlog-item,
.tech-card,
.btn-glass,
.btn-map {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    /* Focus states for accessibility */
    .btn-glass:focus,
    .btn-map:focus,
    .tab-btn:focus {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }

/* Print styles */
@media print {
    .dispatch-header,
    .dispatch-tabs,
    .floating-panel,
    .map-controls,
    .drop-overlay-global {
        display: none !important;
    }

    .glass-card {
        box-shadow: none;
        border: 1px solid #ddd;
        background: white;
    }

    .dispatch-content {
        padding: 0;
    }
}


.dxbl-btn-split {
    direction: ltr !important;
}
