/**
 * Bundle Feed Sidebars — Barres laterales du feed (RSS, podcasts, professionnels)
 * Sources : sidebar-rss + sidebar-podcasts + sidebar-professionals
 * Sprint 4 — Consolidation CSS
 */

/* ============================================================
 * SOURCE: components/sidebar-rss.css
 * ============================================================ */
/* ============================================
   Sidebar RSS - Colonne droite Feed
   ============================================ */

.rss-sidebar {
    position: sticky;
    top: 120px;
    padding-left: 0.5rem;
    padding-top: 1rem;
}

/* Scrollbar fine */
.rss-sidebar::-webkit-scrollbar {
    width: 4px;
}
.rss-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.rss-sidebar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.rss-sidebar::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* ============================================
   Widget 1 : Publications récentes (internes)
   ============================================ */

.nws-widget {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* --- Header --- */
.nws-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(to right, #7c3aed 0%, #ffffff 100%);
    color: #fff;
}

.nws-widget-title {
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nws-widget-title i {
    font-size: 0.75rem;
    opacity: 0.85;
}

/* --- Liste numérotée --- */
.nws-list {
    padding: 0;
}

.nws-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.nws-item:last-child {
    border-bottom: none;
}

.nws-item:hover {
    background-color: #f0f7ff;
    text-decoration: none;
    color: inherit;
}

/* Numéro */
.nws-item-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: #d1d5db;
    line-height: 1;
    min-width: 24px;
    padding-top: 2px;
    font-variant-numeric: tabular-nums;
    transition: color 0.15s ease;
}

.nws-item:hover .nws-item-num {
    color: #7c3aed;
}

/* Contenu */
.nws-item-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.nws-item-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.nws-item:hover .nws-item-title {
    color: #7c3aed;
}

/* Point "Nouveau" */
.nws-new-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    margin-right: 4px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    animation: nws-pulse 2s ease-in-out infinite;
}

@keyframes nws-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Méta (auteur + date) */
.nws-item-meta {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 3px;
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1;
}

.nws-item-author {
    font-weight: 500;
    color: #64748b;
}

.nws-item-sep {
    margin: 0 5px;
    color: #cbd5e1;
}

.nws-item-date {
    color: #94a3b8;
}

/* --- État vide publications --- */
.nws-empty {
    padding: 2rem 1rem;
    text-align: center;
}

.nws-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nws-empty-icon i {
    font-size: 1.3rem;
    color: #60a5fa;
}

.nws-empty-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.nws-empty-sub {
    font-size: 0.72rem;
    color: #94a3b8;
}

/* ============================================
   Widget 2 : Actualités du Livre (RSS consolidé)
   ============================================ */

