/* ══════════════════════════════════════════════════════
   Annuaire — Compact filter UI
   ══════════════════════════════════════════════════════ */

/* ── Header ────────────────────────────────────────── */
.annuaire-header h1 {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

/* ── Filter section titles ────────────────────────── */
.annuaire-filter-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.annuaire-filter-title i {
    opacity: 0.7;
}

/* ── Search bar ────────────────────────────────────── */
.annuaire-search .input-group {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s;
}
.annuaire-search .input-group:focus-within {
    border-color: var(--primary-color, #7c4dff);
    box-shadow: 0 0 12px rgba(124, 77, 255, 0.2);
}
.annuaire-search .input-group-text {
    border: none;
    border-radius: 50px 0 0 50px;
    padding-left: 1.25rem;
}
.annuaire-search .form-control {
    border: none;
    font-size: 1rem;
    padding: 0.65rem 1rem;
}
.annuaire-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
.annuaire-search .form-control:focus {
    box-shadow: none;
}

/* ── Theme pills (badge-theme style) ──────────────── */
.annuaire-theme-pill {
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
}
.annuaire-theme-pill:hover {
    background: rgba(49, 27, 146, 0.65) !important;
    border-color: rgba(179, 157, 219, 0.6) !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.annuaire-theme-pill.active {
    background: var(--primary-color, #7c4dff) !important;
    border-color: var(--primary-color, #7c4dff) !important;
    color: #fff !important;
    box-shadow: 0 2px 12px rgba(124, 77, 255, 0.4);
}
.annuaire-theme-pill .pill-count {
    font-size: 0.7rem;
    opacity: 0.55;
    margin-left: 0.2rem;
}
.annuaire-theme-pill.active .pill-count {
    opacity: 0.85;
}

/* ── Support pills (badge-support style) ──────────── */
.annuaire-supports {
    padding: 0.25rem 0;
}
.annuaire-support-pill {
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.annuaire-support-pill:hover {
    background: rgba(255, 128, 171, 0.12) !important;
    border-color: rgba(255, 128, 171, 0.6) !important;
    color: #ff80ab !important;
    transform: translateY(-1px);
}
.annuaire-support-pill.active {
    background: rgba(255, 128, 171, 0.2) !important;
    border-color: #ff80ab !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(255, 128, 171, 0.25);
}
.annuaire-support-pill .sup-count {
    font-size: 0.68rem;
    opacity: 0.5;
    margin-left: 0.15rem;
}
.annuaire-support-pill .sup-count::before { content: '('; }
.annuaire-support-pill .sup-count::after  { content: ')'; }
.annuaire-support-pill.active .sup-count {
    opacity: 0.8;
}

/* ── Toggle link ──────────────────────────────────── */
.annuaire-toggle-link {
    color: rgba(255, 128, 171, 0.7);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}
.annuaire-toggle-link:hover {
    color: #ff80ab;
    text-decoration: none;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 576px) {
    .annuaire-theme-pill {
        font-size: 0.72rem !important;
        padding: 4px 10px !important;
    }
    .annuaire-theme-pill .pill-label {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .annuaire-support-pill {
        font-size: 0.72rem !important;
        padding: 4px 10px !important;
    }
}
