/**
 * ALDON RADAR - FeedVerse Styles
 * Design cohérent avec le dashboard
 */

/* ============================================
   CONTAINER
   ============================================ */
.feedverse-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* ============================================
   HEADER - Style Dashboard
   ============================================ */
.fv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fv-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

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

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

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

.fv-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.fv-header-actions .btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #64748b;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-header-actions .btn-icon:hover {
    background: rgba(16,185,129,0.12);
    border-color: rgba(16,185,129,0.25);
    color: #10b981;
}

/* ============================================
   SEARCH SECTION
   ============================================ */
.fv-search-section {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: center;
}

.fv-search-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #1a2234;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    transition: all 0.2s ease;
    height: 52px;
}

.fv-search-bar:focus-within {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

.fv-search-bar > i {
    color: #64748b;
    font-size: 1rem;
    flex-shrink: 0;
}

.fv-search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.5rem;
    color: #fff;
    font-size: 0.95rem;
    min-width: 0;
}

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

.fv-search-input:focus {
    outline: none;
}

.btn-search {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    height: 40px;
    flex-shrink: 0;
}

.btn-search:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16,185,129,0.4);
}

.btn-search:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Search Syntax Help */
.fv-search-help {
    position: relative;
    flex-shrink: 0;
}

.fv-help-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0 1rem;
    height: 52px;
    background: #1a2234;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.fv-help-toggle:hover {
    color: #10b981;
    border-color: rgba(16,185,129,0.3);
    background: rgba(16,185,129,0.05);
}

.fv-help-popup {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 100;
    width: 360px;
    background: #1a2234;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    animation: fadeIn 0.15s ease;
}

.fv-help-content {
    padding: 1rem;
}

.fv-help-content h4 {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #10b981;
}

.fv-help-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
}

.fv-help-content li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.8rem;
    color: #94a3b8;
}

.fv-help-content code {
    background: rgba(16,185,129,0.1);
    color: #10b981;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
}

.fv-help-example {
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.75rem;
    color: #64748b;
}

.fv-help-example code {
    display: inline-block;
    margin-top: 0.25rem;
}

/* Filter Toggle & View Toggle */
.fv-filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem;
    height: 52px;
    background: #1a2234;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-filter-toggle:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.btn-filter-toggle .filter-count {
    padding: 0.125rem 0.5rem;
    background: #10b981;
    border-radius: 6px;
    font-size: 0.75rem;
    color: white;
}

.btn-filter-toggle .fa-chevron-down {
    transition: transform 0.2s;
}

.btn-filter-toggle .fa-chevron-down.rotated {
    transform: rotate(180deg);
}

.fv-view-toggle {
    display: flex;
    background: #1a2234;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    height: 52px;
}

.fv-view-toggle button {
    width: 52px;
    height: 100%;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.fv-view-toggle button:hover {
    color: #94a3b8;
    background: rgba(255,255,255,0.04);
}

.fv-view-toggle button.active {
    background: rgba(16,185,129,0.15);
    color: #10b981;
}

/* ============================================
   FILTERS PANEL
   ============================================ */
.fv-filters-panel {
    background: #1a2234;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fv-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.fv-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fv-filter-group label {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fv-filter-group label i {
    color: #64748b;
    font-size: 0.75rem;
}

.fv-filter-group select {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.fv-filter-group select:hover {
    border-color: rgba(255,255,255,0.15);
}

.fv-filter-group select:focus {
    outline: none;
    border-color: #10b981;
}

.fv-filters-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16,185,129,0.4);
}

.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reset:hover {
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.3);
    color: #ef4444;
}

/* ============================================
   CUSTOM SELECT WRAPPER
   ============================================ */
.fv-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.fv-select-wrapper select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.fv-select-wrapper select:hover {
    border-color: rgba(255,255,255,0.2);
    background: #252f43;
}

.fv-select-wrapper select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16,185,129,0.15);
}

.fv-select-wrapper select option {
    background: #1a2234;
    color: #fff;
    padding: 0.5rem;
}

.fv-select-wrapper select option:checked,
.fv-select-wrapper select option:hover {
    background: #10b981;
    color: #fff;
}

.fv-select-wrapper > i {
    position: absolute;
    right: 1rem;
    color: #64748b;
    font-size: 0.75rem;
    pointer-events: none;
    transition: transform 0.2s;
}

