/* dmap webGIS pro styles */
.dmap-wgp { border: 1px solid #e5e7eb; background: #fff; font-family: Vazirmatn, Vazir, sans-serif; border-radius: 10px; overflow: hidden; }
.dmap-wgp .dmap-wgp-toolbar { display: flex; gap: 8px; padding: 8px; border-bottom: 1px solid #eee; align-items: center; flex-wrap: wrap; background: #f8fafc; position: sticky; top: 0; z-index: 10; }
.dmap-wgp .dmap-btn { background: #16a34a; color: #fff; border: 0; padding: 8px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; }
.dmap-wgp .dmap-btn:hover { opacity: .92; }
.dmap-wgp .dmap-btn:active { transform: translateY(1px); }
.dmap-wgp .dmap-export-menu { position: relative; }
.dmap-wgp .dmap-export-menu .dmap-export-dd { display: none; position: absolute; top: 36px; left: 0; background: #fff; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; z-index: 999; }
.dmap-wgp .dmap-export-menu:hover .dmap-export-dd { display: block; }
.dmap-wgp .dmap-export-dd button { display: block; background: #fff; color: #111; padding: 8px 12px; border: 0; width: 200px; text-align: right; }
.dmap-wgp .dmap-export-dd button:hover { background: #f3f4f6; }

.dmap-wgp .dmap-basemap-select { border: 1px solid #cbd5e1; border-radius: 8px; padding: 6px 8px; background: #fff; }

.dmap-wgp .dmap-wgp-content { display: grid; grid-template-columns: 260px 1fr; grid-template-rows: 1fr; min-height: 260px; }
.dmap-wgp .dmap-wgp-content.mode-map .dmap-table-wrap { display: none; }
.dmap-wgp .dmap-wgp-content.mode-table .dmap-map { display: none; }
.dmap-wgp .dmap-wgp-content.mode-both { grid-template-rows: 1fr 260px; grid-template-columns: 260px 1fr; grid-template-areas: "sidebar map" "sidebar table"; }
.dmap-wgp .dmap-sidebar { grid-area: sidebar; border-right: 1px solid #eee; padding: 8px; overflow:auto; }
.dmap-wgp .dmap-map { grid-area: map; }
.dmap-wgp .dmap-table-wrap { grid-area: table; padding: 8px; overflow:auto; background: #fff; }
.dmap-wgp .dmap-layer-item { padding: 6px 8px; border: 1px dashed #ddd; border-radius: 8px; margin-bottom: 6px; }
.dmap-wgp .dmap-statusbar { padding: 6px 10px; font-size: 12px; color: #374151; border-top: 1px solid #eee; display: flex; justify-content: space-between; background: #fafafa; }
.dmap-wgp .dmap-projection-switch label { margin-inline-start: 10px; }