.rss-widget {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* --- Header RSS --- */
.rss-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(to right, #7c3aed 0%, #ffffff 100%);
    color: #fff;
}

.rss-widget-title {
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.rss-widget-title i {
    font-size: 0.7rem;
    opacity: 0.85;
}

.rss-widget-count {
    font-size: 0.65rem;
    font-weight: 500;
    color: #7c3aed;
    background: rgba(124,58,237,0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

/* --- Onglets sources --- */
.rss-tabs {
    display: flex;
    gap: 4px;
    padding: 0.5rem 0.65rem;
    background: #fafbfd;
    border-bottom: 1px solid #f0f0f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.rss-tabs::-webkit-scrollbar {
    display: none;
}

.rss-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.3;
}

.rss-tab:hover {
    border-color: #a855f7;
    color: #7c3aed;
    background: #faf5ff;
}

.rss-tab.active {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
}

.rss-tab i {
    font-size: 0.6rem;
}

.rss-tab-icon {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    object-fit: contain;
}

.rss-tab.active .rss-tab-icon {
    filter: brightness(10);
}

/* --- Liste articles RSS --- */
.rss-feed-list {
    padding: 0;
    max-height: 420px;
    overflow-y: auto;
}

.rss-feed-list::-webkit-scrollbar {
    width: 3px;
}
.rss-feed-list::-webkit-scrollbar-track {
    background: transparent;
}
.rss-feed-list::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 3px;
}

.rss-feed-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.rss-feed-item:last-child {
    border-bottom: none;
}

.rss-feed-item:hover {
    background-color: #faf5ff;
    text-decoration: none;
    color: inherit;
}

/* Source badge (favicon + nom + date) */
.rss-feed-source {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 3px;
    font-size: 0.65rem;
    line-height: 1;
}

.rss-feed-src-icon {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    object-fit: contain;
}

.rss-feed-src-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a855f7;
    flex-shrink: 0;
}

.rss-feed-src-name {
    font-weight: 600;
    color: #7c3aed;
}

.rss-feed-src-sep {
    color: #cbd5e1;
    margin: 0 1px;
}

.rss-feed-src-date {
    color: #94a3b8;
}

/* Titre article */
.rss-feed-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.rss-feed-item:hover .rss-feed-title {
    color: #7c3aed;
}

/* Contenu (source + titre) */
.rss-feed-item > div:first-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* Icône lien externe */
.rss-feed-ext {
    color: #e2e8f0;
    font-size: 0.55rem;
    padding-top: 14px;
    min-width: 14px;
    text-align: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.rss-feed-item:hover .rss-feed-ext {
    color: #7c3aed;
    transform: translate(1px, -1px);
}

/* --- État vide filtre --- */
.rss-feed-empty {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.78rem;
}

.rss-feed-empty i {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    opacity: 0.4;
}

/* ============================================================
 * SOURCE: components/sidebar-podcasts.css
 * ============================================================ */
/* ============================================
   Sidebar Podcasts - Colonne gauche Feed
   ============================================ */

.podcast-sidebar {
    position: sticky;
    top: 120px;
    padding-right: 0.5rem;
    padding-top: 1rem;
}

/* Scrollbar fine */
.podcast-sidebar::-webkit-scrollbar {
    width: 4px;
}
.podcast-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.podcast-sidebar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.podcast-sidebar::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* ============================================
   Widget Podcasts - Design moderne
   ============================================ */

.pod-widget {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* --- Header --- */
.pod-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(to right, #7c3aed 0%, #ffffff 100%);
    color: #fff;
}

.pod-widget-title {
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pod-widget-title i {
    font-size: 0.75rem;
    opacity: 0.85;
}

.pod-header-link {
    font-size: 0.68rem;
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.pod-header-link:hover {
    color: #5b21b6;
    text-decoration: none;
}

.pod-header-link i {
    font-size: 0.55rem;
    margin-left: 2px;
    transition: transform 0.2s;
}

.pod-header-link:hover i {
    transform: translateX(2px);
}

/* --- Episode en vedette --- */
.pod-featured-banner {
    position: relative;
    padding: 1.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    overflow: hidden;
}

.pod-featured-icon {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.15);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pod-featured-badge {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    padding: 3px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pod-featured-badge i {
    font-size: 0.6rem;
}

.pod-featured-body {
    padding: 0.75rem 0.85rem 0.65rem;
}

.pod-featured-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pod-featured-desc {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pod-featured-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.pod-meta-author,
.pod-meta-date {
    font-size: 0.7rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pod-meta-author i,
.pod-meta-date i {
    font-size: 0.6rem;
    color: #cbd5e1;
}

/* Bouton Écouter */
.pod-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1;
}

.pod-play-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
    color: #fff;
    text-decoration: none;
}

.pod-play-btn:active {
    transform: scale(0.97);
}

.pod-play-btn i.fa-play {
    font-size: 0.65rem;
}

.pod-ext-icon {
    font-size: 0.55rem;
    opacity: 0.6;
    margin-left: 2px;
}

/* --- Liste compacte --- */
.pod-list {
    border-top: 1px solid #f1f5f9;
}

.pod-list-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.15s ease;
    position: relative;
}

.pod-list-item:last-child {
    border-bottom: none;
}

.pod-list-item:hover {
    background-color: #faf8ff;
}

/* Mini artwork gradient */
.pod-list-art {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.pod-list-art i {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* Info texte */
.pod-list-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.pod-list-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
}

a.pod-list-title:hover {
    color: #7c3aed;
}

.pod-list-meta {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 2px;
    font-size: 0.68rem;
    color: #94a3b8;
}

.pod-list-platform {
    color: #7c3aed;
    font-weight: 500;
}

.pod-list-sep {
    margin: 0 5px;
    color: #cbd5e1;
}

/* Bouton play (apparaît au hover) */
.pod-list-play {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border: none;
    border-radius: 50%;
    background: #7c3aed;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.55rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
    text-decoration: none;
    padding: 0;
}

.pod-list-item:hover .pod-list-play {
    opacity: 1;
    transform: scale(1);
}

.pod-list-play:hover {
    background: #6d28d9;
    transform: scale(1.1) !important;
    color: #fff;
    text-decoration: none;
}

/* --- Footer --- */
.pod-widget-footer {
    display: block;
    text-align: center;
    padding: 0.55rem;
    font-size: 0.73rem;
    font-weight: 600;
    color: #7c3aed;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
    background: #faf8ff;
    transition: background 0.2s;
}

.pod-widget-footer:hover {
    background: #f3e8ff;
    color: #6d28d9;
    text-decoration: none;
}

.pod-widget-footer i {
    font-size: 0.6rem;
    margin-left: 3px;
    transition: transform 0.2s;
}

.pod-widget-footer:hover i {
    transform: translateX(3px);
}

/* --- État vide --- */
.pod-empty {
    padding: 2rem 1rem;
    text-align: center;
}

.pod-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ede9fe 0%, #f3e8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pod-empty-icon i {
    font-size: 1.3rem;
    color: #a78bfa;
}

.pod-empty-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.pod-empty-sub {
    font-size: 0.72rem;
    color: #94a3b8;
}

/* ============================================
   Widget Événements - Slider moderne
   ============================================ */

.evt-widget {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Header */
.evt-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(to right, #7c3aed 0%, #ffffff 100%);
    color: #fff;
}

.evt-widget-title {
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.evt-widget-title i {
    font-size: 0.75rem;
    opacity: 0.85;
}

.evt-header-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.evt-arrow {
    background: rgba(124,58,237,0.15);
    border: none;
    color: #7c3aed;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.55rem;
    transition: background 0.2s;
    padding: 0;
}

.evt-arrow:hover {
    background: rgba(124,58,237,0.3);
}

.evt-pager {
    font-size: 0.68rem;
    color: #7c3aed;
    min-width: 32px;
    text-align: center;
}

/* Slider */
.evt-slider {
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.evt-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.evt-card {
    flex-shrink: 0;
}

/* Card top banner */
.evt-card-top {
    padding: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    min-height: 60px;
}

.evt-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 0.35rem 0.55rem;
    line-height: 1;
    min-width: 42px;
}

.evt-card-day {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.evt-card-month {
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 2px;
}

.evt-card-cat {
    font-size: 0.68rem;
    font-weight: 600;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    padding: 3px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.evt-card-cat i {
    font-size: 0.6rem;
}

/* Card body */
.evt-card-body {
    padding: 0.75rem 0.85rem 0.65rem;
}

.evt-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.evt-card-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    color: #64748b;
    margin-bottom: 0.45rem;
}

.evt-card-row i {
    font-size: 0.62rem;
    color: #94a3b8;
    width: 12px;
    text-align: center;
}

/* Tags */
.evt-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.evt-tag {
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.evt-tag i {
    font-size: 0.55rem;
    color: #94a3b8;
}

.evt-tag--free {
    background: #ecfdf5;
    color: #059669;
    font-weight: 700;
}

.evt-tag--online {
    background: #ede9fe;
    color: #7c3aed;
}

.evt-tag--registered {
    background: #ecfdf5;
    color: #059669;
    font-weight: 700;
}

.evt-tag--registered i {
    color: #059669;
}

/* Registered card highlight */
.evt-card--registered {
    position: relative;
}

.evt-card--registered .evt-card-body {
    background: rgba(16, 185, 129, 0.06);
    box-shadow: inset 0 0 0 2px rgba(16, 185, 129, 0.35);
    border-radius: 0 0 12px 12px;
}

.evt-card--registered .evt-card-top {
    box-shadow: inset 0 0 0 2px rgba(16, 185, 129, 0.35);
    border-radius: 12px 12px 0 0;
}

/* Dots */
.evt-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0.45rem 0;
}

.evt-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.evt-dot.active {
    background: #667eea;
    width: 20px;
}

.evt-dot:hover:not(.active) {
    background: #cbd5e1;
}

/* Footer */
.evt-widget-footer {
    display: block;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.73rem;
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
    background: #fafbfd;
    transition: background 0.2s;
}

.evt-widget-footer:hover {
    background: #f0f4ff;
    color: #5a6fd6;
    text-decoration: none;
}

.evt-widget-footer i {
    font-size: 0.6rem;
    margin-left: 3px;
    transition: transform 0.2s;
}

.evt-widget-footer:hover i {
    transform: translateX(3px);
}

/* Empty state */
.evt-empty {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8rem;
}

.evt-empty i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    opacity: 0.5;
}

/* ============================================
   Modale Podcast - Player embed
   ============================================ */

.podcast-modal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.podcast-modal .modal-header {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border-bottom: none;
    padding: 0.6rem 1rem;
}

.podcast-modal .modal-title {
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}

.podcast-modal .modal-title i {
    color: rgba(255,255,255,0.8);
}

.podcast-modal .modal-header .btn-close {
    filter: invert(1);
    opacity: 0.7;
}

.podcast-modal .modal-header .btn-close:hover {
    opacity: 1;
}

/* Conteneur embed responsive */
.podcast-embed-container {
    min-height: 150px;
}

.podcast-embed-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: none;
    border-radius: 8px;
    display: block;
}

.podcast-modal .modal-footer {
    background: #faf8ff;
    border-top: 1px solid #f1f5f9;
}

/* ============================================================
 * SOURCE: components/sidebar-professionals.css
 * ============================================================ */
/* ============================================
   Sidebar Professionnels - Page manuscrit
   ============================================ */

.professionals-sidebar {
    padding-left: 0.5rem;
}

/* Scrollbar fine */
.professionals-sidebar::-webkit-scrollbar {
    width: 4px;
}
.professionals-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.professionals-sidebar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.professionals-sidebar::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Titre principal */
.sidebar-pro-header {
    background: linear-gradient(135deg, #3273dc 0%, #4a90e2 100%);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 10px 10px 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-pro-header i {
    margin-right: 0.5rem;
}

.sidebar-pro-header .badge {
    background: rgba(255,255,255,0.25);
    font-size: 0.7rem;
    padding: 0.25em 0.6em;
}

/* Genre sélectionné */
.sidebar-pro-genre {
    background: #f0f7ff;
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    color: #555;
    border-bottom: 1px solid #e0e8f0;
}

.sidebar-pro-genre strong {
    color: #3273dc;
}

/* Critères actifs (tags) */
.pro-criteria-tag {
    display: inline-block;
    background: #e8f0fe;
    color: #3273dc;
    font-size: 0.7rem;
    padding: 0.15em 0.5em;
    border-radius: 12px;
    margin: 0.15rem 0.15rem;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pro-criteria-tag i {
    margin-right: 0.25rem;
    font-size: 0.65rem;
}

/* Conteneur des sections */
.sidebar-pro-body {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* Section par rôle */
.pro-section {
    border-bottom: 1px solid #f0f0f0;
}

.pro-section:last-child {
    border-bottom: none;
}

.pro-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: #f8f9fa;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s;
}

.pro-section-header:hover {
    background: #eef2f7;
}

.pro-section-header h6 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pro-section-header h6 i {
    color: #3273dc;
    width: 16px;
    text-align: center;
    font-size: 0.75rem;
}

.pro-section-header .badge {
    font-size: 0.65rem;
    background: #3273dc;
    color: #fff;
    border-radius: 10px;
    padding: 0.2em 0.5em;
}

.pro-section-header .chevron {
    font-size: 0.65rem;
    color: #999;
    transition: transform 0.2s;
}

.pro-section.collapsed .chevron {
    transform: rotate(-90deg);
}

.pro-section.collapsed .pro-list {
    display: none;
}

/* Liste de professionnels */
.pro-list {
    padding: 0;
}

/* Carte professionnel */
.pro-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.15s;
}

.pro-card:last-child {
    border-bottom: none;
}

.pro-card:hover {
    background: #f8f9fa;
}

.pro-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #e8e8e8;
    flex-shrink: 0;
}

.pro-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.pro-info {
    flex: 1;
    min-width: 0;
}

.pro-name {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pro-genres {
    display: block;
    font-size: 0.68rem;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pro-action {
    flex-shrink: 0;
}

.pro-action .btn {
    font-size: 0.68rem;
    padding: 0.15rem 0.4rem;
}

/* Message vide / chargement */
.pro-empty,
.pro-loading {
    padding: 2rem 1rem;
    text-align: center;
    color: #999;
    font-size: 0.8rem;
}

.pro-empty i,
.pro-loading i {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    opacity: 0.4;
}

.pro-loading .spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   Sidebar BnF - Analyse de marche
   ============================================ */

.bnf-sidebar {
    margin-top: 1rem;
}

.bnf-sidebar .sidebar-pro-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.bnf-market-stat {
    text-align: center;
    padding: 1rem;
}

.bnf-market-stat .bnf-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
    line-height: 1;
}

.bnf-market-stat small {
    font-size: 0.78rem;
    color: #6b7280;
    display: block;
    margin-top: 0.25rem;
}

.bnf-mini-card {
    padding: 0.5rem 0.75rem;
    border-left: 3px solid #1e40af;
    margin: 0 0.5rem 0.5rem 0.5rem;
    background: #f8fafc;
    border-radius: 0 4px 4px 0;
    transition: background-color 0.15s;
}

.bnf-mini-card:hover {
    background: #eff6ff;
}

.bnf-mini-title {
    font-weight: 600;
    font-size: 0.82rem;
    color: #1e293b;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bnf-mini-meta {
    font-size: 0.72rem;
    color: #6b7280;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bnf-mini-card a.bnf-mini-title {
    text-decoration: none;
    color: #1e293b;
}

.bnf-mini-card a.bnf-mini-title:hover {
    color: #1e40af;
}

.bnf-sidebar-footer {
    padding: 0.5rem 0.75rem;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.bnf-sidebar-footer a {
    font-size: 0.78rem;
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
}

.bnf-sidebar-footer a:hover {
    text-decoration: underline;
}

.bnf-query-terms {
    font-size: 0.72rem;
    color: #6b7280;
    padding: 0.25rem 0.75rem 0.5rem;
    font-style: italic;
}

/* Categories BnF */
.bnf-categories {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.bnf-categories-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.35rem;
}

.bnf-categories-label i {
    color: #1e40af;
    margin-right: 0.25rem;
}

.bnf-categories-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.bnf-cat-chip {
    display: inline-block;
    background: #eff6ff;
    color: #1e40af;
    font-size: 0.68rem;
    padding: 0.15em 0.5em;
    border-radius: 10px;
    border: 1px solid #bfdbfe;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}

/* Responsive : petit écran */
@media (max-width: 991.98px) {
    .professionals-sidebar {
        margin-top: 2rem;
        padding-left: 0;
    }
}
