.map-svg {
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  overflow: visible !important;
}

text {
	opacity: 1;
	font-family: sans-serif,Arial;
        font-weight:600;
}

text,
circle{
    pointer-events:none;
}

.add-table-cell:nth-child(2){
    text-align:center;
}

/* Der Tooltip-Stil */
.tooltip {
	position: absolute;
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 14px;
	white-space: nowrap;
        z-index:50;
	pointer-events: none; /* Verhindert, dass der Tooltip selbst das Hover-Event beeinflusst */
	display: none;
}   

/* Tooltip */
.svg-tooltip {
    position: absolute;
    background-color: #fff;
    border:1px solid #c5c5c5;
    color: #2f2f2f;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 5px;
    display: none;
    white-space: nowrap;
    z-index: 1000;
    min-width:150px;
    max-height: 200px;
    max-width:325px;
}

.svg-tooltip::before {
/*    content: '';*/
    position: absolute;
    height: 12px;
    width: 12px;
    background-color: #fff;
    left: -6px;
    transform: rotate(45deg);
    top: 50%;
    margin-top: -8px;
    border-left: 1px solid #c5c5c5;
    border-bottom: 1px solid #c5c5c5;
}

.svg-tooltip.tooltip-click #tooltip-title {
    display: inline-block;
    height: 30px;
    width: 24px;
    top: 0;
    position: absolute;
    right: 0;
}

.svg-tooltip #tooltip-title::before {
    content: '\f00d';
    font-family: 'fontawesome';
    font-size: 20px;
    right: 5px;
    position: absolute;
    top: 5px;
    cursor: pointer;
}

.svg-tooltip.tooltip-hover #tooltip-title{
   display:none;
}

.svg-tooltip.tooltip-click #tooltip-title{
    display:block;
}

.svg-tooltip #tooltip-content{
    overflow: auto;
    max-height: 150px;
}

.svg-tooltip.tooltip-click{
   padding-top:30px;
}

#map-group{
    transform:translate(0, 0);
}

/* Ansicht der Standortliste */
.add-standortliste-wrapper {
  max-width: 100%;
  font-family: Arial, sans-serif;
}

.add-search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.add-search-bar input[type="text"] {
  flex: 1;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.add-search-bar button {
  padding: 8px 16px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.add-search-bar button:hover {
  background-color: #005f8d;
}

.add-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  position:relative;
}

.add-table-header,
.add-table-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  padding: 10px 15px;
  border-bottom: 1px solid #e0e0e0;
  align-items: center;
}

.add-table-header {
  background-color: #f4f4f4;
  font-weight: bold;
}

.add-table-body .wf-table-row:last-child {
  border-bottom: none;
}

.add-th,
.add-td {
  padding: 5px 0;
  font-size: 14px;
}


.add-table-row {
  display: flex;
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
}

.add-table-header {
  font-weight: bold;
  background-color: #f7f7f7;
}

.add-table-cell {
  flex: 1;
  padding: 6px 12px;
}

#add-results-container {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  font-family: sans-serif;
  font-size: 14px;
  min-height:115px;
}


/* Spaltenbreiten */
.add-table-cell.location {
  width: 40%;
}

.add-table-cell.count {
  width: 20%;
  text-align: center;
}

.add-table-cell.tooltip {
  width: 40%;
}


/* Wartesymbol beim Klick auf Standort suchen */
#add-loading-spinner {
    position:absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background-color:#fff;
    height:100%;
    width:100%;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #cc0000;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}