.fv-select-wrapper select:focus + i {
    color: #10b981;
}

/* Small select (for per page) */
.fv-select-small {
    min-width: 70px;
}

.fv-select-small select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    background: #1a2234;
    color: #fff !important;
    font-weight: 500;
}

.fv-select-small select option {
    background: #1a2234;
    color: #fff;
    padding: 0.5rem;
}

/* ============================================
   RESULTS BAR (count + pagination + per page)
   ============================================ */
.fv-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fv-results-count {
    color: #94a3b8;
    font-size: 0.9rem;
}

.fv-results-count strong {
    color: #10b981;
    font-weight: 600;
}

.fv-search-term {
    color: #64748b;
}

/* Results actions (pagination + per page) */
.fv-results-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Compact pagination for results bar */
.fv-pagination-compact {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-page-sm {
    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.08);
    border-radius: 6px;
    color: #94a3b8;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-page-sm:hover:not(:disabled) {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.btn-page-sm:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.fv-page-indicator {
    padding: 0 0.5rem;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.fv-per-page {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.85rem;
}

/* Legacy results info (keep for compatibility) */
.fv-results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    color: #64748b;
    font-size: 0.9rem;
}

.fv-results-info strong {
    color: #10b981;
    font-weight: 600;
}

/* ============================================
   LOADING STATE
   ============================================ */
.fv-loading {
    display: flex;
    justify-content: center;
    padding: 3rem 2rem;
}

.fv-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #64748b;
}

.fv-loading-spinner i {
    font-size: 2.5rem;
    color: #10b981;
}

/* ============================================
   SKELETON SCREEN
   ============================================ */

@keyframes skPulse {
    0%, 100% { opacity: 0.06; }
    50%      { opacity: 0.12; }
}

.sk-pulse {
    background: #fff;
    animation: skPulse 1.4s ease-in-out infinite;
}

.fv-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.fv-skeleton-card {
    background: #1a2234;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fv-skeleton-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 1.25rem 0;
}

.sk-circle {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    flex-shrink: 0;
}

.sk-badges {
    display: flex;
    gap: 0.35rem;
}

.sk-badge {
    width: 36px;
    height: 22px;
    border-radius: 6px;
}

.sk-badge-sm {
    width: 28px;
}

