/* TDP Frontend Styles*/

#term-popup {
    display: none;
	background-color: #ffffff;
    position: absolute;
    border: 1px solid;
    padding: 20px;
    z-index: 10001; /* Höherer Z-Index, um sicherzustellen, dass es über allem liegt */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    max-width: 60%; /* Verhindert, dass es auf kleinen Bildschirmen zu groß wird */
    text-align: left; /* Text linksbündig */
}

#term-popup-close {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 0 5px;
    margin: 0;
    font-size: 20px;
    cursor: pointer;
}

#term-popup-close:hover {
    color: #ff0000; /* Optional: Farbe beim Hovern ändern */
}

.term-trigger {
    padding: 0;
	background-color: transparent;
	border-style: none;
	font-size: 1em;
}

.tdp-term-headline {
	font-size: 1.2em;
	font-weight: bold;
}

/* --- Stile für markierte Begriffe ohne Beschreibung --- */

/* Allgemeine Klasse (optional, für gemeinsame Stile) */
.tdp-marked {
  /* z.B. cursor: help; */
}

/* Spezifische Stile basierend auf der Option */
.tdp-mark-dotted-underline {
  border-bottom: 1px dotted currentColor; /* currentColor passt sich der Textfarbe an */
  text-decoration: none; /* Normale Unterstreichung entfernen */
}

.tdp-mark-underline {
  text-decoration: underline;
  text-decoration-style: solid; /* Optional: Stil explizit setzen */
}

.tdp-mark-background-color {
  background-color: rgba(255, 255, 0, 0.3); /* Beispiel: Leichtes Gelb (transparent) */
  padding: 1px 3px; /* Etwas Innenabstand */
  margin: 0 -1px; /* Ggf. Überlappung mit anderen Elementen korrigieren */
  border-radius: 3px; /* Abgerundete Ecken */
  box-decoration-break: clone; /* Bessere Darstellung bei Zeilenumbrüchen */
  -webkit-box-decoration-break: clone;
}

.tdp-mark-italic {
  font-style: italic;
}

.tdp-mark-bold {
  font-weight: bold;
}

/* Füge hier Stile für weitere Optionen hinzu, falls du welche definierst */
