/* Page: admin/stats/geographic.blade.php */

.filter-bar { background: var(--card-bg); padding: 1.5rem; border-radius: calc(16px * var(--radius-scale)); border: 1px solid var(--border); margin-bottom: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; }
.filter-group { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-group label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }
.filter-form { display: contents; }
.select-wrap { position: relative; }
.select-caret-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 0.7rem; pointer-events: none; color: var(--text-muted); }

.custom-select { appearance: none; height: 42px; box-sizing: border-box; background: var(--bg-main); border: 1px solid var(--border); padding: 0 2.5rem 0 1rem; border-radius: calc(8px * var(--radius-scale)); color: var(--text-main); cursor: pointer; font-size: 0.85rem; min-width: 140px; }
.custom-input { height: 42px; box-sizing: border-box; background: var(--bg-main); border: 1px solid var(--border); padding: 0 1rem; border-radius: calc(8px * var(--radius-scale)); font-size: 0.85rem; color: var(--text-main); }

.btn-reset { display: inline-flex; align-items: center; border: 1px solid var(--border); background: var(--bg-main); color: var(--text-muted); padding: 0 1rem; height: 42px; box-sizing: border-box; border-radius: calc(8px * var(--radius-scale)); text-decoration: none; font-size: 0.85rem; font-weight: 600; }

.flag-icon { margin-right: 8px; }

.map-panel { background: var(--card-bg); border: 1px solid var(--border); border-radius: calc(16px * var(--radius-scale)); padding: 1.5rem; margin-bottom: 2rem; }
.map-panel-title { font-size: 1.1rem; margin: 0 0 1.5rem; }
#visitor-map { height: 420px; width: 100%; }
#visitor-map .jvm-region { stroke: var(--card-bg); stroke-width: 0.5; }
#visitor-map .jvm-zoom-btn { display: none; }

.geo-panel { background: var(--card-bg); border: 1px solid var(--border); border-radius: calc(16px * var(--radius-scale)); padding: 1.5rem; }

.geo-panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.geo-panel-title { font-size: 1.1rem; margin: 0; }
.geo-panel-total { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

.geo-rows { display: flex; flex-direction: column; }

.geo-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.geo-row:last-child { border-bottom: none; }

.geo-row-label { display: flex; align-items: center; font-size: 0.9rem; color: var(--text-main); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.geo-row-value { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; font-size: 0.9rem; color: var(--text-main); flex-shrink: 0; }
.geo-row-pct { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; min-width: 42px; text-align: right; }

.geo-empty { text-align: center; padding: 4rem; color: var(--text-muted); }