.fv-skeleton-body {
    padding: 0.75rem 1.25rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sk-line {
    border-radius: 4px;
    height: 12px;
}

.sk-line-title {
    width: 75%;
    height: 16px;
    margin-bottom: 2px;
}

.sk-line-host {
    width: 45%;
    height: 10px;
}

.sk-line-desc {
    width: 90%;
    margin-top: 4px;
}

.sk-line-desc-short {
    width: 60%;
}

.sk-meta {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.sk-meta-item {
    width: 48px;
    height: 10px;
    border-radius: 3px;
}

.sk-tags {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.sk-tag {
    width: 72px;
    height: 22px;
    border-radius: 12px;
}

.sk-tag-md {
    width: 96px;
}

.fv-skeleton-actions {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 0.5rem;
    gap: 0.35rem;
}

.sk-action {
    flex: 1;
    height: 36px;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .fv-skeleton-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 480px) {
    .fv-skeleton-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESULTS GRID
   ============================================ */
.fv-results.fv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.fv-results.fv-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ============================================
   FEED CARD
   ============================================ */
.fv-card {
    background: #1a2234;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.fv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    border-color: rgba(16,185,129,0.3);
}

/* Card Header */
.fv-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 1.25rem 0;
}

.fv-card-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #059669);
}

.fv-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fv-card-initials {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.fv-card-badges {
    display: flex;
    gap: 0.35rem;
}

.badge {
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-lang {
    background: rgba(59,130,246,0.15);
    color: #3b82f6;
}

.badge-format {
    background: rgba(139,92,246,0.15);
    color: #8b5cf6;
}

/* Card Social Icons (replaces badges when socials exist) */
.fv-card-socials {
    display: flex;
    gap: 0.25rem;
}

.fv-social-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.15s ease;
    text-decoration: none;
}

.fv-social-icon.twitter {
    background: rgba(29,161,242,0.15);
    color: #1da1f2;
}

.fv-social-icon.twitter:hover {
    background: rgba(29,161,242,0.3);
}

.fv-social-icon.facebook {
    background: rgba(24,119,242,0.15);
    color: #1877f2;
}

.fv-social-icon.facebook:hover {
    background: rgba(24,119,242,0.3);
}

.fv-social-icon.youtube {
    background: rgba(255,0,0,0.15);
    color: #ff0000;
}

.fv-social-icon.youtube:hover {
    background: rgba(255,0,0,0.3);
}

.fv-social-icon.instagram {
    background: rgba(225,48,108,0.15);
    color: #e1306c;
}

.fv-social-icon.instagram:hover {
    background: rgba(225,48,108,0.3);
}

.fv-social-icon.linkedin {
    background: rgba(0,119,181,0.15);
    color: #0077b5;
}

.fv-social-icon.linkedin:hover {
    background: rgba(0,119,181,0.3);
}

/* Card Body */
.fv-card-body {
    padding: 1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fv-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.fv-card-host {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    margin: 0 0 0.75rem;
}

.fv-card-host i {
    font-size: 0.7rem;
    color: #64748b;
}

.fv-card-host a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.fv-card-host a:hover {
    color: #10b981;
}

.fv-card-desc {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Card Meta */
.fv-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.fv-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
    font-size: 0.8rem;
}

.fv-meta-item i {
    font-size: 0.75rem;
    color: #475569;
}

/* Card Tags */
.fv-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.fv-tag {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    color: #10b981;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Card Actions */
.fv-card-actions {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 0.5rem;
    gap: 0.35rem;
    margin-top: auto;
}

.btn-action {
    flex: 1;
    background: transparent;
    border: none;
    color: #64748b;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.btn-action:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.btn-action.btn-primary {
    background: rgba(16,185,129,0.1);
    color: #10b981;
}

.btn-action.btn-primary:hover {
    background: rgba(16,185,129,0.2);
}

.btn-action.btn-success {
    background: rgba(59,130,246,0.1);
    color: #3b82f6;
}

.btn-action.btn-success:hover {
    background: rgba(59,130,246,0.2);
}

/* Card action button variants */
.btn-action.btn-articles {
    color: #10b981;
}

.btn-action.btn-articles:hover {
    background: rgba(16,185,129,0.1);
    color: #10b981;
}

.btn-action.btn-add {
    color: #3b82f6;
}

.btn-action.btn-add:hover {
    background: rgba(59,130,246,0.1);
    color: #3b82f6;
}

/* ============================================
   LIST VIEW
   ============================================ */
.fv-list .fv-card {
    flex-direction: row;
    align-items: stretch;
}

.fv-list .fv-card-header {
    flex-direction: column;
    padding: 1.25rem;
    border-right: 1px solid rgba(255,255,255,0.06);
    gap: 0.75rem;
    justify-content: center;
}

.fv-list .fv-card-body {
    padding: 1.25rem;
    flex: 1;
}

.fv-list .fv-card-desc {
    -webkit-line-clamp: 1;
}

.fv-list .fv-card-actions {
    flex-direction: column;
    border-top: none;
    border-left: 1px solid rgba(255,255,255,0.06);
    padding: 0.75rem;
    width: auto;
    justify-content: center;
}

.fv-list .btn-action {
    flex: none;
    padding: 0.625rem 0.875rem;
}

/* ============================================
   EMPTY STATES
   ============================================ */
.fv-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
}

.fv-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(16,185,129,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-empty-icon i {
    font-size: 2rem;
    color: #10b981;
}

.fv-empty h3 {
    color: #e2e8f0;
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.fv-empty p {
    margin: 0 0 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.fv-empty-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.fv-suggestion {
    padding: 0.5rem 1rem;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 20px;
    color: #10b981;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.fv-suggestion:hover {
    background: rgba(16,185,129,0.2);
    transform: translateY(-1px);
}

/* ============================================
   PAGINATION
   ============================================ */
.fv-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Pagination Bar (new version with info + controls) */
.fv-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.fv-pagination-info {
    color: #64748b;
    font-size: 0.85rem;
}

.fv-pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-page {
    min-width: 38px;
    height: 38px;
    padding: 0 0.5rem;
    display: inline-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;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.btn-page-nav {
    background: rgba(255,255,255,0.02);
}

.btn-page:hover:not(:disabled):not(.active):not(.ellipsis) {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
}

.btn-page.active {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(16,185,129,0.3);
    cursor: default;
}

.btn-page.ellipsis {
    background: transparent;
    border-color: transparent;
    cursor: default;
    color: #64748b;
}

.btn-page:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 0.35rem;
}

/* ============================================
   MODALS
   ============================================ */
.fv-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fv-modal {
    background: #1a2234;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fv-modal-large {
    max-width: 800px;
}

.fv-modal-small {
    max-width: 450px;
}

/* Compact modal for details */
.fv-modal-compact {
    max-width: 520px;
}

.fv-modal-compact .fv-modal-body {
    padding: 1.25rem;
}

.fv-modal-compact .fv-detail-section {
    margin-bottom: 0.75rem;
}

.fv-modal-compact .fv-detail-section h4 {
    margin-bottom: 0.4rem;
}

.fv-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);
    background: linear-gradient(135deg, rgba(16,185,129,0.08), transparent);
}

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

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

.btn-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: none;
    color: #94a3b8;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    background: rgba(239,68,68,0.15);
    color: #ef4444;
}

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

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

/* Modal Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

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

.btn.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: white;
}

.btn.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16,185,129,0.4);
    color: white;
}

.btn.btn-success {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    color: white;
}

.btn.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59,130,246,0.4);
}

/* ============================================
   FEED DETAILS MODAL
   ============================================ */
.fv-detail-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fv-detail-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.fv-detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fv-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fv-detail-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.fv-detail-info a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.fv-detail-info a:hover {
    color: #10b981;
}

.fv-detail-section {
    margin-bottom: 1.5rem;
}

.fv-detail-section h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fv-detail-section h4 i {
    color: #64748b;
    font-size: 0.8rem;
}

.fv-detail-section p {
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* KPI Grid */
.fv-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.fv-detail-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.fv-detail-item .label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fv-detail-item .value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #10b981;
}

.fv-detail-item .value-small {
    font-size: 0.85rem;
}

/* Compact KPI Grid */
.fv-detail-grid-compact {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.fv-detail-grid-compact .fv-detail-item {
    padding: 0.75rem;
    border-radius: 10px;
}

.fv-detail-grid-compact .fv-detail-item .label {
    font-size: 0.65rem;
    margin-bottom: 0.35rem;
}

.fv-detail-grid-compact .fv-detail-item .value {
    font-size: 1rem;
}

.fv-detail-item-wide {
    grid-column: span 2;
}

/* Compact sections */
.fv-detail-section-compact {
    margin-bottom: 0.75rem;
}

.fv-social-section {
    margin-bottom: 0;
}

/* Tags in Modal */
.fv-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fv-detail-tags .fv-tag {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
}

/* RSS URL Section */
.fv-rss-section {
    background: rgba(16,185,129,0.05);
    border: 1px solid rgba(16,185,129,0.15);
    border-radius: 12px;
    padding: 1rem;
}

.fv-rss-url {
    display: flex;
    gap: 0.5rem;
}

.fv-rss-url input {
    flex: 1;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #94a3b8;
    font-size: 0.85rem;
    font-family: monospace;
}

.btn-copy {
    width: 44px;
    height: 44px;
    background: #10b981;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-copy:hover {
    background: #059669;
    transform: scale(1.05);
}

/* Social Links */
.fv-social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.social-link.twitter {
    background: rgba(29,161,242,0.15);
    color: #1da1f2;
}

.social-link.facebook {
    background: rgba(24,119,242,0.15);
    color: #1877f2;
}

.social-link.youtube {
    background: rgba(255,0,0,0.15);
    color: #ff0000;
}

.social-link.instagram {
    background: rgba(225,48,108,0.15);
    color: #e1306c;
}

.social-link.linkedin {
    background: rgba(0,119,181,0.15);
    color: #0077b5;
}

.social-link:hover {
    transform: scale(1.1);
}

/* ============================================
   ARTICLES MODAL
   ============================================ */
.fv-articles-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #64748b;
}

.fv-articles-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #10b981;
}

/* Articles Modal specific */
.fv-modal-articles {
    max-width: 700px;
    max-height: 85vh;
}

.fv-articles-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 0.5rem !important;
}

.fv-articles-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Compact Article Card */
.fv-article-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
}

.fv-article-compact:hover {
    background: rgba(16,185,129,0.08);
    border-color: rgba(16,185,129,0.2);
    transform: translateX(2px);
}

.fv-article-thumb {
    width: 72px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1a2234;
}

.fv-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fv-article-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.fv-article-title {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fv-article-compact:hover .fv-article-title {
    color: #10b981;
}

.fv-article-desc {
    margin: 0;
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fv-article-date {
    font-size: 0.7rem;
    color: #64748b;
}

.fv-article-date i {
    margin-right: 0.25rem;
    font-size: 0.65rem;
}

.fv-article-arrow {
    color: #64748b;
    font-size: 0.75rem;
    padding: 0 0.25rem;
    transition: all 0.15s;
}

.fv-article-compact:hover .fv-article-arrow {
    color: #10b981;
    transform: translateX(3px);
}

/* Legacy styles kept for backward compatibility */
.fv-article {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    transition: all 0.2s;
}

.fv-article:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(16,185,129,0.2);
}

.fv-article-img {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.fv-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fv-article-content {
    flex: 1;
    min-width: 0;
}

.fv-article-content h4 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.fv-article-content h4 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.fv-article-content h4 a:hover {
    color: #10b981;
}

.fv-article-excerpt {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 0 0.5rem;
}

.fv-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748b;
}

.fv-article-meta i {
    margin-right: 0.35rem;
}

.btn-read {
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-read:hover {
    color: #059669;
}

.fv-articles-empty {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.fv-articles-empty i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.5;
}

/* ============================================
   COLLECTION MODAL
   ============================================ */
.fv-collection-feed {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.fv-collection-feed strong {
    display: block;
    color: #fff;
    margin-bottom: 0.25rem;
}

.fv-collection-feed span {
    color: #64748b;
    font-size: 0.85rem;
}

.fv-collections-list h4,
.fv-new-collection h4 {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.fv-collection-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #e2e8f0;
}

.fv-collection-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(16,185,129,0.3);
}

.fv-collection-item.has-feed {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.3);
}

.fv-collection-item.has-feed i {
    color: #10b981;
}

.fv-collection-item .collection-count {
    margin-left: auto;
    color: #64748b;
    font-size: 0.8rem;
}

.fv-new-collection {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.fv-new-collection-form {
    display: flex;
    gap: 0.75rem;
}

.fv-new-collection-form input {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    color: #fff;
    font-size: 0.9rem;
}

.fv-new-collection-form input::placeholder {
    color: #64748b;
}

.fv-new-collection-form input:focus {
    outline: none;
    border-color: #10b981;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .fv-results.fv-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .fv-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .fv-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .fv-title {
        flex-wrap: wrap;
    }
    
    .fv-subtitle {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
    
    .fv-search-section {
        flex-direction: column;
    }
    
    .fv-filter-toggle {
        width: 100%;
        justify-content: space-between;
    }
    
    .btn-filter-toggle {
        flex: 1;
    }
    
    .fv-filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fv-list .fv-card {
        flex-direction: column;
    }
    
    .fv-list .fv-card-header {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    
    .fv-list .fv-card-actions {
        flex-direction: row;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    
    .fv-modal {
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .fv-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .feedverse-container {
        padding: 0;
    }
    
    .fv-title h1 {
        font-size: 1.5rem;
    }
    
    .fv-results.fv-grid {
        grid-template-columns: 1fr;
    }
    
    .fv-filters-grid {
        grid-template-columns: 1fr;
    }
    
    .fv-pagination {
        flex-wrap: wrap;
    }
    
    .btn-page {
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .fv-article {
        flex-direction: column;
    }
    
    .fv-article-img {
        width: 100%;
        height: 150px;
    }
    
    .fv-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .fv-social-links {
        flex-wrap: wrap;
    }
}
/**
 * ALDON RADAR - FeedVerse Collections Additional Styles
 * Styles additionnels pour le modal de collections Supabase
 * À ajouter à la fin de feedverse.css (après la ligne 1987)
 */

/* ============================================
   COLLECTION MODAL - SUPABASE ADDITIONS
   ============================================ */

/* Loading state */
.fv-collections-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #64748b;
    gap: 0.75rem;
}

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

/* Collection item name */
.fv-collection-item .collection-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/**
 * ALDON RADAR - FeedVerse Collections Form Styles
 * Styles pour le formulaire amélioré de création de collection
 * À ajouter à la fin de feedverse.css
 */

/* ============================================
   COLLECTION MODAL - ENHANCED
   ============================================ */

.fv-modal-collection {
    max-width: 480px;
}

/* Collection Loading */
.fv-collections-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #64748b;
    gap: 0.75rem;
}

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

/* Collection Item Status */
.fv-collection-item .collection-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fv-collection-item .collection-status {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.7rem;
}

.fv-collection-item .collection-status.status-private {
    color: #64748b;
}

.fv-collection-item .collection-status.status-collaborative {
    color: #3b82f6;
}

.fv-collection-item .collection-status.status-public {
    color: #10b981;
}

/* ============================================
   NEW COLLECTION FORM
   ============================================ */

.fv-new-collection {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.fv-new-collection > h4 {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0 0 1rem;
    font-weight: 600;
}

/* Form Group */
.fv-form-group {
    margin-bottom: 0.875rem;
}

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

.fv-form-group label .required {
    color: #ef4444;
    margin-left: 0.25rem;
}

.fv-form-group label .optional {
    color: #64748b;
    font-weight: 400;
    font-size: 0.75rem;
}

/* Character Counter */
.char-counter {
    font-size: 0.7rem;
    font-weight: 400;
    color: #64748b;
    transition: color 0.2s;
}

.char-counter.warning {
    color: #f59e0b;
}

.char-counter.error {
    color: #ef4444;
}

/* Input Styles */
.fv-input,
.fv-textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 0.625rem 0.875rem;
    color: #fff;
    font-size: 0.875rem;
    transition: all 0.2s;
}

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

.fv-input:hover,
.fv-textarea:hover {
    border-color: rgba(255,255,255,0.15);
}

.fv-input:focus,
.fv-textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16,185,129,0.15);
}

.fv-input.has-value {
    border-color: rgba(16,185,129,0.3);
}

.fv-textarea {
    resize: vertical;
    min-height: 60px;
    line-height: 1.4;
}

/* Hint Text */
.fv-hint {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 0.3rem;
}

/* ============================================
   STATUS OPTIONS
   ============================================ */

.fv-status-group {
    margin-bottom: 0.75rem;
}

.fv-status-options {
    display: flex;
    gap: 0.5rem;
}

.fv-status-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #64748b;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
}

.fv-status-btn i {
    font-size: 0.9rem;
}

.fv-status-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    color: #94a3b8;
}

.fv-status-btn.active {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.3);
    color: #10b981;
}

