/* Container für das Nebeneinander-Layout */
.search-layout-wrapper {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: stretch !important; /* Erzwingt gleiche Höhe für beide Boxen */
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Linke Box (Such-Hülle) */
#search-mount {
    flex: 0 0 450px;
    display: flex; /* Wichtig für die Streckung */
}

/* Das eigentliche Such-Modul - RGB entfernt, fester Rand hinzugefügt */
.search-module-container {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border: 1px solid rgba(0, 255, 255, 255, 0.5); /* Fester OPG-Rand */
}

/* Rechte Box (FAQ Modul) */
.faq-module-container {
    flex: 0 0 350px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* FAQ Styling */
.faq-title-main {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 251, 255, 0.2);
    padding-bottom: 10px;
}

.faq-item { 
    background: rgba(255, 255, 255, 0.03); 
    border-radius: 8px; 
    margin-bottom: 10px; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    overflow: hidden; 
}

.faq-button { 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px; 
    background: none; 
    border: none; 
    color: #fff; 
    cursor: pointer; 
    font-size: 0.85rem; 
}

.faq-icon { transition: transform 0.3s; color: #666; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: rgba(0,0,0,0.2); }
.faq-answer p { padding: 15px; font-size: 0.8rem; color: #aaa; margin: 0; }
.faq-item.active .faq-answer { max-height: 150px; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: #00fbff; }

/* Header Bereich */
.search-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.search-icon-box {
    background: rgba(104, 71, 188, 0.15);
    padding: 10px; border-radius: 10px; color: #b271ff;
    width: 40px; height: 40px; display: flex; justify-content: center; align-items: center;
}
.search-title-wrap h3 { margin: 0; font-size: 0.95rem; color: #fff; font-family: 'Oswald', sans-serif; text-transform: uppercase; }
.search-title-wrap p { margin: 2px 0 0 0; font-size: 0.75rem; color: #888; }

/* Input Feld */
.search-input {
    width: 100%; background: rgba(15, 15, 15, 0.8); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; padding: 12px 15px; color: #fff; font-size: 0.85rem; outline: none; transition: 0.3s;
}
.search-input:focus { border-color: #00fbff; box-shadow: 0 0 15px rgba(0, 251, 255, 0.1); }

/* Suchergebnis */
.search-result-card {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(0, 251, 255, 0.2);
    border-radius: 12px; padding: 10px 15px; margin-bottom: 20px; cursor: pointer; transition: 0.3s ease;
}
#player-avatar { width: 40px !important; height: 40px !important; border-radius: 4px; object-fit: contain; flex-shrink: 0; }

/* Statistik Grid Layout */
.stats-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: auto; /* Klebt am Boden der Karte */
}

.stat-mini-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    color: #fff !important;
    min-height: 100px;
    box-sizing: border-box;
}

.ban-card-link { border: 1px solid rgba(255, 77, 77, 0.3) !important; background: rgba(255, 77, 77, 0.05) !important; }
.ban-card-link:hover {
    transform: translateY(-5px) !important; background: rgba(255, 77, 77, 0.2) !important;
    border-color: #ff4d4d !important; box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3) !important;
}

.stat-icon { font-size: 1.2rem; color: #888; margin-bottom: 8px; }
.highlight-red-icon { color: #ff4d4d !important; }
.highlight-red-value { color: #ff4d4d !important; }
.stat-value { font-size: 1.2rem; font-weight: bold; color: #fff; margin: 0; font-family: 'Oswald', sans-serif; }
.stat-label { font-size: 10px; color: #666; text-transform: uppercase; margin: 4px 0 0 0; letter-spacing: 1px; }

/* Mobile Optimierung */
@media (max-width: 900px) {
    .search-layout-wrapper { flex-direction: column !important; align-items: center; }
    #search-mount, .faq-module-container { flex: 1 1 auto; width: 100%; max-width: 450px; }
}