/**
 * ALDON RADAR - Collections Page Styles V3
 * Convention: préfixe .fc- (Feed Collections)
 * 
 * V3: Slider pour collections suggérées (25 collections, 5 pages)
 */

/* ============================================
   CONTAINER
   ============================================ */

.fc-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
}

/* ============================================
   HEADER
   ============================================ */

.fc-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 1.5rem;
}

.fc-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fc-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fc-title i {
    font-size: 1.5rem;
    color: #10b981;
}

.fc-title h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.fc-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.fc-sep {
    color: #475569;
}

.fc-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Search */
.fc-search {
    position: relative;
    display: flex;
    align-items: center;
}

.fc-search i.fa-search {
    position: absolute;
    left: 1rem;
    color: #64748b;
    font-size: 0.875rem;
    pointer-events: none;
}

.fc-search input {
    width: 220px;
    padding: 0.625rem 2.5rem 0.625rem 2.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #fff;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.fc-search input:focus {
    outline: none;
    border-color: rgba(16,185,129,0.4);
    background: rgba(255,255,255,0.06);
}

.fc-search input::placeholder {
    color: #64748b;
}

.fc-search-clear {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.fc-search-clear:hover {
    color: #94a3b8;
}

/* Create Button */
.fc-btn-create {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-btn-create:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}

.fc-btn-create i {
    font-size: 0.8rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.fc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.fc-btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.fc-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}

.fc-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.fc-btn-secondary {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
}

.fc-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.fc-btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #94a3b8;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.fc-btn-outline:hover {
    border-color: rgba(16,185,129,0.4);
    color: #10b981;
    background: rgba(16,185,129,0.1);
}

/* ============================================
   GRID - 3 colonnes desktop, 2 tablette, 1 mobile
   ============================================ */

.fc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1280px) {
    .fc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fc-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CARD
   ============================================ */

.fc-card {
    background: #1a2234;
    border: 1px solid rgba(255,255,255,0.07);
    border-top: none; /* le ::before gère le bord haut — évite le double trait */
    border-radius: 14px;
    padding: 1.125rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Accent coloré par collection — fin, sobre, cohérent avec le design système */
/* La couleur est injectée via CSS variable --card-color (ng-style) */
.fc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--card-color, #10b981);
    opacity: 0.55;
    border-radius: 14px 14px 0 0;
    transition: opacity 0.25s ease;
}

.fc-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.fc-card:hover::before {
    opacity: 0.9;
}

.fc-card-empty {
    opacity: 0.8;
}

/* Card Header */
.fc-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.fc-card-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fc-card-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.85;
}

.fc-card-emoji {
    margin-right: 0.25rem;
}

.fc-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    flex: 1;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-card-title:hover {
    color: #10b981;
}

/* FIX 5: Badge texte au lieu d'icône cadenas */
.fc-card-badge {
    font-size: 0.65rem;
    font-weight: 500;
    color: #64748b;
    padding: 0.2rem 0.5rem;
    background: rgba(255,255,255,0.04);
    border-radius: 4px;
    white-space: nowrap;
}

.fc-badge-private {
    color: #f59e0b;
}

.fc-badge-collaborative {
    color: #3b82f6;
}

.fc-badge-public {
    color: #10b981;
}

.fc-card-stats {
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding-left: 0.875rem;
}

/* FIX 2: Card Body - Layout réorganisé */
.fc-card-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    min-height: 70px;
}

.fc-card-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    min-width: 0;
}

.fc-card-right {
    flex-shrink: 0;
}

/* Favicons */
.fc-card-favicons {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.fc-card-favicons img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 2px solid #1a2234;
    margin-left: -8px;
    background: #0f172a;
}

.fc-card-favicons img:first-child {
    margin-left: 0;
}

.fc-favicons-more {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    border: 2px solid #1a2234;
    margin-left: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #94a3b8;
    font-weight: 600;
}

.fc-favicons-empty {
    opacity: 0.5;
}

.fc-favicons-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 0.75rem;
}