.fv-status-btn.active i {
    color: #10b981;
}

/* ============================================
   TOGGLE OPTIONS BUTTON
   ============================================ */

.fv-toggle-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-top: 1px dashed rgba(255,255,255,0.08);
    border-bottom: 1px dashed rgba(255,255,255,0.08);
    color: #64748b;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0.75rem 0;
}

.fv-toggle-options:hover {
    color: #10b981;
    background: rgba(16,185,129,0.05);
}

.fv-toggle-options i {
    font-size: 0.65rem;
    transition: transform 0.2s;
}

/* ============================================
   OPTIONAL FIELDS
   ============================================ */

.fv-optional-fields {
    animation: slideDown 0.2s ease;
    padding-top: 0.5rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   CREATE BUTTON
   ============================================ */

.btn-create-collection {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.75rem;
}

.btn-create-collection:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16,185,129,0.4);
}

.btn-create-collection:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

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

@media (max-width: 480px) {
    .fv-modal-collection {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .fv-status-btn {
        padding: 0.625rem 0.25rem;
    }
    
    .fv-status-btn span {
        font-size: 0.65rem;
    }
}

/* ============================================
   TIER SYSTEM — Score badges, locked filters, upgrade modal
   ============================================ */

/* ─── Score badges ─── */
.fv-card-top-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
}

