/* Container für das Suchfeld und das relative Dropdown */
.live-search-container {
    position: relative;
    width: 100%;
    max-width: 500px; /* Kannst du an deine Design-Breite anpassen */
    margin: 20px 0;
}

/* Das Suchfeld selbst */
#live-search-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Das herabfallende Ergebnis-Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 999;
}

/* Einzelne Ergebnis-Zeile */
.search-result-row {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-result-row:last-child {
    border-bottom: none;
}

.search-result-row:hover {
    background-color: #f9f9f9;
}

/* 80x80 Thumbnail Box */
.search-result-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 15px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text-Informationen neben dem Bild */
.search-result-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-result-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
    font-size: 15px;
}

.search-result-desc {
    font-size: 13px;
    color: #666;
}

/* Wenn keine Treffer erzielt wurden */
.no-results {
    padding: 15px;
    color: #999;
    text-align: center;
    font-style: italic;
}

/* Die Textmarkierung für gefundene Begriffe (wie das rosa/gelb im Screenshot) */
.search-result-row mark {
    background-color: #ffcee6; /* Dezentes Rosa analog zu deinem Beispiel */
    color: #000;
    padding: 0 2px;
    border-radius: 2px;
}