/* FIX 4: Tags */
.fc-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.fc-tag {
    padding: 0.2rem 0.5rem;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 4px;
    font-size: 0.65rem;
    color: #10b981;
    white-space: nowrap;
}

.fc-tag-more {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: #64748b;
}

/* FIX 6: Mosaic - Agrandi */
.fc-card-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3px;
    /* FIX 6: Agrandir à 120x85px */
    width: 120px;
    height: 85px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.fc-mosaic-img {
    background-size: cover;
    background-position: center;
    background-color: rgba(255,255,255,0.05);
}

.fc-mosaic-img:first-child {
    grid-row: span 2;
}

.fc-mosaic-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Collection vide - Message d'aide amélioré */
.fc-empty-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
}

.fc-empty-hint i {
    font-size: 1.25rem;
    opacity: 0.8;
    color: #fff;
}

.fc-empty-hint span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.fc-btn-feedverse {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 0.25rem;
}

.fc-btn-feedverse:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-1px);
}

.fc-btn-feedverse i {
    font-size: 0.6rem;
    opacity: 1;
}

/* Actions hiérarchisées — séparateur plus fin, cohérent dashboard */
.fc-card-actions {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding-top: 0.625rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.fc-action {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    font-size: 0.73rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
    border: none;
    background: transparent;
}

/* Spotlight = CTA principal en gradient */
.fc-action-spotlight {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-weight: 600;
}

.fc-action-spotlight:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(16,185,129,0.28);
}

.fc-action-spotlight:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Modifier = outline discret */
.fc-action-edit {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
}

.fc-action-edit:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.18);
    color: #e2e8f0;
}

/* Supprimer = texte rouge discret, aligné à droite */
.fc-action-delete {
    margin-left: auto;
    color: #ef4444;
    opacity: 0.45;
    background: transparent;
    border: none;
}

.fc-action-delete:hover {
    opacity: 1;
    background: rgba(239,68,68,0.08);
}

@media (max-width: 768px) {
    .fc-action span {
        display: none;
    }
    
    .fc-action {
        padding: 0.5rem;
    }
    
    .fc-card-mosaic {
        width: 90px;
        height: 65px;
    }
}

/* ============================================
   STATES
   ============================================ */

.fc-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
}

.fc-state-icon {
    font-size: 3rem;
    color: #475569;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.fc-state h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
}

.fc-state p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 1.5rem;
    max-width: 400px;
}

.fc-state-actions {
    display: flex;
    gap: 1rem;
}

.fc-error .fc-state-icon {
    color: #f59e0b;
}

.fc-no-results {
    padding: 3rem 2rem;
}

.fc-no-results i {
    font-size: 2.5rem;
    color: #475569;
    margin-bottom: 1rem;
}

/* ============================================
   LOADING SKELETON
   ============================================ */

.fc-skeleton-card {
    background: #1a2234;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1.125rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.fc-skeleton-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 14px 14px 0 0;
}

.fc-skeleton-header {
    height: 20px;
    width: 60%;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: fc-skeleton-pulse 1.5s infinite;
    border-radius: 4px;
}

.fc-skeleton-stats {
    height: 12px;
    width: 40%;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: fc-skeleton-pulse 1.5s infinite;
    border-radius: 3px;
}

.fc-skeleton-favicons {
    height: 26px;
    width: 100px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: fc-skeleton-pulse 1.5s infinite;
    border-radius: 6px;
}

.fc-skeleton-tags {
    height: 16px;
    width: 70%;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: fc-skeleton-pulse 1.5s infinite;
    border-radius: 3px;
}

.fc-skeleton-actions {
    height: 28px;
    width: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: fc-skeleton-pulse 1.5s infinite;
    border-radius: 6px;
    margin-top: auto;
}

@keyframes fc-skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   SUGGESTIONS - SLIDER V2 (25 collections)
   ============================================ */

.fc-suggestions {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
}

/* Header du slider */
.fc-suggestions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.fc-suggestions-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #94a3b8;
    margin: 0;
}

.fc-suggestions-title i {
    color: #f59e0b;
}