.fv-card-header {
    position: relative;
}

.score-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    line-height: 1.2;
}

.score-badge:hover {
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.score-badge-s {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.4);
}

.score-badge-a {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.4);
}

.score-badge-b {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.4);
}

.score-badge-c {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.4);
}

.score-badge-d {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.3);
}

.score-badge-e {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    border-color: rgba(100, 116, 139, 0.2);
}

.score-badge-unknown {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    border-color: rgba(100, 116, 139, 0.2);
}

.score-value {
    font-weight: 400;
    opacity: 0.8;
    font-size: 10px;
}

/* ─── Liste view: score badge position ─── */
.fv-list .fv-card-top-badges {
    position: static;
    margin-right: 8px;
}

/* ─── Filtres verrouillés ─── */
.filter-locked {
    opacity: 0.55;
    position: relative;
}

.filter-locked select {
    cursor: not-allowed !important;
    pointer-events: none;
}

.lock-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    padding: 1px 6px;
    border-radius: 10px;
    cursor: pointer;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.3px;
    transition: all 0.15s ease;
}

.lock-badge:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: scale(1.05);
}

.lock-badge-sort {
    margin-left: 0;
    margin-top: 4px;
    display: inline-block;
}

.lock-badge-perpage {
    margin-left: 4px;
}

