/* ═══════════════════════════════════════════════════════════════
   GPTracker — Design System
   Inter carregada via Google Fonts em App.razor
   ═══════════════════════════════════════════════════════════════ */


/* ─── 1. DESIGN TOKENS — MODO CLARO ──────────────────────────────
   Paleta sincronizada com GPTrackerTheme.cs (PaletteLight)
   ──────────────────────────────────────────────────────────────── */
:root {
    /* Brand */
    --primary:           #2F80FF;
    --primary-light:     rgba(47,128,255,0.14);
    --primary-hover:     rgba(47,128,255,0.10);
    --secondary:         #667085;
    --accent:            #06B6D4;

    /* Semantic */
    --success:           #16A34A;
    --success-light:     rgba(22,163,74,0.10);
    --warning:           #D97706;
    --warning-light:     rgba(217,119,6,0.10);
    --danger:            #DC2626;
    --danger-light:      rgba(220,38,38,0.10);
    --info:              #06B6D4;
    --info-light:        rgba(6,182,212,0.12);

    /* Superficies */
    --bg:                #F4F6FA;
    --surface:           #FFFFFF;
    --surface-2:         #F8FAFC;
    --surface-3:         #EEF2F7;

    /* Operacional */
    --card-bg:           #FFFFFF;
    --card-bg-2:         #F8FAFC;
    --card-border:       #D8E0EA;
    --card-border-soft:  rgba(52,64,84,0.09);
    --card-title:        #2F80FF;
    --link:              #2F80FF;
    --filter-bg:         #E8EDF5;
    --filter-text:       #344054;

    /* Texto */
    --text:              #344054;
    --text-secondary:    #475467;
    --muted:             #667085;
    --placeholder:       rgba(52,64,84,0.42);

    /* Bordas e sombras */
    --border:            #D8E0EA;
    --border-focus:      rgba(47,128,255,0.56);
    --shadow-xs:         0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm:         0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:         0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg:         0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);

    /* Sidebar */
    --sidebar-bg:            #FFFFFF;
    --sidebar-border:        #D8E0EA;
    --sidebar-text:          #667085;
    --sidebar-text-hover:    #344054;
    --sidebar-active-text:   #344054;
    --sidebar-active-bg:     rgba(47,128,255,0.16);
    --sidebar-hover-bg:      rgba(47,128,255,0.08);

    /* Raios */
    --radius-sm:   4px;
    --radius:      6px;
    --radius-md:   8px;
    --radius-lg:   10px;
    --radius-xl:   14px;

    /* Z-index */
    --z-navbar:    1100;
    --z-modal:     2147483647;
}


/* ─── 2. DESIGN TOKENS — MODO ESCURO ─────────────────────────────
   Sincronizado com PaletteDark do GPTrackerTheme.cs
   ──────────────────────────────────────────────────────────────── */
[data-theme="dark"],
.mud-theme-dark {
    --primary:           #2F80FF;
    --primary-light:     rgba(47,128,255,0.14);
    --primary-hover:     rgba(47,128,255,0.10);
    --secondary:         #C8D2E3;
    --accent:            #06B6D4;

    --success:           #34D399;
    --success-light:     rgba(52,211,153,0.12);
    --warning:           #FBBF24;
    --warning-light:     rgba(251,191,36,0.12);
    --danger:            #F87171;
    --danger-light:      rgba(248,113,113,0.12);
    --info:              #06B6D4;
    --info-light:        rgba(6,182,212,0.12);

    --bg:                #17181C;
    --surface:           #1F2026;
    --surface-2:         #20242D;
    --surface-3:         #252935;

    --card-bg:           #1F2026;
    --card-bg-2:         #20242D;
    --card-border:       #30333B;
    --card-border-soft:  rgba(255,255,255,0.07);
    --card-title:        #F8FAFC;
    --link:              #2F80FF;
    --filter-bg:         #3A3D47;
    --filter-text:       #E5E7EB;

    --text:              #F8FAFC;
    --text-secondary:    #B8C4D6;
    --muted:             #98A2B3;
    --placeholder:       rgba(244,246,248,0.40);

    --border:            #30333B;
    --border-focus:      rgba(47,128,255,0.56);
    --shadow-xs:         0 1px 2px rgba(0,0,0,0.20);
    --shadow-sm:         0 1px 3px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.15);
    --shadow-md:         0 4px 12px rgba(0,0,0,0.30), 0 2px 4px rgba(0,0,0,0.20);
    --shadow-lg:         0 10px 30px rgba(0,0,0,0.40), 0 4px 8px rgba(0,0,0,0.25);

    --sidebar-bg:        #1F2026;
    --sidebar-border:    #30333B;
    --sidebar-text:      #C8CDD4;
    --sidebar-text-hover:#E8EAED;
    --sidebar-active-text:#FFFFFF;
    --sidebar-active-bg: rgba(255,255,255,0.10);
    --sidebar-hover-bg:  rgba(255,255,255,0.07);
}


/* ─── 3. RESET ───────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}


/* ─── 4. BASE ────────────────────────────────────────────────────── */
html {
    font-size: 80%;
    min-height: 100%;
    background-color: var(--bg);
}

