.traffic-hero{background:linear-gradient(135deg,#0ea5e9 0%,#0284c7 100%);color:white;padding:2rem;border-radius:16px;margin-bottom:1.5rem}.traffic-hero h1{font-size:1.75rem;font-weight:700;margin:0 0 0.5rem;display:flex;align-items:center;gap:0.75rem}.traffic-hero p{margin:0;opacity:0.9}.back-link{display:inline-flex;align-items:center;gap:0.5rem;color:rgba(255,255,255,0.8);text-decoration:none;font-size:0.875rem;margin-bottom:1rem;transition:color 0.2s}.back-link:hover{color:white}.traffic-container{max-width:1400px;margin:0 auto;padding:0 1rem 3rem}.stats-bar{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem;padding:1rem;background:var(--bs-body-bg);border-radius:12px;border:1px solid var(--bs-border-color)}.stats-bar .stat-item{display:flex;align-items:center;gap:0.5rem;padding:0.5rem 1rem;background:var(--bs-tertiary-bg);border-radius:8px}.stats-bar .stat-count{font-size:1.25rem;font-weight:700;color:var(--bs-primary)}.stats-bar .stat-label{font-size:0.875rem;color:var(--bs-secondary-color)}.last-update{margin-left:auto;font-size:0.8rem;color:var(--bs-secondary-color);display:flex;align-items:center;gap:0.5rem}.country-filters{display:flex;flex-wrap:wrap;gap:0.5rem;margin-bottom:1rem;padding:0.75rem 1rem;background:var(--bs-body-bg);border-radius:12px;border:1px solid var(--bs-border-color)}.country-filter-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:500;border-radius:20px;border:1px solid var(--bs-border-color);background:var(--bs-body-bg);color:var(--bs-body-color);cursor:pointer;transition:all 0.2s}.country-filter-btn:hover{background:var(--bs-tertiary-bg)}.country-filter-btn.active{background:#0ea5e9;color:white;border-color:#0ea5e9}.country-filter-btn .count{font-size:11px;background:rgba(0,0,0,0.1);padding:2px 6px;border-radius:10px}.country-filter-btn.active .count{background:rgba(255,255,255,0.2)}.type-legend{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem;padding:0.75rem 1rem;background:var(--bs-body-bg);border-radius:12px;border:1px solid var(--bs-border-color);font-size:0.875rem}.legend-item{display:flex;align-items:center;gap:6px;color:var(--bs-body-color)}.legend-dot{width:12px;height:12px;border-radius:50%}.legend-dot.accident{background:#DC2626}.legend-dot.roadwork{background:#F59E0B}.legend-dot.closure{background:#7C3AED}.legend-dot.congestion{background:#EF4444}.legend-dot.weather{background:#0EA5E9}.legend-dot.other{background:#6B7280}.map-wrapper{display:flex;gap:1rem;margin-bottom:1rem}.map-container{flex:1;position:relative;height:600px;border-radius:16px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,0.1);border:1px solid var(--bs-border-color)}#trafficMap{height:100%;width:100%}.map-filter-panel{width:280px;background:var(--bs-body-bg);border:1px solid var(--bs-border-color);border-radius:16px;padding:1rem;height:fit-content;max-height:600px;overflow-y:auto}.filter-section{margin-bottom:1.25rem}.filter-section:last-child{margin-bottom:0}.filter-section-title{font-size:0.75rem;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;color:var(--bs-secondary-color);margin-bottom:0.75rem;display:flex;align-items:center;gap:0.5rem}.filter-section-title .v2-icon{width:14px;height:14px}.filter-option{display:flex;align-items:center;gap:0.75rem;padding:0.5rem 0.75rem;margin-bottom:0.25rem;border-radius:8px;cursor:pointer;transition:all 0.15s;border:1px solid transparent}.filter-option:hover{background:var(--bs-tertiary-bg)}.filter-option.active{background:rgba(14,165,233,0.1);border-color:rgba(14,165,233,0.3)}.filter-option input[type="checkbox"]{width:16px;height:16px;accent-color:#0ea5e9;cursor:pointer}.filter-option-icon{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;flex-shrink:0}.filter-option-icon .v2-icon{width:14px;height:14px}.filter-option-label{flex:1;font-size:0.875rem;font-weight:500;color:var(--bs-body-color)}.filter-option-count{font-size:0.75rem;color:var(--bs-secondary-color);background:var(--bs-tertiary-bg);padding:2px 8px;border-radius:10px}.filter-divider{height:1px;background:var(--bs-border-color);margin:1rem 0}.filter-reset-btn{width:100%;padding:0.6rem;background:var(--bs-tertiary-bg);border:1px solid var(--bs-border-color);border-radius:8px;font-size:0.875rem;font-weight:500;color:var(--bs-body-color);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:0.5rem;transition:all 0.15s}.filter-reset-btn:hover{background:var(--bs-secondary-bg)}.filter-reset-btn .v2-icon{width:14px;height:14px}.map-filter-toggle{position:absolute;top:10px;right:10px;z-index:1000;background:var(--bs-body-bg);border:1px solid var(--bs-border-color);border-radius:8px;padding:8px 12px;display:flex;align-items:center;gap:6px;font-size:0.875rem;font-weight:500;color:var(--bs-body-color);cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,0.15);transition:all 0.2s}.map-filter-toggle:hover{background:var(--bs-tertiary-bg)}.map-filter-toggle .v2-icon{width:16px;height:16px}.map-filter-toggle .filter-count{background:#0ea5e9;color:white;font-size:11px;padding:2px 6px;border-radius:10px;margin-left:4px}.map-filter-dropdown{position:absolute;top:50px;right:10px;z-index:1000;background:var(--bs-body-bg);border:1px solid var(--bs-border-color);border-radius:12px;padding:1rem;width:280px;max-height:400px;overflow-y:auto;box-shadow:0 4px 20px rgba(0,0,0,0.2);display:none}.map-filter-dropdown.show{display:block}.map-filter-dropdown .filter-section{margin-bottom:1rem}.map-filter-dropdown .filter-section:last-child{margin-bottom:0}@media (max-width:992px){.map-wrapper{flex-direction:column}.map-filter-panel{display:none}.map-container{height:500px}}.traffic-marker{display:flex;align-items:center;justify-content:center;border-radius:50%;border:2px solid white;box-shadow:0 2px 6px rgba(0,0,0,0.3);font-size:12px}.marker-cluster{background:rgba(14,165,233,0.6);border-radius:50%}.marker-cluster div{background:rgba(14,165,233,0.8);border-radius:50%;margin:5px;text-align:center;font-weight:bold;color:white}.marker-cluster-small{background:rgba(14,165,233,0.6)}.marker-cluster-small div{width:30px;height:30px;line-height:30px}.marker-cluster-medium{background:rgba(249,115,22,0.6)}.marker-cluster-medium div{width:40px;height:40px;line-height:40px;background:rgba(249,115,22,0.8)}.marker-cluster-large{background:rgba(220,38,38,0.6)}.marker-cluster-large div{width:50px;height:50px;line-height:50px;background:rgba(220,38,38,0.8)}.tomtom-credit{margin-top:1rem;text-align:center;font-size:0.8rem;color:var(--bs-secondary-color)}.tomtom-credit img{height:16px;vertical-align:middle;margin-left:4px;opacity:0.7}.traffic-popup{min-width:200px}.traffic-popup-header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.traffic-popup-icon{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;font-size:14px}.traffic-popup-title{font-weight:600;font-size:14px}.traffic-popup-country{font-size:11px;color:#666}.traffic-popup-severity{font-size:10px;padding:2px 6px;border-radius:8px;text-transform:uppercase;font-weight:600}.severity-critical{background:#FEE2E2;color:#DC2626}.severity-major{background:#FEF3C7;color:#D97706}.severity-moderate{background:#FEF9C3;color:#CA8A04}.severity-low{background:#DCFCE7;color:#16A34A}.traffic-popup-desc{font-size:12px;color:#666;margin:8px 0}.traffic-popup-road{font-size:12px;color:#888}.traffic-popup-user-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;background:linear-gradient(135deg,#10B981,#059669);color:white;border-radius:12px;font-size:10px;font-weight:600;margin:6px 0}.find-nearest-bar{display:flex;align-items:center;gap:1rem;padding:0.75rem 1rem;background:linear-gradient(135deg,rgba(14,165,233,0.1) 0%,rgba(2,132,199,0.1) 100%);border-radius:10px;margin-bottom:1rem;border:1px solid rgba(14,165,233,0.2)}.find-nearest-btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.6rem 1.2rem;background:linear-gradient(135deg,#0ea5e9 0%,#0284c7 100%);color:white;border:none;border-radius:8px;font-size:0.9rem;font-weight:600;cursor:pointer;transition:all 0.2s}.find-nearest-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(14,165,233,0.4)}.find-nearest-btn .v2-icon{width:1rem;height:1rem}.find-nearest-info{font-size:0.85rem;color:var(--bs-secondary-color)}.report-incident-btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.6rem 1.2rem;background:linear-gradient(135deg,#f97316 0%,#ea580c 100%);color:white;border:none;border-radius:8px;font-size:0.9rem;font-weight:600;cursor:pointer;transition:all 0.2s;margin-left:auto}.report-incident-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(249,115,22,0.4)}.report-incident-btn .v2-icon{width:1rem;height:1rem}.map-actions-bar{display:flex;justify-content:flex-end;padding:0.75rem 0}.nearest-results-panel{display:none;background:var(--bs-body-bg);border:1px solid var(--bs-border-color);border-radius:12px;margin-bottom:1rem;overflow:hidden}.nearest-results-panel.show{display:block}.nearest-results-header{display:flex;align-items:center;justify-content:space-between;padding:0.75rem 1rem;background:var(--bs-tertiary-bg);border-bottom:1px solid var(--bs-border-color)}.nearest-results-title{display:flex;align-items:center;gap:0.5rem;font-weight:600}.close-nearest-btn{background:none;border:none;color:var(--bs-secondary-color);cursor:pointer;padding:0.25rem}.close-nearest-btn:hover{color:var(--bs-body-color)}.nearest-results-list{max-height:300px;overflow-y:auto}.nearest-result-item{display:flex;align-items:center;gap:1rem;padding:0.75rem 1rem;border-bottom:1px solid var(--bs-border-color);cursor:pointer;transition:background 0.2s}.nearest-result-item:last-child{border-bottom:none}.nearest-result-item:hover{background:var(--bs-tertiary-bg)}.nearest-result-icon{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;flex-shrink:0}.nearest-result-info{flex:1;min-width:0}.nearest-result-type{font-weight:600;font-size:0.9rem}.nearest-result-desc{font-size:0.8rem;color:var(--bs-secondary-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nearest-result-distance{font-size:0.85rem;font-weight:600;color:var(--bs-primary);white-space:nowrap}@media (max-width:768px){.find-nearest-bar{flex-wrap:wrap;justify-content:center}.find-nearest-info{display:none}.report-incident-btn{margin-left:0}}[data-theme="dark"] .traffic-hero{background:linear-gradient(135deg,#0369a1 0%,#075985 100%)}[data-theme="dark"] .find-nearest-bar{background:linear-gradient(135deg,rgba(14,165,233,0.15) 0%,rgba(2,132,199,0.15) 100%);border-color:rgba(14,165,233,0.3)}
