/* Info-Icon Styling */
.technical-term {
    border-bottom: 2px dashed #0073aa;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center; /* Vertikal mittig ausrichten */
    gap: 5px; /* Abstand zwischen Begriff und Icon */
    color: #0073aa;
    font-weight: bold;
}

.technical-term:hover {
    outline: 5px solid; #000;
    margin: -2px -5px;
    padding: 2px 5px;
    border-bottom: 0px;
}

/* Info-Icon Styling */
.technical-term .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    background: white;
    color: black;
    border: 2px solid black;
    cursor: pointer;
    line-height: 1;
    text-align: center;
    font-style: normal;
    flex-shrink: 0; /* Verhindert Verkleinern */
    margin-right: 5px;
}

/* Hover-Effekt */
.technical-term:hover .info-icon {
    background: black;
    border: 2px solid #ffffff;
    color: white !important;
}


/* Tooltip-Styling */
.tooltip-container {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    min-width: 210px;
    max-width: 300px;
    border-radius: 5px;
    z-index: 100;
}

/* Kopfzeile mit dem Schließen-Button */
.tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0073aa;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
}

/* Schließen-Button */
.tooltip-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
}

.tooltip-close:hover {
    text-decoration: underline;
}

/* Inhalt des Tooltips */
.tooltip-content {
    padding: 10px;
    font-size: 14px;
    line-height: 1.4;
}