html, body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
}

body {
    min-height: 100vh;
    color: var(--text);
    font-family: Inter, Roboto, "Segoe UI", sans-serif;
}

.mud-layout {
    min-height: 100vh;
}

h1, h2, h3, h4 {
    margin: 0 0 8px;
    font-weight: 600;
}

p {
    margin: 0 0 8px;
    color: var(--muted);
}

a {
    color: var(--link);
    text-decoration: none;
}


/* ─── 5. NAVBAR ──────────────────────────────────────────────────── */
.mud-appbar,
.navbar {
    background-color: var(--sidebar-bg) !important;
    border-bottom: 1px solid var(--sidebar-border) !important;
    color: var(--sidebar-active-text) !important;
    z-index: var(--z-navbar) !important;
    overflow: visible !important;
    left: 0 !important;
    width: 100% !important;
    margin-left: 0 !important;
}

.mud-appbar .mud-typography,
.mud-appbar .mud-button-root,
.mud-appbar .mud-icon-button,
.mud-appbar .mud-icon-root,
.navbar .mud-typography,
.navbar .mud-button-root,
.navbar .mud-icon-button,
.navbar .mud-icon-root {
    color: var(--sidebar-active-text) !important;
}

.navbar .navbar-brand-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}
.navbar .navbar-brand-wrapper * {
    pointer-events: auto;
}

.navbar .navbar-hamburger {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 10px !important;
    margin-left: -14px;
    border-radius: var(--radius-md);
}
.navbar .navbar-hamburger .mud-icon-root,
.navbar .navbar-hamburger .mud-svg-icon {
    width: 1.5rem !important;
    height: 1.5rem !important;
    font-size: 1.5rem !important;
}

.navbar .mud-menu-activator {
    display: inline-flex !important;
    align-items: center;
}

.navbar .user-menu-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 2px;
    height: 40px;
    min-width: 0;
    padding: 0 4px 0 0;
    border-radius: 999px;
}
.navbar .user-menu-trigger .mud-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
}


/* ─── 6. SIDEBAR / DRAWER ────────────────────────────────────────── */
.mud-drawer,
.sidebar {
    background-color: var(--sidebar-bg) !important;
    border-right: 1px solid var(--sidebar-border) !important;
    top: 64px !important;
    height: calc(100vh - 64px) !important;
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar.mud-drawer--closed {
    width: 64px !important;
}

.sidebar.mud-drawer--closed .mud-navmenu {
    padding: 10px !important;
}

.sidebar.mud-drawer--closed .mud-nav-link {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 2px 0 !important;
    padding: 0 !important;
    justify-content: center !important;
}

.sidebar.mud-drawer--closed .mud-nav-link .mud-nav-link-text {
    display: none !important;
}

.sidebar.mud-drawer--closed .mud-nav-link .mud-icon-root {
    margin: 0 !important;
}

.sidebar .mud-nav-link,
.sidebar .mud-nav-group,
.sidebar .mud-nav-link .mud-nav-link-text,
.sidebar .mud-nav-group .mud-nav-group-text,
.sidebar .mud-nav-link .mud-icon-root,
.sidebar .mud-nav-group .mud-icon-root {
    color: var(--sidebar-text) !important;
}

.sidebar .mud-nav-link:hover,
.sidebar .mud-nav-group:hover {
    background-color: var(--sidebar-hover-bg) !important;
}

.sidebar .mud-nav-link:hover,
.sidebar .mud-nav-link:hover .mud-nav-link-text,
.sidebar .mud-nav-link:hover .mud-icon-root,
.sidebar .mud-nav-group:hover,
.sidebar .mud-nav-group:hover .mud-nav-group-text,
.sidebar .mud-nav-group:hover .mud-icon-root {
    color: var(--sidebar-text-hover) !important;
}

.sidebar .mud-nav-link.active,
.sidebar .mud-nav-link.active .mud-nav-link-text,
.sidebar .mud-nav-link.active .mud-icon-root {
    color: var(--sidebar-active-text) !important;
}

.sidebar .mud-nav-link.active {
    background-color: var(--sidebar-active-bg) !important;
}


/* ─── 7. USER MENU POPOVER ───────────────────────────────────────── */
.mud-popover.user-menu-popover {
    min-width: 240px !important;
    margin-top: 4px !important;
}
.user-menu-popover .mud-list {
    padding: 4px !important;
}

.user-menu-popover .mud-divider {
    border-color: rgba(52,64,84,0.18) !important;
    opacity: 1 !important;
}

[data-theme="dark"] .user-menu-popover .mud-divider,
.mud-theme-dark .user-menu-popover .mud-divider {
    border-color: var(--card-border-soft) !important;
}

.um-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}


/* ─── 8. PAINEL DE NOTIFICACOES ──────────────────────────────────── */
.notif-dropdown .mud-paper {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 0 !important;
    min-width: 340px !important;
    max-width: 400px !important;
    overflow: hidden !important;
}
.mud-popover.notif-dropdown {
    margin-top: 4px !important;
}
.notif-dropdown .mud-list {
    padding: 0 !important;
    background: transparent !important;
}
.notif-dropdown .mud-list-item,
.notif-dropdown .mud-list-item-root {
    padding: 0 !important;
}


