.consumption-map-shell {
    position: relative;
    height: 460px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.consumption-map-shell .mapboxgl-map {
    height: 100%;
}

.consumption-map-toolbar {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.consumption-map-toolbar button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #3f4254;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.consumption-map-toolbar button:hover {
    background: #1b84ff;
    color: #ffffff;
}

.consumption-map-stats {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    font-size: 12px;
    color: #5e6278;
    max-width: 220px;
}

.consumption-map-stats strong {
    display: block;
    color: #181c32;
    font-size: 13px;
    margin-bottom: 6px;
}

.consumption-map-stats .stat-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 3px;
}

.consumption-map-stats .stat-row span:last-child {
    font-weight: 600;
    color: #181c32;
}

.consumption-map-legend {
    position: absolute;
    bottom: 58px;
    left: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 11px;
    color: #5e6278;
}

.consumption-map-legend-title {
    font-weight: 700;
    color: #181c32;
    margin-bottom: 6px;
}

.consumption-map-legend-bar {
    width: 120px;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #f1416c, #ffc700, #50cd89);
    margin-bottom: 4px;
}

.consumption-map-legend-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
}

.consumption-map-legend-markers {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.consumption-map-legend-markers span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.consumption-map-legend-markers i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.consumption-map-timeline {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.consumption-map-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12px;
    color: #5e6278;
}

.consumption-map-timeline-header strong {
    color: #181c32;
    font-size: 13px;
}

.consumption-map-timeline input[type="range"] {
    width: 100%;
    accent-color: #1b84ff;
    cursor: pointer;
}

.consumption-map-popup .mapboxgl-popup-content {
    padding: 10px 12px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    font-family: inherit;
    min-width: 160px;
}

.consumption-map-popup .popup-title {
    font-weight: 700;
    font-size: 14px;
    color: #181c32;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eff2f5;
}

.consumption-map-popup .popup-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
    color: #5e6278;
    margin-top: 4px;
}

.consumption-map-popup .popup-row span:last-child {
    font-weight: 600;
    color: #181c32;
}

.consumption-map-popup .popup-fuel {
    margin-top: 8px;
    height: 6px;
    border-radius: 3px;
    background: #eff2f5;
    overflow: hidden;
}

.consumption-map-popup .popup-fuel-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.2s ease;
}