.lock-badge-inline {
    font-size: 8px;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    padding: 1px 5px;
    border-radius: 8px;
    margin-left: 4px;
    vertical-align: middle;
}

/* ─── Bouton syntaxe verrouillé ─── */
.fv-help-toggle.btn-locked {
    opacity: 0.65;
    cursor: pointer;
}

.fv-help-toggle.btn-locked:hover {
    opacity: 0.9;
}

.fv-help-toggle.btn-locked .fa-lock {
    font-size: 10px;
}

/* ─── Modal Upgrade ─── */
/* ═══════════════════════════════════════════════════════════════
   UPGRADE MODAL — Beta waitlist (même design que Dashboard)
   ═══════════════════════════════════════════════════════════════ */

.upgrade-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 20, 0.82);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fv-modal-fade-in 0.2s ease;
}

@keyframes fv-modal-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.upgrade-modal-box {
    background: #111827;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    position: relative;
    animation: fv-modal-slide-in 0.25s ease;
}

@keyframes fv-modal-slide-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Header */
.upgrade-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.upgrade-modal-icon {
    width: 44px;
    height: 44px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 1.1rem;
}

.upgrade-modal-close {
    background: none;
    border: none;
    color: #475569;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
    line-height: 1;
}
.upgrade-modal-close:hover { color: #94a3b8; }

/* Texte */
.upgrade-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.625rem;
}