.fc-suggestions-count {
    font-size: 0.7rem;
    font-weight: 400;
    color: #64748b;
    background: rgba(255,255,255,0.04);
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.25rem;
}

/* Navigation du slider */
.fc-suggestions-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fc-slider-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
}

.fc-slider-arrow:hover:not(:disabled) {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.3);
    color: #10b981;
}

.fc-slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.fc-slider-dots {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.fc-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-slider-dot:hover {
    background: rgba(255,255,255,0.2);
}

.fc-slider-dot.active {
    background: #10b981;
    width: 20px;
    border-radius: 4px;
}

/* Slider viewport & track */
.fc-slider-viewport {
    overflow: hidden;
    border-radius: 10px;
}

.fc-slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.fc-slider-page {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    min-width: 100%;
    flex-shrink: 0;
}

/* Page indicator mobile */
.fc-slider-page-indicator {
    display: none;
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.7rem;
    color: #64748b;
}

/* Suggestion Card V2 */
.fc-suggestion-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.125rem 0.75rem 0.875rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-top: none; /* le ::before gère le bord haut — évite le double trait */
    border-radius: 14px;
    gap: 0.375rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Accent top — cohérent avec fc-card::before, coloré par thématique via JS */
.fc-suggestion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--suggestion-color, #10b981);
    opacity: 0.5;
    border-radius: 14px 14px 0 0;
    transition: opacity 0.25s ease;
}

.fc-suggestion-card:hover {
    border-color: rgba(255,255,255,0.11);
    background: rgba(255,255,255,0.035);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.fc-suggestion-card:hover::before {
    opacity: 0.85;
}

/* Ajoutée */
.fc-suggestion-card.fc-suggestion-added {
    opacity: 0.55;
    border-color: rgba(16,185,129,0.3);
    background: rgba(16,185,129,0.03);
}

.fc-suggestion-card.fc-suggestion-added:hover {
    transform: none;
    box-shadow: none;
}

/* En cours d'ajout */
.fc-suggestion-card.fc-suggestion-adding {
    opacity: 0.8;
    pointer-events: none;
}

/* Icône catégorie */
.fc-suggestion-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.fc-suggestion-emoji {
    font-size: 1.35rem;
    line-height: 1;
}

.fc-suggestion-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fc-suggestion-desc {
    font-size: 0.68rem;
    color: #64748b;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fc-suggestion-domains {
    font-size: 0.6rem;
    color: #475569;
    margin-bottom: 0.25rem;
}

/* Bouton ajouter dans suggestion card */
.fc-suggestion-btn {
    width: 100%;
    padding: 0.4rem 0.5rem;
    font-size: 0.72rem;
    border-radius: 8px;
    margin-top: auto;
}

.fc-suggestion-btn:disabled {
    cursor: not-allowed;
}

/* Bouton ajouté (vert) */
.fc-suggestion-added .fc-suggestion-btn {
    border-color: rgba(16,185,129,0.3);
    color: #10b981;
    background: rgba(16,185,129,0.08);
}

/* ============================================
   MODAL
   ============================================ */

.fc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.fc-modal {
    background: #1a2234;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.fc-modal-preview {
    max-width: 600px;
}

.fc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fc-modal-header h2 {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.fc-modal-header h2 i {
    color: #10b981;
}

.fc-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: none;
    border-radius: 8px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-modal-close:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.fc-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.fc-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.2);
}

/* Form */
.fc-form-group {
    margin-bottom: 1.25rem;
}

.fc-form-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.fc-required {
    color: #ef4444;
}

.fc-optional {
    font-weight: 400;
    color: #64748b;
}

.fc-char-count {
    font-weight: 400;
    color: #64748b;
}

.fc-char-count.fc-warning {
    color: #f59e0b;
}

.fc-input,
.fc-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.fc-input:focus,
.fc-textarea:focus {
    outline: none;
    border-color: rgba(16,185,129,0.5);
    background: rgba(255,255,255,0.06);
}

