/* ==========================================================================
   SUCHE SEKTION - BEREINIGT
   ========================================================================== */

.suche-background-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    background: transparent;
    box-sizing: border-box;
    position: relative;
}

.sektion-suche {
    width: 100%;
    max-width: 600px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    position: relative;
}

.suche-content-plate {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease-out;
}

.media-container {
    display: flex;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}

.media-container img, 
.media-container svg {
    max-width: 100%;
    height: auto;
    display: block;
}

#vid-canvas {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    max-width: 580px;
    display: block;
    box-sizing: border-box;
}

.live-search-container {
    position: relative;
    width: 100%;
    margin: 0;
    transition: margin-bottom 0.2s ease-out;
}

#live-search-input {
    position: absolute;
    display: none;
    padding: 2px 5px;
    font-size:30px;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important; /* Wichtig für Webkit/Chrome */
    opacity: 1 !important;
    font-family: Courier, Courier New, monospace;
    border: none;
    background: transparent;
    outline: none;
    z-index: 10;

}

.search-results-dropdown {
    position: absolute;
    width: 115px;
    max-height: 580px;
    margin: 0;
    background: #ffffff;
    border: 1px solid #999999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow-y: scroll;
    z-index: 20;
}

/* Scrollbar Styling */
.search-results-dropdown::-webkit-scrollbar { width: 4px; }
.search-results-dropdown::-webkit-scrollbar-track { background: #f1f1f1; }
.search-results-dropdown::-webkit-scrollbar-thumb { 
    background: #c1c1c1; 
    border-radius: 2px;
}
.search-results-dropdown::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }

.search-result-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 8px 4px;
    border-bottom: 1px dashed #cccccc;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    transition: background 0.1s ease;
}

.search-result-row:last-child { border-bottom: none; }
.search-result-row:hover { background-color: #f5f5f5; }

.search-result-thumb {
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 2px;
    background-color: #e0e0e0;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.search-result-title, 
.search-result-desc {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.search-result-title {
    font-weight: bold;
    color: #222222;
    font-size: 14px;
    margin-bottom: 1px;
}

.search-result-desc {
    font-size: 12px;
    color: #666666;
}

.no-results {
    padding: 10px;
    color: #666666;
    text-align: center;
    font-style: italic;
    font-size: 10px;
    background: #ffffff;
}

.search-result-row mark {
    background-color: #ffcee6;
    color: #000000;
    padding: 0 1px;
    border-radius: 1px;
}