.upgrade-modal-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0 0 1rem;
}
.upgrade-modal-desc strong { color: #10b981; }

/* Contexte feature (spécifique FeedVerse) */
.upgrade-modal-feature-ctx {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}
.upgrade-modal-feature-ctx strong {
    display: block;
    font-size: 0.85rem;
    color: #10b981;
    margin-bottom: 0.25rem;
}
.upgrade-modal-feature-ctx p {
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

/* Avantages */
.upgrade-modal-perks {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}
.upgrade-modal-perks span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #94a3b8;
}
.upgrade-modal-perks span i {
    color: #10b981;
    font-size: 0.65rem;
    flex-shrink: 0;
}

/* Formulaire */
.upgrade-modal-form { display: flex; flex-direction: column; gap: 0.875rem; }
.upgrade-modal-field { display: flex; flex-direction: column; gap: 0.35rem; }

.upgrade-modal-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.upgrade-modal-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.875rem;
    transition: border-color 0.2s;
    outline: none;
    box-sizing: border-box;
}
.upgrade-modal-input:focus { border-color: rgba(16, 185, 129, 0.5); }
.upgrade-modal-input.input-error { border-color: #ef4444; }

.upgrade-modal-error {
    font-size: 0.72rem;
    color: #f87171;
}

/* Bouton principal */
.upgrade-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: #10b981;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.upgrade-modal-btn:hover:not(:disabled) { background: #0ea371; }
.upgrade-modal-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.upgrade-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    margin-top: 0.75rem;
}
.upgrade-btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

/* Confidentialité */
.upgrade-modal-privacy {
    font-size: 0.7rem;
    color: #334155;
    text-align: center;
    margin: 0.5rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

/* État succès */
.upgrade-modal-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem 0;
}
.upgrade-success-icon {
    font-size: 2.5rem;
    color: #10b981;
    margin-bottom: 1rem;
}
.upgrade-modal-success h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.5rem;
}
.upgrade-modal-success p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}
.upgrade-modal-success em { color: #10b981; font-style: normal; font-weight: 500; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ─── 3-button modal footer ─── */
.fv-modal-footer-3btn {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.fv-modal-footer-3btn .btn {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    padding: 0.7rem 0.5rem;
    font-size: 0.8rem;
}

/* Bouton Collection (outline vert) */
.btn.btn-outline-green {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.btn.btn-outline-green:hover {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.5);
}
