/* datamap.css */
.datamap-setup-root {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.datamap-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
    flex-wrap: nowrap;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    overflow: hidden;
}

[data-bs-theme="dark"] .datamap-toolbar {
    background: #1a1a1a;
    border-bottom-color: #333;
}
.datamap-search {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    min-width: 160px;
    background: #fff;
    color: #333;
}

[data-bs-theme="dark"] .datamap-search {
    border-color: #444;
    background: #2a2a2a;
    color: #e0e0e0;
}

[data-bs-theme="dark"] .datamap-search::placeholder {
    color: #888;
}
.datamap-filter-tags {
    font-size: 11px;
    color: #1976D2;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-bs-theme="dark"] .datamap-filter-tags {
    color: #64B5F6;
}

.datamap-status {
    margin-left: auto;
    font-size: 12px;
    color: #666;
    max-width: 40%;
}

[data-bs-theme="dark"] .datamap-status {
    color: #b0b0b0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.datamap-map-container {
    flex: 1;
    width: 100%;
    position: relative;
}



/* === Duinker SVG iconen voor toolbar === */
.dm-icon-draw,
.dm-icon-align,
.dm-icon-align-left,
.dm-icon-save,
.dm-icon-reset,
.dm-icon-rotate-left,
.dm-icon-rotate-right,
.dm-icon-fit,
.dm-icon-measure,
.dm-icon-arrow-up,
.dm-icon-arrow-down,
.dm-icon-arrow-left,
.dm-icon-arrow-right {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.dm-icon-draw {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 000-1.41l-2.34-2.34a1 1 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 000-1.41l-2.34-2.34a1 1 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-align {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h4v16H4V4zm6 2h4v12h-4V6zm6 3h4v6h-4V9z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h4v16H4V4zm6 2h4v12h-4V6zm6 3h4v6h-4V9z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-align-left {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 4h4v16h-4V4zm-6 2h4v12h-4V6zm-6 3h4v6H4V9z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 4h4v16h-4V4zm-6 2h4v12h-4V6zm-6 3h4v6H4V9z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-save {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V7l-4-4zm-5 16a3 3 0 110-6 3 3 0 010 6zm3-10H5V5h10v4z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V7l-4-4zm-5 16a3 3 0 110-6 3 3 0 010 6zm3-10H5V5h10v4z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-reset {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5V1L7 6l5 5V7a6 6 0 016 6 6 6 0 01-6 6 6 6 0 01-5.65-4H4.26A8 8 0 0012 21a8 8 0 008-8 8 8 0 00-8-8z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5V1L7 6l5 5V7a6 6 0 016 6 6 6 0 01-6 6 6 6 0 01-5.65-4H4.26A8 8 0 0012 21a8 8 0 008-8 8 8 0 00-8-8z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-rotate-left {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.11 8.53L5.7 7.11C4.8 8.27 4.24 9.61 4.07 11h2.02c.14-.87.49-1.72 1.02-2.47zM6.09 13H4.07c.17 1.39.72 2.73 1.62 3.89l1.41-1.42A6.07 6.07 0 016.09 13zm1.01 5.32c1.16.9 2.51 1.44 3.9 1.61V17.9a6.07 6.07 0 01-2.49-1.02l-1.41 1.44zM13 4.07V1L8.45 5.55 13 10V6.09a6 6 0 015.91 6.91h2.02A8 8 0 0013 4.07z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.11 8.53L5.7 7.11C4.8 8.27 4.24 9.61 4.07 11h2.02c.14-.87.49-1.72 1.02-2.47zM6.09 13H4.07c.17 1.39.72 2.73 1.62 3.89l1.41-1.42A6.07 6.07 0 016.09 13zm1.01 5.32c1.16.9 2.51 1.44 3.9 1.61V17.9a6.07 6.07 0 01-2.49-1.02l-1.41 1.44zM13 4.07V1L8.45 5.55 13 10V6.09a6 6 0 015.91 6.91h2.02A8 8 0 0013 4.07z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-rotate-right {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.55 5.55L11 1v3.07A8 8 0 003.07 13h2.02A6 6 0 0111 6.09V10l4.55-4.45zM16.89 8.53c.53.75.88 1.6 1.02 2.47h2.02c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42zm.02 4.47c-.14.87-.49 1.72-1.02 2.47l1.41 1.42c.9-1.16 1.45-2.5 1.62-3.89h-2.01zm-1.01 5.32l-1.41-1.42c-.75.53-1.6.88-2.49 1.02v2.02c1.39-.17 2.73-.72 3.9-1.62z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.55 5.55L11 1v3.07A8 8 0 003.07 13h2.02A6 6 0 0111 6.09V10l4.55-4.45zM16.89 8.53c.53.75.88 1.6 1.02 2.47h2.02c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42zm.02 4.47c-.14.87-.49 1.72-1.02 2.47l1.41 1.42c.9-1.16 1.45-2.5 1.62-3.89h-2.01zm-1.01 5.32l-1.41-1.42c-.75.53-1.6.88-2.49 1.02v2.02c1.39-.17 2.73-.72 3.9-1.62z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-fit {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-measure {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3a1 1 0 00-1 1v10a1 1 0 001 1h18a1 1 0 001-1V7a1 1 0 00-1-1zM4 16V8h1v3h2V8h1v5h2V8h1v3h2V8h1v5h2V8h1v3h2V8h1v8H4z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3a1 1 0 00-1 1v10a1 1 0 001 1h18a1 1 0 001-1V7a1 1 0 00-1-1zM4 16V8h1v3h2V8h1v3h2V8h1v5h2V8h1v3h2V8h1v3h2V8h1v8H4z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-arrow-up {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l-8 8h5v8h6v-8h5z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l-8 8h5v8h6v-8h5z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-arrow-down {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20l8-8h-5V4H9v8H4z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20l8-8h-5V4H9v8H4z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-arrow-left {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12l8-8v5h8v6h-8v5z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12l8-8v5h8v6h-8v5z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-arrow-right {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12l-8-8v5H4v6h8v5z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12l-8-8v5H4v6h8v5z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.datamap-toolbar-separator {
    display: inline-block;
    width: 1px;
    height: 24px;
    background-color: rgba(128, 128, 128, 0.3);
    margin: 0 4px;
    vertical-align: middle;
}

/* === Data Heatmap Dashboard — filter panel bovenkant uitlijning === */

/* Filter panel: content bovenkant uitlijnen ipv onderkant */
.dxbl-dashboard .dxbl-dashboard-item-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
}

.dxbl-dashboard .dxbl-dashboard-item-body > * {
    flex-shrink: 0;
}

/* DetailView in DashboardViewItem: bovenkant */
.dxbl-dashboard .dxbl-sc {
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

/* Splitter handle tussen filter en kaart */
.dm-splitter {
    width: 6px;
    cursor: col-resize;
    background: #ccc;
    flex-shrink: 0;
    transition: background 0.2s;
    z-index: 5;
}

.dm-splitter:hover,
.dm-splitter.active {
    background: #1976D2;
}

[data-bs-theme="dark"] .dm-splitter {
    background: #555;
}

[data-bs-theme="dark"] .dm-splitter:hover,
[data-bs-theme="dark"] .dm-splitter.active {
    background: #64B5F6;
}

/* === Data Heatmap — hergebruikt datamap-setup-root + datamap-toolbar + datamap-map-container === */

.dm-combo { width: 160px; }
.dm-combo-sm { width: 120px; }
.dm-combo-xs { width: 80px; }
.dm-date { width: 130px; }

.datamap-toolbar .dm-combo,
.datamap-toolbar .dm-combo-sm,
.datamap-toolbar .dm-combo-xs,
.datamap-toolbar .dm-date {
    display: inline-block;
    vertical-align: middle;
}

.datamap-range-slider {
    display: inline-block;
    width: 300px !important;
    max-width: 300px !important;
    min-width: 300px !important;
    vertical-align: middle;
    flex-shrink: 0;
}

.datamap-range-slider .dx-slider {
    margin: 0;
    width: 100% !important;
}

/* Range slider handles kleiner en rond */
.datamap-range-slider .dx-slider-handle {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    margin-top: -8px !important;
    margin-right: -8px !important;
}

.datamap-range-slider .dx-slider-handle::after {
    display: none !important;
}

.datamap-range-slider .dx-slider-bar {
    height: 4px !important;
}

.datamap-range-slider .dx-slider-range {
    height: 4px !important;
}

.datamap-heatmap-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
    z-index: 10;
}

[data-bs-theme="dark"] .datamap-heatmap-toolbar {
    background: rgba(30, 30, 30, 0.95);
    border-bottom-color: #444;
}

.datamap-heatmap-toolbar label {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.datamap-heatmap-toolbar select,
.datamap-heatmap-toolbar input[type="date"] {
    font-size: 12px;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
}

[data-bs-theme="dark"] .datamap-heatmap-toolbar select,
[data-bs-theme="dark"] .datamap-heatmap-toolbar input[type="date"] {
    background: #2a2a2a;
    border-color: #555;
    color: #eee;
}

.datamap-heatmap-toolbar .timeline-date {
    font-size: 13px;
    font-weight: 600;
    min-width: 90px;
    text-align: center;
}

.datamap-toolbar .timeline-speed,
.datamap-toolbar .timeline-mode {
    font-size: 12px;
    padding: 2px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
}

[data-bs-theme="dark"] .datamap-toolbar .timeline-speed,
[data-bs-theme="dark"] .datamap-toolbar .timeline-mode {
    background: #2a2a2a;
    border-color: #555;
    color: #eee;
}

.timeline-date {
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
}

.datamap-status {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
}

.dm-play-btn {
    padding: 2px 6px !important;
    min-width: auto !important;
    flex-shrink: 0;
}

.datamap-heatmap-legend {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

.datamap-heatmap-legend-bar {
    width: 80px;
    height: 10px;
    border-radius: 3px;
    background: linear-gradient(to right, #00C853, #FFEB3B, #FF1744);
}

.datamap-heatmap-legend-bar.datamap-legend-pct {
    background: linear-gradient(to right, #FF1744, #FFEB3B, #00C853);
}

.datamap-heatmap-status {
    font-size: 12px;
    color: #666;
    margin-left: auto;
}

[data-bs-theme="dark"] .datamap-heatmap-status {
    color: #aaa;
}

/* Play/pause button styling */
.dm-icon-play,
.dm-icon-pause {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.dm-icon-play {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-pause {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-load {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-icon-info {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3C/svg%3E") no-repeat center;
    background-color: currentColor;
}

.dm-info-btn {
    padding: 2px 8px !important;
    min-width: auto !important;
    flex-shrink: 0;
}

/* Info paneel overlay */
.datamap-info-panel {
    position: absolute;
    top: 64px;
    right: 12px;
    width: 320px;
    max-height: calc(100% - 88px);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.datamap-info-header {
    cursor: move;
    user-select: none;
}

.datamap-info-panel.is-dragging {
    transition: none;
    opacity: 0.9;
}

[data-bs-theme="dark"] .datamap-info-panel {
    background: rgba(30, 30, 30, 0.97);
    border-color: #555;
    color: #eee;
}

.datamap-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    background: #f5f5f5;
}

[data-bs-theme="dark"] .datamap-info-header {
    background: #222;
    border-bottom-color: #444;
}

.datamap-info-close {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0 4px;
}

.datamap-info-close:hover {
    color: #000;
}

[data-bs-theme="dark"] .datamap-info-close {
    color: #aaa;
}

[data-bs-theme="dark"] .datamap-info-close:hover {
    color: #fff;
}

.datamap-info-body {
    flex: 1;
    min-height: 0;
    padding: 10px 12px;
    font-size: 12px;
    overflow-y: auto;
}

.datamap-info-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    margin: 0 0 10px;
}

.datamap-info-list dt {
    font-weight: 600;
    color: #555;
}

[data-bs-theme="dark"] .datamap-info-list dt {
    color: #aaa;
}

.datamap-info-list dd {
    margin: 0;
    text-align: right;
}

.datamap-info-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 8px;
    margin-top: 4px;
}

[data-bs-theme="dark"] .datamap-info-section {
    border-top-color: #444;
}

.datamap-info-section-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #555;
    cursor: pointer;
    user-select: none;
    list-style: none;
    padding: 2px 0;
}

.datamap-info-section-title:hover {
    color: #000;
}

[data-bs-theme="dark"] .datamap-info-section-title:hover {
    color: #fff;
}

.datamap-info-section-title::-webkit-details-marker {
    display: none;
}

.datamap-info-section-title::before {
    content: '\25B6';
    font-size: 9px;
    margin-right: 6px;
    display: inline-block;
    transition: transform 0.15s;
    color: #888;
}

details[open] > .datamap-info-section-title::before {
    transform: rotate(90deg);
}

[data-bs-theme="dark"] .datamap-info-section-title {
    color: #aaa;
}

.datamap-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.datamap-info-table td {
    padding: 2px 4px;
    border-bottom: 1px solid #f0f0f0;
}

[data-bs-theme="dark"] .datamap-info-table td {
    border-bottom-color: #333;
}

.datamap-info-code {
    font-weight: 600;
    width: 40px;
    white-space: nowrap;
}

.datamap-info-value {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.datamap-info-emp-type {
    color: #888;
    font-size: 10px;
    white-space: nowrap;
}

[data-bs-theme="dark"] .datamap-info-emp-type {
    color: #999;
}

.datamap-info-forecast-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: #FF9800;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.datamap-weather-low {
    color: #D32F2F;
    font-weight: 600;
}

[data-bs-theme="dark"] .datamap-weather-low {
    color: #EF5350;
}

.datamap-info-thead th {
    font-size: 10px;
    color: #777;
    font-weight: 600;
    padding: 2px 4px;
    border-bottom: 1px solid #ddd;
}

[data-bs-theme="dark"] .datamap-info-thead th {
    color: #aaa;
    border-bottom-color: #555;
}
