JSFiddle - React, Tailwind, and code Playground

HTML

<html lang="en">
<head><meta charset="utf-8">
<style>

g.clicked text {
    -webkit-text-fill-color: #ffffff;
    -webkit-opacity: 1;
    fill: #ffffff;
}
.seat text {
    font-size: 13px;
    text-anchor: middle;
    fill: #33414a;
}

g.highlight:hover, g.highlight:active {cursor: pointer;}
g.selected circle.fill {fill:rgb(68,119,170);}
g.selected text {fill:#ffffff;}
.day g.seat:not(.highlight) > svg > g > text {display: none;}

g.clicked circle.fill {fill:rgb(64,64,64) !important;}
g.clicked text {-webkit-appearance: none;-moz-appearance: none;appearance: none;-webkit-text-fill-color:#ffffff;-webkit-opacity:1; fill:#ffffff;}

</style>
</head>
<body>
<svg id="main-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1196" height="1601" preserveAspectRatio="xMinYMin" xmlns:ev="http://www.w3.org/2001/xml-events" style="overflow: hidden; ">
	<defs> <pattern id="stripe" patternUnits="userSpaceOnUse" width="4" height="4"> <path d="M-1,1 l2,-2 M0,4 l4,-4 M3,5 l2,-2" stroke="rgba(0, 0, 0, .4)" stroke-width="1"></path> </pattern> <g id="seat-shape"> <circle cx="0" cy="0" r="10.329090909091" class="fill"></circle> <circle cx="0" cy="0" r="10.329090909091" class="stroke"></circle> </g> </defs>

	<g id="viewport-20180129150656698" class="svg-pan-zoom_viewport" transform="matrix(1.08652925491333,0,0,1.08652925491333,0.2555055618286133,-0.0000059604644775390625)">
		<style>
			g.block > text{fill:#333;font-size:43.5px}
			g.row > text {fill:#333;font-size:15.2px}
			circle.seat{fill:#dcdcc6}
			circle.fill{fill:#dcdcc6}
			circle.stroke{fill:transparent;stroke:rgba(0,0,0,.2);stroke-linecap:round;stroke-width:1px}
			.seat text{font-size:13px;text-anchor:middle;fill:#33414a}
			text{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}
		</style>

		<g transform="translate(0, 0)" id="container" width="1196" height="1601">

			<g class="block" id="block-2">
				<g class="row" id="row-20">
					<g class="seat"...