/* ─── 9. POPOVERS, MENUS E DIALOGS ──────────────────────────────── */
.mud-popover,
.mud-select-popover,
.mud-menu,
.mud-menu-list {
    z-index: var(--z-modal) !important;
}

.mud-select-popover,
.mud-menu-list,
.mud-popover-content {
    background-color: var(--surface) !important;
    border: 1px solid var(--border);
}

.mud-popover .mud-paper,
.mud-select-popover .mud-paper,
.mud-menu .mud-list,
.mud-menu-list .mud-list,
.mud-select-popover .mud-list,
.mud-popover .mud-list {
    background-color: var(--surface) !important;
}

.mud-dialog-container,
.mud-dialog {
    z-index: var(--z-modal) !important;
}

.mud-dialog {
    background-color: var(--surface) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.mud-dialog .mud-dialog-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* ─── 10. CARDS & PAPERS ─────────────────────────────────────────── */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    box-shadow: none !important;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.mud-paper.card {
    box-shadow: none !important;
}

.crud-page > .card,
.crud-page .mud-paper.card {
    box-shadow: none !important;
}

.card-sm { padding: 10px 12px; }
.card-lg { padding: 20px 24px; }

/* Cards de relatório (hub) */
.relatorio-card {
    padding: 28px 20px;
    cursor: pointer;
    border: 1px solid var(--mud-palette-divider) !important;
    border-radius: 8px;
    text-align: center;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.relatorio-card:hover {
    border-color: var(--mud-palette-primary) !important;
    box-shadow: 0 2px 12px rgba(47, 128, 255, 0.12);
}

.card-title {
    color: var(--card-title) !important;
    font-weight: 600;
    margin-bottom: 0;
}


/* ─── 11. ESTRUTURA DE PAGINA ────────────────────────────────────── */
.crud-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeSlideIn 0.2s ease-out both;
}

.crud-grid {
    row-gap: 16px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
}

.page-header-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.page-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.page-breadcrumb a {
    color: var(--muted);
    font-size: 0.8rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: color 0.15s;
}

.page-breadcrumb a:hover {
    color: var(--primary);
}

.page-breadcrumb .separator {
    color: var(--muted);
    font-size: 0.75rem;
}

.page-breadcrumb .current {
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 500;
}

.page-title {
    color: var(--text) !important;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.page-subtitle {
    color: var(--muted);
    line-height: 1.35;
    margin-top: 4px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section-spacing-top {
    margin-top: 16px;
}

.main-content {
    padding: 20px;
}

.grid {
    display: grid;
    gap: 16px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}


/* ─── 12. LOGOS ──────────────────────────────────────────────────── */
.logo {
    width: 96px;
    max-height: 96px;
    object-fit: contain;
}

.logo-navbar {
    width: 160px;
    max-height: 52px;
    object-fit: contain;
}

.login-logo {
    width: 160px;
    max-height: 160px;
    margin: 0 auto;
}


/* ─── 13. FILTER BAR ─────────────────────────────────────────────── */
.filter-bar .mud-input-control {
    padding-bottom: 0 !important;
    margin-bottom:  0 !important;
}
.filter-bar .mud-input-helper-text {
    display: none !important;
}


/* ─── 14. OBSERVACAO FULL-HEIGHT ─────────────────────────────────── */
.observacao-full-height {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.observacao-full-height .mud-input-control {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.observacao-full-height .mud-input-root,
.observacao-full-height .mud-input-root-outlined {
    flex: 1;
    height: 100% !important;
}
.observacao-full-height textarea {
    flex: 1;
    resize: none;
    height: 100% !important;
    min-height: 160px;
}


/* ─── 15. TABELAS ────────────────────────────────────────────────── */
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th,
.table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}
.table th {
    font-weight: 600;
}

.mud-table {
    background-color: transparent;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mud-table .mud-table-head .mud-table-cell {
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    background-color: var(--card-bg-2);
    border-bottom: 1px solid var(--card-border);
    padding: 8px 12px;
    white-space: nowrap;
}

.mud-table .mud-table-cell {
    border-bottom: 1px solid var(--card-border-soft);
    padding: 7px 12px;
    font-size: 0.8rem;
}

.mud-table .mud-table-row:hover {
    background-color: var(--card-bg-2) !important;
}

.mud-table-striped .mud-table-row:nth-child(odd),
.mud-table-striped .mud-table-row:nth-child(even) {
    background-color: transparent !important;
}

.mud-table .mud-table-row.selected {
    background-color: var(--primary-light) !important;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--card-border-soft);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.2;
}

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    padding: 20px;
    color: var(--muted);
    text-align: center;
}


/* ─── 16. BOTOES ─────────────────────────────────────────────────── */
.mud-button-root {
    border-radius: var(--radius) !important;
    text-transform: none !important;
    font-weight: 700;
    letter-spacing: 0;
}

.mud-button-filled-primary {
    background: var(--primary) !important;
    color: #FFFFFF !important;
}

.mud-button-filled-primary:hover {
    background: #1F6FFF !important;
}

.mud-button-outlined-primary {
    color: var(--primary) !important;
    border-color: rgba(47,128,255,0.55) !important;
}

.mud-button-outlined-primary:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary) !important;
}

.mud-button-text-primary,
.mud-icon-button-color-primary {
    color: var(--primary) !important;
}

.mud-progress-linear-color-primary,
.mud-progress-circular-color-primary {
    color: var(--primary) !important;
}

.mud-button-filled-secondary {
    color: #FFFFFF !important;
}

.mud-button-filled-success {
    background: var(--success) !important;
    color: #FFFFFF !important;
}

.mud-button-filled-error {
    background: var(--danger) !important;
    color: #FFFFFF !important;
}


/* ─── 17. INPUTS ─────────────────────────────────────────────────── */
.mud-input-outlined-border,
.mud-input-outlined {
    border-radius: var(--radius) !important;
}

[data-theme="dark"] .mud-input-outlined .mud-input,
[data-theme="dark"] .mud-input-outlined .mud-input-slot,
[data-theme="dark"] .mud-input-outlined .mud-input-adornment {
    color: var(--text) !important;
}

[data-theme="dark"] .mud-input-outlined {
    background-color: var(--surface) !important;
}


/* ─── 18. SWITCHES ───────────────────────────────────────────────── */
.mud-switch .mud-switch-track {
    background-color: #9CA3AF !important;
}

[data-theme="dark"] .mud-switch .mud-switch-track,
.mud-theme-dark .mud-switch .mud-switch-track {
    background-color: var(--border) !important;
}

.mud-switch.mud-switch-checked .mud-switch-track {
    background-color: var(--primary) !important;
}


/* ─── 19. CHIPS & BADGES ─────────────────────────────────────────── */
.mud-chip.mud-chip-color-success {
    background-color: var(--success) !important;
    color: #FFFFFF !important;
}

.mud-chip.mud-chip-color-default {
    background-color: var(--surface-2) !important;
    color: var(--muted) !important;
    border: 1px solid var(--border);
}


/* ─── 20. DASHBOARD KPI ──────────────────────────────────────────── */
.dashboard-kpi {
    border-left: 3px solid var(--border);
}
.dashboard-kpi .kpi-caption {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.72rem;
}
.dashboard-kpi .kpi-value {
    font-weight: 700;
}

.dash-kpi-card {
    position: relative;
    overflow: hidden;
    padding: 16px;
}

.dash-kpi-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-kpi-value {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    color: var(--text);
}

.dash-kpi-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.dash-kpi-trend {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
    margin-top: 4px;
}
.dash-kpi-trend.up      { background: var(--success-light); color: var(--success); }
.dash-kpi-trend.warn    { background: var(--warning-light); color: var(--warning); }
.dash-kpi-trend.neutral { background: rgba(113,113,122,0.10); color: var(--muted); }

.dash-kpi-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.dash-kpi-card.accent-green::before  { background: var(--success); }
.dash-kpi-card.accent-blue::before   { background: var(--info); }
.dash-kpi-card.accent-warn::before   { background: var(--warning); }
.dash-kpi-card.accent-cyan::before   { background: #06B6D4; }

.dash-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dash-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}


/* ─── 21. MAPA ───────────────────────────────────────────────────── */
body:has(.cliente-mapa) .main-content,
body:has(.cliente-mapa) .mud-main-content {
    padding: 0 !important;
}

.map-overlay .card {
    border-radius: 0;
}

.map-overlay-left {
    top: 10px;
    left: 10px;
    max-width: 360px;
    max-height: calc(100% - 32px);
    overflow: auto;
}

.map-overlay-collapsed {
    max-height: 44px;
    overflow: hidden;
}

.map-overlay-collapsed .card {
    padding: 6px 10px;
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
}

.map-overlay-collapsed .map-panel-header {
    margin-top: 0;
}

.map-panel-header {
    min-height: 24px;
    align-items: flex-start;
    padding-top: 0;
    margin-top: -12px;
}


/* ─── 22. CALENDARIO ─────────────────────────────────────────────── */
.cal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cal-nav-month {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cal-nav-month-label {
    font-weight: 700;
    min-width: 200px;
    text-align: center;
    text-transform: capitalize;
}

.cal-view-toggle {
    display: flex;
    gap: 2px;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.cal-day-header {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    text-align: center;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    background-color: var(--surface-2);
}

.cal-cell {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    min-height: 90px;
    padding: 6px;
    cursor: pointer;
    transition: background-color 0.12s;
    background-color: var(--surface);
    position: relative;
}

.cal-cell:hover {
    background-color: var(--primary-hover);
}

.cal-cell.cal-other-month {
    background-color: var(--bg);
}

.cal-cell.cal-other-month .cal-day-number {
    color: var(--muted);
    opacity: 0.6;
}

.cal-cell.cal-today .cal-day-number {
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
}

.cal-day-number {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.cal-event {
    font-size: 0.65rem;
    font-weight: 500;
    padding: 2px 5px;
    border-radius: 3px;
    margin-bottom: 2px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
    line-height: 1.4;
}

.cal-event:hover {
    filter: brightness(0.88);
}

.cal-event-scheduled {
    background-color: var(--primary-light);
    color: var(--primary);
    border-left: 3px solid var(--primary);
}

.cal-event-done {
    background-color: var(--success-light);
    color: var(--success);
    border-left: 3px solid var(--success);
}

.cal-event-inactive {
    background-color: var(--surface-2);
    color: var(--muted);
    border-left: 3px solid var(--border);
    text-decoration: line-through;
}

.cal-more {
    font-size: 0.65rem;
    color: var(--primary);
    cursor: pointer;
    padding: 1px 2px;
    font-weight: 500;
}


/* ─── 23. LOADING & ERRO ─────────────────────────────────────────── */
.crud-loading {
    margin: -14px -16px 12px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
}

.loading-progress,
.loading-progress-text {
    pointer-events: none !important;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    background: lightyellow;
    padding: 0.6rem 1.25rem;
}


/* ─── 24. MUD GRID ───────────────────────────────────────────────── */
.mud-grid {
    row-gap: 12px;
}


/* ─── 25. ANIMACOES ──────────────────────────────────────────────── */
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* ─── 26. LOGIN PAGE ─────────────────────────────────────────────── */
.login-page {
    max-width: 420px;
    margin: 48px auto 0;
    padding: 28px;
    border: 1px solid var(--border);
}

.login-page .mud-input-outlined {
    background-color: var(--surface);
}


/* ─── 27. PRINT ──────────────────────────────────────────────────── */
@media print {
    .mud-appbar, .mud-drawer, .sidebar, .navbar {
        display: none !important;
    }
    .main-content {
        padding: 0 !important;
    }
}


/* ─── 28. RESPONSIVIDADE ─────────────────────────────────────────── */
@media (max-width: 599.98px) {
    .main-content {
        padding: 12px;
    }
    .crud-page {
        gap: 12px;
    }
    .page-header {
        padding: 8px 12px;
    }
}

/* ─── 29. DASHBOARD CLIENTE ─────────────────────────────────────── */
.cliente-dashboard {
    --dash-card: #1f2026;
    --dash-border: #30333b;
    --dash-soft-border: rgba(255,255,255,0.07);
    --dash-text: #f8fafc;
    --dash-muted: #98a2b3;
    width: min(100%, 1228px);
    margin: 0 auto;
    gap: 16px !important;
    color: var(--dash-text);
}

.crud-page.cliente-dashboard {
    gap: 16px !important;
}

.cliente-dashboard .page-header {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    align-items: flex-start;
}

.cliente-dashboard .page-header-content {
    grid-column: span 3;
}

.cliente-dashboard .page-title {
    margin: 0 !important;
    color: var(--dash-text) !important;
    font-size: 1.55rem;
    line-height: 1.2;
}

.cliente-dashboard .page-subtitle {
    margin: 6px 0 0 !important;
    color: #b8c4d6 !important;
}

.cliente-dashboard .card {
    background: var(--dash-card) !important;
    border: 1px solid var(--dash-border) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.cliente-dashboard .weather-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
}

.cliente-dashboard .weather-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: 64px;
    padding: 16px 18px !important;
}

.cliente-dashboard .weather-icon {
    width: 38px;
    height: 38px;
}

.cliente-dashboard .weather-fallback-icon {
    color: #facc15;
    font-size: 2.4rem;
}

.cliente-dashboard .weather-temp {
    color: var(--dash-text);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
}

.cliente-dashboard .weather-title,
.cliente-dashboard .weather-meta {
    color: #b8c4d6;
    font-size: 0.75rem;
    line-height: 1.35;
}

.cliente-dashboard .kpi-grid,
.cliente-dashboard .dashboard-panels,
.cliente-dashboard .atalhos-grid {
    display: grid;
    gap: 16px;
}

.cliente-dashboard .kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cliente-dashboard .dashboard-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cliente-dashboard .atalhos-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cliente-dashboard .kpi-card {
    min-height: 144px;
    padding: 24px !important;
    cursor: pointer;
    overflow: hidden;
}

.cliente-dashboard .kpi-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.cliente-dashboard .kpi-label {
    color: #b8c4d6;
    font-size: 0.88rem;
    margin-bottom: 12px;
}

.cliente-dashboard .kpi-main {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.cliente-dashboard .kpi-number {
    color: var(--dash-text);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.cliente-dashboard .kpi-delta {
    font-size: 0.78rem;
    font-weight: 800;
}

.cliente-dashboard .kpi-delta.up { color: #00e676; }
.cliente-dashboard .kpi-delta.down { color: #ff4d4f; }

.cliente-dashboard .kpi-caption {
    display: block;
    color: var(--dash-muted);
    font-size: 0.78rem;
    margin-top: 10px;
}

.cliente-dashboard .kpi-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cliente-dashboard .kpi-icon-circle .mud-icon-root {
    color: #ffffff;
}

.cliente-dashboard .kpi-cyan { background: #06b6d4; }
.cliente-dashboard .kpi-green { background: #00c982; }
.cliente-dashboard .kpi-pink { background: #ff2d63; }
.cliente-dashboard .kpi-orange { background: #ff9800; }

.cliente-dashboard .kpi-sparkline {
    width: 86%;
    height: 42px;
    margin-top: 28px;
    background: url("data:image/svg+xml,%3Csvg width='220' height='42' viewBox='0 0 220 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 31 C24 27 30 25 48 28 C68 31 75 30 92 21 C108 13 122 20 140 19 C158 17 164 11 182 14 C198 16 207 17 220 19' fill='none' stroke='%232F80FF' stroke-width='3'/%3E%3C/svg%3E") left center / 100% 42px no-repeat;
}

.cliente-dashboard .card-title {
    color: #2f80ff !important;
    font-size: 1.12rem;
    font-weight: 800;
}

.cliente-dashboard .list-header {
    margin-bottom: 22px;
}

.cliente-dashboard .mud-button-root.mud-button-text {
    color: #2f80ff !important;
    font-weight: 700;
    text-transform: none;
}

.cliente-dashboard .donut-wrap {
    display: flex;
    justify-content: center;
    padding: 10px 0 14px;
}

.cliente-dashboard .donut-wrap svg {
    width: 140px !important;
    height: 140px !important;
}

.cliente-dashboard .donut-legend {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cliente-dashboard .legend-row {
    display: grid;
    grid-template-columns: 12px 1fr 28px 36px;
    align-items: center;
    gap: 8px;
    color: var(--dash-text);
    font-size: 0.9rem;
}

.cliente-dashboard .legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.cliente-dashboard .legend-val {
    font-weight: 800;
    text-align: right;
}

.cliente-dashboard .legend-pct {
    color: #7d8798;
    font-size: 0.82rem;
    text-align: right;
}

.cliente-dashboard .sched-list {
    display: flex;
    flex-direction: column;
}

.cliente-dashboard .sched-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 17px 0;
    border-bottom: 1px solid var(--dash-soft-border);
}

.cliente-dashboard .sched-item:first-child {
    padding-top: 2px;
}

.cliente-dashboard .sched-item:last-child {
    border-bottom: 0;
}

.cliente-dashboard .sched-date-block {
    text-align: center;
}

.cliente-dashboard .sched-weekday {
    color: #8e98aa;
    font-size: 0.72rem;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.cliente-dashboard .sched-day {
    color: var(--dash-text);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
}

.cliente-dashboard .sched-month {
    color: #7f8aa0;
    font-size: 0.78rem;
    margin-top: 7px;
    text-transform: uppercase;
}

.cliente-dashboard .sched-title {
    color: var(--dash-text);
    font-size: 0.98rem;
    font-weight: 800;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cliente-dashboard .sched-hour,
.cliente-dashboard .sched-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b8c4d6;
    font-size: 0.86rem;
}

.cliente-dashboard .sched-hour {
    color: #b8d1ff;
    margin-bottom: 6px;
}

.cliente-dashboard .sched-hour .mud-icon-root,
.cliente-dashboard .sched-sub .mud-icon-root {
    color: #3d8bff;
    font-size: 1rem;
}

.cliente-dashboard .new-schedule-button {
    width: 100%;
    height: 40px;
    margin-top: 18px !important;
    border-radius: 8px !important;
    background: #246bff !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: none !important;
}

.cliente-dashboard .alert-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cliente-dashboard .alert-notif {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    min-height: 106px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.cliente-dashboard .alert-notif-critico {
    background: rgba(127,29,29,0.42);
    border-color: rgba(239,68,68,0.56);
}

.cliente-dashboard .alert-notif-aviso {
    background: rgba(113,78,12,0.38);
    border-color: rgba(250,204,21,0.44);
}

.cliente-dashboard .alert-notif-info {
    background: rgba(30,64,175,0.34);
    border-color: rgba(59,130,246,0.55);
}

.cliente-dashboard .alert-notif-title {
    color: var(--dash-text);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.35;
}

.cliente-dashboard .alert-notif-time {
    color: #8e98aa;
    font-size: 0.78rem;
    margin-top: 12px;
}

.cliente-dashboard .chart-card {
    padding: 26px 24px 20px !important;
}

.cliente-dashboard .chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.cliente-dashboard .chart-subtitle {
    color: var(--dash-muted);
    font-size: 0.86rem;
    margin-top: 8px;
}

.cliente-dashboard .chart-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cliente-dashboard .chart-filter a {
    min-width: 62px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 0;
    background: #3a3d47;
    color: #e5e7eb;
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.cliente-dashboard .chart-filter a.active {
    background: #246bff;
    color: #ffffff;
}

.cliente-dashboard .chart-wrap {
    height: 250px;
}

.cliente-dashboard .delivery-chart {
    display: block;
    width: 100%;
    height: 100%;
}

.cliente-dashboard .delivery-chart .chart-grid {
    stroke: rgba(59,130,246,0.22);
    stroke-dasharray: 3 4;
    stroke-width: 1;
}

.cliente-dashboard .delivery-chart .chart-grid.vertical {
    stroke: rgba(59,130,246,0.18);
}

.cliente-dashboard .delivery-chart .chart-axis {
    fill: #b8c4d6;
    font-size: 11px;
}

.cliente-dashboard .delivery-chart .chart-line {
    stroke: #2f80ff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cliente-dashboard .atalho-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 114px;
    padding: 18px 10px !important;
    cursor: pointer;
    text-align: center;
}

.cliente-dashboard .quick-access-title {
    color: var(--dash-text) !important;
    font-weight: 700;
}

.cliente-dashboard > .mud-typography-subtitle2.mud-secondary-text {
    color: var(--dash-text) !important;
    font-weight: 700;
}

.cliente-dashboard .atalho-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.cliente-dashboard .atalho-icon-wrap .mud-icon-root {
    color: #d7dbe3;
    font-size: 2rem;
}

.cliente-dashboard .atalho-label {
    color: var(--dash-text);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.25;
}

@media (max-width: 1199.98px) {
    .cliente-dashboard .kpi-grid,
    .cliente-dashboard .dashboard-panels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cliente-dashboard .page-header {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cliente-dashboard .page-header-content {
        grid-column: span 1;
    }

    .cliente-dashboard .atalhos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 699.98px) {
    .cliente-dashboard .kpi-grid,
    .cliente-dashboard .dashboard-panels,
    .cliente-dashboard .atalhos-grid {
        grid-template-columns: 1fr;
    }

    .cliente-dashboard .weather-card {
        min-width: 0;
        width: 100%;
    }

    .cliente-dashboard .chart-header {
        flex-direction: column;
    }

    .cliente-dashboard .chart-filter {
        width: 100%;
    }

    .cliente-dashboard .chart-filter a {
        flex: 1;
        min-width: 0;
    }
}

/* Overrides de tema do dashboard cliente */
.cliente-dashboard {
    --dash-card: #ffffff;
    --dash-card-2: #f8fafc;
    --dash-border: #d8e0ea;
    --dash-border-soft: rgba(52,64,84,0.09) !important;
    --dash-text: #344054 !important;
    --dash-muted: #667085 !important;
    --dash-subtle: #475467 !important;
    --dash-link: #1f6fff;
    --dash-filter-bg: #e8edf5;
    --dash-filter-text: #344054;
    --dash-chart-grid: rgba(47,128,255,0.2);
    --dash-alert-critico-bg: rgba(254,226,226,0.85);
    --dash-alert-critico-border: rgba(239,68,68,0.38);
    --dash-alert-aviso-bg: rgba(254,243,199,0.9);
    --dash-alert-aviso-border: rgba(217,119,6,0.34);
    --dash-alert-info-bg: rgba(219,234,254,0.9);
    --dash-alert-info-border: rgba(59,130,246,0.36);
}

.mud-theme-dark .cliente-dashboard,
[data-theme="dark"] .cliente-dashboard {
    --dash-card: #1f2026;
    --dash-card-2: #20242d;
    --dash-border: #30333b;
    --dash-border-soft: rgba(255,255,255,0.07) !important;
    --dash-text: #f8fafc !important;
    --dash-muted: #98a2b3 !important;
    --dash-subtle: #b8c4d6 !important;
    --dash-link: #2f80ff;
    --dash-filter-bg: #3a3d47;
    --dash-filter-text: #e5e7eb;
    --dash-chart-grid: rgba(59,130,246,0.22);
    --dash-alert-critico-bg: rgba(127,29,29,0.42);
    --dash-alert-critico-border: rgba(239,68,68,0.56);
    --dash-alert-aviso-bg: rgba(113,78,12,0.38);
    --dash-alert-aviso-border: rgba(250,204,21,0.44);
    --dash-alert-info-bg: rgba(30,64,175,0.34);
    --dash-alert-info-border: rgba(59,130,246,0.55);
}

.cliente-dashboard .page-header .page-subtitle,
.cliente-dashboard .weather-title,
.cliente-dashboard .weather-meta,
.cliente-dashboard .kpi-label,
.cliente-dashboard .sched-hour,
.cliente-dashboard .sched-sub {
    color: var(--dash-subtle) !important;
}

.cliente-dashboard .card-title,
.cliente-dashboard .mud-button-root.mud-button-text {
    color: var(--dash-link) !important;
}

.cliente-dashboard .weather-refresh {
    margin-left: auto !important;
    opacity: 0.68;
}

.cliente-dashboard .legend-pct,
.cliente-dashboard .sched-weekday,
.cliente-dashboard .sched-month,
.cliente-dashboard .alert-notif-time {
    color: var(--dash-muted);
}

.cliente-dashboard .chart-filter a {
    background: var(--dash-filter-bg);
    color: var(--dash-filter-text);
}

.cliente-dashboard .chart-filter a.active {
    background: #246bff;
    color: #ffffff;
}

.cliente-dashboard .alert-notif-critico {
    background: var(--dash-alert-critico-bg);
    border-color: var(--dash-alert-critico-border);
}

.cliente-dashboard .alert-notif-aviso {
    background: var(--dash-alert-aviso-bg);
    border-color: var(--dash-alert-aviso-border);
}

.cliente-dashboard .alert-notif-info {
    background: var(--dash-alert-info-bg);
    border-color: var(--dash-alert-info-border);
}

.cliente-dashboard .atalho-icon-wrap .mud-icon-root {
    color: var(--dash-subtle);
}

html[data-theme="light"] .cliente-mapa {
    --map-bg: #F4F6FA !important;
    --panel-bg: #FFFFFF !important;
    --panel-bg-2: #F8FAFC !important;
    --panel-border: rgba(52,64,84,0.14) !important;
    --panel-shadow: 0 18px 42px rgba(16,24,40,0.12), 0 0 0 1px rgba(52,64,84,0.04) !important;
    --text-primary: #344054 !important;
    --text-secondary: #475467 !important;
    --text-muted: #667085 !important;
    --panel-hover-bg: rgba(47,128,255,0.07) !important;
    --panel-active-bg: rgba(47,128,255,0.11) !important;
    --panel-soft-border: rgba(52,64,84,0.11) !important;
    --panel-cell-bg: #F8FAFC !important;
    --panel-input-bg: #FFFFFF !important;
    --panel-input-border: rgba(52,64,84,0.18) !important;
    --panel-input-border-hover: rgba(47,128,255,0.42) !important;
    --scroll-thumb: rgba(52,64,84,0.22) !important;
    --row-divider: rgba(52,64,84,0.08) !important;
}

.cliente-mapa .map-shell {
    left: var(--drawer-width, 64px);
}

.sidebar.mud-drawer--closed ~ .mud-main-content .cliente-mapa .map-shell,
.sidebar.mud-drawer--closed + .navbar + .mud-main-content .cliente-mapa .map-shell {
    left: 64px !important;
}

.cliente-mapa .map-vehicle-panel.vp-collapsed .vehicle-panel-card {
    border-left: 0 !important;
    box-shadow: none !important;
}

.cliente-mapa .map-vehicle-panel.vp-collapsed .vp-header {
    border-bottom: 0 !important;
}

html[data-theme="dark"] .cliente-mapa .map-vehicle-sidebar .vehicle-panel-card,
.mud-theme-dark .cliente-mapa .map-vehicle-sidebar .vehicle-panel-card {
    background: var(--sidebar-bg, #1F2026) !important;
    border-color: var(--border, #30333B) !important;
}

html[data-theme="dark"] .cliente-mapa .map-vehicle-sidebar .vp-header,
.mud-theme-dark .cliente-mapa .map-vehicle-sidebar .vp-header,
html[data-theme="dark"] .cliente-mapa .map-vehicle-sidebar .vp-chips,
.mud-theme-dark .cliente-mapa .map-vehicle-sidebar .vp-chips,
html[data-theme="dark"] .cliente-mapa .map-vehicle-sidebar .vp-filters,
.mud-theme-dark .cliente-mapa .map-vehicle-sidebar .vp-filters {
    border-color: var(--border, #30333B) !important;
}

html[data-theme="dark"] .cliente-mapa .events-panel-card,
html[data-theme="dark"] .cliente-mapa .events-toggle-btn,
html[data-theme="dark"] .cliente-mapa .events-table-inner thead,
.mud-theme-dark .cliente-mapa .events-panel-card,
.mud-theme-dark .cliente-mapa .events-toggle-btn,
.mud-theme-dark .cliente-mapa .events-table-inner thead {
    background: var(--sidebar-bg, #1F2026) !important;
}

html[data-theme="dark"] .cliente-mapa .events-panel-card,
html[data-theme="dark"] .cliente-mapa .events-panel-header,
html[data-theme="dark"] .cliente-mapa .events-toggle-btn,
.mud-theme-dark .cliente-mapa .events-panel-card,
.mud-theme-dark .cliente-mapa .events-panel-header,
.mud-theme-dark .cliente-mapa .events-toggle-btn {
    border-color: var(--border, #30333B) !important;
}

.cliente-mapa .map-shell.vehicles-collapsed .events-panel-card {
    border-right: 1px solid var(--border, var(--panel-border)) !important;
}

html[data-theme="dark"] .cliente-mapa .map-vehicle-panel.vp-collapsed .vp-header-actions .mud-icon-button,
.mud-theme-dark .cliente-mapa .map-vehicle-panel.vp-collapsed .vp-header-actions .mud-icon-button {
    color: #C8CDD4 !important;
}

.cliente-mapa .map-vehicle-panel.vp-collapsed .vp-header-actions .mud-icon-button-label {
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 16C5.67 16 5 15.33 5 14.5S5.67 13 6.5 13 8 13.67 8 14.5 7.33 16 6.5 16zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 16C5.67 16 5 15.33 5 14.5S5.67 13 6.5 13 8 13.67 8 14.5 7.33 16 6.5 16zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cliente-mapa .map-vehicle-panel.vp-collapsed .vp-header-actions .mud-icon-root {
    opacity: 0;
}

/* ── Admin Dashboard — Atalhos (replica .cliente-dashboard) ─────────────────── */
.admin-dashboard .atalhos-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.admin-dashboard .atalho-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 114px;
    padding: 18px 10px !important;
    cursor: pointer;
    text-align: center;
}

.admin-dashboard .atalho-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--text);
    margin-bottom: 10px;
}

.admin-dashboard .atalho-icon-wrap .mud-icon-root {
    font-size: 1.4rem;
}

.admin-dashboard .atalho-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
}

@media (max-width: 768px) {
    .admin-dashboard .atalhos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