.fc-input::placeholder,
.fc-textarea::placeholder {
    color: #64748b;
}

.fc-textarea {
    resize: vertical;
    min-height: 60px;
}

.fc-hint {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.375rem;
}

/* Emoji Picker */
.fc-emoji-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.fc-emoji-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-emoji-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
}

.fc-emoji-btn.active {
    background: rgba(16,185,129,0.2);
    border-color: rgba(16,185,129,0.5);
}

/* Status Options */
.fc-status-options {
    display: flex;
    gap: 0.5rem;
}

.fc-status-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.625rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-status-btn:hover {
    background: rgba(255,255,255,0.08);
}

.fc-status-btn.active {
    background: rgba(16,185,129,0.15);
    border-color: rgba(16,185,129,0.4);
    color: #10b981;
}

/* Toggle Options */
.fc-toggle-options {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.fc-toggle-options:hover {
    color: #94a3b8;
}

.fc-optional-fields {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Feeds List */
.fc-feeds-list {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.fc-feeds-list > label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.fc-feeds-list > label i {
    color: #f59e0b;
}

.fc-feeds-scroll {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fc-feed-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
}

.fc-feed-item img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    flex-shrink: 0;
}

.fc-feed-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.fc-feed-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-feed-host {
    font-size: 0.7rem;
    color: #64748b;
}

.fc-feed-remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.fc-feed-remove:hover {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
}

/* ============================================
   PREVIEW MODAL
   ============================================ */

.fc-preview-body {
    padding: 0;
    min-height: 300px;
}

.fc-preview-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem;
    color: #64748b;
}

.fc-preview-loading i {
    font-size: 1.5rem;
    color: #10b981;
}

.fc-preview-list {
    display: flex;
    flex-direction: column;
}

.fc-preview-article {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: background 0.2s ease;
}

.fc-preview-article:hover {
    background: rgba(255,255,255,0.03);
}

.fc-preview-article:last-child {
    border-bottom: none;
}

.fc-preview-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.fc-preview-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.fc-preview-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fc-preview-article:hover .fc-preview-title {
    color: #10b981;
}

.fc-preview-meta {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #64748b;
}

.fc-preview-meta img {
    width: 14px;
    height: 14px;
    border-radius: 3px;
}

.fc-preview-link {
    color: #64748b;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s;
    flex-shrink: 0;
    align-self: center;
}

.fc-preview-article:hover .fc-preview-link {
    opacity: 1;
}

.fc-preview-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.fc-preview-empty i {
    font-size: 2.5rem;
    color: #475569;
    margin-bottom: 1rem;
}

.fc-preview-empty p {
    font-size: 1rem;
    color: #94a3b8;
    margin: 0 0 0.5rem;
}

.fc-preview-empty span {
    font-size: 0.8rem;
    color: #64748b;
}

/* ============================================
   MODAL SUPPRESSION - Design travaillé
   ============================================ */

.fc-delete-overlay {
    z-index: 1100;
}

.fc-modal-delete {
    max-width: 420px;
    text-align: center;
    padding: 0;
    overflow: visible;
    border: 1px solid rgba(239, 68, 68, 0.15);
    animation: fc-delete-appear 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fc-delete-appear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Icône danger flottante */
.fc-delete-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -28px auto 0;
    width: 56px;
    height: 56px;
    z-index: 2;
}

.fc-delete-icon-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.08);
    border: 2px solid rgba(239, 68, 68, 0.12);
    animation: fc-ring-pulse 2s ease-in-out infinite;
}

@keyframes fc-ring-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0.6; }
}

.fc-delete-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.35), 0 0 0 4px #1a2234;
    position: relative;
    z-index: 1;
}

.fc-delete-icon i {
    font-size: 1.2rem;
    color: #fff;
}

/* Contenu */
.fc-delete-content {
    padding: 1.5rem 2rem 0;
}

.fc-delete-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0.75rem 0 0.875rem;
    letter-spacing: -0.01em;
}

