/* listes-agregees — composants propres à la page (coque : fs-config-shell.css) */

.listes-tabs-bar {
    margin-bottom: 1.5rem;
}

.listes-tabs-bar .tabs-container {
    margin-bottom: 0;
}

.listes-tabs-bar .tab-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.input-field {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            padding: 12px 16px;
            color: white;
            width: 100%;
            transition: all 0.3s ease;
        }

        .user-list-item {
            display: grid;
            gap: 16px;
            align-items: center;
            padding: 16px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 8px;
            margin-bottom: 8px;
            transition: all 0.3s ease;
        }

        .user-list-item.followers {
            grid-template-columns: 60px 1fr 150px 150px 100px 120px;
        }

        .user-list-item.unfollowers {
            grid-template-columns: 60px 1fr 150px 150px 120px;
        }

        .user-list-item.abonnes {
            grid-template-columns: 60px 1fr 150px 100px 80px 80px 150px;
        }

        .user-list-item.chaines-suivies {
            grid-template-columns: 60px 1fr 150px 100px 40px;
        }

        .mutual-follow-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
            color: white;
            font-size: 14px;
            font-weight: bold;
            box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
            position: relative;
            cursor: help;
            transition: all 0.3s ease;
        }

        .mutual-follow-badge:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(255, 107, 53, 0.6);
        }

        .mutual-follow-badge::before {
            content: '⟷';
            font-size: 18px;
        }

        .mutual-follow-badge[title]:hover::after {
            content: attr(title);
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.9);
            color: white;
            padding: 6px 10px;
            border-radius: 6px;
            font-size: 12px;
            white-space: nowrap;
            margin-bottom: 5px;
            z-index: 1000;
        }

        .user-list-item.raids {
            grid-template-columns: 60px 1fr 100px 150px 1fr;
        }

        .raid-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            align-items: center;
        }

        .raid-badge {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .raid-badge.suivi {
            background: rgba(59, 130, 246, 0.2);
            color: #93c5fd;
            border: 1px solid rgba(59, 130, 246, 0.4);
        }

        .raid-badge.best_support {
            background: rgba(255, 107, 53, 0.2);
            color: #ffb88c;
            border: 1px solid rgba(255, 107, 53, 0.4);
        }

        .raid-badge.top_viewers {
            background: rgba(34, 211, 238, 0.2);
            color: #7dd3fc;
            border: 1px solid rgba(34, 211, 238, 0.4);
        }

        .table-header {
            display: grid;
            gap: 16px;
            padding: 12px 16px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            margin-bottom: 8px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
        }

        .table-header.followers {
            grid-template-columns: 60px 1fr 150px 150px 100px 120px;
        }

        .table-header.unfollowers {
            grid-template-columns: 60px 1fr 150px 150px 120px;
        }

        .table-header.abonnes {
            grid-template-columns: 60px 1fr 150px 100px 80px 80px 150px;
        }

        .table-header.chaines-suivies {
            grid-template-columns: 60px 1fr 150px 100px 40px;
        }

        .table-header.raids {
            grid-template-columns: 60px 1fr 100px 150px 1fr;
        }

        .table-header.chat-history {
            grid-template-columns: 60px 180px 200px 1fr;
        }

        .user-list-item.chat-history {
            grid-template-columns: 60px 180px 200px 1fr;
            align-items: start;
        }

        .chat-message {
            word-wrap: break-word;
            word-break: break-word;
            white-space: pre-wrap;
            max-width: 100%;
        }

        .sortable-header {
            cursor: pointer;
            user-select: none;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .sortable-header:hover {
            color: #ff6b35;
        }

        .sort-icon {
            opacity: 0.5;
            font-size: 0.8rem;
        }

        .user-list-item:hover {
            background: rgba(255, 255, 255, 0.06);
            transform: translateX(4px);
        }

        .user-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .user-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
        }

        .user-name {
            color: #60a5fa;
            font-weight: 500;
            text-decoration: none;
        }

        .user-name:hover {
            text-decoration: underline;
        }

        .date-time {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 16px 24px;
            border-radius: 8px;
            color: white;
            font-weight: 500;
            z-index: 1000;
            transform: translateX(100%);
            transition: transform 0.3s ease;
        }

        .notification.show {
            transform: translateX(0);
        }

        .notification.success {
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        }

        .notification.error {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        }

        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: rgba(255, 255, 255, 0.5);
        }

        .empty-state i {
            font-size: 64px;
            margin-bottom: 16px;
            opacity: 0.3;
        }

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

        .info-box {
            background: rgba(255, 107, 53, 0.1);
            border-left: 4px solid #ff6b35;
            padding: 16px;
            border-radius: 8px;
            margin-bottom: 24px;
        }
