.node-list-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1200;
}

.node-list-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.node-list-toggle-btn:hover {
    background: #2563eb;
    transform: scale(1.05);
}

.node-list-panel {
    position: absolute;
    top: 60px;
    left: 0;
    width: 380px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(-120%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    border: 1px solid #f1f5f9;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.node-list-panel.open {
    transform: translateX(0);
}

.node-list-header {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
}

.node-list-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.node-list-controls {
    display: flex;
    gap: 10px;
}

.node-list-close-btn,
.node-list-refresh-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: color 0.2s;
}

.node-list-close-btn:hover,
.node-list-refresh-btn:hover {
    color: #334155;
}

.node-list-search {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.node-list-stats {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    background-color: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.node-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.node-stat-label {
    font-size: 12px;
    color: #64748b;
}

.node-stat-value {
    font-weight: 600;
    font-size: 16px;
    color: #1e293b;
}

.node-list-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.node-list-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
}

.node-list-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
}

.node-list-empty i {
    font-size: 40px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.node-list-items {
    padding: 16px;
    overflow-y: auto;
    max-height: calc(80vh - 180px);
}

.node-item {
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.node-item:hover {
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.node-item:last-child {
    margin-bottom: 0;
}

.node-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
}

.node-item.sender::before {
    background-color: #ef4444;
}

.node-item.receiver::before {
    background-color: #22c55e;
}

.node-item.both::before {
    background-color: #3b82f6;
}

.node-address {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #334155;
    word-break: break-all;
    margin-bottom: 4px;
}

.node-role {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.node-role.sender {
    background-color: #fee2e2;
    color: #b91c1c;
}

.node-role.receiver {
    background-color: #dcfce7;
    color: #166534;
}

.node-role.both {
    background-color: #dbeafe;
    color: #1e40af;
}

.node-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.node-detail {
    display: flex;
    flex-direction: column;
}

.node-detail-label {
    font-size: 12px;
    color: #64748b;
}

.node-detail-value {
    font-weight: 600;
    font-size: 14px;
    color: #334155;
}

.node-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

.node-action-btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
    font-weight: 600;
}