/* Nom de la collection ciblée */
.fc-delete-target-name {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.fc-delete-target-feed {
    font-size: 0.82rem;
    font-weight: 500;
}

.fc-delete-target-feed img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.fc-delete-emoji {
    font-size: 1.15rem;
}

/* Message d'avertissement */
.fc-delete-warning {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 0 1rem;
    padding: 0 0.5rem;
}

.fc-delete-warning strong {
    color: #f87171;
    font-weight: 600;
}

/* Impact de la suppression */
.fc-delete-impact {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin: 0 0 0.25rem;
}

.fc-delete-impact-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.35rem 0;
    font-size: 0.78rem;
    color: #f87171;
}

.fc-delete-impact-item i {
    width: 16px;
    text-align: center;
    font-size: 0.72rem;
    opacity: 0.8;
}

/* Boutons d'action */
.fc-delete-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 1.25rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0 0 16px 16px;
}

.fc-delete-btn-cancel {
    flex: 1;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-delete-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.fc-delete-btn-confirm {
    flex: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.25);
}

.fc-delete-btn-confirm:hover:not(:disabled) {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    transform: translateY(-1px);
}

.fc-delete-btn-confirm:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 1px 6px rgba(220, 38, 38, 0.3);
}

.fc-delete-btn-confirm:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fc-delete-btn-confirm.fc-deleting {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
}

.fc-delete-btn-confirm i {
    font-size: 0.78rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1280px) {
    .fc-slider-page {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .fc-slider-page {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .fc-container {
        padding: 0 1rem 1.5rem;
    }
    
    .fc-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .fc-header-right {
        width: 100%;
        flex-direction: column;
    }
    
    .fc-search {
        width: 100%;
    }
    
    .fc-search input {
        width: 100%;
    }
    
    .fc-btn-create {
        width: 100%;
        justify-content: center;
    }
    
    .fc-card-body {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .fc-card-left {
        width: 100%;
    }
    
    .fc-card-right {
        width: 100%;
    }
    
    .fc-card-mosaic {
        width: 100%;
        height: 100px;
    }
    
    .fc-modal {
        max-height: 95vh;
    }
    
    .fc-status-options {
        flex-direction: column;
    }
    
    .fc-preview-thumb {
        width: 60px;
        height: 45px;
    }
    
    /* Slider responsive */
    .fc-suggestions-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .fc-suggestions-nav {
        width: 100%;
        justify-content: center;
    }
    
    .fc-slider-page {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .fc-suggestion-card {
        padding: 0.875rem 0.5rem 0.75rem;
    }
    
    .fc-suggestion-icon {
        width: 36px;
        height: 36px;
    }
    
    .fc-suggestion-emoji {
        font-size: 1.1rem;
    }
    
    .fc-suggestion-title {
        font-size: 0.72rem;
    }
    
    .fc-suggestion-desc {
        display: none;
    }
    
    .fc-slider-page-indicator {
        display: block;
    }
}

@media (max-width: 480px) {
    .fc-slider-page {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fc-modal-delete {
        margin: 0 0.75rem;
    }
    
    .fc-delete-content {
        padding: 1.25rem 1.25rem 0;
    }
    
    .fc-delete-actions {
        padding: 1.25rem;
        flex-direction: column-reverse;
    }
    
    .fc-delete-btn-confirm {
        flex: initial;
    }
    
    .fc-delete-btn-cancel {
        flex: initial;
    }
}

/* ============================================
   SOURCES BUTTON & MODAL
   ============================================ */

.fc-action-sources {
    color: #3b82f6;
}

.fc-action-sources:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

.fc-action-sources:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.fc-modal-sources {
    max-width: 560px;
}

.fc-sources-count {
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fc-sources-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 400px;
    overflow-y: auto;
}

.fc-source-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 10px;
    transition: background 0.15s;
}

.fc-source-item:hover {
    background: rgba(255,255,255,0.04);
}

.fc-source-item img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    flex-shrink: 0;
}

.fc-source-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.fc-source-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-source-host {
    font-size: 0.72rem;
    color: #64748b;
}

.fc-source-remove {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.fc-source-remove:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}
