/* ── Header Flex ─────────────────────────────────────────────── */
#dropdown-search .dropdown-header {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

/* ── Scope-Button ────────────────────────────────────────────── */
.ss-scope-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    padding: 3px;
    margin-left: auto;
    background: transparent;
    border: 1.5px solid #dde3e7;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: background .18s, border-color .18s;
    user-select: none; -webkit-user-select: none;
}
.ss-scope-btn:hover    { background: rgba(0,0,0,.05); border-color: #adb5bd; }
.ss-scope-btn--on      { border-color: #3d8fa6; background: rgba(61,143,166,.10); }
.ss-scope-btn--on:hover{ background: rgba(61,143,166,.18); }

.ss-ctx-icon, .ss-net-icon {
    width: 26px; height: 26px; border-radius: 5px;
    object-fit: cover; display: block;
}
.ss-net-icon   { object-fit: contain; }
.ss-net-inline { width:16px; height:16px; object-fit:contain; border-radius:3px; vertical-align:middle; }

/* ── Einzeilige Hint-Zeile rechtsbündig unter Suchfeld ───────── */
.ss-hint-line {
    font-size: 11px;
    color: #777;
    text-align: right;
    padding: 2px 12px 6px;
    font-style: italic;
}

/* ── Suchfeld-Highlight ──────────────────────────────────────── */
.ss-form-scoped .dropdown-search-keyword {
    border-color: #3d8fa6 !important;
    box-shadow: 0 0 0 1px rgba(61,143,166,.2) !important;
}
.ss-form-scoped .dropdown-search-button { color: #3d8fa6 !important; }

/* ── Zähler im Provider-Titel ────────────────────────────────── */
.search-provider-title .ss-count { color: #3d8fa6; font-size: .9em; }

/* ── Versteckt / leer ────────────────────────────────────────── */
.ss-hidden                  { display: none !important; }
.search-provider.ss-empty   { display: none; }

/* ── "überall suchen"-Link ───────────────────────────────────── */
.ss-global-link { padding: 4px 12px 12px; }
.ss-global-link__a {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    color: #3d8fa6; font-size: 12.5px; font-weight: 600; text-decoration: none;
    border: 1.5px dashed rgba(61,143,166,.4);
    border-radius: 8px; padding: 7px 14px;
    transition: background .15s;
}
.ss-global-link__a:hover, .ss-global-link__a:focus {
    background: rgba(61,143,166,.07); color: #296678; text-decoration: none;
}
.ss-net-wrap { display: inline-flex; align-items: center; }

/* ── Fallback-Toast ───────────────────────────────────────────── */
.ss-toast {
    position:fixed; bottom:24px; left:50%;
    transform:translateX(-50%) translateY(12px);
    background:rgba(26,36,46,.93); color:#fff;
    border-radius:8px; padding:9px 20px;
    font-size:13px; font-weight:500; white-space:nowrap;
    box-shadow:0 4px 18px rgba(0,0,0,.18);
    opacity:0; transition:opacity .22s, transform .22s;
    z-index:99999; pointer-events:none;
}
.ss-toast--show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ── Acronym (Space ohne Bild) ───────────────────────────────── */
.ss-acronym {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    font-family: sans-serif;
    text-transform: uppercase;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* ── X-Clear-Button im Suchfeld (großes graues X rechts) ──────── */
.ss-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    color: #aaa;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: 300;
    transition: color .15s;
    z-index: 5;
}
.ss-clear-btn:hover  { color: #444; }
.ss-clear-btn:focus  { outline: none; }

.dropdown-search-form .dropdown-search-keyword { padding-right: 44px !important; }

/* ── Stream-Volltextsuche ────────────────────────────────────── */
.ss-stream-hidden { display: none !important; }

/* ── Volltextsuche Input: Stil wie HumHub-Select2 ────────────── */
.ss-fulltext-input {
    font-size: 13px;
    height: 30px;
    padding: 4px 10px;
}
.ss-fulltext-input::placeholder {
    font-size: 13px;
    color: #999;
    font-style: normal;
}
.ss-fulltext-input::-webkit-input-placeholder { font-size: 13px; color: #999; }
.ss-fulltext-input::-moz-placeholder { font-size: 13px; color: #999; opacity: 1; }
.ss-fulltext-search .control-label { font-size: 13px; margin-bottom: 4px; }
