.evb-selector {
	margin: 0 auto;
}

.evb-selector-title {
	margin-bottom: 0.75rem;
}

.evb-selector-map {
	position: relative;
	max-width: 100%;
	line-height: 0;
	overflow: hidden;
}

.evb-selector-img {
	width: 100%;
	height: auto;
	display: block;
}

/*
 * A hotspot is a plain (unclipped) positioning box - .evb-hotspot-wrap -
 * sized to the drawn polygon's bounding box. Inside it, the clickable
 * .evb-hotspot itself carries the clip-path that carves out the actual
 * polygon shape (so hover/click only respond inside the drawn outline),
 * and the tooltip is a sibling rather than a child so it's never clipped
 * away along with anything outside that shape.
 */
.evb-hotspot-wrap {
	position: absolute;
	pointer-events: none;
}

/* Decorative outline tracing the actual polygon edges (a plain CSS border
   on the clip-path'd .evb-hotspot below would only follow its bounding
   rectangle, not the shape itself). */
.evb-hotspot-outline {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	
}

.evb-hotspot-outline polygon {
    fill: rgba(0, 0, 0, 0.1);
    stroke: #fff;
    stroke-width: 3;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.evb-hotspot {
	position: absolute;
	inset: 0;
	display: block;
	background: rgba(0, 0, 0, 0.1);
	transition: background-color 0.15s ease;
	cursor: pointer;
	pointer-events: auto;
}

.evb-hotspot:hover,
.evb-hotspot:focus,
.evb-hotspot.is-active {
	background-color: rgba(255, 255, 255, 0.28);
}

/* Same green/orange/red used by the status badges elsewhere (ledig/reservert/solgt). */
.evb-hotspot.evb-status-ledig {
	background-color: rgba(46, 133, 64, 0.1);
}

.evb-hotspot.evb-status-ledig:hover,
.evb-hotspot.evb-status-ledig:focus,
.evb-hotspot.evb-status-ledig.is-active {
	background-color: rgba(46, 133, 64, 0.28);
}

.evb-hotspot.evb-status-reservert {
	background-color: rgba(224, 142, 0, 0.1);
}

.evb-hotspot.evb-status-reservert:hover,
.evb-hotspot.evb-status-reservert:focus,
.evb-hotspot.evb-status-reservert.is-active {
	background-color: rgba(224, 142, 0, 0.28);
}

.evb-hotspot.evb-status-solgt {
	background-color: rgba(198, 40, 40, 0.1);
}

.evb-hotspot.evb-status-solgt:hover,
.evb-hotspot.evb-status-solgt:focus,
.evb-hotspot.evb-status-solgt.is-active {
	background-color: rgba(198, 40, 40, 0.28);
}

.evb-hotspot-wrap > .evb-tooltip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(-50%) translateY(6px);
	background: #1b1b1b;
	color: #fff;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.4;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease, transform 0.15s ease;
	z-index: 5;
}

.evb-hotspot-wrap > .evb-tooltip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: #1b1b1b;
}

.evb-hotspot:hover ~ .evb-tooltip,
.evb-hotspot:focus ~ .evb-tooltip,
.evb-hotspot.is-active ~ .evb-tooltip {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.evb-hotspot.evb-hotspot-page {
	background-color: rgba(0, 0, 0, 0.06);
}

.evb-hotspot.evb-hotspot-page:hover,
.evb-hotspot.evb-hotspot-page:focus {
	background-color: rgba(255, 255, 255, 0.3);
}

.evb-map-buttons {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	padding: 40px 20px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
	pointer-events: none;
}

.evb-map-btn {
	pointer-events: auto;
}

.evb-tooltip-status {
	display: inline-flex;
	align-items: center;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.05em;
	opacity: 0.85;
}

.evb-tooltip-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 6px;
	flex: none;
}

.evb-selector-list {
	margin: 1.5rem 0 5rem;
	overflow-x: auto;
}

.evb-list-table {
	width: 100%;
	border-collapse: collapse;
}

.evb-list-table th,
.evb-list-table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	font-size: 14px;
	white-space: nowrap;
}

.evb-list-table thead th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #777;
	border-bottom: 2px solid rgba(0, 0, 0, 0.15);
}

.evb-list-table tbody tr:hover {
	background: rgba(0, 0, 0, 0.03);
}

.evb-list-view-link {
	font-weight: 600;
	white-space: nowrap;
}

.evb-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	background: #e6f4ea;
	color: #1e7a34;
}

.evb-badge.evb-status-reservert {
	background: #fff3cd;
	color: #8a6d00;
}

.evb-badge.evb-status-solgt {
	background: #f1f1f1;
	color: #666;
}

@media (max-width: 600px) {
	.evb-hotspot-wrap > .evb-tooltip {
		display: none;
	}
}
