.leaflet-popup-content-wrapper{background:#fff;border-radius:4px;box-shadow:0 2px 8px #0003}.leaflet-popup-content-wrapper .leaflet-popup-content{min-width:270px;margin:0;padding:0}.leaflet-popup-tip{background:#fff}.electoral-popup .popup-content{font-size:14px;line-height:1.4}.electoral-popup .popup-content h3{color:#333;margin:10px 0 30px 10px;font-size:20px;font-weight:700}.electoral-popup .chart-container{margin-top:15px}.electoral-popup .bar-container{align-items:center;min-width:0;min-height:35px;margin-bottom:2px;padding:4px 0;animation:.3s ease-out backwards svelte-14io5v1-fadeIn;display:flex}.electoral-popup .bar-and-label-wrapper{flex:1;align-items:center;gap:7px;min-width:0;margin-right:70px;display:flex;position:relative}.electoral-popup .bar{transform-origin:0;border-radius:2px;flex-shrink:0;max-width:100%;height:35px;transition:width .3s;animation:.6s ease-out svelte-14io5v1-barGrow}.electoral-popup .bar-label{white-space:nowrap;z-index:1;min-width:60px;font-size:14px;position:static;right:auto}.electoral-popup .bar-container img{flex-shrink:0;width:75px;margin-right:10px}@keyframes svelte-14io5v1-fadeIn{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes svelte-14io5v1-barGrow{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@media (max-width:800px){.electoral-popup .popup-content h3{margin:8px 0 20px 8px;font-size:18px}.electoral-popup .bar-container{min-height:30px;padding:3px 0}.electoral-popup .bar{height:30px}.electoral-popup .bar-container img{width:35px;margin-right:5px}.electoral-popup .bar-label{min-width:50px;font-size:12px}.leaflet-popup-content-wrapper .leaflet-popup-content{min-width:250px}}@media (max-width:500px){.electoral-popup .popup-content h3{margin:6px 0 15px 6px;font-size:16px}.electoral-popup .bar-container{min-height:25px;padding:2px 0}.electoral-popup .bar{height:25px}.electoral-popup .bar-container img{width:30px;margin-right:3px}.electoral-popup .bar-label{min-width:45px;font-size:11px}.leaflet-popup-content-wrapper .leaflet-popup-content{min-width:220px}}.electoral-map-container.svelte-14io5v1{background:#f8fafc;flex-direction:column;width:100%;height:100%;padding:1.5rem;display:flex}.map-header.svelte-14io5v1{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.map-header.svelte-14io5v1 h2:where(.svelte-14io5v1){color:#1f2937;margin:0;font-size:1.5rem;font-weight:600}.map-controls.svelte-14io5v1{align-items:center;gap:1rem;display:flex}.filter-section.svelte-14io5v1{background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;align-items:center;gap:.75rem;padding:.75rem 1rem;display:flex;box-shadow:0 1px 3px #0000001a}.filter-section.svelte-14io5v1 label:where(.svelte-14io5v1){color:#374151;white-space:nowrap;font-size:.875rem;font-weight:600}.clear-filter-btn.svelte-14io5v1{color:#fff;cursor:pointer;white-space:nowrap;background:#ef4444;border:none;border-radius:.375rem;padding:.5rem .75rem;font-size:.875rem;transition:background-color .2s}.clear-filter-btn.svelte-14io5v1:hover{background:#dc2626}.map-wrapper.svelte-14io5v1{contain:layout;border-radius:.75rem;flex:1;min-height:600px;display:none;position:relative;overflow:visible;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.map-wrapper.visible.svelte-14io5v1{opacity:1;display:block}.map-wrapper.initializing.svelte-14io5v1{opacity:0;pointer-events:none;display:block}.map-element.svelte-14io5v1{background:#f8fafd;border-radius:.75rem;width:100%;height:100%;min-height:600px}.map-error.svelte-14io5v1,.map-loading.svelte-14io5v1,.map-placeholder.svelte-14io5v1{border:2px dashed #d1d5db;border-radius:.75rem;flex:1;justify-content:center;align-items:center;min-height:500px;display:flex}.map-error.svelte-14io5v1{background:linear-gradient(135deg,#fef2f2 0%,#fee2e2 100%);border-color:#fca5a5}.map-loading.svelte-14io5v1{background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%);border-color:#93c5fd}.map-placeholder.svelte-14io5v1{background:linear-gradient(135deg,#f9fafb 0%,#f3f4f6 100%);border-color:#d1d5db}.error-content.svelte-14io5v1,.loading-content.svelte-14io5v1,.placeholder-content.svelte-14io5v1{text-align:center;max-width:400px;padding:2rem}.error-content.svelte-14io5v1 h3:where(.svelte-14io5v1),.loading-content.svelte-14io5v1 h3:where(.svelte-14io5v1),.placeholder-content.svelte-14io5v1 h3:where(.svelte-14io5v1){margin:1rem 0 .5rem;font-size:1.25rem;font-weight:600}.error-content.svelte-14io5v1{color:#dc2626}.loading-content.svelte-14io5v1{color:#2563eb}.placeholder-content.svelte-14io5v1{color:#6b7280}.error-icon.svelte-14io5v1,.placeholder-icon.svelte-14io5v1{margin-bottom:1rem;font-size:3rem}.loading-spinner.svelte-14io5v1{border:4px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;width:48px;height:48px;margin:0 auto 1rem;animation:1s linear infinite svelte-14io5v1-spin}@keyframes svelte-14io5v1-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width:768px){.electoral-map-container.svelte-14io5v1{padding:1rem}.map-header.svelte-14io5v1{flex-direction:column;align-items:stretch}.filter-section.svelte-14io5v1{justify-content:center}}.custom-tooltip{text-align:center;background:#fff;border:1px solid #ccc;width:auto;min-width:350px;max-width:350px;padding:10px;box-shadow:0 2px 4px #0003}.custom-tooltip h4{color:#333;margin:8px 0;font-size:18px;font-weight:700}.custom-tooltip h3{margin-bottom:30px}.leaflet-popup-content-wrapper .leaflet-popup-content{min-width:270px}.popup-content{font-size:14px;line-height:1.4}.popup-content h3{margin:10px 0 30px 10px;font-size:20px}.chart-container{margin-top:15px}.bar-container{align-items:center;min-width:0;min-height:35px;margin-bottom:2px;padding:4px 0;display:flex}.bar-and-label-wrapper{flex:1;align-items:center;gap:7px;min-width:0;margin-right:70px;display:flex;position:relative}.bar{transform-origin:0;border-radius:2px;flex-shrink:0;max-width:100%;height:35px}.bar-label{white-space:nowrap;z-index:1;min-width:60px;font-size:14px;position:static;right:auto}.party-name{cursor:help;position:relative}.bar-container img{flex-shrink:0;width:75px;margin-right:10px}@media (hover:hover){.party-name:hover:after{content:attr(title);z-index:1000;white-space:nowrap;background:#fff;border-radius:4px;padding:5px 10px;font-size:.9em;position:absolute;top:100%;left:0;box-shadow:0 2px 4px #0003}}@media (hover:none){.party-name:active:after{content:attr(title);z-index:1000;white-space:nowrap;background:#fff;border-radius:6px;padding:8px 12px;font-size:14px;position:absolute;top:100%;left:0;box-shadow:0 4px 8px #0003}.bar-container{min-height:40px;padding:5px 0}}@media (max-width:800px){.custom-tooltip{min-width:300px;max-width:300px;padding:8px;font-size:12px}.bar-container{min-height:30px;padding:3px 0}.bar{height:30px}.bar-container img{width:35px;margin-right:5px}.popup-content h3{font-size:20px}.bar-label{min-width:50px;font-size:14px}}@media (max-width:500px){.custom-tooltip h4{color:#333;margin:8px 0;font-size:13px;font-weight:700}.custom-tooltip h3{margin-bottom:30px}.popup-content h3{margin:5px 0 20px 5px;font-size:15px}.custom-tooltip{min-width:220px;max-width:220px;padding:8px;font-size:12px}.bar-container{min-height:20px;padding:3px 0}.bar{height:30px}.bar-container img{width:35px;margin-right:5px}.bar-label{font-size:12px}}
